Skip to main content

LDflex: A Read/Write Linked Data Abstraction for Front-End Web Developers

  • Conference paper
  • First Online:
The Semantic Web – ISWC 2020 (ISWC 2020)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 12507))

Included in the following conference series:

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.

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 89.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://github.com/simplerdf/simplerdf.

  2. 2.

    https://github.com/rubensworks/rdf-object.js.

  3. 3.

    https://github.com/NoelDeMartin/soukai-solid.

  4. 4.

    The unabridged interview text is at https://ruben.verborgh.org/iswc2020/ldflex/interviews/.

  5. 5.

    https://www.janeirodigital.com/.

  6. 6.

    https://inrupt.com/.

  7. 7.

    https://startinblox.com/.

  8. 8.

    https://happy-dev.fr/.

References

  1. Baxley, III, J.: Apollo Federation - a revolutionary architecture for building a distributed graph (2019). https://blog.apollographql.com/apollo-federation-f260cf525d21

  2. 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/

  3. 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

  4. Bibeault, B., Kats, Y.: jQuery in action. Manning (2008)

    Google Scholar 

  5. 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)

    Google Scholar 

  6. EasierRDF. https://github.com/w3c/EasierRDF

  7. Fowler, M.: FluentInterface (2005). https://www.martinfowler.com/bliki/FluentInterface.html

  8. 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)

    Google Scholar 

  9. 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/

  10. 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

    Article  Google Scholar 

  11. Hartig, O., Pérez, J.: Semantics and complexity of GraphQL. In: Proceedings of the 27th World Wide Web Conference, pp. 1155–1164 (2018)

    Google Scholar 

  12. Ledvinka, M., Křemen, P.: A comparison of object-triple mapping libraries. Seman. Web J. (2019)

    Google Scholar 

  13. 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

    Chapter  Google Scholar 

  14. 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)

    Google Scholar 

  15. Mernik, M., Heering, J., Sloane, A.M.: When and how to develop domain-specific languages. ACM Comput. Surv. 37(4), 316–344 (2005)

    Article  Google Scholar 

  16. 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)

    Article  Google Scholar 

  17. React: Facebook’s functional turn on writing JavaScript. Commun. ACM 59(12), 56–62 (2016)

    Google Scholar 

  18. 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)

    Google Scholar 

  19. 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/

  20. 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/

  21. 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/

  22. Staab, S., Scheglmann, S., Leinberger, M., Gottron, T.: Programming the Semantic Web. In: Proceedings of the European Semantic Web Conference, pp. 1–5 (2014)

    Google Scholar 

  23. 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

    Chapter  Google Scholar 

  24. 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/

  25. 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)

    Google Scholar 

  26. 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/

  27. Verborgh, R., Taelman, R.: Guided link-traversal-based query processing (2020), https://arxiv.org/abs/2005.02239

  28. 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

  29. 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)

    Article  Google Scholar 

  30. Waldo, J., Wyant, G., Wollrath, A., Kendall, S.: A note on distributed computing. Technical report, TR-94-29, Sun Microsystems Laboratories, Inc. (1994)

    Google Scholar 

Download references

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

Authors

Corresponding author

Correspondence to Ruben Verborgh .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics