Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] SWRL rule -- infer(string)

Koosha koosha.g at
Wed Oct 29 15:43:36 PDT 2008

Thanks Martin,

you are right I totally missed [3] :( it works fine now. 
I have another easy questions:
Q) How can we get JUST instances of a class without their rdf types. 
The following 

OWLNamedClass trackClass = owlModel.getOWLNamedClass("Track");	
Collection colTracks= trackClass.getInstances(true);
System.out.println("the tracks are:"+colTracks);

gives the individuals of the class with their RDF types (see below) however I
want to get JUST Track_5 and Track_6 (only direct individuals) 

the tracks are:
of ...

Thanks again,

More information about the protege-owl mailing list