What is the cube root of 27? Question Answering over CodeOntology

Atzeni, Mattia;Atzori, Maurizio
2018-01-01

Abstract

We present an unsupervised approach to process natural language questions that cannot be answered by factual question answering nor advanced data querying, requiring instead ad-hoc code generation and execution. To address this challenging task, our system,, performs language-to-code translation by interpreting the natural language question and generating a SPARQL query that is run against CodeOntology, a large RDF repository containing millions of triples representing Java code constructs. The query retrieves a number of Java source code snippets and methods, ranked by on both syntactic and semantic features, to find the best candidate, that is then executed to get the correct answer. The evaluation of the system is based on a dataset extracted from StackOverflow and experimental results show that our approach is comparable with other state-of-the-art proprietary systems, such as the closed-source WolframAlpha computational knowledge engine.
2018
Inglese
Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Christian Meilicke, et al.
11136
285
300
16
Springer
Berlin
GERMANIA
9783030006709
https://link.springer.com/book/10.1007/978-3-030-00671-6
Comitato scientifico
scientifica
Language-to-code; Machine reading; Natural language programming; Question answering over linked data; Semantic parsing; Theoretical computer science; Computer science (all)
no
info:eu-repo/semantics/bookPart
2.1 Contributo in volume (Capitolo o Saggio)
Atzeni, Mattia; Atzori, Maurizio
2 Contributo in Volume::2.1 Contributo in volume (Capitolo o Saggio)
2
268
reserved
Files in This Item:
File Size Format  
iswc18-codeontology_qa.pdf

Solo gestori archivio

Type: versione editoriale
Size 1.48 MB
Format Adobe PDF
1.48 MB Adobe PDF & nbsp; View / Open   Request a copy

Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.

Questionnaire and social

Share on:
Impostazioni cookie