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

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
http://www.mindswap.org/2002/rdfconvert/

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?

Bob

-- 
Robert A. Morris

Emeritus Professor  of Computer Science
UMASS-Boston
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
http://www.cs.umb.edu/~ram
===
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