query-2cc5a78d54d3ce048352b28c453cd76c

rq turtle/ttl

List of all boat manufacturing companies (Q73126803)boat manufacturing company List all instances and sub-classes of

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>

SELECT ?item ?itemLabel ?desc ?USCG_MIC ?inception ?founderLabel ?ceoLabel ?product ?productLabel ?headquarterLabel
WHERE 
{
  ?item wdt:P31/wdt:P279* wd:Q73126803 .
  ?item schema:description ?desc.
  OPTIONAL {?item wdt:P9411 ?USCG_MIC .}
  OPTIONAL {?item wdt:P571 ?inception .}
  OPTIONAL {?item wdt:P112 ?founder .}
  OPTIONAL {?item wdt:P169 ?ceo .}
  OPTIONAL {?item wdt:P1056 ?product .}
  OPTIONAL {?item wdt:P159 ?headquarter .}
  FILTER ( lang(?desc) = "en" )
  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("?USCG_MIC"):::projected v6("?ceo") v1("?desc"):::projected v5("?founder") v8("?headquarter") v4("?inception"):::projected v2("?item"):::projected v7("?product"):::projected a1((" ")) c13(["bd:serviceParam"]):::iri c15(["#91;AUTO_LANGUAGE#93;,en"]):::literal c4(["wd:Q73126803"]):::iri f0[["?desc = 'en'"]] f0 --> v1 v2 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c4 v2 --"schema:description"--> v1 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P9411".-> v3 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P571".-> v4 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P112".-> v5 end subgraph optional3["(optional)"] style optional3 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P169".-> v6 end subgraph optional4["(optional)"] style optional4 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P1056".-> v7 end subgraph optional5["(optional)"] style optional5 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P159".-> v8 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c13 --"wikibase:language"--> c15 end