query-a4e1926404bb3c072f3c5f83d3b436a3

rq turtle/ttl

Propertiesinstance of (P31)subclass of (P279)founded by (P112)vehicle normally used (P3438)

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 ?person ?personLabel ?vehicleLabel WHERE {
  ?item (wdt:P31/wdt:P279*) wd:Q43229.
  ?item wdt:P112 ?person.
  ?person wdt:P31 wd:Q5.
  ?person wdt:P3438 ?vehicle.
  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; v1("?item") v2("?person"):::projected v3("?vehicle") a1((" ")) c8(["bd:serviceParam"]):::iri c5(["wd:Q5"]):::iri c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal c3(["wd:Q43229"]):::iri v1 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c3 v1 --"wdt:P112"--> v2 v2 --"wdt:P31"--> c5 v2 --"wdt:P3438"--> v3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end