query-537b25200d47a97a86b2dc0a730b7cec

rq turtle/ttl

Looking for all brands does not really identify all brands (Apple, Dell, Samsung missing). Is this the wrong item? (Q431289)brand I am looking for a query which gives me all brands which are used for products, e.g. Apple (iPhone), Dell (XP), Samsung (Galaxy), etc.

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 ?brand ?brandLabel WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  ?brand wdt:P31 wd:Q431289.
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?brand"):::projected c2(["bd:serviceParam"]):::iri c4(["#91;AUTO_LANGUAGE#93;,en"]):::literal c6(["wd:Q431289"]):::iri subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c2 --"wikibase:language"--> c4 end v1 --"wdt:P31"--> c6