Thanks for the info.&nbsp; The examples in the newer version of the W3C&#39;s working draft are helpful.<br><br>The results of only two of the queries depend on the second sentence:&nbsp; &quot;What precedes Element 4?&quot; and &quot;What precedes Element 7?&quot;.<br>
<br>Without the second sentence I get:<br><br>&nbsp;&nbsp;&nbsp; What precedes Element 4?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Element 3<br><br>&nbsp;&nbsp;&nbsp; What precedes Element 7?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Element 6<br><br>With the second sentence I get:<br><br>&nbsp;&nbsp;&nbsp; What precedes Element 4?<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Element 1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Element 2<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Element 3<br>
<br>
&nbsp;&nbsp;&nbsp; What precedes Element 7?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Element 1<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Element 2<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Element 3<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Element 4<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Element 5<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Element 6<br><br>Sorry I didn&#39;t make this clear.<br><br>But what you say about the responsibility resting with the Owl API and Pellet instead of AceWiki makes sense.&nbsp; I assume it&#39;s a just a matter of time before this functionality is implemented.&nbsp; At that time it will be possible to lift the restriction placed on the sentences accepted by AceWiki and rely on the more sophisticated checking done by the Owl API.&nbsp; Thanks for clarifying this.<br>
<br>-- Ken&nbsp; <br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
----------------------------------------------------------------------<br>
<br>
Date: Sun, 2 Nov 2008 10:19:41 +0100<br>
From: &quot;Kaarel Kaljurand&quot; &lt;<a href="mailto:kaljurand@gmail.com">kaljurand@gmail.com</a>&gt;<br>
Subject: Re: [Attempto] nonstructural restrictions on Owl 2 axioms and<br>
 &nbsp; &nbsp; &nbsp; &nbsp;AceWiki<br>
To: <a href="mailto:attempto@ifi.uzh.ch">attempto@ifi.uzh.ch</a><br>
Message-ID:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:161f6fb70811020119pfeec018w12df52b587ce40e1@mail.gmail.com">161f6fb70811020119pfeec018w12df52b587ce40e1@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
Hi,<br>
<br>
On Sun, Oct 26, 2008 at 4:20 PM, Kenneth Jones &lt;<a href="mailto:kennethjone@gmail.com">kennethjone@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; In prior emails we have discussed the Nonstructural Restrictions on Owl 2<br>
&gt; Axioms and their implications for AceWiki.<br>
<br>
The latest version of these restrictions (which are now called &quot;global<br>
restrictions&quot;) is<br>
<br>
<a href="http://www.w3.org/TR/owl2-syntax/#Global_Restrictions_on_Axioms" target="_blank">http://www.w3.org/TR/owl2-syntax/#Global_Restrictions_on_Axioms</a><br>
<br>
In this version, there are also more examples than in earlier versions.<br>
<br>
<br>
&gt; You have eliminated one possible<br>
&gt; violation of these restrictions by excluding the explicit definition of<br>
&gt; transitive properties from reasoning and displaying red triangles preceding<br>
&gt; the sentences that define them.<br>
&gt;<br>
&gt; It occurred to me that I could use the following set of sentences to make a<br>
&gt; cardinality-restricted property transitive, without actually declaring the<br>
&gt; property to be a transitive property:<br>
&gt;<br>
&gt; If X immediately precedes Y then X precedes Y.<br>
&gt; If X immediately precedes Y and Y precedes Z then X precedes Z.<br>
&gt; If X precedes Y then X is a sequence element.<br>
&gt; If X precedes Y then Y is a sequence element.<br>
&gt; Every sequence element is immediately preceded by at most 1 sequence<br>
&gt; element.<br>
&gt;<br>
&gt; Where, of course, I have defined the noun &quot;sequence element&quot; and the verbs<br>
&gt; &quot;precedes&quot; and &quot;immediately precedes&quot;.<br>
&gt;<br>
&gt; AceWiki accepted all of these sentences and loaded them into Pellet. &nbsp;I<br>
&gt; created the seven proper names &quot;Element 1&quot; through &quot;Element 7&quot; and I linked<br>
&gt; them with the &quot;immediately precedes&quot; verb. &nbsp;The queries &quot;What precedes<br>
&gt; Element 1?&quot;, &quot;What precedes Element 4?&quot;, &quot;What precedes Element 7?&quot;, and<br>
&gt; &quot;What is a sequence element?&quot; were all answered correctly. &nbsp;I defined the<br>
&gt; proper name &quot;Element 2-2&quot; and tried to enter the sentence &quot;Element 2-2<br>
&gt; immediately precedes Element 3&quot; and the sentence was recognized as<br>
&gt; inconsistent with the existing sentences and was displayed in red. &nbsp;So all<br>
&gt; my tests (queries) passed and everything looked great.<br>
<br>
As far as I can tell, the second sentence is not needed for these<br>
inferences to hold.<br>
So if Pellet just ignores the second sentence (because it is in<br>
violation with the global<br>
restrictions), then you still get the correct inferences. Only the<br>
inferences that require<br>
the second sentence to be present won&#39;t show up.<br>
<br>
<br>
&gt; Of course, I realized that I must have violating the Nonstructural<br>
&gt; Restrictions even though I hadn&#39;t created a sentence that was translated<br>
&gt; into an Owl statement that contained TransitiveObjectProperty(precedes). &nbsp;So<br>
&gt; I&#39;m worried that it might be possible for a user to unwittingly violate the<br>
&gt; Nonstructural Restrictions, think everything is fine, and have Pellet go<br>
&gt; haywire at a later time when just the right combination of axioms has been<br>
&gt; defined.<br>
<br>
Yes, just disabling transitive properties syntactically will not work<br>
in general.<br>
It would provide a better solution if OWL API could be queried to find out<br>
if the ontology violates these restrictions. It wouldn&#39;t make sense to<br>
implement this checking in AceWiki as OWL reasoners and OWL APIs will have to<br>
provide it anyway.<br>
<br>
--<br>
kaarel<br>
<br>
</blockquote></div><br>