我想从两个不同的 SPARQL 端点获取人员列表,所以我在de.dbpedia上使用这个查询:
PREFIX category-en: <http://dbpedia.org/resource/Category:>
SELECT distinct *
WHERE {
?name dcterms:subject category-de:Haus_Liechtenstein.
?name rdf:type foaf:Person.
SERVICE <http://dbpedia.org/sparql> {
?name dcterms:subject category-en:Princely_Family_of_Liechtenstein.
?name rdf:type foaf:Person.
}
MINUS {?name dbpedia-owl:deathDate ?d}
}
然后我得到以下错误:
Virtuoso RDFZZ 错误 DB.DBA.SPARQL_REXEC(' http://dbpedia.org/sparql ', ...) has received result with unexpected variable name 'stubvar14'
知道我做错了什么吗?非常感谢!