Abstract
In this paper, we will take a closer look at the essential differences between two of the most prominent database query languages today, SPARQL and SQL, and at their underlying data models, RDF resp. the relational model (RM). There is an enormous “hype” around SPARQL/RDF at the moment claiming all kinds of advantages of these “newcomers” over the long-established SQL/RM setting. We discover that many of these claims are not justified, at least not as far as data representation and querying is concerned. Our conclusion will be that SQL/RM are well able to serve the same purpose as SPARQL/RDF if treated fairly, and if presenting itself properly. We omit all aspects of navigation over distributed or federated data resources, though, as SQL isn’t (yet) made for this task.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
Prud’hommeaux, E., Seaborne, A. (eds.): SPARQL Query Language for RDF, W3C Recommendation (January 15, 2008), http://www.w3.org/TR/rdf-sparql-query/
Klyne, G., Carroll, J. (eds.): Resource Description Framework (RDF): Concepts and Abstract Syntax, W3C Recommendation (February 10, 2004), http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/
Date, C., Darwen, H.: A Guide to the SQL Standard, 4th edn. Addison Wesley (1997)
Prud’hommeaux, E., Bertails, A.: A Mapping of SPARQL to Conventional SQL, http://www.w3.org/2008/07/MappingRules/StemMapping
Chebotko, A., Lu, S., Fotouhi, F.: Semantics Preserving SPARQL-to-SQL Translation, . DKE 68(10), 973–1000 (2009)
Mohan, C.: History Repeats Itself: Sensible and NonsenSQL Aspects of the NoSQL Hoopla. In: Proc. EDBT, pp. 11–16 (2013)
Atzeni, P., Jensen, C.S., et al.: The Relational Model is Dead, SQL is Dead, and I Don’t Feel so Good Myself. ACM SIGMOD Record 42(3), 64–68 (2013)
Kumar, N.V., Kumar, A., Abhishek, K.: A Comprehensive Comparative Study of SPARQL and SQL. IJCSIT 2(4), 1706–(2011)
Chen, P.: The Entity-Relationship Model – Toward a Unified View of Data. TODS 1(1), 9–36 (1976)
McGuinness, D., van Harmelen, F. (eds.): OWL Web Ontology Language Overview, W3C Recommendation (February 10, 2004), http://www.w3.org/TR/2004/REC-owl-features-20040210/
http://en.wikipedia.org/wiki/Ontology(informationscience)
The Unified Modeling Language User Guide. Addison Wesley (2005)
Hull, R., King, R.: Semantic Database Modelling: Survey, Applications, and Research Issues. ACM Computing Surveys 19(3), 201–260 (1987)
Smith, B.: Ontology. In: Floridi, L. (ed.) Blackwell Guide to the Philosophy of Computing and Information, pp. 155–166. Blackwell, Oxford (2003)
Harris, S., Seaborne, A. (eds.): SPARQL 1.1 Query Language, W3C Recommendation (March 21, 2013) http://www.w3.org/TR/sparql11-query/
Codd, E.: Extending the database relational model to capture more meaning. TODS 4(4), 397–434 (1979)
Codd, E.: A Relational Model for Large Shared Data Banks. CACM 13(6), 377–387 (1970)
Lacroix, M., Pirotte, A.: Domain-Oriented Relational Languages. In: Proc. 3rd VLDB, pp. 370–378 (1977)
Zloof, M.: Query by Example. In: Proc. IFIPS, pp. 431–438 (1975)
Ceri, S., Gottlob, G., Tanca, L.: What You Always Wanted to Know About Datalog (And Never Dared to Ask). TKDE 1(1), 146–166 (1989)
Robinson, J.A.: A Machine-Oriented Logic Based on the Resolution Principle. JACM 12(1), 23–41 (1965)
Bry, F., Furche, T., et al.: RDFLog: It’s Like Datalog for RDF. In: Proc. WLP, pp. 17–26 (2008)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2015 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Manthey, R. (2015). Back to the Future – Should SQL Surrender to SPARQL?. In: Italiano, G.F., Margaria-Steffen, T., Pokorný, J., Quisquater, JJ., Wattenhofer, R. (eds) SOFSEM 2015: Theory and Practice of Computer Science. SOFSEM 2015. Lecture Notes in Computer Science, vol 8939. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-46078-8_8
Download citation
DOI: https://doi.org/10.1007/978-3-662-46078-8_8
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-662-46077-1
Online ISBN: 978-3-662-46078-8
eBook Packages: Computer ScienceComputer Science (R0)