Abstract
Many Web developers nowadays are trained to build applications with a user-facing browser front-end that obtains predictable data structures from a single, well-known back-end. Linked Data invalidates such assumptions, since data can combine several ontologies and span multiple servers with different . Front-end developers, who specialize in creating end-user experiences rather than back-ends, thus need an abstraction layer to the Web of Data that integrates with existing frameworks. We have developed , a domain-specific language that exposes common Linked Data access patterns as reusable JavaScript expressions. In this article, we describe the design and embedding of the language, and discuss its daily usage within two companies. eliminates a dedicated data layer for common and straightforward data access patterns, without striving to be a replacement for more complex cases. The use cases indicate that designing a Linked Data developer experience—analogous to a user experience— is crucial for adoption by the target group, who in turn create Linked Data apps for end users. Crucially, simple abstractions require research to hide the underlying complexity.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
- 2.
- 3.
- 4.
The unabridged interview text is at https://ruben.verborgh.org/iswc2020/ldflex/interviews/.
- 5.
- 6.
- 7.
- 8.
References
Baxley, III, J.: Apollo Federation - a revolutionary architecture for building a distributed graph (2019). https://blog.apollographql.com/apollo-federation-f260cf525d21
Bergwinkl, T., Luggen, M., elf Pavlik, Regalia, B., Savastano, P., Verborgh, R.: RDF/JS: data model specification. Draft community group report, W3C (2019). https://rdf.js.org/data-model-spec/
Berners-Lee, T., Mendelsohn, N.: The rule of least power. TAG finding, W3C Technical Architecture Group (2016). https://www.w3.org/2001/tag/doc/leastPower.html
Bibeault, B., Kats, Y.: jQuery in action. Manning (2008)
Champin, P.A.: RDF-REST: a unifying framework for Web APIs and Linked Data. In: Proceedings of the First Workshop on Services and Applications over Linked APIs and Data (2013)
EasierRDF. https://github.com/w3c/EasierRDF
Fowler, M.: FluentInterface (2005). https://www.martinfowler.com/bliki/FluentInterface.html
Günther, S.: Development of internal domain-specific languages: design principles and design patterns. In: Proceedings of the 18th Conference on Pattern Languages of Programs, pp. 1:1–1:25. ACM (2011)
Harris, S., Seaborne, A., Prud’hommeaux, E.: SPARQL 1.1 query language. Recommendation, W3C (2013). https://www.w3.org/TR/2013/REC-sparql11-query-20130321/
Hartig, O.: An overview on execution strategies for Linked Data queries. Datenbank-Spektrum 13(2), 89–99 (2013). https://doi.org/10.1007/s13222-013-0122-1
Hartig, O., Pérez, J.: Semantics and complexity of GraphQL. In: Proceedings of the 27th World Wide Web Conference, pp. 1155–1164 (2018)
Ledvinka, M., Křemen, P.: A comparison of object-triple mapping libraries. Seman. Web J. (2019)
Lisena, P., Meroño-Peñuela, A., Kuhn, T., Troncy, R.: Easy Web API development with SPARQL transformer. In: Ghidini, C., et al. (eds.) ISWC 2019. LNCS, vol. 11779, pp. 454–470. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-30796-7_28
Loring, M.C., Marron, M., Leijen, D.: Semantics of asynchronous JavaScript. In: Proceedings of the 13th ACM SIGPLAN International Symposium on on Dynamic Languages (2017)
Mernik, M., Heering, J., Sloane, A.M.: When and how to develop domain-specific languages. ACM Comput. Surv. 37(4), 316–344 (2005)
Peck, M.M., Bouraqadi, N., Fabresse, L., Denker, M., Teruel, C.: Ghost: a uniform and general-purpose proxy implementation. Sci. Comput. Program. 98, 339–359 (2015)
React: Facebook’s functional turn on writing JavaScript. Commun. ACM 59(12), 56–62 (2016)
Rodriguez, M.A.: The Gremlin graph traversal machine and language. In: Proceedings of the 15th Symposium on Database Programming Languages, pp. 1–10. ACM (2015)
Shinavier, J.: Ripple: functional programs as Linked Data. In: Proceedings of the Workshop on Scripting for the Semantic Web (2007). http://ceur-ws.org/Vol-248/
Sporny, M., Longley, D., Kellogg, G., Lanthaler, M., Lindström, N.: JSON-LD 1.0. Recommendation, W3C (2014). http://www.w3.org/TR/json-ld/
Sporny, M., Longley, D., Kellogg, G., Lanthaler, M., Lindström, N.: JSON-LD 1.1 framing. Working draft, W3C (2019). https://www.w3.org/TR/json-ld11-framing/
Staab, S., Scheglmann, S., Leinberger, M., Gottron, T.: Programming the Semantic Web. In: Proceedings of the European Semantic Web Conference, pp. 1–5 (2014)
Taelman, R., Van Herwegen, J., Vander Sande, M., Verborgh, R.: Comunica: a modular SPARQL query engine for the Web. In: Vrandečić, D., et al. (eds.) ISWC 2018. LNCS, vol. 11137, pp. 239–255. Springer, Cham (2018). https://doi.org/10.1007/978-3-030-00668-6_15
Taelman, R., Vander Sande, M., Verborgh, R.: GraphQL-LD: Linked Data querying with GraphQL. In: Proceedings of the 17th International Semantic Web Conference: Posters and Demos (2018). https://comunica.github.io/Article-ISWC2018-Demo-GraphQlLD/
Verborgh, R.: Piecing the puzzle - self-publishing queryable research data on the Web. In: Proceedings of the 10th Workshop on Linked Data on the Web, vol. 1809 (2017)
Verborgh, R.: Re-decentralizing the Web, for good this time. In: Seneviratne, O., Hendler, J. (eds.) Linking the World’s Information: A Collection of Essays on the Work of Sir Tim Berners-Lee. ACM (2020). https://ruben.verborgh.org/articles/redecentralizing-the-web/
Verborgh, R., Taelman, R.: Guided link-traversal-based query processing (2020), https://arxiv.org/abs/2005.02239
Verborgh, R., Taelman, R., Van Herwegen, J.: LDflex - A JavaScript DSL for querying Linked Data on the Web. Zenodo (2020). https://doi.org/10.5281/zenodo.3820071
Verborgh, R., Vander Sande, M.: The Semantic Web identity crisis: in search of the trivialities that never were. Semant. Web J. 11(1), 19–27 (2020)
Waldo, J., Wyant, G., Wollrath, A., Kendall, S.: A note on distributed computing. Technical report, TR-94-29, Sun Microsystems Laboratories, Inc. (1994)
Acknowledgements
The authors wish to thank Tim Berners-Lee for his suggestion to build a “jQuery for ”. We thank James Martin and Justin Bingham from Janeiro Digital and Sylvain Le Bon and Matthieu Fesselier from Startin’blox for their participation in the interviews.
This research received funding from the Flemish Government under the “Onderzoeksprogramma Artificiële Intelligentie (AI) Vlaanderen” program.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this paper
Cite this paper
Verborgh, R., Taelman, R. (2020). LDflex: A Read/Write Linked Data Abstraction for Front-End Web Developers. In: Pan, J.Z., et al. The Semantic Web – ISWC 2020. ISWC 2020. Lecture Notes in Computer Science(), vol 12507. Springer, Cham. https://doi.org/10.1007/978-3-030-62466-8_13
Download citation
DOI: https://doi.org/10.1007/978-3-030-62466-8_13
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-62465-1
Online ISBN: 978-3-030-62466-8
eBook Packages: Computer ScienceComputer Science (R0)