John Wubbel wrote: > Gentlemen: > In Piggy-Bank within the Commands tab is the Export button and the mouse > rollover says it exports RDF. Am I correct to assume that the output > looks more like a NTripleStore rather than an RDF/XML output.
Do not confuse RDF (the model) with RDF/XML (the model serialization in using XML as syntax). When we say "Export in RDF" we don't really specify what "syntax" we use to do it. Mostly because it shouldn't matter: pretty much all the RDF parsers support a variety of different serializations for RDF (n3, turtle, ntriples, rdf/xml, trix). We have been exporting RDF using RDF/Turtle syntax, but we have changed this in the current trunk to use RDF/XML > While I am > not to familiar with all the code, I think this method is found in > package edu.mit.simile.piggyBank.dumper so my question is how would this > output be useful? RDF/XML is not inherently more useful than RDF/N3, since they contain the same information. It just depends on what tools you have to feed it to. Some people think that using XML as a serialization form of RDF allows them to use normal XML pipelines to produce useful information. Unfortunately, the weird nature of RDF/XML in respect to XML design patterns, makes it incredibly complicated to do so (for example, XSLT-transforming RDF/XML into HTML is way more painful than it looks at first sight, which is why we started working on Fresnel in the first place) > Would not the intended output be RDF/XML. Piggy Bank trunk outputs RDF/XML for export. > I see in > Dumper.java the use of org.openrdf.rio.ntriples.NTriplesWriter is used > instead of org.openrdf.rio.rdfxml.RdfXmlWriter so is this an issue or > just something that did not get fully implemented? actually, it's undocumented, but if you add "format=rdfxml" at the end of the exporting URI, you get RDF/XML even in your version of piggy bank ;-) hope this helps. -- Stefano Mazzocchi Digital Libraries Research Group Research Scientist Massachusetts Institute of Technology E25-131, 77 Massachusetts Ave skype: stefanomazzocchi Cambridge, MA 02139-4307, USA email: stefanom at mit . edu ------------------------------------------------------------------- _______________________________________________ General mailing list [email protected] http://simile.mit.edu/mailman/listinfo/general
