2

我是 Wikidata 查询服务的新手。

我想找到所有installed capacitypower stations

我尝试了以下方法:Wikidata Query

SELECT ?power_station ?power_stationLabel ?installed_capacity WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }

  ?power_station wdt:P31 wd:Q159719.
  OPTIONAL { ?power_station wdt:P2109 ?installed_capacity. }
}
LIMIT 100

我不明白的是,为什么当我进入电站的维基百科页面时,我经常可以找到铭牌容量。(参考:https ://en.wikipedia.org/wiki/Pembroke_Power_Station )

然而,我没有从 Wikidata 查询中得到这个结果。也就是说,我得到了发电厂的名称,但没有得到电力容量。

我也尝试了相反的方法,寻找铭牌容量的所有实例,但只返回installed capacity(wd:P2109)。

4

0 回答 0