query-cecd5da2d873a4dc5e7257e3d32cc5fd
Propertiesproperties for this type (P1963)
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?type ?typeLabel (COUNT(DISTINCT ?propertyForType) AS ?numPropsForType)
WHERE {
?type wdt:P1963 ?propertyForType .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
GROUP BY ?type ?typeLabel
ORDER BY DESC(?numPropsForType)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?numPropsForType")
v3("?propertyForType"):::projected
v2("?type"):::projected
c3(["bd:serviceParam"]):::iri
c5(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v2 --"wdt:P1963"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c3 --"wikibase:language"--> c5
end
bind1[/"count(?propertyForType)"/]
v3 --o bind1
bind1 --as--o v4