Re: testcase #grddlonrdf1 complete

On Fri, 9 Feb 2007, Harry Halpin wrote:
>
> I made the following test-cases.
>
> http://www.w3.org/2001/sw/grddl-wg/td/testlist3.html#grddlonrdf1
> http://www.w3.org/2001/sw/grddl-wg/td/testlist3.html#grddlonrdf2
> http://www.w3.org/2001/sw/grddl-wg/td/testlist3.html#grddlonrdf3
>
> They cover the GRDDL 3 options of a GRDDL transform being on a RDF doc:
> 1) You just have as a result the GRDDL result
> 2) You have as the result the GRDDL source document
> 3) You have the merge of 1) and 2)
>
> Hmm...it seems to break Chime's implementation. Anyone want to try it on
> others? Some "RuntimeError: maximum recursion depth exceeded". Hmm....

The patch is attached (could you apply this Dan? - I can't push to homer).  Below is a successful 
run (GRDDL.py chooses to output the merge of both the original RDF/XML and 
the result of applying the transform):

chimezie@ehrlinger-laptop:~/.workspace/GRDDL/grddl-client$ python GRDDL.py --debug --zone=http http://www.w3.org/2001/sw/grddl-wg/td/grddlonrdf.rdf | python /home/chimezie/.workspace/Fuxi-cvs/RDFPipe.py --stdin --ns=pim=http://www.w3.org/2000/10/swap/pim/contact#
Attempting a comprehensive glean of 
http://www.w3.org/2001/sw/grddl-wg/td/grddlonrdf.rdf
graph size before: 0
@@fetching:  http://www.w3.org/2001/sw/grddl-wg/td/grddlonrdf.rdf with 
types ('application/rdf+xml', 'application/xml', 'text/xml', 'application/xhtml+xml', 'text/html')
applying transformation http://www.w3.org/2001/sw/grddl-wg/td/foaf2con.xsl
@@fetching:  http://www.w3.org/2001/sw/grddl-wg/td/foaf2con.xsl with types ('application/xml',)
Parsed 1 triples as RDF/XML
graph size after: 4

@prefix _8: <http://musicbrainz.org/mm-2.1/artist/33>.
@prefix _9: <http://musicbrainz.org/mm-2.1/album/6>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@prefix pim: <http://www.w3.org/2000/10/swap/pim/contact#>.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.

  _9:b050dcf-7ab1-456d-9e1b-c3c41c18eed2 foaf:maker 
_8:b3c323-77c2-417c-a5b4-af7e6a111cc9.

  _8:b3c323-77c2-417c-a5b4-af7e6a111cc9 a pim:SocialEntity,
          foaf:Agent;
      foaf:name "The Jimi Hendrix Experience".

Chimezie Ogbuji
Lead Systems Analyst
Thoracic and Cardiovascular Surgery
Cleveland Clinic Foundation
9500 Euclid Avenue/ W26
Cleveland, Ohio 44195
Office: (216)444-8593
ogbujic@ccf.org

Received on Saturday, 10 February 2007 02:03:17 UTC