Skip to content

Commit 5340b59

Browse files
authored
Merge pull request #1 from franconi/peter
fix problems in entailment closure
2 parents 92f2a8d + 09f18ce commit 5340b59

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

spec/index.html

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1829,14 +1829,13 @@ <h2>Entailment rules</h2>
18291829
<tbody>
18301830
<tr>
18311831
<th > </th>
1832-
<th ><strong>if S contains</strong></th>
1832+
<th ><strong>any S</strong></th>
18331833
<th ><strong>then S RDFS entails</strong></th>
18341834
</tr>
18351835
<tr >
18361836
<td class="othertable"><dfn>Grdfs14</dfn></td>
1837-
<td class="othertable">xxx <code>rdf:type rdfs:Resource .</code><br/>
1838-
yyy <code>rdf:type rdf:Property .</code><br/>
1839-
zzz <code>rdf:type rdfs:Resource .</code><br/>
1837+
<td class="othertable">if S contains <code>yyy rdf:type rdf:Property .</code><br/>
1838+
and <code>xxx</code> and <code>yyy</code> appear in E
18401839
</td>
18411840
<td class="othertable"><code>&lt;&lt;(xxx yyy zzz)>> rdf:type rdfs:Proposition .</code></td>
18421841
</tr>
@@ -1852,8 +1851,8 @@ <h2>Entailment rules</h2>
18521851
<li>Add to S all the RDF (and RDFS) axiomatic triples which do not contain any container membership property IRI.</li>
18531852
<li>For each container membership property IRI which occurs in E, add the RDF (and RDFS) axiomatic triples which contain that IRI.</li>
18541853
<li>If no triples were added in step 2, add the RDF (and RDFS) axiomatic triples which contain <code>rdf:_1</code>.</li>
1855-
<li>For every IRI or literal or triple term <code>aaa</code> used in E, add <code>aaa rdf:type rdfs:Resource</code> to S.</li>
1856-
<li>Apply the rules <a>GrdfD1</a>, <a>Grdfs14</a>, <a>rdfD1a</a>, and <a>rdfD2</a> (and the rules <a>rdfs1</a> through <a>rdfs13</a>),
1854+
<li>Apply the rule GrdfD1 (and rdfs1 and rdfs4) but using E instead of S in the antecedent.</li>
1855+
<li>Apply the rules <a>GrdfD1</a>, <a>rdfD1a</a>, and <a>rdfD2</a> (and the rules <a>rdfs1</a> through <a>rdfs13</a> and <a>Grdfs14</a>),
18571856
with D={<code>rdf:langString</code>, <code>rdf:dirLangString</code>, <code>xsd:string</code>},
18581857
to the set in all possible ways, to exhaustion.</li>
18591858
</ol>
@@ -1867,9 +1866,9 @@ <h2>Entailment rules</h2>
18671866
Detecting simple entailment is NP-complete in general, but of low polynomial order when E contains no blank nodes.</p>
18681867

18691868
<p>Every RDF(S) closure, even starting with the empty graph,
1870-
will contain all RDF(S) tautologies which can be expressed using the vocabulary of the original graph
1869+
will contain all RDF(S) tautologies which can be expressed using the vocabulary of the entailing and entailed graphs
18711870
plus the RDF and RDFS vocabularies.
1872-
In practice there is little utility in re-deriving these,
1871+
In practice there is little utility in re-deriving these
18731872
and a subset of the rules can be used to establish most entailments of practical interest.</p>
18741873

18751874
<p>If it is important to stay within legal RDF syntax, rule <a>rdfD1</a> may be used instead of <a>GrdfD1</a>,

0 commit comments

Comments
 (0)