475,243
edits
(add food items with FoodOn id query) |
(→WikiFCD food items with FoodOn identifier: ad properties by prop type query) |
||
Line 44: | Line 44: | ||
rdfs:label ?foodLabel. | rdfs:label ?foodLabel. | ||
} | } | ||
</SPARQL> | |||
==WikiFCD properties by property type== | |||
<SPARQL> | |||
PREFIX wd: <http://www.wikidata.org/entity/> | |||
PREFIX wbt: <https://wikifcd.wikibase.cloud/prop/direct/> | |||
PREFIX wb: <https://wikifcd.wikibase.cloud/entity/> | |||
SELECT (COUNT(?property) as ?pcount ) ?wbtype WHERE { | |||
?property rdf:type wikibase:Property. | |||
?property wikibase:propertyType ?wbtype. | |||
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } | |||
} | |||
GROUP BY ?wbtype | |||
ORDER BY DESC(?pcount) | |||
</SPARQL> | </SPARQL> |