[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: OWL-ish question
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> Linda -------Original Message------- From: Linda Grimaldi <grimlinda@e...> Sent: 07/29/03 10:40 AM To: xml-dev@l... Subject: OWL-ish question > > I'm trying to figure out a good way to model the following problem type in OWL and would appreciate any help the more OWLish members of the list could offer. (BTW, is there a better list for RDF/OWL questions?). I have a class of objects, some of which can be transformed pairwise into one another, in other words a partial mapping from a set A onto itself. The mappings are inherently transitive- if individual a maps to Individual b and b to c, then I have identified a path from a to c- but not necessarily symmetric. In order to preserve the transitive property, I define a property with the ID="hasMapping" and a domain and range of class A. I state that this property has an rdf:type of owl:TransitiveProperty. Now, I need to associate a Java class that actually implements the transformation with that property. Can I define a "property on a property" in OWL? I think that is what I want to do- the property would have a property (NOT a subproperty) named "usesMappingClass". Is that legitimate? The other way I thought of doing it is to associate a mapping class with the instance that is being mapped; however, I lose the transitivity of the relationship that way. In other words, I could define a "hasMapping" on the domain of Class A with a range of "MappingClass", but that is not a transitive property. Advice? Thanks, Linda ----------------------------------------------------------------- The xml-dev list is sponsored by XML.org <http://www.xml.org>, an initiative of OASIS <http://www.oasis-open.org> The list archives are at http://lists.xml.org/archives/xml-dev/ To subscribe or unsubscribe from this list use the subscription manager: <http://lists.xml.org/ob/adm.pl> >
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|