简体   繁体   English

GraphDB - 从新的空存储库推断出的语句

[英]GraphDB - Inferred statements from new empty repository

I'm running some basic tests with GraphDB, and I am surprised to see that when a new repository is created, some statements seems to already be there (inferred by GraphDB).我正在使用 GraphDB 运行一些基本测试,我惊讶地发现,当创建新存储库时,某些语句似乎已经存在(由 GraphDB 推断)。

Here is the summary of the repository that tells about those statements:以下是有关这些语句的存储库摘要:

在此处输入图片说明

And the result of a sparql query to list them CONSTRUCT {?s ?p ?o} WHERE {?s ?p ?o .} LIMIT 100以及列出它们的 sparql 查询的结果CONSTRUCT {?s ?p ?o} WHERE {?s ?p ?o .} LIMIT 100

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sesame: <http://www.openrdf.org/schema/sesame#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix fn: <http://www.w3.org/2005/xpath-functions#> .

rdf:type a rdf:Property;
  rdfs:subPropertyOf rdf:type;
  <http://proton.semanticweb.org/protonsys#transitiveOver> rdfs:subClassOf .

rdfs:subPropertyOf a rdf:Property, owl:TransitiveProperty;
  rdfs:subPropertyOf rdfs:subPropertyOf;
  <http://proton.semanticweb.org/protonsys#transitiveOver> rdfs:subPropertyOf .

rdfs:subClassOf a rdf:Property, owl:TransitiveProperty;
  rdfs:subPropertyOf rdfs:subClassOf;
  rdfs:domain rdfs:Class;
  rdfs:range rdfs:Class;
  <http://proton.semanticweb.org/protonsys#transitiveOver> rdfs:subClassOf .

rdfs:domain a rdf:Property;
  rdfs:subPropertyOf rdfs:domain;
  rdfs:range rdfs:Class .

rdfs:range a rdf:Property;
  rdfs:subPropertyOf rdfs:range;
  rdfs:range rdfs:Class .

owl:equivalentProperty a owl:SymmetricProperty, owl:TransitiveProperty;
  rdfs:subPropertyOf rdfs:subPropertyOf;
  <http://proton.semanticweb.org/protonsys#transitiveOver> owl:equivalentProperty;
  owl:inverseOf owl:equivalentProperty .

owl:equivalentClass a owl:SymmetricProperty, owl:TransitiveProperty;
  rdfs:subPropertyOf rdfs:subClassOf;
  <http://proton.semanticweb.org/protonsys#transitiveOver> owl:equivalentClass;
  owl:inverseOf owl:equivalentClass .

<http://proton.semanticweb.org/protonsys#transitiveOver> a rdf:Property;
  rdfs:subPropertyOf <http://proton.semanticweb.org/protonsys#transitiveOver> .

owl:inverseOf a rdf:Property, owl:SymmetricProperty;
  rdfs:subPropertyOf owl:inverseOf;
  owl:inverseOf owl:inverseOf .

rdf:subject a rdf:Property;
  rdfs:domain rdf:Statement .

rdf:predicate a rdf:Property;
  rdfs:domain rdf:Statement .

rdf:object a rdf:Property;
  rdfs:domain rdf:Statement .

rdf:first a rdf:Property;
  rdfs:domain rdf:List .

rdf:rest a rdf:Property;
  rdfs:domain rdf:List;
  rdfs:range rdf:List .

rdf:value a rdf:Property .

rdf:nil a rdf:List .

rdf:XMLLiteral a rdfs:Class, rdfs:Datatype;
  rdfs:subClassOf rdfs:Literal, rdf:XMLLiteral .

owl:differentFrom a owl:SymmetricProperty;
  owl:inverseOf owl:differentFrom .

xsd:nonNegativeInteger a rdfs:Class, rdfs:Datatype;
  rdfs:subClassOf xsd:nonNegativeInteger .

xsd:string a rdfs:Class, rdfs:Datatype;
  rdfs:subClassOf xsd:string .

rdf:_1 a rdf:Property, rdfs:ContainerMembershipProperty .

rdfs:isDefinedBy rdfs:subPropertyOf rdfs:seeAlso .

rdf:Alt rdfs:subClassOf rdfs:Container .

rdf:Bag rdfs:subClassOf rdfs:Container .

rdf:Seq rdfs:subClassOf rdfs:Container .

rdfs:ContainerMembershipProperty rdfs:subClassOf rdf:Property .

rdfs:Datatype rdfs:subClassOf rdfs:Class .

rdfs:comment rdfs:range rdfs:Literal .

rdfs:label rdfs:range rdfs:Literal .

They seem to reflect a partial description of the rdf, rdfs and owl vocabulary, but also include some properties from http://proton.semanticweb.org/protonsys# .它们似乎反映了对 rdf、rdfs 和 owl 词汇的部分描述,但也包括来自http://proton.semanticweb.org/protonsys#一些属性。 I tried to figure out what they are and especially why they are present by default in a GraphDB repository, but I haven't found such information in GraphDb documentation.我试图弄清楚它们是什么,尤其是为什么它们默认存在于 GraphDB 存储库中,但我在 GraphDb 文档中没有找到此类信息。

Thanks!谢谢!

The returned 70 triples are the axiomatic triples part of the selected default RDFS Plus (Optimized) ruleset during the repository instantiation.返回的 70 个三元组是存储库实例化期间所选默认 RDFS Plus(优化)规则集的公理三元组部分。 The purpose of these non-deletable statements is to assert evident base assumptions like:这些不可删除语句的目的是断言明显的基本假设,例如:

<rdf:type> <rdf:type> <rdf:Property> (every rdf:type relation is a property) <rdf:type> <rdf:type> <rdf:Property> (每个 rdf:type 关系都是一个属性)

Their sole purpose is to ensure compliance with the RDFS semantics .它们的唯一目的是确保符合RDFS 语义 You can control them from the PIE files stored in $GDB_HOME/configs/rules directory.您可以从$GDB_HOME/configs/rules目录中存储的 PIE 文件控制它们。 For further information, you can check the software documentation:有关更多信息,您可以查看软件文档:

https://graphdb.ontotext.com/documentation/free/reasoning.html https://graphdb.ontotext.com/documentation/free/reasoning.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM