Re: Mapping XML to RDF

Dear Anastasia,

> currently I investigate a way to convert XML files to RDF.
> Using XSLT, XPath and Xqueries seems to be the straightforward solution. But I was wondering if there is already an implementation that uses R2RML (adjust/extended to XML needs) to convert XML to RDF.

I developed a tool called XML2EARMARK [1] that translates XML sources into OWL ontologies conform with the EARMARK ontology [2].

EARMARK [3] is "a meta-syntax for non-embedded markup that can be used for stand-off annotations of textual content with fully W3C-compliant technologies. EARMARK is based on an ontologically precise definition of markup that instantiates the markup of a text document as an independent OWL document outside of the text strings it annotates, and through appropriate OWL and SWRL characterizations it can define structures such as trees or graphs and can be used to generate validity constraints (including co-constraints currently unavailable in most validation languages)."

You can use it directly within Java application by means of the EARMARK API [4]. For more information, please visit [5].

Please don't hesitate to contact me for any additional question/information/doubt.

Have a nice day :-)

S.



### References ###
[1] - XML2EARMARK: http://www.essepuntato.it/xml2earmark
[2] - EARMARK ontology: http://www.essepuntato.it/2008/12/earmark
[3] - Di Iorio, A., Peroni, S., Vitali, F. (2011). A Semantic Web Approach To Everyday Overlapping Markup. In Journal of the American Society for Information Science and Technology, 62 (9): 1696-1716. Hoboken, New Jersey, USA: John Wiley & Sons, Inc. DOI: 10.1002/asi.21591
http://speroni.web.cs.unibo.it/publications/di-iorio-2011-semantic-approach-everyday.pdf
[4] - EARMARK API: http://earmark.sourceforge.net/
[5] - EARMARK information page: http://palindrom.es/phd/research/earmark/




----------------------------------------------------------------------------
Silvio Peroni, Ph.D.
Department of Computer Science and Engineering
University of Bologna, Bologna (Italy)
Tel: +39 051 2094871
E-mail: essepuntato@cs.unibo.it
Web: http://www.essepuntato.it
Blog: http://palindrom.es/phd
Twitter: essepuntato

Received on Wednesday, 10 April 2013 16:32:39 UTC