[英]SPARQL Query on DBpedia for group operation
I want to be able to contruct a graph with weight and height of Golf player from DBpedia.我希望能够使用 DBpedia 中的高尔夫球手的体重和身高来构建图表。 Please help as I am new to this
请帮忙,因为我是新手
Looking at some examples , it seems that DBpedia does not have information about the weight of golf players.看一些例子,似乎DBpedia没有关于高尔夫球手体重的信息。 It does have height , though.
不过,它确实有height 。 Here is an example of how you could query for it in SPARQL:
以下是如何在 SPARQL 中查询它的示例:
PREFIX dbo: <http://dbpedia.org/ontology/>
SELECT ?subject ?height
WHERE {
?subject a dbo:GolfPlayer ;
dbo:height ?height .
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.