W3C home > Mailing lists > Public > www-rdf-interest@w3.org > May 2000

ID Attribute of Properties

From: Stefan Kokkelink <skokkeli@mathematik.uni-osnabrueck.de>
Date: Tue, 30 May 2000 15:40:42 +0200
Message-ID: <3933C4DA.13467632@mathematik.uni-osnabrueck.de>
To: RDF interest group <www-rdf-interest@w3.org>
RDF IG,

i use the Sirpac and the Pro-Solutions parser to 
parse the following RDF:

<?xml version="1.0"?>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     xmlns:NIST="http://www.nist.gov/RDFschema/">
  <Description about="John_Smith">
    <NIST:Weight rdf:ID="1">80
    </NIST:Weight>
  </Description>
</RDF>

The two parsers create only one triple:

triple('http://www.nist.gov/RDFschema/Weight',
       'online#John_Smith',
       '80')

Is this a bug? The spec says[6.12, propertyElt]: 'The value of the
ID Attribute, if specified, is the identifier for the 
resource that represents the reification of the statement.'
In my opinion the four triples representing the reified
statement are missing. Or is there only one resource with
ID="1" created which you can't see in the triples produced
by the parsers?

Stefan Kokkelink
Received on Tuesday, 30 May 2000 09:42:36 GMT

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