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] Instance/Property API question.

John Finnson john.finnson at gmail.com
Thu May 29 12:07:10 PDT 2008


How should I filter for only OWLObjectProperties?

On Thu, May 29, 2008 at 1:34 PM, Thomas Russ <tar at isi.edu> wrote:
>
> On May 29, 2008, at 9:27 AM, John Finnson wrote:
>
>> I was wondering how I could find out from a OWLIndividual all of its
>> OWLProperties and relationships (through OWLProperties) to other
>> OWLIndividuals using the API.
>>
>> Thanks in advance for any help provided.
>
> Get the properties with
>
>    OWLIndividual.getRDFProperties();
>
> Optionally filter for only OWLObjectProperties,
> and then iterate through them to get the values
>
>    OWLIndividual.getPropertyValues(property);
>
>
>
>
>
>
> _______________________________________________
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
>



More information about the protege-owl mailing list