Skip to main content

Rewriting Queries by Means of Model Transformations from SPARQL to OQL and Vice-Versa

  • Conference paper
Book cover Theory and Practice of Model Transformations (ICMT 2009)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 5563))

Abstract

Implementing language translation is one of the main topics within the model to model transformation area. Nevertheless, a majority of solutions promoted by model driven engineering tools focus on transformations related to modeling languages. In this paper, we address query rewriting by means of model transformations. This study has been carried out within the context of implementing an object ontology mapping tool, which could enable bridging object oriented applications and RDF data sources. This approach allows querying RDF data sources via an object oriented query which is automatically rewritten in SPARQL (RDF query language) in order to access RDF data. Hence, the developer can freely focus upon the sole application object model. In this paper, we also present with solutions for translating SPARQL queries into object oriented queries, thus allowing the implementation of SPARQL endpoints for object oriented applications.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Ankolekar, A., Krötzsch, M., Tran, T., Vrandecic, D.: The two cultures: Mashing up Web 2.0 and the Semantic Web. Web Semantics: Science, Services and Agents on the World Wide Web 6, 70–75 (2008)

    Article  Google Scholar 

  2. Bauer, C., King, G.: Java Persistence with Hibernate. Manning Publications (2006)

    Google Scholar 

  3. Bechhofer, S., Harmelen, F., Hendler, J., Horrocks, I., McGuinness, D.L., Patel-Schneider, P.F., Stein, L.A.: OWL Web Ontology Language Reference. W3C Recommendation 10, 2006–10 (2004)

    Google Scholar 

  4. Berners-Lee, T., Hendler, J., Lassila, O.: The Semantic Web. Scientific American 284, 28–37 (2001)

    Article  Google Scholar 

  5. Bizer, C., Seaborne, A.: D2RQ: treating non-RDF databases as virtual RDF graphs. In: International Semantic Web Conference ISWC (posters) (2004)

    Google Scholar 

  6. Bizer, C., Heath, T., Ayers, D., Raimond, Y.: Interlinking Open Data on the Web Demonstrations Track. In: 4th European Semantic Web Conference, Innsbruck, Austria (2007)

    Google Scholar 

  7. Corno, W., Corcoglioniti, F., Celino, I., Della Valle, E.: Exposing Heterogeneous Data Sources as SPARQL Endpoints through an Object-Oriented Abstraction. In: Asian Semantic Web Conference (ASWC 2008), pp. 434–448 (2008)

    Google Scholar 

  8. Erling, O., Mikhailov, I.: RDF support in the Virtuoso DBMS. In: Proceedings of the 1st Conference on Social Semantic Web. GI-Edition- Lecture Notes in Informatics (LNI), vol. P-113. Bonner Kollen Verlag (2007) ISSN 1617-5468

    Google Scholar 

  9. Ghawi, R., Cullot, N.: Database-to-ontology mapping generation for semantic interoperability, 2007. In: Third International Workshop on Database Interoperability, InterDB (2007)

    Google Scholar 

  10. Hillairet, G., Bertrand, F., Lafaye, J.Y.: MDE for publishing Data on the Semantic Web, Transform and Weaving Ontologies in MDE (TWOMDE). In: Czarnecki, K., Ober, I., Bruel, J.-M., Uhl, A., Völter, M. (eds.) MODELS 2008. LNCS, vol. 5301. Springer, Heidelberg (2008)

    Google Scholar 

  11. de Laborda, C.P., Conrad, S.: Bringing Relational Data into the SemanticWeb using SPARQL and Relational. OWL. IEEE Computer Society, Washington (2006)

    Google Scholar 

  12. Lassila, O., Swick, R.R.: Resource Description Framework (RDF) Model and Syntax Specification (1999)

    Google Scholar 

  13. Oren, E., Heitmann, B., Decker, S.: ActiveRDF: Embedding Semantic Web data into object-oriented languages. In: Web Semantics: Science, Services and Agents on the World Wide Web (2008)

    Google Scholar 

  14. Jouault, F., Kurtev, I.: Transforming Models with ATL. In: Bruel, J.-M. (ed.) MoDELS 2005. LNCS, vol. 3844, pp. 128–138. Springer, Heidelberg (2006)

    Chapter  Google Scholar 

  15. Jouault, F., Bézivin, J., Kurtev, I.: TCS: a DSL for the specification of textual concrete syntaxes in model engineering. In: Proceedings of the 5th international conference on Generative programming and component engineering, pp. 249–254 (2006)

    Google Scholar 

  16. Prud’hommeaux, E., Seaborne, A.: others: SPARQL Query Language for RDF. W3C Recommendation (2008)

    Google Scholar 

  17. Prud’hommeaux, E.: Adding SPARQL Support to MySQL (2006)

    Google Scholar 

  18. Rodriguez, J.B., Corcho, O., Gomez-Perez, A.: R2o: an extensible and semantically based database-to-ontology mapping language. In: SWDB (2004)

    Google Scholar 

  19. Rodriguez, J.B., Gomez-Perez, A.: Upgrading relational legacy data to the semantic web. In: Carr, L., Roure, D.D., Iyengar, A., Goble, C.A., Dahlin, M. (eds.) WWW, pp. 1069–1070. ACM, New York (2006)

    Google Scholar 

  20. Steinberg, D., Budinsky, F., Paternostro, M., Merks, E.: EMF: Eclipse Modeling Framework, 2nd edn. Addison-Wesley Professional, Reading (2008)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2009 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Hillairet, G., Bertrand, F., Lafaye, J.Y. (2009). Rewriting Queries by Means of Model Transformations from SPARQL to OQL and Vice-Versa. In: Paige, R.F. (eds) Theory and Practice of Model Transformations. ICMT 2009. Lecture Notes in Computer Science, vol 5563. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-02408-5_9

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-02408-5_9

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-02407-8

  • Online ISBN: 978-3-642-02408-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics