Natural Language to SPARQL Query Builder for Semantic Web Applications

N. Zlatareva, Devansh Amin
{"title":"Natural Language to SPARQL Query Builder for Semantic Web Applications","authors":"N. Zlatareva, Devansh Amin","doi":"10.11159/jmids.2021.006","DOIUrl":null,"url":null,"abstract":"SPARQL is a powerful query language for an evergrowing number of Semantic Web applications. Using it, however, requires familiarity with the language which is not to be expected from the general web user. This drawback has led to the development of Question-Answering (QA) systems that enable users to express their information needs in natural language. This paper presents a novel dependency-based framework for translating natural language queries into SPARQL queries, which is built on the idea of syntactic parsing. The translation process involves the following steps: extraction of the entities, extraction of the predicate, categorization of the query’s type, resolution of lexical and semantic gaps between user query and domain ontology vocabulary, and finally construction of the SPARQL query. The proposed framework was tested on our closed-domain student advisory application intended to provide students with advice and recommendations about curriculum and scheduling matters. The advantage of our approach is that it requires neither any laborious feature engineering, nor complex model mapping of a query expressed in natural language to a SPARQL query template, and thus it can be easily adapted to a variety of applications.","PeriodicalId":430248,"journal":{"name":"Journal of Machine Intelligence and Data Science","volume":"127 5 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Machine Intelligence and Data Science","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.11159/jmids.2021.006","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

SPARQL is a powerful query language for an evergrowing number of Semantic Web applications. Using it, however, requires familiarity with the language which is not to be expected from the general web user. This drawback has led to the development of Question-Answering (QA) systems that enable users to express their information needs in natural language. This paper presents a novel dependency-based framework for translating natural language queries into SPARQL queries, which is built on the idea of syntactic parsing. The translation process involves the following steps: extraction of the entities, extraction of the predicate, categorization of the query’s type, resolution of lexical and semantic gaps between user query and domain ontology vocabulary, and finally construction of the SPARQL query. The proposed framework was tested on our closed-domain student advisory application intended to provide students with advice and recommendations about curriculum and scheduling matters. The advantage of our approach is that it requires neither any laborious feature engineering, nor complex model mapping of a query expressed in natural language to a SPARQL query template, and thus it can be easily adapted to a variety of applications.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
用于语义Web应用程序的自然语言到SPARQL查询生成器
SPARQL是一种功能强大的查询语言,适用于越来越多的语义Web应用程序。然而,使用它需要熟悉语言,而一般网络用户不需要这样做。这个缺点导致了问答(QA)系统的发展,使用户能够用自然语言表达他们的信息需求。本文提出了一个新的基于依赖关系的框架,用于将自然语言查询转换为SPARQL查询,该框架基于语法解析的思想。翻译过程包括以下步骤:实体的提取、谓词的提取、查询类型的分类、用户查询和领域本体词汇表之间的词法和语义差距的解决,以及SPARQL查询的最后构造。提议的框架在我们的封闭式学生咨询应用程序上进行了测试,该应用程序旨在为学生提供有关课程和日程安排问题的建议和建议。我们的方法的优点是,它既不需要任何费力的特征工程,也不需要将用自然语言表达的查询映射到SPARQL查询模板的复杂模型,因此它可以很容易地适应各种应用程序。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
An Experimental Set-up and Performance Evaluation of EPON-Based 5G RAN Architecture Enabled by Distributed Network Control Management MODBUS: A Target for Covert Communication in Iot Devices Software Validation and Daubert Standard Compliance of an Open Digital Forensics Model Robust Adaptive Control for Uncertain Wearable Exoskeleton Robot Using Time Delay Estimation Using Optimal Control Theory to Improve Path Planning For Battery Energy Maximization of an Unmanned Ground Vehicle
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1