首页> 外文会议>International conference on model and data engineering >GraphQL Schema Generation for Data-Intensive Web APIs
【24h】

GraphQL Schema Generation for Data-Intensive Web APIs

机译:数据密集型Web API的GraphQL模式生成

获取原文

摘要

Sharing data as a (non-)commercial asset on the web is typically performed using an Application Programming Interface (API). Although Linked Data technologies such as RDF and SPARQL enable publishing and accessing data on the web, they do not focus on mediated and controlled web access that data providers are willing to allow. Thus, recent approaches aim at providing traditional REST API layer on top of semantic data sources. In this paper, we propose to take advantage of the new GraphQL framework that, in contrast to the dominant REST API approach, exposes an explicit data model, described in terms of the so-called GraphQL schema, to enable precise retrieving of only required data. We propose a semantic metamodel of the GraphQL Schema. The metamodel is used to enrich the schema of semantic data and enable automatic generation of GraphQL schema. In this context, we present a prototype implementation of our approach and a use case with a real-world dataset, showing how lightly augmenting its ontology to instantiate our metamodel enables automatic GraphQL schema generation.
机译:通常使用应用程序编程接口(API)将数据作为网络上的(非)商业资产进行共享。尽管诸如RDF和SPARQL之类的链接数据技术可以在Web上发布和访问数据,但它们并不专注于数据提供者愿意允许的中介和受控Web访问。因此,最近的方法旨在在语义数据源之上提供传统的REST API层。在本文中,我们建议利用新的GraphQL框架,与占主导地位的REST API方法相反,该框架公开了一个显式的数据模型,该模型以所谓的GraphQL模式描述,可以仅精确地检索所需的数据。我们提出了GraphQL模式的语义元模型。元模型用于丰富语义数据的架构,并能够自动生成GraphQL架构。在这种情况下,我们介绍了该方法的原型实现以及带有实际数据集的用例,展示了如何通过略微增强其本体以实例化我们的元模型来实现自动GraphQL模式生成。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号