query-7890bdeef85efc928ded5f035b070018
Propertiesplatform (P400)
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 bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?propItem ?propItemLabel (count (?item) as ?count)
WHERE {
?item wdt:P400 wd:Q193321.
?item ?prop ?value.
?propItem wikibase:directClaim ?prop.
?propItem wikibase:propertyType wikibase:ExternalId.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
GROUP BY ?propItem ?propItemLabel
ORDER BY DESC(?count)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v6("?count")
v2("?item"):::projected
v3("?prop")
v5("?propItem"):::projected
v4("?value")
c7(["bd:serviceParam"]):::iri
c2(["wd:Q193321"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c5(["wikibase:ExternalId"]):::iri
v2 --"wdt:P400"--> c2
v2 -->v3--> v4
v5 --"wikibase:directClaim"--> v3
v5 --"wikibase:propertyType"--> c5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end
bind1[/"count(?item)"/]
v2 --o bind1
bind1 --as--o v6