Thanks for the info. The examples in the newer version of the W3C's working draft are helpful.<br><br>The results of only two of the queries depend on the second sentence: "What precedes Element 4?" and "What precedes Element 7?".<br>
<br>Without the second sentence I get:<br><br> What precedes Element 4?<br> - Element 3<br><br> What precedes Element 7?<br> - Element 6<br><br>With the second sentence I get:<br><br> What precedes Element 4?<br>
- Element 1<br> - Element 2<br>
- Element 3<br>
<br>
What precedes Element 7?<br> - Element 1<br>
- Element 2<br>
- Element 3<br> - Element 4<br>
- Element 5<br>
- Element 6<br><br>Sorry I didn'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. I assume it's a just a matter of time before this functionality is implemented. 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. Thanks for clarifying this.<br>
<br>-- Ken <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: "Kaarel Kaljurand" <<a href="mailto:kaljurand@gmail.com">kaljurand@gmail.com</a>><br>
Subject: Re: [Attempto] nonstructural restrictions on Owl 2 axioms and<br>
AceWiki<br>
To: <a href="mailto:attempto@ifi.uzh.ch">attempto@ifi.uzh.ch</a><br>
Message-ID:<br>
<<a href="mailto:161f6fb70811020119pfeec018w12df52b587ce40e1@mail.gmail.com">161f6fb70811020119pfeec018w12df52b587ce40e1@mail.gmail.com</a>><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 <<a href="mailto:kennethjone@gmail.com">kennethjone@gmail.com</a>> wrote:<br>
><br>
> In prior emails we have discussed the Nonstructural Restrictions on Owl 2<br>
> Axioms and their implications for AceWiki.<br>
<br>
The latest version of these restrictions (which are now called "global<br>
restrictions") 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>
> You have eliminated one possible<br>
> violation of these restrictions by excluding the explicit definition of<br>
> transitive properties from reasoning and displaying red triangles preceding<br>
> the sentences that define them.<br>
><br>
> It occurred to me that I could use the following set of sentences to make a<br>
> cardinality-restricted property transitive, without actually declaring the<br>
> property to be a transitive property:<br>
><br>
> If X immediately precedes Y then X precedes Y.<br>
> If X immediately precedes Y and Y precedes Z then X precedes Z.<br>
> If X precedes Y then X is a sequence element.<br>
> If X precedes Y then Y is a sequence element.<br>
> Every sequence element is immediately preceded by at most 1 sequence<br>
> element.<br>
><br>
> Where, of course, I have defined the noun "sequence element" and the verbs<br>
> "precedes" and "immediately precedes".<br>
><br>
> AceWiki accepted all of these sentences and loaded them into Pellet. I<br>
> created the seven proper names "Element 1" through "Element 7" and I linked<br>
> them with the "immediately precedes" verb. The queries "What precedes<br>
> Element 1?", "What precedes Element 4?", "What precedes Element 7?", and<br>
> "What is a sequence element?" were all answered correctly. I defined the<br>
> proper name "Element 2-2" and tried to enter the sentence "Element 2-2<br>
> immediately precedes Element 3" and the sentence was recognized as<br>
> inconsistent with the existing sentences and was displayed in red. So all<br>
> 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't show up.<br>
<br>
<br>
> Of course, I realized that I must have violating the Nonstructural<br>
> Restrictions even though I hadn't created a sentence that was translated<br>
> into an Owl statement that contained TransitiveObjectProperty(precedes). So<br>
> I'm worried that it might be possible for a user to unwittingly violate the<br>
> Nonstructural Restrictions, think everything is fine, and have Pellet go<br>
> haywire at a later time when just the right combination of axioms has been<br>
> 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'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>