query-b019a7387e3681e76368c8ccacfd6287

rq turtle/ttl

products used by the military are used by the military, as we also have hunters. Where are the helmets, you may ask.... (Q728)weapon but not military_vehicle_model for things without guns, and we can't assert all (Q100710213)combat vehicle model because we have (Q1414937)combatant Has the rather clumsy use of

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 ?item ?itemLabel ?instanceLabel WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". }
  {
    SELECT DISTINCT ?item ?instance WHERE {
      ?item wdt:P31/wdt:P279* wd:Q10929058. # product model
      ?item wdt:P31 ?instance.
      # has parts of the class/subclass/used by combatant
      ?instance wdt:P2670/wdt:P279*/wdt:P1535 wd:Q1414937.
    }
  }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?instance") v1("?item"):::projected a1((" ")) a2((" ")) a3((" ")) c10(["wd:Q1414937"]):::iri c2(["bd:serviceParam"]):::iri c4(["#91;AUTO_LANGUAGE#93;"]):::literal c7(["wd:Q10929058"]):::iri subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c2 --"wikibase:language"--> c4 end v1 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c7 v1 --"wdt:P31"--> v2 v2 --"wdt:P2670"--> a2 a2 --"wdt:P279"--> a3 a3 --"wdt:P1535"--> c10