W3C home > Mailing lists > Public > www-rdf-interest@w3.org > August 2002

Re: CWM Question

From: Sean B. Palmer <sean@mysterylights.com>
Date: Tue, 20 Aug 2002 19:00:03 +0100
Message-ID: <03b101c24873$6bc05180$e0550150@localhost>
To: "Paul Prescod" <paul@prescod.net>
Cc: <www-rdf-interest@w3.org>

> > http://infomesh.net/2001/05/rdflint/rules.n3
>
> I notice daml:equivalentTo's definition is not in there.

There are a few rules for it--grep for "=". The "=" character is just
syntactic sugar in Notation3 for daml:equivalentTo: when CWM reads in the
file it will automatically convert all occurances of "=" to
daml:equivalentTo.

> Should there at least be a simple syntax for me to "turn on"
> the definition for these pre-defined things instead of duplicating
> definitions all over the place?

You could scribble down the rules that you always want to apply into a
local rules file, and then use the following alias:-

alias cwm='python pathTo/cwm.py --apply=pathTo/myRules.n3 '

this will apply the rules in myRules.n3 to the input non-iteratively, i.e.
the rules will only be applied once to the store.

As for the rules that you might want to use, you have rules.n3, and also
Jos DeRoo's transctiption of the RDFS entailment rules:-

http://www.agfa.com/w3c/euler/rdfs-rules

But note that that file is non-standard Notation3 (it has a couple of
quirky things that only Euler, Jos's N3 tool, can understand, AFAIK).

--
Kindest Regards,
Sean B. Palmer
@prefix : <http://purl.org/net/swn#> .
:Sean :homepage <http://purl.org/net/sbp/> .
Received on Tuesday, 20 August 2002 14:00:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:51:55 GMT