query-087c36aa7a966dc32b0eaacc5b8ceeab
. United Nations Declaration on the Rights of Indigenous PeoplesLabels and alternative labels for ethnic groups on Wikidata contain a wild mixture of self-identified and non-self-identified names. The latter are often rooted in colonialism and/or racism and contradict the allow heritage institutions that are interested in decolonizing their databases an easier matching of incorrect and correct terms. Matchings done by one institution can be reused by others and are thus more sustainable. Also, the editing of the terms can be outsourced and stakeholder groups can be involved. (P12090)non-self-identified name and (P12089)self-identified name The two new properties The followig SPARQL queries can serve as a starting point for using the data. in a specific language (here French): (Q41710)ethnic group Alphabetic list of all labels (incl. alternatives) of
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?group ?label ?selfidentified ?nonselfidentified WHERE {
# set language
BIND('fr' AS ?lang)
# ?group instance/subclass of ethnic group
?group wdt:P31/wdt:P279* wd:Q41710.
{
?group rdfs:label ?label .
} UNION {
?group skos:altLabel ?label .
}
FILTER(lang(?label)=?lang)
OPTIONAL {
# self-indentified name
?group wdt:P12089 ?selfidentified.
FILTER(lang(?selfidentified)=?lang)
}
OPTIONAL {
# non-self-indentified name
?group wdt:P12090 ?nonselfidentified.
FILTER(lang(?selfidentified)=?lang)
}
} ORDER BY ASC(?label)