query-380d791ca33a8a01a7444f59fbd1e881
Properties with missing labels by language
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?lang (COUNT(*) AS ?label_count) (URI(CONCAT("https://www.wikidata.org/w/index.php?search=-haslabel%3A",?lang,"&ns120=1")) AS ?missing_search) {
?prop wikibase:propertyType ?datatype .
OPTIONAL {
?prop rdfs:label ?label .
BIND (LANG(?label) AS ?lang) .
} .
} GROUP BY ?lang
ORDER BY DESC(?label_count)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?datatype")
v4("?label")
v6("?label_count")
v5("?lang"):::projected
v6("?missing_search")
v2("?prop")
v2 --"wikibase:propertyType"--> v3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."rdfs:label".-> v4
bind0[/"?label"/]
v4 --o bind0
bind0 --as--o v5
end
bind2[/"count(*)"/]
bind2 --as--o v6
bind3[/"concat('https://www.wikidata.org/w/index.php?search=-haslabel%3A',?lang,'&ns120=1')"/]
v5 --o bind3
bind3 --as--o v6