4) Knowledge Integrator: The service is executed to
get the knowledge for providing an answer to the query.
Executing the service is a straightforward task of calling a
web service. A sample output from executing the service for
the sample query might look like:
:weather a w:Weather; w:status w:Clear.
AQA system, upon receiving the output, should be able to
understand it to produce an answer. Basically, the definition
of the vocabularies used to describe the output should be
available for the AQA system. Obviously in the above
example, w:Weather, w:status, and w:Clear should
be understandable by the AQA system. As in the service goal
extraction stage, we use rules for understanding the meaning
of the output. Understanding the meaning is a simple process
of mapping the output into a standard schema for a formal
answer. The above output is mapped to the formal answer
format as follows:
:a001 a scrl:Answer; scrl:theme w:Clear.
The above formal answer, represented in SCRL, specifies
that :a001 is an answer and its theme is about w:Clear
weather