query-06d90776d2b2cb2f204da55bec34feb6

rq turtle/ttl

Incomplete Character listThe following query might be helpful to find incomplete character lists:

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?label (count(?char) as ?numberOfCharacters) WHERE {
  ?item wdt:P31 wd:Q61220733.
  optional {?item wdt:P674 ?char .}
  SERVICE wikibase:label {
    bd:serviceParam wikibase:language "en".
    ?item rdfs:label ?label.
  }
} group by ?item ?label
ORDER BY ASC(?numberOfCharacters)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?char"):::projected v2("?item"):::projected v4("?label"):::projected v5("?numberOfCharacters") c5(["bd:serviceParam"]):::iri c2(["wd:Q61220733"]):::iri c7(["en"]):::literal v2 --"wdt:P31"--> c2 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P674".-> v3 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 v2 --"rdfs:label"--> v4 end bind1[/"count(?char)"/] v3 --o bind1 bind1 --as--o v5