- From: Richard Cyganiak <richard@cyganiak.de>
- Date: Fri, 12 Apr 2013 11:26:35 +0100
- To: Anastasia Dimou <natadimou@gmail.com>
- Cc: "semantic-web@w3.org" <semantic-web@w3.org>
- Message-Id: <73C98B23-D063-4CE2-B55A-0577DD0A6A5F@cyganiak.de>
R2RML relies on SQL for all nontrivial mapping tasks. It's not particularly suited for CSV. It's not suited at all for XML, because XML is a tree data structure and R2RML is designed for tabular data. Best, Richard On 12 Apr 2013, at 08:39, Anastasia Dimou <natadimou@gmail.com> wrote: > Thank you all for your replies regarding different tools. > Correct me if I am wrong, but those tools do not use R2RML in order to map XML to RDF. > So, let me put it in a different way: since R2RML can be used to map RDB to RDF and it can also fit the CSV to RDF conversion needs, then why not extending R2RML to fit XML (and, in the long term, different file formats) to RDF mappings, too? I do not ignore that there are standards for XML transformations, but I wonder if extending R2RML to map XML to RDF was considered. > > Best regards, > Anastasia > > > > On Wed, Apr 10, 2013 at 6:32 PM, Silvio Peroni <essepuntato@cs.unibo.it> wrote: >> 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 > > > > -- > Anastasia Dimou
Received on Friday, 12 April 2013 10:27:38 UTC