Carlo Jelmini writes:
 > I'm currently working on a project using Jess for OWL inference, in a way
 > similar to DamlJessKB.
 > As I hate to read and write code with long namespaces, I deal with them
 > using prefixes (` la Notation3). You can register a prefix to be used
 > everywhere a namespace is needed. By example:
[snip]
 > (assert  (Triple viper:Document rdf:type owl:Class))

At first I had also wanted to work with prefix shorthands within the
Jess KB, as it's just plain more readable (debugging Jess is
tough... debugging with URI symbols is atrocious).  However, I faced
several problems.  One was that at the time no RDF parsers provided a
way to retrieve the namespace prefixes listed in the input documents.

More importantly, in order for this to be worthwhile, you have to use
the prefixes given in the input ontologies.  Besides just being
off-putting, otherwise the person won't know what they're looking at
and the whole exercise is rendered moot.  However, suppose the input
ontologies use standard namespaces for other things?  You're pretty
much ok on the rdf prefix, otherwise there's no rdf:RDF statement.
However, suppose I define the daml prefix to be my own ontology as
opposed to the DAML spec?  This is legitimate to do.  Now you have to
not only note that but also map all the labels you're using in your
code and rules to use this other prefix.  Messy.

Sorry for the off-topic discussion.  Concurrent to putting together a
new version, I'm going to create a mailing list for DAMLJessKB which
might be a bettor place to talk about stuff like this.

-- 
- joe kopena

--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to