query-0b6177e01170fd0d836836392deb3a12

rq turtle/ttl

Filter doesn't workI'm concerned about this query:

Use at

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 bd: <http://www.bigdata.com/rdf#>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX v: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX psv: <http://www.wikidata.org/prop/statement/value/>

SELECT ?film ?release ?filmLabel WHERE {
  ?film wdt:P31/wdt:P279* wd:Q11424 .
  ?film p:P577 ?release_statement .
  ?release_statement psv:P577/wikibase:timePrecision "11"^^xsd:integer .
  ?release_statement v:P577 ?release . FILTER(year(?release)=2015) .
  ?release_statement pq:P291 wd:Q183 .
  FILTER NOT EXISTS {?release_statement pq:P400 ?platform}
  FILTER NOT EXISTS {?release_statement pq:P437 ?distribution}
  FILTER NOT EXISTS {?film wdt:P31 wd:506240}
  SERVICE wikibase:label {bd:serviceParam wikibase:language "de"}
} ORDER BY ?release ?filmLabel

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?distribution") v3("?film"):::projected v2("?filmLabel"):::projected v6("?platform") v1("?release"):::projected v4("?release_statement") a1((" ")) a2((" ")) c11(["11^^xsd:integer"]):::literal c18(["de"]):::literal c16(["bd:serviceParam"]):::iri c14(["wd:Q183"]):::iri c2(["wd:506240"]):::iri c7(["wd:Q11424"]):::iri f0[["not "]] subgraph f0e0["Exists Clause"] e0v1 --"p:direct/P31"--> e0c2 e0v1("?film"):::projected e0c2(["wd:506240"]):::iri end f0--EXISTS--> f0e0 f0 --> v3 f0 --> c1 f0 --> c2 v3 --"p:direct/P31"--> c2 f1[["not "]] subgraph f1e1["Exists Clause"] e1v1 --"p:qualifier/P437"--> e1v2 e1v2("?distribution"):::projected e1v1("?release_statement"):::projected end f1--EXISTS--> f1e1 f1 --> v4 f1 --> c3 f1 --> v5 v4 --"p:qualifier/P437"--> v5 f2[["not "]] subgraph f2e2["Exists Clause"] e2v1 --"p:qualifier/P400"--> e2v2 e2v2("?platform"):::projected e2v1("?release_statement"):::projected end f2--EXISTS--> f2e2 f2 --> v4 f2 --> c4 f2 --> v6 v4 --"p:qualifier/P400"--> v6 f3[["year-from-dateTime(?release) = '2015^^xsd:integer'"]] f3 --> v1 v3 --"p:direct/P31"--> a1 a1 --"p:direct/P279"--> c7 v3 --"p:P577"--> v4 v4 --"p:statement/value/P577"--> a2 a2 --"wikibase:timePrecision"--> c11 v4 --"p:statement/P577"--> v1 v4 --"p:qualifier/P291"--> c14 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c16 --"wikibase:language"--> c18 end