我有一个Protégé中传递角色推理的问题。在Protégé中传递角色的推理
我创建了一个简单的本体论,说:
“任何棒是一些发动机的部分。”
“任何发动机都是某辆车的一部分。”
“PartOf关系是传递的。”
我期望Protégé在DL-Metric中将此DL识别为S并推断出“任何杆都是某辆车的一部分”,但似乎只是忽略了传递性公理。问题是为什么。
(我用)的门生不同版本(4.3和5.0,不同推理 我怀疑我没有设置一些重要的复选框选项。)
我附上我的本体论:
<?xml version="1.0"?>
<!DOCTYPE Ontology [
<!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
<!ENTITY xml "http://www.w3.org/XML/1998/namespace" >
<!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
<!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
]>
<Ontology xmlns="http://www.w3.org/2002/07/owl#"
xml:base="http://www.semanticweb.org/ирина/ontologies/2015/2/untitled-ontology-9"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:xml="http://www.w3.org/XML/1998/namespace"
ontologyIRI="http://www.semanticweb.org/ирина/ontologies/2015/2/untitled-ontology-9">
<Prefix name="rdf" IRI="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
<Prefix name="rdfs" IRI="http://www.w3.org/2000/01/rdf-schema#"/>
<Prefix name="xsd" IRI="http://www.w3.org/2001/XMLSchema#"/>
<Prefix name="owl" IRI="http://www.w3.org/2002/07/owl#"/>
<Declaration>
<Class IRI="#Car"/>
</Declaration>
<Declaration>
<Class IRI="#Engine"/>
</Declaration>
<Declaration>
<Class IRI="#Rod"/>
</Declaration>
<Declaration>
<ObjectProperty IRI="#isPartOf"/>
</Declaration>
<SubClassOf>
<Class IRI="#Engine"/>
<ObjectSomeValuesFrom>
<ObjectProperty IRI="#isPartOf"/>
<Class IRI="#Car"/>
</ObjectSomeValuesFrom>
</SubClassOf>
<SubClassOf>
<Class IRI="#Rod"/>
<ObjectSomeValuesFrom>
<ObjectProperty IRI="#isPartOf"/>
<Class IRI="#Engine"/>
</ObjectSomeValuesFrom>
</SubClassOf>
<TransitiveObjectProperty>
<ObjectProperty IRI="#isPartOf"/>
</TransitiveObjectProperty>
</Ontology>
<!-- Generated by the OWL API (version 3.5.0) http://owlapi.sourceforge.net -->
谢谢!确实如此。这解决了这个问题。 – Stanislav 2015-03-15 18:48:14