我的 SPARQL 查询出现错误,但找不到:
询问
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX dbpedia-owl: <http://dbpedia.org/ontology/>
PREFIX : <http://dbpedia.org/resource/>
PREFIX dbpedia2: <http://dbpedia.org/property/>
PREFIX dbpedia: <http://dbpedia.org/>
SELECT DISTINCT ?lat, ?long {
:Taj_Mahal dbpedia2:latitude ?lat .
:Taj_Mahal dbpedia2:longitude ?long }
错误
Encountered " "," ", "" at line 9, column 21.
Was expecting one of:
...
...
"from" ...
"where" ...
"(" ...
"{" ...
有什么建议吗??