STTL - A SPARQL-based Transformation Language for RDF

Olivier Corby, Catherine Faron-Zucker

Abstract

The general research question addressed in this paper is How to transform RDF into other languages. This is of prime interest to present data selected and extracted from the Web of data in a format suitable for the user (e.g., HTML or CSV). Moreover, RDF can be viewed as a meta-model to represent on the Web of data other languages and models. The above research question then becomes How to generate the concrete syntax of expressions of a given language from their RDF representation. To answer these questions, we present SPARQL Template Transformation Language (STTL), a generic RDF transformation rule language, independent from the output language. We conceived it as a lightweight syntactic extension to SPARQL and we show how to compile it into standard SPARQL. We present a generic transformation rule engine implementing STTL and several RDF transformers we defined for various output languages, showing STTL’s expressive power.

References

  1. Alkhateeb, F. and Laborie, S. (2008). Towards Extending and Using SPARQL for Modular Document Generation. In Proc. of the 8th ACM Symposium on Document Engineering, pages 164-172, Sao Paulo, Brésil. ACM Press.
  2. Bischof, S., Decker, S., Krennwallner, T., Lopes, N., and Polleres, A. (2012). Mapping between RDF and XML with XSPARQL. J. Data Semantics, 1(3):147-185.
  3. Bizer, C., Lee, R., and Pietriga, E. (2005). Fresnel - A Browser-Independent Presentation Vocabulary for RDF. In Second International Workshop on Interaction Design and the Semantic Web @ ISWC'05, Galway, Ireland.
  4. Brophy, M. and Heflin, J. (2009). OWL-PL: A Presentation Language for Displaying Semantic Data on the Web. Technical report, Department of Computer Science and Engineering, Lehigh University.
  5. Connolly, D. (2007). Gleaning Resource Descriptions from Dialects of Languages (GRDDL). Recommendation, W3C. http://www.w3.org/TR/grddl/.
  6. Corby, O. and Faron-Zucker, C. (2010). The KGRAM Abstract Machine for Knowledge Graph Querying. In IEEE/WIC/ACM International Conference on Web Intelligence, Toronto, Canada.
  7. Corby, O., Gaignard, A., Faron-Zucker, C., and Montagnat, J. (2012). KGRAM Versatile Data Graphs Querying and Inference Engine. In Proc. IEEE/WIC/ACM International Conference on Web Intelligence, Macau.
  8. Cyganiak, R., Wood, D., and Lanthaler, M. (2014). RDF 1.1 Concepts and Abstract Syntax. Recommendation, W3C. http://www.w3.org/TR/rdf11-concepts/.
  9. Follenfant, C., Corby, O., Gandon, F., and Trastour, D. (2012). RDF Modelling and SPARQL Processing of SQL Abstract Syntax Trees. In Programming the Semantic Web, ISWC Workshop, Boston, USA.
  10. Harris, S. and Seaborne, A. (2012). SPARQL 1.1 Query Language. Recommendation, W3C. http://www.w3.org/TR/sparql11-query/.
  11. Hawke, S. and Polleres, A. (2012). RIF In RDF. Working Group Note, W3C. http://www.w3.org/TR/rif-in-rdf/.
  12. Horridge, M. and Bechhofer, S. (2011). The OWL API: A java API for OWL ontologies. Semantic Web, 2(1):11- 21.
  13. Kay, M. (2007). XSL Transformations (XSLT) Version 2.0. Recommendation, W3C. http://www.w3.org/ TR/xslt20/.
  14. Knublauch, H. (2011). SPIN - SPARQL Syntax. Member Submission, W3C. http://www.w3.org/Submission/ 2011/SUBM-spin-sparql-20110222/.
  15. Patel-Schneider, P. F. and Motik, B. (2012). OWL 2 Web Ontology Language Mapping to RDF Graphs (Second Edition). Recommendation, W3C. http:// www.w3.org/TR/owl-mapping-to-rdf/.
  16. Quan, D. (2005). Xenon: An RDF Stylesheet Ontology. In Proc. WWW.
  17. Robie, J., Chamberlin, D., Dyck, M., and Snelson, J. (2014). XQuery 3.0: An XML Query Language. Recommendation, W3C. http://www.w3.org/TR/ xquery-30/.
  18. Stolz, A., Rodriguez-Castro, B., and Hepp, M. (2013). RDF Translator: A RESTful Multi-Format Data Converter for the Semantic Web. Technical report, E-Business and Web Science Research Group.
Download


Paper Citation


in Harvard Style

Corby O. and Faron-Zucker C. (2015). STTL - A SPARQL-based Transformation Language for RDF . In Proceedings of the 11th International Conference on Web Information Systems and Technologies - Volume 1: WEBIST, ISBN 978-989-758-106-9, pages 466-476. DOI: 10.5220/0005450604660476


in Bibtex Style

@conference{webist15,
author={Olivier Corby and Catherine Faron-Zucker},
title={STTL - A SPARQL-based Transformation Language for RDF},
booktitle={Proceedings of the 11th International Conference on Web Information Systems and Technologies - Volume 1: WEBIST,},
year={2015},
pages={466-476},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0005450604660476},
isbn={978-989-758-106-9},
}


in EndNote Style

TY - CONF
JO - Proceedings of the 11th International Conference on Web Information Systems and Technologies - Volume 1: WEBIST,
TI - STTL - A SPARQL-based Transformation Language for RDF
SN - 978-989-758-106-9
AU - Corby O.
AU - Faron-Zucker C.
PY - 2015
SP - 466
EP - 476
DO - 10.5220/0005450604660476