query-d52ea4b8aa6c0e342216654a4f8d3625
director of movie with P973 "artfilm.ch" 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"). FILTER NOT EXISTS {?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"
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").
FILTER NOT EXISTS {?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;
v3("?describes")
v2("?fam")
v4("?item")
v1("?réal"):::projected
a1((" "))
c9(["bd:serviceParam"]):::iri
c11(["#91;AUTO_LANGUAGE#93;,en,it,de"]):::literal
c5(["wd:Q2431196"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P734"--> e0v2
e0v2("?fam"):::projected
e0v1("?réal"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> v2
v1 --"wdt:P734"--> v2
f1[["starts-with(str(?describes),'https://www.artfilm.ch')"]]
f1 --> v3
v4 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c5
v4 --"wdt:P973"--> v3
v4 --"wdt:P57"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end