query-b316c23b5f03678a57e44a4fd8b5e934

rq turtle/ttl

Tatortfolgen, die in einer Ermittlerserie sind, aber sind, aber noch keine globale Folgennummer tragen

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?film ?publication ?filmLabel ?subSeriesLabel ?subSeries WHERE {
  ?film wdt:P179 ?subSeries . ?subSeries wdt:P361 wd:Q689438
  FILTER NOT EXISTS {?film p:P179 ?series . ?series ps:P179 wd:Q689438 . ?series pq:P1545 ?ordinal}
  OPTIONAL{?film wdt:P577 ?publication}
  SERVICE wikibase:label{bd:serviceParam wikibase:language "de"}
}
ORDER BY ASC(?publication)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?film"):::projected v4("?ordinal") v1("?publication"):::projected v3("?series") v5("?subSeries"):::projected c11(["de"]):::literal c9(["bd:serviceParam"]):::iri c3(["wd:Q689438"]):::iri f0[["not "]] subgraph f0e0["Exists Clause"] e0v1 --"p:P179"--> e0v2 e0v2 --"p:statement/P179"--> e0c3 e0v2 --"p:qualifier/P1545"--> e0v3 e0v1("?film"):::projected e0v3("?ordinal"):::projected e0v2("?series"):::projected e0c3(["wd:Q689438"]):::iri end f0--EXISTS--> f0e0 f0 --> v2 f0 --> c1 f0 --> v3 f0 --> c2 f0 --> c3 f0 --> c4 f0 --> v4 v2 --"p:P179"--> v3 v3 --"p:statement/P179"--> c3 v3 --"p:qualifier/P1545"--> v4 v2 --"p:direct/P179"--> v5 v5 --"p:direct/P361"--> c3 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."p:direct/P577".-> v1 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c9 --"wikibase:language"--> c11 end