query-5fc71fa447aed0062a83608afb9afd45
sense label ca i amb articles que el fan servir SELECT DISTINCT ?ocupa ?ocupaLabel WHERE { SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]", "en". } ?item wdt:P106 ?ocupa. ?sitelink schema:about ?item; schema:inLanguage "ca". FILTER NOT EXISTS {?ocupa rdfs:label ?ocupaLabelCA filter (lang(?ocupaLabelCA) = "ca")} } LIMIT 100
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#>
#sense label ca i amb articles que el fan servir
SELECT DISTINCT ?ocupa ?ocupaLabel
WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]", "en". }
?item wdt:P106 ?ocupa.
?sitelink schema:about ?item;
schema:inLanguage "ca".
FILTER NOT EXISTS {?ocupa rdfs:label ?ocupaLabelCA filter (lang(?ocupaLabelCA) = "ca")}
}
LIMIT 100
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?item")
v2("?ocupa"):::projected
v1("?ocupaLabelCA")
v4("?sitelink")
c4(["bd:serviceParam"]):::iri
c6(["#91;AUTO_LANGUAGE#93;"]):::literal
c7(["en"]):::literal
c1(["ca"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0f0[["?ocupaLabelCA = 'ca'"]]
e0f0 --> e0v1
e0v2 --"rdfs:label"--> e0v1
e0v2("?ocupa"):::projected
e0v1("?ocupaLabelCA"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> v2
f0 --> c2
f1[["?ocupaLabelCA = 'ca'"]]
f1 --> v1
v2 --"rdfs:label"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
c4 --"wikibase:language"--> c7
end
v3 --"wdt:P106"--> v2
v4 --"schema:about"--> v3
v4 --"schema:inLanguage"--> c1