query-06a6350c6a6ab1c928df0a0cb4537037
Things called Astrolabe in English but with missing labels in other languages
Use at
- https://query.wikidata.org/sparql
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT (SUBSTR(STR(?q),32) AS ?wdq) (CONCAT("L",?astrolabe_lang) AS ?lang) ?astrolabe_label WHERE {
{SELECT ?astrolabe_lang ?astrolabe_label WHERE {
wd:Q164992 rdfs:label ?astrolabe_label. BIND(lang(?astrolabe_label) AS ?astrolabe_lang)
}
}
?q rdfs:label "Astrolabe"@en.
FILTER(NOT EXISTS {
?q rdfs:label ?label.
FILTER(LANG(?label) = ?astrolabe_lang)
})
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?astrolabe_label"):::projected
v5("?astrolabe_lang"):::projected
v1("?label")
v6("?lang")
v3("?q"):::projected
v5("?wdq")
c3([sAstrolabe^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>"]):::literal
c2(["wd:Q164992"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0f0[["?label = ?astrolabe_lang"]]
e0f0 --> e0v1
e0f0 --> e0v2
e0v3 --"rdfs:label"--> e0v1
e0v2("?astrolabe_lang"):::projected
e0v1("?label"):::projected
e0v3("?q"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> v5
f0 --> v3
f0 --> c1
f1[["?label = ?astrolabe_lang"]]
f1 --> v1
f1 --> v5
v3 --"rdfs:label"--> v1
c2 --"rdfs:label"--> v4
bind2[/"?astrolabe_label"/]
v4 --o bind2
bind2 --as--o v5
v3 --"rdfs:label"--> c3
bind3[/"substring(str(?q),'32^^xsd:integer')"/]
v3 --o bind3
bind3 --as--o v5
bind4[/"concat('L',?astrolabe_lang)"/]
v5 --o bind4
bind4 --as--o v6