Skip to content

Commit

Permalink
Closes #1498: Integrate NBFC mining with the community reference extr…
Browse files Browse the repository at this point in the history
…action algorithm

Adding NBFC mining support in communitiesextract.sql. Supplementing integration tests suite with NBFC case.
  • Loading branch information
marekhorst committed Dec 5, 2024
1 parent 39f60c4 commit 370088a
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,14 @@ setschema 'docid,prev,middle,next' select c1, textwindow2s(keywords(filterstopwo
), grants where conceptLabel="INSPIRED RIs" and regexprmatches("\bMIS|INSPIRED", context)
) group by docid


-- NBFC
union all
select jdict('documentId',docid, 'conceptId', conceptId, 'confidenceLevel', 0.8,'textsnippet',context) as c1 from (
select docid, conceptId, conceptLabel, prev||" "||middle||" "||next as context
from (
setschema 'docid,prev,middle,next' select c1, textwindow2s(keywords(lower(c2)),7,4,3, 'national biodiversity future cent') from pubs where c2 is not null
),grants where conceptLabel="Italian National Biodiversity Future Center"
) group by docid
union all

-- DARIAH
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@
{"name": "suggestedAcknowledgement", "value":""}
]
}
{
"id": "nbfc",
"label": "Italian National Biodiversity Future Center",
"params":[
{"name": "suggestedAcknowledgement", "value":""}
]
}



Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
{"text":"Acknowledgements This work was supported by ANR programs Investissements d'Avenir: MetaboHub, EMBRC-France, France Génomique, Institut Français de Bioinformatique.","id":"50|dedup_wf_001::f6e0a74009879de5c13103f1e4b99827"}
{"text":"We acknowledge support of this work by the project “INSPIRED” (MIS 5002550), which is implemented under the Action Reinforcement of the Research and Innovation Infrastructure","id":"50|pmid________::1d7ef02818bae06e15ab18bc6a986ca7"}
{"text":"Acknowledgements This work was supported by RISIS2 (Research Infrastructure for and Innovation Policy Studies)","id":"50|doi_________::38502b081c386672f71750c99160e836"}
{"text":"Acknowledgements IDC acknowledge the support of NBFC (National Biodiversity Future Center) to Stazione Zoologica Anton Dohrn, funded by the Italian Ministry of University and Research","id":"50|doi_________::ea5362cf59ec4e505c6870164dc6def2"}
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,12 @@
"conceptId": "risis",
"confidenceLevel": 0.8,
"textsnippet": "Acknowledgements This work was supported by <<< RISIS2 >>> (Research Infrastructure for and Innovation Policy Studies)"
}
}
{
"documentId": "50|doi_________::ea5362cf59ec4e505c6870164dc6def2",
"conceptId": "nbfc",
"confidenceLevel": 0.8,
"textsnippet": "acknowledgements idc acknowledge the support of nbfc national biodiversity future center to stazione zoologica"
}


Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
{"key":"processing.referenceExtraction.community.references.byrootid.eric", "type":"COUNTER", "value": "1"}
{"key":"processing.referenceExtraction.community.references.byrootid.fli", "type":"COUNTER", "value": "1"}
{"key":"processing.referenceExtraction.community.references.byrootid.inspired-ris", "type":"COUNTER", "value": "1"}
{"key":"processing.referenceExtraction.community.references.byrootid.nbfc", "type":"COUNTER", "value": "1"}
{"key":"processing.referenceExtraction.community.references.byrootid.risis", "type":"COUNTER", "value": "1"}

0 comments on commit 370088a

Please sign in to comment.