Rdf SPARQL查询不';我不能给出任何结果

Rdf SPARQL查询不';我不能给出任何结果,rdf,sparql,ontology,fuseki,Rdf,Sparql,Ontology,Fuseki,我试图使用Fuseki在本地本体上运行SPARQL查询,但无法获得任何结果。我的本体包含如下国家列表: ### http://localhost:2020/country/6 <http://localhost:2020/country/6> rdf:type <http://localhost:2020/vocab/country> , owl:NamedIndividual ; rdfs:label "country #6" ; <http://localh

我试图使用Fuseki在本地本体上运行SPARQL查询,但无法获得任何结果。我的本体包含如下国家列表:

###  http://localhost:2020/country/6

<http://localhost:2020/country/6> rdf:type <http://localhost:2020/vocab/country> , owl:NamedIndividual ;
rdfs:label "country #6" ;
<http://localhost:2020/vocab/country_id> 6 ;
<http://localhost:2020/vocab/country_name_nl> "Nederland" ;                              
<http://localhost:2020/vocab/country_code> "nl" .
###http://localhost:2020/country/6
rdf:type,owl:NamedIndividual;
rdfs:标签为“国家6”;
6.
“荷兰”;
“nl”。
属性如下所示:

###  http://localhost:2020/vocab/country_code

<http://localhost:2020/vocab/country_code> rdfs:label "country code" .
###http://localhost:2020/vocab/country_code
rdfs:标签“国家代码”。
我尝试运行的测试查询是:

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?name WHERE {?name rdfs:type <http://localhost:2020/vocab/country>} LIMIT 50
前缀rdfs:
选择名称,其中{name rdfs:type}限制50

为什么这不给我一份国家名单?我得到的是一个空的“name”列,这是一个愚蠢的错误,“type”是rdf而不是rdfs。。。现在真是魅力四射

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT ?name WHERE {?name rdf:type <http://localhost:2020/vocab/country>} LIMIT 50
前缀rdf:
选择名称,其中{name rdf:type}限制50