我不知道如何在不考虑口音的情况下比较不同的标签。
下一个查询不会返回该地点,因为“Ibáñez”在西班牙语 DBpedia 中有口音,但在我的数据源中有不同的口音。
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#>
SELECT DISTINCT ?iri
WHERE {
?iri rdfs:label ?label .
?label bif:contains "'Blasco Ibañez'" .
?iri ?location ?city .
FILTER (?location = <http://dbpedia.org/ontology/location> || <http://dbpedia.org/ontology/wikiPageWikiLink>) .
?city bif:contains "valencia"
} LIMIT 100
有没有办法不考虑口音?