Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add 3 platforms to embrc mining #1387

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ union all
select jdict('documentId', docid, 'conceptId', conceptId, 'confidenceLevel', 0.5,'textsnippet',context) as C1 from (
select docid, prev||" "||middle||" "||next as context, conceptId from
(setschema 'docid,prev,middle,next' select c1,
textwindow2s(textnoreferences(c2),10,7,10,"\bEMBRC\b|\bEMO BON\b|\bEMBRIC\b|((?i)european marine biological laboratories)|((?i)european marine biological resource cen)|((?i)european marine omics biodiversity observation network)")
from pubs where c2 is not null), grants where conceptLabel="EMBRC" and (regexprmatches("\bEMBRC\b|\bEMO BON\b|\bEMBRIC\b",prev||" "||middle||" "||next) or regexprmatches("((?i)european marine biological laboratories)|((?i)european marine biological resource cen)|((?i)european marine omics biodiversity observation network)",prev||" "||middle||" "||next))
textwindow2s(textnoreferences(c2),10,7,10,"\bEMBRC\b|\bEMO BON\b|BCCM-DCG|\bNORCCA\b|LEGE-CC|\bEMBRIC\b|((?i)european marine biological laboratories)|((?i)european marine biological resource cen)|((?i)european marine omics biodiversity observation network)")
from pubs where c2 is not null), grants where conceptLabel="EMBRC" and (regexprmatches("\bEMBRC\b|\bEMO BON\b|\bEMBRIC\b|BCCM-DCG|\bNORCCA\b|LEGE-CC",prev||" "||middle||" "||next) or regexprmatches("((?i)european marine biological laboratories)|((?i)european marine biological resource cen)|((?i)european marine omics biodiversity observation network)",prev||" "||middle||" "||next))
) group by docid

union all
Expand Down