[Pellet-users] converting individuals to class ..

Evren Sirin evren at clarkparsia.com
Wed May 23 16:05:22 UTC 2007


On 5/17/07 8:51 AM, Krishna wrote:
> Hi all,
> When writing owl files in protege we can convert individuals to class. 
> I like to know after creating OntModel from a owl file consisting of 
> some individuals, is it possible to convert them to classes 
> programatically?
This seems more like a Jena API question and would be best answered by 
the Jena team at their mailing list. The simplest answer I can give 
adding the triple [r rdf:type owl:Class] will make the resource r  a 
class but since the previous triples remain it will be both a class and 
an individual (which is allowed in OWL 1.1 through punning and supported 
by Pellet).

Cheers,
Evren
> If that is possible I could do instance checking as well as 
> subsumtion, disjointness check? 
>
> Krishna
>
> ------------------------------------------------------------------------
> Expecting? Get great news right away with email Auto-Check. 
> <http://us.rd.yahoo.com/evt=49982/*http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html>
> Try the Yahoo! Mail Beta. 
> <http://us.rd.yahoo.com/evt=49982/*http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html> 
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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