Search Mailing List Archives
[protege-owl] using API to create asserted type on individual
tudorache at stanford.edu
Wed Sep 27 14:31:37 PDT 2006
You can use the addRDFType method from the OWLIndividual interface to
add a type to an OWL individual.
The javadoc for the Protege OWL API is here:
We also have an extensive guide for using the Protege OWL API here:
Restrictions, such as "hasBinding exactly 0", are added to the classes,
rather than to the individuals. The OWL Guide shows examples how you can
I hope this helps.
dale ellen wrote:
> The OWL-DL Individuals Tab plugin allows one to create
> asserted types for individuals.
> I would like to use the Protege API to create an
> asserted type such as "hasBinding exactly 0" on an
> individual which is an instance of a class which has a
> property called "hasBinding".
> Does someone have a code snippet using the Protege API
> that creates an asserted type for an individual to
> help get me started?
> Dale G.
> Xerox Corporation
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> protege-owl mailing list
> protege-owl at lists.stanford.edu
More information about the protege-owl