Question: How many ethnic groups live in Spain?
SPARQL:
PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT (COUNT(DISTINCT ?uri) AS ?count) WHERE { res:Spain dbo:ethnicGroup ?uri }