如何取消引用 Fuseki2 链接数据服务器中上传的 URI 节点?

How to dereference an uploaded URI node in Fuseki2 linked data server?

我安装了 Fuseki2,运行 它作为具有默认设置的独立服务器 (http://localhost:3030/)。

我通过 'Manage datasets'控制台:

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix schema: <http://schema.org/> .
@prefix dcat:    <http://www.w3.org/ns/dcat#> .
@prefix pd: <http://localhost:3030/geography/ontology/> .

pd:City 
  rdf:type owl:Class ;
  rdfs:comment "Represents a City in the ontology" .

<http://localhost:3030/geography/City/>
  a dcat:Dataset;
  schema:name "City information";
  schema:description "Dataset with all the country's cities' information from 2018." ;

<http://localhost:3030/geography/City/1100015> 
  a pd:City;
  rdfs:label "Rome" ;
  pd:isCapital "1"^^xsd:int .

尽管我可以通过 SPARQL 查询获取值(例如 PREFIX dcat:http://www.w3.org/ns/dcat# SELECT ?s WHERE {?s a dcat:Dataset.}), I cannot access this node's information (http://localhost:3030/geography/City/1100015), as I would, for example , like this: http://dbpedia.org/page/Rome

有没有一种方法可以配置 Fuseki 服务器取消引用我上传的 URI 和 return 节点信息?

显然,使导入的 URI 可解析的唯一方法是使用链接数据接口,例如 Pubby (http://wifo5-03.informatik.uni-mannheim.de/pubby/) or LOD View (https://github.com/LodLive/LodView).

安装后,您可以将它们指向 Fuseki 的 SPARQL 端点。

LodView 配置文件示例 (config.ttl):

conf:IRInamespace <http://localhost:3030/geography/> ; # base namespace for URIs
conf:endpoint <http://localhost:3030/sparql>; # where to query

您可以通过内容协商访问http://localhost:8080/lodview/geography/City/1100015