query-e26ecffb9aa9decc4668edb1a6f8dd64
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?persona ?personaLabel ?articleforaster
WHERE {
?persona wdt:P31 wd:Q5.
?persona wdt:P21 wd:Q6581072.
?persona wdt:P106/wdt:P279* wd:Q3391743.#artistes visuals
?articleforaster schema:about ?persona.
?articleforaster schema:isPartOf <https://fr.wikipedia.org/>.#canviar llengua aquĆ
OPTIONAL{
?articleca schema:about ?persona.
?articleca schema:isPartOf <https://ca.wikipedia.org/>.
}
FILTER (!bound(?articleca))
SERVICE wikibase:label {bd:serviceParam wikibase:language "[AUTO_LANGUAGE],ca,en,es,fr" . }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?articleca")
v3("?articleforaster"):::projected
v2("?persona"):::projected
a1((" "))
c7(["wd:Q3391743"]):::iri
c10([https://fr.wikipedia.org/]):::iri
c15(["#91;AUTO_LANGUAGE#93;,ca,en,es,fr"]):::literal
c4(["wd:Q6581072"]):::iri
c11([https://ca.wikipedia.org/]):::iri
c13(["bd:serviceParam"]):::iri
c2(["wd:Q5"]):::iri
f0[["not bound(?articleca)"]]
f0 --> v1
v2 --"wdt:P31"--> c2
v2 --"wdt:P21"--> c4
v2 --"wdt:P106"--> a1
a1 --"wdt:P279"--> c7
v3 --"schema:about"--> v2
v3 --"schema:isPartOf"--> c10
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."schema:about".-> v2
v1 --"schema:isPartOf"--> c11
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c13 --"wikibase:language"--> c15
end