query-a8b45ad704381d04575d2449c39e4b7c
Tatortfolgen und Drehbuchautoren
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 ?title ?writerLabel ?writer ?imdb WHERE {
?film p:P179 ?series . ?series v:P179 wd:Q689438 . ?series pq:P1545 ?ordinal . FILTER(xsd:integer(?ordinal)<10000) .
?film wdt:P1476 ?title .
?film wdt:P577 ?publication .
OPTIONAL{?film wdt:P58 ?writer OPTIONAL{?writer wdt:P345 ?imdb} }
SERVICE wikibase:label{bd:serviceParam wikibase:language "de"}
}
ORDER BY ASC(xsd:integer(?ordinal)) ?writerLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?film"):::projected
v8("?imdb"):::projected
v1("?ordinal"):::projected
v6("?publication"):::projected
v4("?series")
v5("?title"):::projected
v7("?writer"):::projected
v2("?writerLabel"):::projected
c13(["de"]):::literal
c4(["wd:Q689438"]):::iri
c11(["bd:serviceParam"]):::iri
f0[["http://www.w3.org/2001/XMLSchema#integer(?ordinal) < '10000^^xsd:integer'"]]
f0 --> v1
v3 --"p:P179"--> v4
v4 --"p:statement/P179"--> c4
v4 --"p:qualifier/P1545"--> v1
v3 --"p:direct/P1476"--> v5
v3 --"p:direct/P577"--> v6
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."p:direct/P58".-> v7
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v7 -."p:direct/P345".-> v8
end
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c11 --"wikibase:language"--> c13
end