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

rdf statement semantics and coding recommendation

From: John M Lauck <john@recaffeinated.com>
Date: Sat, 05 Feb 2005 18:32:08 -0500
To: www-rdf-interest@w3.org
Message-ID: <cu3kvq$df5$1@sea.gmane.org>

I'm curious about the semantics of RDF in the following example taken 
from rdfx.org (in comparison to the W3C RDF Primer documentation):

For example, rdfx.org has written their RDFX schema as:

<!--Begin Property -->

<rdf:Property
        rdf:about="http://rdfx.org/schema/2004/04/15-rdfx-schema#defines"
	vs:term_status="testing"
	rdfs:label="Defines"
	rdfs:comment="A 'Defines' relationship indicates that the object 
resource is to some extent defined by the subject.">
	<rdfs:domain
rdf:resource="http://rdfx.org/schema/2004/04/15-rdfx-schema#DataSource"></rdfs:domain>
	<rdfs:range 
rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"></rdfs:range>
	<rdfs:isDefinedBy 
rdf:resource="http://rdfx.org/schema/2004/04/15-rdfx-schema#"></rdfs:isDefinedBy>
	<owl:inverseOf 
rdf:resource="http://rdfx.org/schema/2004/04/15-rdfx-schema#definedby"/>

</rdf:Property>

<!--End Property -->


Can (or Shouldn't) the schema be written as:


<!--Begin Property -->

<rdf:Property 
rdf:about="http://rdfx.org/schema/2004/04/15-rdfx-schema#defines">

	<vs:term_status>testing</vs:term_status>
	<rdfs:label>Defines</rdfs:label>
	<rdfs:comment>A 'Defines' relationship indicates that the object 
resource is to some extent defined by the subject.</rdfs:comment>

......

</rdf:Property>


<!--End Property -->

Why are 'rdfs:label', 'rdfs:comment' etc listed in the rdf:Property 
statement?  Is there a reason to write RDF this way?

John M Lauck
Received on Saturday, 5 February 2005 23:36:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:52:13 GMT