query-f22c62a756b2913efb1fb81e70aea753

rq turtle/ttl

TODO

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 DISTINCT ?conflictLabel ?armamentLabel WHERE {
  {
{
  SELECT ?item ?conflict WHERE {

{
  SELECT ?item WHERE { 
   VALUES ?item { wd:Q1785916 }
} }    ?item  wdt:P607 ?conflict.
} }}
  UNION
  {
{
  SELECT ?item ?armament WHERE {

{
  SELECT ?item WHERE { 
   VALUES ?item { wd:Q1785916 }
} }    ?item  wdt:P520 ?armament.
} }}
  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("?armament") v2("?conflict") v3("?item") c4(["bd:serviceParam"]):::iri c6(["#91;AUTO_LANGUAGE#93;,en"]):::literal subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; bind0[/VALUES ?item/] bind0-->v3 bind00(["wd:Q1785916"]) bind00 --> bind0 v3 --"wdt:P520"--> v3 end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; bind1[/VALUES ?item/] bind1-->v3 bind10(["wd:Q1785916"]) bind10 --> bind1 v3 --"wdt:P607"--> v2 end union0r <== or ==> union0l end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c4 --"wikibase:language"--> c6 end