以下 Wikidata 查询无法正常工作:
# WikiData SPARQL Query
#
# Wolfgang Fahl 2018-01-06
#
# get father of queen victoria
SELECT ?queenVictoria ?queenVictoriaLabel ?fatherProperty ?fatherPropertyLabel ?father ?fatherLabel
WHERE {
#
# father
# https://www.wikidata.org/wiki/Property:P42
# Queen Victoria
# https://www.wikidata.org/wiki/Q9439
BIND (wdt:P22 AS ?fatherProperty).
BIND (wd:Q9439 AS ?queenVictoria).
?queenVictoria ?fatherProperty ?father.
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
结果是
queenVictoria queenVictoriaLabel fatherProperty fatherPropertyLabel father. fatherLabel
wd:Q9439 Queen Victoria wdt:P22 http://www.wikidata.org/prop/direct/P22 wd:Q157009 Prince Edward Augustus, Duke of Kent and Strathearn
我期待标签是维多利亚女王,父亲和“爱德华奥古斯都王子”。
我的查询有什么问题?或者这是一个错误?