query-5cf7ec0cecff9c425f7d78506300e79a
escuts que caldria traduir SELECT ?lloc ?escut ?art ?llocLabel WHERE { ?lloc wdt:P237 ?escut. FILTER(NOT EXISTS { ?escut rdfs:label ?lang_label. FILTER(LANG(?lang_label) = "ca") }) ?art schema:about ?lloc. ?art schema:isPartOf https://ca.wikipedia.org/. SERVICE wikibase:label {bd:serviceParam wikibase:language "[AUTO_LANGUAGE],ca,en,es".} }
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
#escuts que caldria traduir
SELECT ?lloc ?escut ?art ?llocLabel
WHERE {
?lloc wdt:P237 ?escut.
FILTER(NOT EXISTS {
?escut rdfs:label ?lang_label.
FILTER(LANG(?lang_label) = "ca")
})
?art schema:about ?lloc.
?art schema:isPartOf <https://ca.wikipedia.org/>.
SERVICE wikibase:label {bd:serviceParam wikibase:language "[AUTO_LANGUAGE],ca,en,es".}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?art"):::projected
v2("?escut"):::projected
v1("?lang_label")
v3("?lloc"):::projected
c8(["bd:serviceParam"]):::iri
c6([https://ca.wikipedia.org/]):::iri
c10(["#91;AUTO_LANGUAGE#93;,ca,en,es"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0f0[["?lang_label = 'ca'"]]
e0f0 --> e0v1
e0v2 --"rdfs:label"--> e0v1
e0v2("?escut"):::projected
e0v1("?lang_label"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> v2
f0 --> c2
f1[["?lang_label = 'ca'"]]
f1 --> v1
v2 --"rdfs:label"--> v1
v3 --"wdt:P237"--> v2
v4 --"schema:about"--> v3
v4 --"schema:isPartOf"--> c6
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end