[Pellet-users] Reasoning class descriptions with Pellet

Dimitris Skoutas dskoutas at dblab.ece.ntua.gr
Mon Mar 19 13:55:35 UTC 2007


Hi Daniel,

Just a quick hint that might help. If you are using Jena 
(http://jena.sourceforge.net/javadoc/index.html), you can use the method 
getIsDefinedBy() of interface OntClass to get the resource that defines 
the class, and then the method canAs() to check if it is a union, 
intersection or complement.

Best regards.
Dimitris


Daniel Yordanov wrote:
> Hi,
>
> I have this small assignment and part of it requires
> that I walk through all classes in an ontology and for
> each class I check I should know if it's union,
> intersection or complement of other classes. However
> I'm having a real hard time implementing this in Java
> and any assistance would be greatly appreciated.
>
> Thanks in advance.
> Daniel.
>
>
>  
> ____________________________________________________________________________________
> Be a PS3 game guru.
> Get your game face on with the latest PS3 news and previews at Yahoo! Games.
> http://videogames.yahoo.com/platform?platform=120121
> _______________________________________________
> Pellet-users mailing list
> Pellet-users at lists.owldl.com
> http://lists.owldl.com/mailman/listinfo/pellet-users
> _______________________________________________
>
> Sponsored by Clark & Parsia, LLC http://clarkparsia.com/
>
>   



More information about the Pellet-users mailing list