query-997d6d2cb59601c2c60db162543105b0
list of all rappers page. Query is as follows: wikidataI'm trying to do a basic query that returns all entities where occupation is rapper (wdt:P106 wd:Q2252262). I get back almost 8000 results but I noticed that one entry (for example) -- Q-Tip (Q42025) -- is missing, despite the fact that rapper / Q2252262 is indeed one of the listed occupations on his
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?rapper ?rapperLabel WHERE {
{
?rapper wdt:P106 wd:Q2252262;
rdfs:label ?rapperLabel.
FILTER((LANG(?rapperLabel)) = "en")
}
}
ORDER BY (?rapperLabel)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?rapper"):::projected
v1("?rapperLabel"):::projected
c3(["wd:Q2252262"]):::iri
f0[["?rapperLabel = 'en'"]]
f0 --> v1
v2 --"wdt:P106"--> c3
v2 --"rdfs:label"--> v1