How to get an Object Property value

View: New views
2 Messages — Rating Filter:   Alert me  

How to get an Object Property value

by John Finnson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, I know how to get a data type property value, but how would i get
a object property value.

For a data type property i would:
OWLIndividual.getPropertyValue(DatatypeProperty)

When i do this for a property that is an object property i would get
null, when i know i shouldn't.

Thanks in advance for any help provided.
_______________________________________________
protege-owl mailing list
protege-owl@...
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 

Re: How to get an Object Property value

by Tania Tudorache :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Same call for ObjectProperties. Check again the code and the ontology to
make sure they are in sync.

If you still have problems, please send the ontology and the code snippet.

Tania


John Finnson wrote:

> Hi, I know how to get a data type property value, but how would i get
> a object property value.
>
> For a data type property i would:
> OWLIndividual.getPropertyValue(DatatypeProperty)
>
> When i do this for a property that is an object property i would get
> null, when i know i shouldn't.
>
> Thanks in advance for any help provided.
> _______________________________________________
> protege-owl mailing list
> protege-owl@...
> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 
>
>  

_______________________________________________
protege-owl mailing list
protege-owl@...
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 
LightInTheBox - Buy quality products at wholesale price