W3C home > Mailing lists > Public > public-openannotation@w3.org > August 2012

Looking for complacent RDF/XML <--> N3 converters

From: Bob Morris <morris.bob@gmail.com>
Date: Fri, 17 Aug 2012 22:51:46 -0400
Message-ID: <CADUi7O4=3QahU-tKeTK8cHcebMZVwYJRt41UC-m2=7e1w+GNxA@mail.gmail.com>
To: public-openannotation <public-openannotation@w3.org>
I'm looking for a conversion tool between various RDF
serializations---at least XML and N3---that doesn't impose its own
opinions of how predicate clauses should be ordered, what if anything
is the default prefix, etc.  I'd prefer a web service.

I only know of two conversion web services:
http://www.rdfabout.com/demo/validator/  and

When converting XML to N3, the mindswap tool gratuitously puts
attributes in an order of its own choosing seemingly unrelated to the
order presented in the XML. It also makes a mysterious choice of a
default prefix, when no default namespace was indicated in the RDF/XML

The rdfabout tool behaves similarly but doesn't choose a default prefix.

OK, OK. Order is irrelevant in these cases from the RDF point of view.
 But in both cases, my (pretty small), machine generated annotations
have an order that corresponds to an (equally irrelevant) order that
is in underlying data for the annotation, and eyeball debugging would
be easier if all the players keep the same order. And I could also
believe that preserving that order might be quadratic if the input
parser is ordering things by its parse tree or something.  But am I
asking too much?


Robert A. Morris

Emeritus Professor  of Computer Science
100 Morrissey Blvd
Boston, MA 02125-3390

IT Staff
Filtered Push Project
Harvard University Herbaria
Harvard University

email: morris.bob@gmail.com
web: http://efg.cs.umb.edu/
web: http://etaxonomy.org/mw/FilteredPush
The content of this communication is made entirely on my
own behalf and in no way should be deemed to express
official positions of The University of Massachusetts at Boston or
Harvard University.
Received on Saturday, 18 August 2012 02:52:14 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:22:01 UTC