475,243
edits
(add graph viz taxon source with ref to FCT) |
(→WikiFCD Count of Properties by Property Type: add query for taxon name main subject scientific article) |
||
Line 57: | Line 57: | ||
ORDER BY DESC(?pcount) | ORDER BY DESC(?pcount) | ||
</SPARQL> | </SPARQL> | ||
==Graph Visualization of Food Items with Stated Taxon Source Referenced to a FCT | ==Graph Visualization of Food Items with Stated Taxon Source Referenced to a FCT== | ||
<SPARQL> | <SPARQL> | ||
#defaultView:Graph | #defaultView:Graph | ||
Line 76: | Line 76: | ||
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } | SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } | ||
} | } | ||
</SPARQL> | |||
==Federated Query WikiFCD Taxon Name is Main Subject of a Scientific Article== | |||
<SPARQL> | |||
PREFIX wdt: <http://www.wikidata.org/prop/direct/> | |||
PREFIX wd: <http://www.wikidata.org/entity/> | |||
PREFIX wbt: <https://wikifcd.wikibase.cloud/prop/direct/> | |||
PREFIX wb: <https://wikifcd.wikibase.cloud/entity/> | |||
SELECT DISTINCT ?item ?itemLabel ?wikidata ?article ?articleLabel WHERE { | |||
?item wbt:P1 wb:Q20. | |||
?item wbt:P61 ?wikidata. | |||
?item rdfs:label ?itemLabel . | |||
SERVICE <https://query.wikidata.org/sparql> { | |||
?article wdt:P921 ?wikidata. | |||
?article rdfs:label ?articleLabel. | |||
}} | |||
Limit 100 | |||
</SPARQL> | </SPARQL> |