Closed RubenVerborgh closed 9 years ago
yeah, that got screwed up a while ago. I need to add the RDF/XML tests. Here's the current output: <paper.rdf#Paper> http://purl.org/ontology/bibo/authorList :b0x1f3d190 . :b0x1f3d190 http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://www.w3.org/1999/02/22-rdf-syntax-ns#Collection . :b0x1f3d190 http://www.w3.org/1999/02/22-rdf-syntax-ns#first :b0x1f3d610 . :b0x1f3d610 http://xmlns.com/foaf/0.1/name "A Von Groll" . :b0x1f3d190 http://www.w3.org/1999/02/22-rdf-syntax-ns#rest :b0x1f3e3a0 . :b0x1f3e3a0 http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://www.w3.org/1999/02/22-rdf-syntax-ns#Collection . :b0x1f3e3a0 http://www.w3.org/1999/02/22-rdf-syntax-ns#first :b0x1f3dc30 . :b0x1f3dc30 http://xmlns.com/foaf/0.1/name "A Martin" . :b0x1f3e3a0 http://www.w3.org/1999/02/22-rdf-syntax-ns#rest :b0x1f3e950 . :b0x1f3e950 http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://www.w3.org/1999/02/22-rdf-syntax-ns#Collection . :b0x1f3e950 http://www.w3.org/1999/02/22-rdf-syntax-ns#first :b0x1f3e7c0 . :b0x1f3e7c0 http://xmlns.com/foaf/0.1/name "P Jureen" . :b0x1f3e950 http://www.w3.org/1999/02/22-rdf-syntax-ns#rest http://www.w3.org/1999/02/22-rdf-syntax-ns#nil .
Added RDF 1.1 WG RDF/XML tests so this shouldn't happen again. There are two sets of RDF/XML tests, test_RDFXML and test_RdfXml, There should clearly be one, but one uses automatic test declaration ("BOOST_AUTO_TEST_CASE") and the other builds the tests dynamically from TSV files.
Great, thanks!
Given the file
paper.rdf
:We get the following incorrect result:
Note how all properties are attached to a single blank node, and how the
authorList
property occurs twice instead of one time. Therdf:rest
property is also used incorrectly.The correct result is: