Macros, macro calls and use of ensembles in modular Answer Set Programming

Saadat Anwar, Chitta Baral, Juraj Dzifcak

Research output: Chapter in Book/Report/Conference proceedingConference contribution


Currently, most knowledge representation using logic programming with answer set semantics (AnsProlog) is 'flat'. In this paper we elaborate on our thoughts about a modular structure for knowledge representation and declarative problem solving formalism using AnsProlog. We present language constructs that allow defining of modules and calling of such modules from programs. This allows one to write large knowledge bases or declarative problem solving programs by reusing existing modules instead of writing everything from scratch. Our ultimate aim is to facilitate the creation and use of a repository of modules that can be used by knowledge engineers without having to re-implement basic knowledge representation concepts from scratch.

Original languageEnglish (US)
Title of host publicationFormalizing and Compiling Background Knowledge and Its Applications to Knowledge Representation and Question Answering - Papers from the AAAI Spring Symposium, Technical Report
Number of pages9
StatePublished - 2006
Event2006 AAAI Spring Symposium - Stanford, CA, United States
Duration: Mar 27 2006Mar 29 2006

Publication series

NameAAAI Spring Symposium - Technical Report


Other2006 AAAI Spring Symposium
Country/TerritoryUnited States
CityStanford, CA

ASJC Scopus subject areas

  • Engineering(all)


Dive into the research topics of 'Macros, macro calls and use of ensembles in modular Answer Set Programming'. Together they form a unique fingerprint.

Cite this