liu.seSearch for publications in DiVA
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Ontology-based GraphQL server generation for data access and data integration
Linköping University, Department of Computer and Information Science, Database and information techniques. Linköping University, Faculty of Science & Engineering. The Swedish e-Science Research Centre, Linköping University, Sweden.ORCID iD: 0000-0003-1881-3969
Linköping University, Department of Computer and Information Science, Database and information techniques. Linköping University, Faculty of Science & Engineering.ORCID iD: 0000-0002-1741-2090
Linköping University, Department of Physics, Chemistry and Biology, Theoretical Physics. Linköping University, Faculty of Science & Engineering. The Swedish e-Science Research Centre, Linköping University, Sweden.ORCID iD: 0000-0002-5571-0814
Linköping University, Department of Computer and Information Science, Database and information techniques. Linköping University, Faculty of Science & Engineering. The Swedish e-Science Research Centre, Linköping University, Sweden;Department of Building Engineering, Energy Systems and Sustainability Science, University of Gävle, Sweden.ORCID iD: 0000-0002-9084-0470
2024 (English)In: Semantic Web, ISSN 1570-0844, E-ISSN 2210-4968, p. 1-37Article in journal (Refereed) Epub ahead of print
Abstract [en]

In a GraphQL Web API, a so-called GraphQL schema defines the types of data objects that can be queried, and so-called resolver functions are responsible for fetching the relevant data from underlying data sources. Thus, we can expect to use GraphQL not only for data access but also for data integration, if the GraphQL schema reflects the semantics of data from multiple data sources, and the resolver functions can obtain data from these data sources and structure the data according to the schema. However, there does not exist a semantics-aware approach to employ GraphQL for data integration. Furthermore, there are no formal methods for defining a GraphQL API based on an ontology.In this work, we introduce a framework for using GraphQL in which a global domain ontology informs the generation of a GraphQL server that answers requests by querying heterogeneous data sources.The core of this framework consists of an algorithm to generate a GraphQL schema based on an ontology and a generic resolver function based on semantic mappings. We provide a prototype, OBG-gen, of this framework, and we evaluate our approach over a real-world data integration scenario in the materials design domain and two synthetic benchmark scenarios (Linköping GraphQL Benchmark and GTFS-Madrid-Bench). The experimental results of our evaluation indicate that: (i) our approach is feasible to generate GraphQL servers for data access and integration over heterogeneous data sources, thus avoiding a manual construction of GraphQL servers, and (ii) our data access and integration approach is general and applicable to different domains where data is shared or queried via different ways.

Place, publisher, year, edition, pages
IOS Press, 2024. p. 1-37
Keywords [en]
Data Integration, Ontology, GraphQL
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:liu:diva-200165DOI: 10.3233/sw-233550OAI: oai:DiVA.org:liu-200165DiVA, id: diva2:1826842
Funder
CUGS (National Graduate School in Computer Science)Swedish e‐Science Research CenterSwedish Research Council, 2018-04147Swedish Research Council, 2019-05655Swedish Agency for Economic and Regional GrowthAvailable from: 2024-01-12 Created: 2024-01-12 Last updated: 2024-05-24

Open Access in DiVA

fulltext(7261 kB)20 downloads
File information
File name FULLTEXT01.pdfFile size 7261 kBChecksum SHA-512
3a1a177ccbb156c4f9ced5baad5ee0b74ac927aacb053c872570c05030aa68da9f55e2eb5b6888d63282c7d173670c26ec16f2036a07c7de08ec7e16ba4498ff
Type fulltextMimetype application/pdf

Other links

Publisher's full text

Authority records

Li, HuanyuHartig, OlafArmiento, RickardLambrix, Patrick

Search in DiVA

By author/editor
Li, HuanyuHartig, OlafArmiento, RickardLambrix, Patrick
By organisation
Database and information techniquesFaculty of Science & EngineeringTheoretical Physics
In the same journal
Semantic Web
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 20 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

doi
urn-nbn

Altmetric score

doi
urn-nbn
Total: 237 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf