query-47c696eb5050458a231a8c4b837b340f

rq turtle/ttl

moving P155 & P156 ]reply[18:50, 14 July 2021 (UTC)) talk (Hjart? Creating queries involving those values is simpler without, so I would really prefer if you didn't move them.--(Q1415145)2011–12 NHL season Is it really necessary to move P155 & P156 like you did for i.e. Creating a query like this ]reply[19:08, 14 July 2021 (UTC)) talk (J 1982It is a standard since long.

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#>
SELECT ?Bodilprisen ?BodilprisenLabel ?forrige ?forrigeLabel ?n_ste ?n_steLabel WHERE {
   SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
   ?Bodilprisen wdt:P179 wd:Q889842.
   OPTIONAL { ?Bodilprisen wdt:P155 ?forrige. }
   OPTIONAL { ?Bodilprisen wdt:P156 ?n_ste. }
 } LIMIT 100

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?Bodilprisen"):::projected v2("?forrige"):::projected v3("?n_ste"):::projected c2(["bd:serviceParam"]):::iri c4(["#91;AUTO_LANGUAGE#93;,en"]):::literal c6(["wd:Q889842"]):::iri subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c2 --"wikibase:language"--> c4 end v1 --"wdt:P179"--> c6 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P155".-> v2 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P156".-> v3 end