query-90466a2e87ef300c8f7a2804b755c9f2
director of movie with P973 "artfilm.ch" sans P734 (nom de famille) SELECT DISTINCT ?réal ?réalLabel WHERE { ?item wdt:P31/wdt:P279* wd:Q2431196; wdt:P973 ?describes; wdt:P57 ?réal FILTER STRSTARTS(STR(?describes), "https://www.artfilm.ch"). MINUS {?réal wdt:P734 ?fam.}. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,it,de".} }
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 bd: <http://www.bigdata.com/rdf#>
#director of movie with P973 "artfilm.ch" sans P734 (nom de famille)
SELECT DISTINCT ?réal ?réalLabel
WHERE
{
?item wdt:P31/wdt:P279* wd:Q2431196;
wdt:P973 ?describes;
wdt:P57 ?réal
FILTER STRSTARTS(STR(?describes), "https://www.artfilm.ch").
MINUS {?réal wdt:P734 ?fam.}.
SERVICE wikibase:label {
bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,it,de".}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?describes")
v4("?fam")
v2("?item")
v3("?réal"):::projected
a1((" "))
c9(["bd:serviceParam"]):::iri
c11(["#91;AUTO_LANGUAGE#93;,en,it,de"]):::literal
c4(["wd:Q2431196"]):::iri
f0[["starts-with(str(?describes),'https://www.artfilm.ch')"]]
f0 --> v1
v2 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c4
v2 --"wdt:P973"--> v1
v2 --"wdt:P57"--> v3
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v3 --"wdt:P734"--> v4
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end