For every TMQL statement: down-translation

  • query arrives already in a structured form:

  • forall [...] => ... => exists [...] return ...

  • use the connection constraints CIR to translate concepts of the interface ontology into those of OR

  • finally query conditions are canonicalized into atomic forms: forall [ ... ]

  • every forall [ $s is-a student ] is translated into a SELECT * FROM students

  • if the pattern [ ... ] contains conditions, they are translated into SQL WHERE clauses

  • the select statement(s) are executed