[Pellet-users] converting individuals to class ..

Alan Ruttenberg alanruttenberg at gmail.com
Wed May 23 16:20:59 UTC 2007


How are instances converted to classes? They mean different things,  
so this has to be a user-defined transform. How are properties  
treated, etc?
I would probably implement this as an explicit translation, with a  
sparql query returning the instances that I am interested in  
converting, and then generating abstract syntax or kb additions  
through the api to generate the new classes and relations.

-Alan

On May 23, 2007, at 12:05 PM, Evren Sirin wrote:

> 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/
>
> _______________________________________________
> 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