query-354bf5f08c3e4866b237bd5f19607316
How to get all the types of a given itemHello, I am trying to get all the values of given item using this query:
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?value
WHERE
{
wd:Q490 wdt:P31 ?value.
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?value"):::projected
c1(["wd:Q490"]):::iri
c1 --"wdt:P31"--> v1