query-56ab79d7949b8f6e639a8ecbd4423fde

rq turtle/ttl

Release Qualifier abuse in film items

Use at

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/>

SELECT DISTINCT ?film ?filmLabel ?countryLabel  WHERE {
  ?film wdt:P31/wdt:P279* wd:Q11424 .
  ?film p:P577 ?release_statement .
  ?release_statement v:P577 ?release .
  ?release_statement pq:P17 ?country .
  SERVICE wikibase:label {
    bd:serviceParam wikibase:language "de,en" .
  }
} ORDER BY ?countryLabel

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?country") v1("?countryLabel"):::projected v2("?film"):::projected v4("?release") v3("?release_statement") a1((" ")) c8(["bd:serviceParam"]):::iri c10(["de,en"]):::literal c3(["wd:Q11424"]):::iri v2 --"p:direct/P31"--> a1 a1 --"p:direct/P279"--> c3 v2 --"p:P577"--> v3 v3 --"p:statement/P577"--> v4 v3 --"p:qualifier/P17"--> v5 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end