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

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