W3C home > Mailing lists > Public > www-rdf-comments@w3.org > October to December 1999

SiRPAC bug report: reification shorthand

From: Daniel Lipkin <DLipkin@Saba.com>
Date: Fri, 12 Nov 1999 17:24:18 -0800
Message-ID: <1B0E6136EE54D31180930090279895DA0138E0@sabamail.saba.com>
To: "'www-rdf-comments@w3c.org'" <www-rdf-comments@w3c.org>
Cc: "'melnik@db.stanford.edu'" <melnik@db.stanford.edu>, "'danbri@w3.org'" <danbri@w3.org>, "'dlipkin@saba.com'" <danbri@w3.org>
I believe the current release of SiRPAC has a bug in parsing the syntactic
shorthand for statements about statements.

Given this RDF:

<?xml version="1.0"?>

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
     xmlns:a="http://description.org/schema/"
     xmlns:dc="http://purl.org/dc/elements/1.0/">
  
  <rdf:Description about="http:/www.w3.org/Home/Lassila" bagID="D_001">
    <dc:Creator>Ora Lassila</dc:Creator>
  </rdf:Description>	
  
  <rdf:Description aboutEach="#D_001">
    <a:attributedTo>Ralph Swick</a:attributedTo>
  </rdf:Description>

</rdf:RDF>
  
(taken directly from section 4.2 of the specification)

the on-line service generates the following:

triple('http://purl.org/dc/elements/1.0/Creator',
       'http:/www.w3.org/Home/Lassila',
       'Ora Lassila').
triple('http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate',
       'online#genid2',
       'http://purl.org/dc/elements/1.0/Creator').
triple('http://www.w3.org/1999/02/22-rdf-syntax-ns#subject',
       'online#genid2',
       'http:/www.w3.org/Home/Lassila').
triple('http://www.w3.org/1999/02/22-rdf-syntax-ns#object',
       'online#genid2',
       'Ora Lassila').
triple('http://www.w3.org/1999/02/22-rdf-syntax-ns#type',
       'online#genid2',
       'http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement').
triple('http://www.w3.org/1999/02/22-rdf-syntax-ns#type',
       'online#D_001',
       'http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag').
triple('http://www.w3.org/1999/02/22-rdf-syntax-ns#_1',
       'online#D_001',
       'online#genid2').
triple('http://description.org/schema/attributedTo',
       'online#online#genid2',
       'Ralph Swick').

I believe the last triple should be:

triple('http://description.org/schema/attributedTo', 'online#genid2','Ralph
Swick').

The 1.14 download exhibits a similar problem; it creates:

(http://description.org/schema/attributedTo, genid3, Ralph Swick)

instead of:

(http://description.org/schema/attributedTo, genid2, Ralph Swick)

Can anyone confirm that this is a bug?  Thanks,

-Daniel


Daniel Lipkin
Senior Architect
Saba
650-581-2577
dlipkin@saba.com  
Received on Friday, 12 November 1999 20:16:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 21 September 2012 14:16:27 GMT