[
Lists Home |
Date Index |
Thread Index
]
Linda Grimaldi wrote:
> More specifically, is this good "OWL"?
>
> <owl:ObjectProperty rdf:ID="hasMapping">
> <rdfs:domain rdf:resource="#ClassA">
> <rdfs:range rdf:resource="#ClassA">
> <rdf:type rdf:resource="&owl;TransitiveProperty"/>
> <mappingClass rdf:resource="#MappingClass"/>
> </owl:ObjectProperty>
>
That is legal "OWL Full". OWL DL/Lite does not provide support for "classes
as instances".
OWL Full allows you to process classes (and hence properties) as instances,
e.g. they themselves may have properties, or you might have classes that
have classes as members.
Now don't expect an OWL processor to know anything special about your
<mappingClass>, you will have software that understands what it is intended
to be used for i.e. to connect it to a particular java class. Indeed you
might rather use a literal value e.g.
<mappingClass>org.example.Mapper</mappingClass>
Jonathan
|