W3C home > Mailing lists > Public > www-rdf-logic@w3.org > January 2001

DAML+OIL restriction question.

From: Holmes III, William S <william.s.holmes.iii@lmco.com>
Date: Mon, 08 Jan 2001 16:52:44 -0500
To: "'RDF Logic'" <www-rdf-logic@w3.org>
Message-id: <079B626B05A0D3118B1000508B0EA5E9048B8E98@emss04m05.ems.lmco.com>
Hi all.

In the property restriction section of the DAML+OIL walk through
it states that the following syntax is always used:

      <onProperty rdf:resource="#parent"/>
      <toClass rdf:resource="#Person"/>

Using the "Person/parent" example, can't the same thing be said with the 
following syntax using generated references? :

<rdfs:Class rdf:ID="Person">
  <rdfs:subClassOf rdf:resource="#Animal"/>
  <restrictedBy rdf:resource="#A1" />

<Restriction rdf:ID="A1">
  <onProperty rdf:resource="#parent"/>
  <toClass rdf:resource="#Person"/>

The reason I ask is that even though this is less readable, I think it 
would be easier to generate when processing a list of sorted triples.

  Bill H.
Received on Monday, 8 January 2001 16:51:56 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 2 March 2016 11:10:33 UTC