Skip to main navigation Skip to search Skip to main content

s(CASP) for SWI-prolog

  • Jan Wielemaker*
  • , Joaquín Arias
  • , Gopal Gupta
  • *Corresponding author for this work

Research output: Chapter in Book / Report / Conference proceedingConference contributionAcademicpeer-review

Abstract

s(CASP) is related to ASP. Unlike ASP, which is traditionally solved using grounding and a SAT solver, s(CASP) is solved using top-down goal directed search without grounding. This allows s(CASP) to solve problems that cannot be grounded, while the generated proof tree is a good basis for giving a justification for the answer. s(CASP) supports both negation as failure (NAF) and classical negation. These features make s(CASP) particularly suitable for commonsense reasoning tasks that require a justification of the answer. Currently, scasp is an executable generated using Ciao. We ported s(CASP) to SWI-Prolog. The primary aim of this is to provide s(CASP) as a library that allows for embedding and managing multiple s(CASP) programs from multiple threads. Here, ‘Managing’ means being able to construct and modify an s(CASP) program dynamically and dynamically run queries against s(CASP) programs.

Original languageEnglish
Title of host publicationICLP Workshops 2021 International Conference on Logic Programming 2021 Workshops
Subtitle of host publicationProceedings of the International Conference on Logic Programming 2021 Workshops co-located with the 37th International Conference on Logic Programming (ICLP 2021) Porto, Portugal (virtual), September 20th-21st, 2021
EditorsJoaquin Arias
PublisherCEUR Workshop Proceedings
Number of pages5
Publication statusPublished - 2021
Event2021 International Conference on Logic Programming Workshops, ICLP Workshops 2021 - Virtual, Porto, Portugal
Duration: 20 Sept 202121 Sept 2021

Publication series

NameCEUR Workshop Proceedings
PublisherCEUR Workshop Proceedings
Volume2970
ISSN (Print)1613-0073

Conference

Conference2021 International Conference on Logic Programming Workshops, ICLP Workshops 2021
Country/TerritoryPortugal
CityVirtual, Porto
Period20/09/2121/09/21

Bibliographical note

Publisher Copyright:
© 2021 CEUR-WS. All rights reserved.

Keywords

  • Answer set programming
  • Multi-paradigm
  • Prolog
  • S(CASP)

Fingerprint

Dive into the research topics of 's(CASP) for SWI-prolog'. Together they form a unique fingerprint.

Cite this