W3C home > Mailing lists > Public > www-rdf-interest@w3.org > July 2005

Properties as Classes?

From: Fink, Clayton R. <Clayton.Fink@jhuapl.edu>
Date: Fri, 8 Jul 2005 16:51:41 -0400
Message-ID: <0F5AC32D8E455545AD0349BA8400A3CA8884E6@aplesliberty.dom1.jhuapl.edu>
To: "rdf" <www-rdf-interest@w3.org>
We've been discussing whether or not defining properties as classes makes sense.  OWL Full seems to allow this.  The pupose here is to allow some edges in a graph to have properties.  I'm wondering if this is a good idea. What are the implications of doing something like this?  Is it good practice?
Here's an example of what I'm talking about:
<owl:Class rdf:ID="A">
<owl:ObjectProperty rdf:ID="edge">
  <rdfs:domain rdf:resource="#A"/>
  <rdfs:range rdf:resource="#A"/>
<owl:Class rdf:about="#edge"/>
<owl:DatatypeProperty rdf:ID="edgeProp">
  <rdfs:domain rdf:resource="#edge"/>
  <rdfs:range rdf:resource="&xsd;int"/>
FWIW, this kills SWOOP when I try to load it, but Jena reads it fine, with and without reasoners.
Clay Fink
Senior Software Engineer
Research and Technology Development Center
Johns Hopkins University Applied Physics  Laboratory
Received on Sunday, 10 July 2005 10:07:21 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:44:56 UTC