query-52d92c603cd06df534225d6ae9ccb9fb

rq turtle/ttl

at least 41 results, not 4 SELECT ?film ?filmLabel ?kinopolis ?cineplex WHERE { OPTIONAL { ?film wdt:P2970 ?kinopolis } # should be after VALUES VALUES ?film {wd:Q188159 wd:Q316555 wd:Q338305 wd:Q426346 wd:Q586589 wd:Q912877 wd:Q1451714 wd:Q5887360 wd:Q10527185 wd:Q15621765 wd:Q15982441 wd:Q16251439 wd:Q16671761 wd:Q16729557 wd:Q16954098 wd:Q18067135 wd:Q18145311 wd:Q18356955 wd:Q18758160 wd:Q19320969 wd:Q19571557 wd:Q19787641 wd:Q19827977 wd:Q20001218 wd:Q20814649 wd:Q20899589 wd:Q20992425 wd:Q21404528 wd:Q21646479 wd:Q21647348 wd:Q21819857 wd:Q21931690 wd:Q21935502 wd:Q22671081 wd:Q23794225 wd:Q24082706 wd:Q24761792 wd:Q26262106 wd:Q26262105 wd:Q26262109 wd:Q59687} SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }

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#>
# at least 41 results, not 4
SELECT ?film ?filmLabel ?kinopolis ?cineplex WHERE {
  OPTIONAL { ?film wdt:P2970 ?kinopolis } # should be after VALUES
  VALUES ?film {wd:Q188159 wd:Q316555 wd:Q338305 wd:Q426346 wd:Q586589 wd:Q912877 wd:Q1451714 wd:Q5887360 wd:Q10527185 wd:Q15621765 wd:Q15982441 wd:Q16251439 wd:Q16671761 wd:Q16729557 wd:Q16954098 wd:Q18067135 wd:Q18145311 wd:Q18356955 wd:Q18758160 wd:Q19320969 wd:Q19571557 wd:Q19787641 wd:Q19827977 wd:Q20001218 wd:Q20814649 wd:Q20899589 wd:Q20992425 wd:Q21404528 wd:Q21646479 wd:Q21647348 wd:Q21819857 wd:Q21931690 wd:Q21935502 wd:Q22671081 wd:Q23794225 wd:Q24082706 wd:Q24761792 wd:Q26262106 wd:Q26262105 wd:Q26262109 wd:Q59687}
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?film"):::projected v2("?kinopolis"):::projected c3(["bd:serviceParam"]):::iri c5(["#91;AUTO_LANGUAGE#93;,en"]):::literal subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P2970".-> v2 end bind0[/VALUES ?film/] bind0-->v3 bind00(["wd:Q188159"]) bind00 --> bind0 bind01(["wd:Q316555"]) bind01 --> bind0 bind02(["wd:Q338305"]) bind02 --> bind0 bind03(["wd:Q426346"]) bind03 --> bind0 bind04(["wd:Q586589"]) bind04 --> bind0 bind05(["wd:Q912877"]) bind05 --> bind0 bind06(["wd:Q1451714"]) bind06 --> bind0 bind07(["wd:Q5887360"]) bind07 --> bind0 bind08(["wd:Q10527185"]) bind08 --> bind0 bind09(["wd:Q15621765"]) bind09 --> bind0 bind010(["wd:Q15982441"]) bind010 --> bind0 bind011(["wd:Q16251439"]) bind011 --> bind0 bind012(["wd:Q16671761"]) bind012 --> bind0 bind013(["wd:Q16729557"]) bind013 --> bind0 bind014(["wd:Q16954098"]) bind014 --> bind0 bind015(["wd:Q18067135"]) bind015 --> bind0 bind016(["wd:Q18145311"]) bind016 --> bind0 bind017(["wd:Q18356955"]) bind017 --> bind0 bind018(["wd:Q18758160"]) bind018 --> bind0 bind019(["wd:Q19320969"]) bind019 --> bind0 bind020(["wd:Q19571557"]) bind020 --> bind0 bind021(["wd:Q19787641"]) bind021 --> bind0 bind022(["wd:Q19827977"]) bind022 --> bind0 bind023(["wd:Q20001218"]) bind023 --> bind0 bind024(["wd:Q20814649"]) bind024 --> bind0 bind025(["wd:Q20899589"]) bind025 --> bind0 bind026(["wd:Q20992425"]) bind026 --> bind0 bind027(["wd:Q21404528"]) bind027 --> bind0 bind028(["wd:Q21646479"]) bind028 --> bind0 bind029(["wd:Q21647348"]) bind029 --> bind0 bind030(["wd:Q21819857"]) bind030 --> bind0 bind031(["wd:Q21931690"]) bind031 --> bind0 bind032(["wd:Q21935502"]) bind032 --> bind0 bind033(["wd:Q22671081"]) bind033 --> bind0 bind034(["wd:Q23794225"]) bind034 --> bind0 bind035(["wd:Q24082706"]) bind035 --> bind0 bind036(["wd:Q24761792"]) bind036 --> bind0 bind037(["wd:Q26262106"]) bind037 --> bind0 bind038(["wd:Q26262105"]) bind038 --> bind0 bind039(["wd:Q26262109"]) bind039 --> bind0 bind040(["wd:Q59687"]) bind040 --> bind0 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c3 --"wikibase:language"--> c5 end