ruby-rdf / rdf-rdfa

Ruby RDFa reader/writer for RDF.rb.
http://ruby-rdf.github.com/rdf-rdfa
The Unlicense
35 stars 11 forks source link

When parsing test case 88 the N-Triples serialiser produces something it can't parse back #10

Closed njh closed 11 years ago

njh commented 11 years ago

When using the RDF Distiller: http://rdf.greggkellogg.net/distiller?fmt=ntriples&in_fmt=rdfa&uri=http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0088.xhtml

It produces:

_: <http://xmlns.com/foaf/0.1/name> "Dan Brickley" .
_: <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> _: .

Which I am not sure is valid N-Triples? (the RDF.rb n-triples parser can't parse it).

gkellogg commented 11 years ago

This would be a big against RDF.rb, then, not RDF-rdfa. I'll take a look at it.

njh commented 11 years ago

I wasn't sure if the rdfa gem should be doing something with _: (such as remapping it) before passing it to RDF.rb