This is a generic XML to RDF converter which uses XSLT transformations to convert any XML document into RDF format.
The transformation uses an XSLT processor like xsltproc. The command line for the Bash shell is:
xsltproc xml2rdf3.xsl document.xml > document.rdf
Reference:
Breitling, F. 2009: A standard transformation from XML to RDF via XSLT, Astronomical Notes, Vol 330 Issue 7, DOI: 10.1002/asna.200811233,
http://onlinelibrary.wiley.com/doi/10.1002/asna.200811233/abstract...