我不明白为什么通过这个查询我无法获得运动和流派标签:
SELECT DISTINCT ?item ?itemLabel ?value ?inception ?creatorLabel ?image
(group_concat(?genreLabel; separator=", ") AS ?genres)
(group_concat(?movementLabel; separator=", ") AS ?movements)
WHERE {
?item wdt:P4610 ?value;
wdt:P18 ?image. #with an image
OPTIONAL { ?item wdt:P571 ?inception; #optionally with creationdate
wdt:P170 ?creator; #Optionally with creator
wdt:P136 ?genre;
wdt:P135 ?movement.
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "it,[AUTO_LANGUAGE]"}
} GROUP BY ?item ?itemLabel ?image ?value ?inception ?creatorLabel
ORDER BY ?item
我尝试了很多方法,但似乎总是错误。
None
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)