W3C home > Mailing lists > Public > www-rdf-interest@w3.org > March 2003

Referencing Datatypes in Class Instances

From: Matt Munz <mmunz@apelon.com>
Date: Fri, 21 Mar 2003 15:18:55 -0500
Message-ID: <53CEA969372A3C4C9B0BE1C0EE578B8C0F8C94@mail.apelon.com>
To: <www-rdf-interest@w3.org>

Hi all,
  I'm working on "hello world" in RDF-S, and I'm getting a bit confused on the datatypes.
  Here's my RDF-S:
<rdfs:Class rdf:ID="Circle"/>
<rdf:Property rdf:ID="radius">
  <rdfs:domain rdf:resource="#Circle"/>
  <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
<rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#integer"/>
  Here's my RDF:
<!-- geometricShapes is assigned to the URI of the RDF-S above -->
<geometricShapes:Circle rdf:ID="sampleCircle">
  Is this correct?  Is there a reccommended tool/library that I can use to validate RDF against a given RDF-S (Java preferred)?
  - Matt   
Received on Friday, 21 March 2003 15:20:28 UTC

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