-
Notifications
You must be signed in to change notification settings - Fork 17
Dictionary: Funders
Vaishali Arora
Funders
https://github.com/petermr/openVirus/blob/master/dictionaries/funders/funders%20(1).xml
https://github.com/petermr/openVirus/blob/master/dictionaries/funders/funders_dictionary.md
My SPARQL dictionary funder is committed here : https://github.com/petermr/openVirus/blob/master/dictionaries/funders/funder.sparql.xml
Attributes in my SPARQL dictionary :
<head>
<variable name='item'/>
<variable name='Crossref_funder_ID'/>
<variable name='Crossref_funder_IDLabel'/>
<variable name='country'/>
<variable name='countryLabel'/>
<variable name='funder'/>
<variable name='funderLabel'/>
</head>
*Can you find a way of extracting the funder
Me: @PMR it is there in FunderLabel. This query does fetch names of the funders. They are there in FunderLabel.
#Funders
SELECT ?FunderLabel ?Country ?CountryLabel ?instanceofLabel ?Funder ?crossrefid WHERE {
?Funder wdt:P3153 ?crossrefid .
?Funder wdt:P31 ?instanceof .
?Funder wdt:P17 ?Country .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
LIMIT 20000000
@PMR I converted my dictionary funder into the amidict format using the syntax :
amidict -v --dictionary funder --directory mydictionaries --input funder.sparql.xml create --informat wikisparqlxml
I got the output as: https://github.com/petermr/openVirus/blob/master/dictionaries/funders/funderdict_from_sparql.xml
Please check this and let me know if it is fine.