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] How to get property assertions

Ishan ishandone at gmail.com
Tue Aug 31 09:35:38 PDT 2010


Thanks for the early reply..

I tired that method for individual "pica" as:

RDFProperty pr = owlModel.getRDFProperty("rdf:symbol"); 
RDFIndividual.getPropertyValue(pr); 

but it gives a warning and error saying:
WARNING: Invalid frame type:
DefaultRDFIndividual(http://data.nasa.gov/qudt/owl/unit#Pica of
[DefaultRDFSNamedClass(http://data.nasa.gov/qudt/owl/qudt#LengthUnit),
DefaultRDFSNamedClass(http://data.nasa.gov/qudt/owl/qudt#NotUsedWithSIUnit)])
-- AbstractRedirectingDispatch.getDirectOwnSlotValues()

Exception in thread "main" java.lang.IllegalArgumentException: null slot

I think the problem is with the...RDFProperty
pr=owlModel.getRDFProperty("rdf:symbol");

What would be the correct parameter that should be given insted of
rdf:symbol 
In protege it is indicated as symbol "Pm" under data property assertions.

-- 
View this message in context: http://protege-ontology-editor-knowledge-acquisition-system.136.n4.nabble.com/How-to-get-property-assertions-tp2401364p2401931.html
Sent from the Protege OWL mailing list archive at Nabble.com.



More information about the protege-owl mailing list