Re: Domain/Range Woes

> Also, can you elaborate on the "Union" option.  Do you mean to say that I
> create a class as the union of two or more other classes?  For example,
> "Nameable" is the union of "Person" and "ContentProvider".  How is that
> different from making "Person" and "ContentProvider" subclasses of
> "Nameable"?

Or wait.  Maybe I just answered my own question.

I create an *anonymous* class which is composed of the unionOf "Person" and
"ContentProvider" and assign this class as the domain of the property.
Something like this:

<owl:DataTypeProperty rdf:ID="name">
         <owl:unionOf rdf:parseType="Collection">
            <owl:Class rdf:about="#Person">
            <owl:Class rdf:about="#ContentProvider">

That way I don't have to define and explain a contrived name.  This bit just
lurks in the schema and serves to validate instance data.

(P.S. I know this runs contrary to the spirit of the SemanticWeb, but I
really want to create a "self-contained" ontology so that creators of
Content Management Systems can implement the ontology without needing to
become experts in RDF/OWL at this early stage.)

Received on Wednesday, 5 February 2003 17:23:02 UTC