Input
It specifies that the facts for an atom of the program are imported from an external data source, for example a relational database.
The syntax is the following:
@input("atomName").
where atomName is the atom for which the facts have to be imported from an external data source.
It is assumed that an atom annotated with @input:
-
never appears as the head of any rule
-
it is never used within an
@outputannotation.
The full details of the external source must be specified with the @bind, @mapping and @qbind annotations.