CNL2ASP: converting controlled natural language sentences into ASP
Not on the map. Why?
Abstract (arXiv)
Answer Set Programming (ASP) is a popular declarative programming language for solving hard combinatorial problems. Although ASP has gained widespread acceptance in academic and industrial contexts, there are certain user groups who may find it more advantageous to employ a higher-level language that closely resembles natural language when specifying ASP programs. In this paper, we propose a novel tool, called CNL2ASP, for translating English sentences expressed in a controlled natural language (CNL) form into ASP. In particular, we first provide a definition of the type of sentences allowed by our CNL and their translation as ASP rules, and then exemplify the usage of the CNL for the specification of both synthetic and real-world combinatorial problems. Finally, we report the results of an experimental analysis conducted on the real-world problems to compare the performance of automatically generated encodings with the ones written by ASP practitioners, showing that our tool can obtain satisfactory performance on these benchmarks. Under consideration in Theory and Practice of Logic Programming (TPLP).
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 7 of its 14 references that are in the map. First posted on arXiv 17 Nov 2023.
Builds on
7 of 14 references.
References · 7
- 2019ASP-Core-2 Input Language Formatcited by 77
- 2015A Survey and Classification of Controlled Natural Languagescited by 18
- 2017Clingcon: The Next Generationcited by 15
- 2021An ASP-based Solution to the Chemotherapy Treatment Scheduling problemcited by 9
- 2020Manipulation of Articulated Objects using Dual-arm Robots via Answer Set Programmingcited by 7
- 2020Towards Metric Temporal Answer Set Programmingcited by 5
- 2018Specifying and Verbalising Answer Set Programs in Controlled Natural Languagecited by 4
Built on by
Citing papers per year: 2024: 2; 2025: 1; 2026: 2.
5 papers.
- 2024LLASP: Fine-tuning Large Language Models for Answer Set Programmingcited by 8
- 2024Towards Automatic Composition of ASP Programs from Natural Language Specificationscited by 7
- 2025Bridging Natural Language and ASP: A Hybrid Approach Using LLMs and AMR Parsingcited by 0
- 2026ASP-Bench: From Natural Language to Logic Programscited by 0
- 2026BLAST: Benchmarking LLMs with ASP-based Structured Testingcited by 0
- 2026BLAST: Benchmarking LLMs with ASP-based Structured Testing24 Apr 2026
- 2026ASP-Bench: From Natural Language to Logic Programs1 Feb 2026
- 2025Bridging Natural Language and ASP: A Hybrid Approach Using LLMs and AMR Parsing11 Nov 2025
- 2024LLASP: Fine-tuning Large Language Models for Answer Set Programming26 Jul 2024
- 2024Towards Automatic Composition of ASP Programs from Natural Language Specifications7 Mar 2024