<feed xmlns="http://www.w3.org/2005/Atom" xmlns:foaf="http://xmlns.com/foaf/0.1/"><title>norman.walsh.name: Comments on /2005/12/16/pimExample</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2005/12/16/pimExample"/><id>http://norman.walsh.name/2005/12/16/pimExample/comments.atom</id><updated>2012-02-13T08:39:10.535677Z</updated><entry><title>Comment 1 on /2005/12/16/pimExample</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2005/12/16/pimExample#comment0001"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0001</id><published>2005-12-17T00:43:01Z</published><updated>2005-12-17T00:43:01Z</updated><author><name>Dan Connolly</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">Some of your rules follow a standardized idiom.
For example:

<pre>
{ ?p p:livesWith ?q } =&gt; { ?q p:livesWith ?p } .
</pre>

You can just say...

<pre>
p:livesWith a owl:SymmetricProperty.
</pre>

... provided you tell cwm about owl:SymmetricProperty with this rule...

<pre>
{ ?prop a owl:SymmetricProperty.
 ?p ?prop ?q } =&gt; { ?q ?prop ?p } .
</pre>

A nice thing about that is that while N3 rules aren't (yet ;-)
standardized, OWL is, so now all the OWL
tools grok more about p:livesWith, and the
p:livesWith a owl:SymmetricProperty. statement
only uses the turtle part of N3, which is much more widely supported.
e.g. <a rel="nofollow" href="http://www.mindswap.org/2003/pellet/">pellet</a>
groks turtle and OWL.

owl:TransitiveProperty
is also standardized. Can't remember if reflexive
is standardized... nope; I don't see it in the <a rel="nofollow" href="http://www.w3.org/TR/owl-ref/">OWL reference</a>.

Likewise, this rule follows an RDFS idiom:

<pre>
{ ?p p:spouse ?q } =&gt; { ?p p:sigother ?q } .
</pre>

You can just say...

<pre>
p:spouse rdfs:subPropertyOf p:sigother.
</pre>

and tell cwm what that means thusly:

<pre>
{ ?X [ rdfs:subPropertyOf ?PROP] ?Y } =&gt; { ?X ?PROP ?Y }.
</pre>

The semantics of RDFS are completely expressible in N3 rules.
<a rel="nofollow" href="http://www.w3.org/2000/10/swap/util/rdfs-rules">swap/util/rdfs-rules</a> is a careful transcription of the RDFS spec into N3.


You can't completely capture OWL in N3 rules, but you can
express quite a useful bit of it. <a rel="nofollow" href="http://www.agfa.com/w3c/jdroo/">Jos</a>
developed
<a rel="nofollow" href="http://www.agfa.com/w3c/euler/owl-rules.n3">owl-rules.n3</a>,
though if you feel all those rules to cwm, it'll probably head
into the weeds chasing infinite deduction chains
more often than not, so you sorta have to pick and choose.
Jos's Euler does better,
since it's a backward-chaining reasoner.</div></content></entry><entry><title>Comment 2 on /2005/12/16/pimExample</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2005/12/16/pimExample#comment0002"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0002</id><published>2005-12-17T13:37:08Z</published><updated>2005-12-17T13:37:08Z</updated><author><name>Dave Pawson</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>Thanks Norm. 
  This usage does far more (for me) than all the stuff on RDF
I've read which, like Uche, has simply had me shrugging.
</p>
    <p>
I'm getting an impression of little piles of classes, namespace lists
(extra.n3 etc) and local semantics, some re-used (foaf, dc g), others
locally generated (contacts, genealogy). Do they make up what you
seem to be calling 'colloquial RDF'? How far is it from what you have
to SW RDF? Just a transform?
</p>
    <p>
Shelly's reference to http://www.w3.org/2005/Talks/1214-Trento-IH has
made a difference for me. Merging (I guess thats one of your 'wins') is
a key item I'm intrigued by. 
</p>
    <p>
I'm curious what you are editing with? Emacs I guess, but any major
mode for your ownl and N3?
</p>
    <p>
Again. Much appreciated.
</p>
    <p>
DaveP</p>
  </div></content></entry><entry><title>Comment 3 on /2005/12/16/pimExample</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2005/12/16/pimExample#comment0003"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0003</id><published>2005-12-17T23:12:05Z</published><updated>2005-12-17T23:12:05Z</updated><author><name>Susan</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>Maybe it's offtopic, but i just wanted to say, that it's really interesting to read everything this with comments... You discuss here a lot of interesting things on useful themes. Thanks for that.</p>
  </div></content></entry><entry><title>Comment 4 on /2005/12/16/pimExample</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2005/12/16/pimExample#comment0004"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0004</id><published>2005-12-20T08:15:57Z</published><updated>2005-12-20T08:15:57Z</updated><author><name>Christoph Görn</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>Hello Norm, I took your inspiration onto the Mac and reworked some stuff. It's not that complete but it will <a rel="nofollow" href="http://b4mad.net/datenbrei/archives/2005/12/20/putting-my-address-book-online/">take your address book on the web</a>.</p>
  </div></content></entry><entry><title>Comment 5 on /2005/12/16/pimExample</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2005/12/16/pimExample#comment0005"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0005</id><published>2006-12-07T07:20:46Z</published><updated>2006-12-07T07:20:46Z</updated><author><name>Steve</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>This is perfect--it's exactly what I have in mind for managing my growing contact list. I notice that you use 'colloquial' RDF; aren't there already URIs for address, contact, etc?</p>
  </div></content></entry></feed>

