W3C home > Mailing lists > Public > public-grddl-wg@w3.org > January 2008

Re: Multiple GRDDL results in a single transform??? GRDDL and Named Graphs

From: Fabien Gandon <Fabien.Gandon@sophia.inria.fr>
Date: Fri, 18 Jan 2008 12:11:19 +0100
Message-ID: <47908957.2010708@sophia.inria.fr>
To: Jeremy Carroll <jjc@hpl.hp.com>
CC: public-grddl-wg@w3.org, patrick.stickler@nokia.com, chris@bizer.de, Phil Archer <parcher@icra.org>
Jeremy,

My apologies in advance since I probably missed something, but using 
named graphs or RDF/XML source declaration you should be able to do it 
within one GRDDL output ; I mean you shouldn't need multiple output. In 
one GRDDL result you could have:

<rdf:RDF xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:foaf="http://xmlns.com/foaf/0.1/"
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xml:base = ""http://www.myclaims.org/>


 <!-- DR1 ---->
 
  <rdf:Description *rdf:about="#source_dr1"*>
     <wdr:validFrom>2007-01-01</wdr:validFrom>
     <wdr:validUntil>2007-07-07</wdr:validUntil>
  </rdf:Description> 

  
  <!-- one or more DR1 claims ---->
  <rdf:Description rdf:about="#dr1" *rdf:graph="#source_dr1"*>
     ...
  </rdf:Description>
   
   ...

 <!-- DR2 ---->
 
  <rdf:Description *rdf:about="#source_dr2"*>
     <wdr:validFrom>2007-01-01</wdr:validFrom>
     <wdr:validUntil>2007-07-07</wdr:validUntil>
  </rdf:Description> 

  
  <!-- one or more DR2 claims ---->
  <rdf:Description rdf:about="#dr2" *rdf:graph="#source_dr2"*>
     ...
  </rdf:Description>
   
   ...
 

 
</rdf:RDF>



-- 
Fabien - http://ns.inria.fr/fabien.gandon/
Received on Friday, 18 January 2008 11:11:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:39:12 UTC