query-b31042146f0c5e4aed41bad2f2e7c2ab
Tatortfolgen ohne Instanz
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
PREFIX v: <http://www.wikidata.org/prop/statement/>
SELECT ?film ?ordinal ?publication ?filmLabel WHERE {
?film p:P179 ?series . ?series v:P179 wd:Q689438 . ?series pq:P1545 ?ordinal .
?film wdt:P577 ?publication
FILTER NOT EXISTS {?film wdt:P31 ?instance}
SERVICE wikibase:label{bd:serviceParam wikibase:language "de"}
}
ORDER BY ASC(xsd:integer(?ordinal))
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?film"):::projected
v3("?instance")
v1("?ordinal"):::projected
v5("?publication"):::projected
v4("?series")
c10(["de"]):::literal
c8(["bd:serviceParam"]):::iri
c4(["wd:Q689438"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"p:direct/P31"--> e0v2
e0v1("?film"):::projected
e0v2("?instance"):::projected
end
f0--EXISTS--> f0e0
f0 --> v2
f0 --> c1
f0 --> v3
v2 --"p:direct/P31"--> v3
v2 --"p:P179"--> v4
v4 --"p:statement/P179"--> c4
v4 --"p:qualifier/P1545"--> v1
v2 --"p:direct/P577"--> v5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end