query-a2638059d99e3140ea34013719f17ded

rq turtle/ttl

Propertiesinstance of (P31)

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
select ?p  (count(*) as ?cnt) WHERE {
SELECT ?p
WHERE {
  ?s ?p wd:Q270794.
  ?s wdt:P31 wd:Q5.
   SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} limit 1000
}group by ?p order by ?p

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?cnt") v1("?p"):::projected v2("?s") c1(["wd:Q270794"]):::iri c5(["bd:serviceParam"]):::iri c3(["wd:Q5"]):::iri c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal v2 -->v1--> c1 v2 --"wdt:P31"--> c3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end bind1[/"count(*)"/] bind1 --as--o v3