An Ontology-Based Question-Answering, from Natural Language to SPARQL Query

Davide Varagnolo, Davide Varagnolo, Dora Melo, Dora Melo, Irene Rodrigues, Irene Rodrigues

2023

Abstract

In this paper an Ontology-based Question-Answering system for exploring the information on CIDOC-CRM ontology representing the Portuguese Archives metadata text descriptions is presented. The proposed approach transforms the natural language input question into a SPARQL query over the target knowledge base, the Portuguese Archives CIDO-CRM Population. To interpret the userś natural language questions, a pipeline with a natural language grammar, Stanza, a Discourse Representation Structure builder and the final question interpretation on a Query ontology is used. After obtaining the best representation of the user question on the Query ontology, the query constraints classes and properties are translated to CIDOC-CRM ontology and a SPARQL query is generated. The matching of the questions DRS on the query ontology is done as a constraint satisfaction problem and the choice of the best interpretation (matching) is obtained by solving a multi-objective optimizer.

Download


Paper Citation


in Harvard Style

Varagnolo D., Melo D. and Rodrigues I. (2023). An Ontology-Based Question-Answering, from Natural Language to SPARQL Query. In Proceedings of the 15th International Joint Conference on Knowledge Discovery, Knowledge Engineering and Knowledge Management - Volume 2: KEOD; ISBN 978-989-758-671-2, SciTePress, pages 174-181. DOI: 10.5220/0012180000003598


in Bibtex Style

@conference{keod23,
author={Davide Varagnolo and Dora Melo and Irene Rodrigues},
title={An Ontology-Based Question-Answering, from Natural Language to SPARQL Query},
booktitle={Proceedings of the 15th International Joint Conference on Knowledge Discovery, Knowledge Engineering and Knowledge Management - Volume 2: KEOD},
year={2023},
pages={174-181},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0012180000003598},
isbn={978-989-758-671-2},
}


in EndNote Style

TY - CONF

JO - Proceedings of the 15th International Joint Conference on Knowledge Discovery, Knowledge Engineering and Knowledge Management - Volume 2: KEOD
TI - An Ontology-Based Question-Answering, from Natural Language to SPARQL Query
SN - 978-989-758-671-2
AU - Varagnolo D.
AU - Melo D.
AU - Rodrigues I.
PY - 2023
SP - 174
EP - 181
DO - 10.5220/0012180000003598
PB - SciTePress