[Pellet-users] Namespaces for SWRL

Matt Williams matthew.williams at cancer.org.uk
Thu Nov 1 11:54:12 UTC 2007


Dear All,

I'm having problems with the swrl namespace.

I've looked at the pellet RulesExample file, which I can compile & run 
fine, but looking at the ontology that it uses, I can't see where all 
the different NS (dl-safe & swrl) get declared.

Then when I try & add a rule to my ontology, I get complaints about "the 
prefix swrl for the element swrl:Imp is not bound".

I've tried declaring swrl as a NS using 
xmlns:swrl="http://www.w3.org/2003/11/swrl"/ or importing a variety of 
potential swrl ontologies (from Christine Golbriech's Family ontology) 
noe of which helps.

Could someone point out what I should be doing?

There was reference to this in a earlier post (2004, I think) but it 
wasn't really ever tied up (or at least I didn't understand it).

Thanks a lot,

Matt

-- 
http://acl.icnet.uk/~mw
http://adhominem.blogsome.com/
+44 (0)7834 899570


More information about the Pellet-users mailing list