[Pellet-users] Fwd: Developer question

Kendall Grant Clark kendall at clarkparsia.com
Mon Jul 14 13:29:49 UTC 2008


--- Begin forwarded message from Pradeep ---
From: Pradeep <pradeep at purdue.edu>
To: "inquiries at clarkparsia.com" <inquiries at clarkparsia.com>
Date: Mon, 14 Jul 2008 07:16:13 -0400
Subject: Developer question

Hi,
I am not sure if this is the right channel to ask a Pellet related
technical question, but I tried posting to the pellet-users forum but my
msg hasnt been posted as yet.
I have a simple question to the developers of Pellet,
1. How do you access warnings and error messages thrown by pellet(when i
compute inferred types)? e.g. if i wanted my JAVA code to show the error
messages in its console or a JAVA swing panel, how do i do that?
2. If on computing inferred types (for e.g. on the attached ontology),
there indeed are two sources of errors, Pellet shows just randomly picks
one and shows that as the source of inconsistency, how can i see all
sources of inconsistency?

To elaborate on the above questions using am example, plz see attached,
property 'hasValue' of Class A has been restricted to take as value only
instances from class B2, and on creating an instance of Class A and
populating an instance of class B1 in its 'hasValue' property, we expect
to see an inconsistency and we do as a Pellet error msg, " Instance ####
is forced to belong to Class B2 and its compliment", how can i view this
message in my own Java code?
secondly, when i reproduce a similar inconsistency with Class C and
property 'hasValueAlso', i still see just one error msg, how can i see both?

Plz direct this to the appropriate people who can answer this query,
Your promptness is much appreciated!

Thanks!
Pradeep
Research Assistant, Purdue University
--- End forwarded message ---

-- 
Cheers,
Kendall
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RestrictionQuery.owl
Type: text/xml
Size: 3466 bytes
Desc: not available
Url : http://lists.owldl.com/pipermail/pellet-users/attachments/20080714/fa1a50a6/attachment.bin 


More information about the Pellet-users mailing list