query-8ae91f3b332f5ddc76f0426c9623b9fa
number of items using each property of the listHi ! I still don't know how to use the results of a query inside another query. Like here, I don't know how to get the number of items using each of the resulting ?property of this query :
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?property ?propertyLabel ?propertyDescription
WHERE
{
?property rdf:type wikibase:Property ;
wdt:P31/wdt:P279* wd:Q55452870 .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?property"):::projected
a1((" "))
c7(["bd:serviceParam"]):::iri
c2(["wikibase:Property"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c5(["wd:Q55452870"]):::iri
v1 --"a"--> c2
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end