Skip to main content
QUICK REVIEW

[Paper Review] Attempto Controlled English (ACE)

Norbert E. Fuchs, Rolf Schwitter|ArXiv.org|Mar 13, 1996
Model-Driven Software Engineering TechniquesComputer Science12 references138 citations
TL;DR

This paper introduces Attempto Controlled English (ACE), a formal yet natural-language-like specification language that enables domain specialists to write unambiguous, machine-processable requirements in a familiar syntax. ACE translates specifications into discourse representation structures and Prolog for verification, simulation, and validation, demonstrating its feasibility in specifying an automated teller machine with full consistency and executability.

ABSTRACT

Attempto Controlled English (ACE) allows domain specialists to interactively formulate requirements specifications in domain concepts. ACE can be accurately and efficiently processed by a computer, but is expressive enough to allow natural usage. The Attempto system translates specification texts in ACE into discourse representation structures and optionally into Prolog. Translated specification texts are incrementally added to a knowledge base. This knowledge base can be queried in ACE for verification, and it can be executed for simulation, prototyping and validation of the specification.

Motivation & Objective

  • To address the challenge of ambiguous, inconsistent, and incomplete natural language requirements in software engineering.
  • To reduce misunderstandings between domain specialists and developers by enforcing consistent terminology and grammar.
  • To create a specification language that is both human-readable and machine-processable for formal reasoning and execution.
  • To enable non-experts to write, verify, and simulate requirements using a familiar linguistic form.
  • To integrate formal methods into early software development without requiring expertise in logic or programming.

Proposed method

  • ACE uses a restricted grammar and vocabulary to ensure syntactic and semantic clarity, minimizing ambiguity.
  • The Attempto system parses ACE texts into discourse representation structures (DRS), a formalism based on first-order predicate logic.
  • Anaphora resolution is automatically handled by selecting the closest matching referent in a superordinate DRS based on gender and number agreement.
  • DRSs are translated into Prolog clauses, enabling execution and integration with logic programming environments.
  • The system supports incremental knowledge base construction, allowing dynamic querying and simulation of specifications.
  • Users can query the knowledge base in ACE to verify consistency and simulate system behavior with user-provided event data.

Experimental results

Research questions

  • RQ1Can a controlled natural language be designed to be both human-readable and formally precise enough for software requirements?
  • RQ2How can anaphora and reference resolution be automated in a controlled natural language to maintain semantic consistency?
  • RQ3Can requirements written in such a language be translated into executable logic for simulation and validation?
  • RQ4To what extent can non-experts use this language to produce consistent and complete specifications without formal training?
  • RQ5Can the resulting formal representation support automated verification and execution of system behavior?

Key findings

  • The Attempto system successfully translates ACE specifications into discourse representation structures that are semantically unambiguous and logically coherent.
  • The system supports incremental knowledge base construction, allowing dynamic querying and simulation of system behavior.
  • Queries in ACE such as 'Who enters a card?' are correctly answered with appropriate substitution, demonstrating effective semantic interpretation.
  • The system can simulate real-world events, such as card entry and validation checks, by prompting users for situation-specific data and printing execution traces.
  • The translation of ACE into Prolog enables execution of specifications, showing that the formal representation is not only verifiable but also executable.
  • The approach enables validation and prototyping of requirements in the application domain’s conceptual language, reducing misinterpretation between stakeholders.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.