I\'m trying to extract entity dictionary contains person name etc. from dbpedia using sparql.
PREFIX owl:
PREFIX dbpprop
You are looking for rdfs:label
for a name, of course all the names are English, you are looking at the English dbpedia.
PREFIX owl:
PREFIX dbpprop:
SELECT distinct *
WHERE {
?person a owl:Person .
?person rdfs:label ?name .
FILTER(lang(?name) = "fr")
}
Again, for the second one, if you replace the name with the rdfs: label
you can have:
PREFIX owl:
PREFIX dbpprop:
SELECT distinct *
WHERE {
?person a owl:Person .
?person rdfs:label ?name .
?person dbpprop:language .
}