SELECT ?field ?fieldLabel ?propertyLabel WHERE { VALUES (?predicate) {(wdt:P31) (wdt:P279)} wd:Q395 ?predicate ?field . ?property wikibase:directClaim ?predicate . SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }} 尝试一下!SELECT ?field ?fieldLabel ?propertyLabel { { wd:Q395 wdt:P31 ?field . BIND (wd:P31 AS ?property) } UNION { wd:Q395 wdt:P279 ?field . BIND (wd:P279 AS ?property) } SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }} 试试吧! 这篇关于查找在SPARQL查询中应用的直接属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 08-11 18:17