Public Member Functions | |
| generate_queries ($json_diagram, $builder) | |
| analize_answer ($reasoner_query, $reasoner_answer, $owl2) | |
| incorporate_inferredSubs ($inferredSubs) | |
| incorporate_inferredCards ($inferredCards) | |
| get_equiv ($primitive) | |
| get_answer () | |
Protected Attributes | |
| $query_generator = null | |
| $ans_analizer = null | |
Abstract class for a pack of Queries generators and Answer analizer.
Each subclass is a Q/A Pack and must have one Queries generator and its respective Answer analizer.
The constructor must create the queries generator and the answer analizer instances.
| analize_answer | ( | $reasoner_query, | |
| $reasoner_answer, | |||
| $owl2 | |||
| ) |
Analize the reasoner results. Use get_answer() for retrieving the answer.
| $reasoner_query | A String with the reasoner input (query). |
| $reasoner_answer | A String with the reasoner output (answer). |
| $owl2 | A String with the original OWL 2 ontology (owl2) |
| generate_queries | ( | $json_diagram, | |
| $builder | |||
| ) |
| $json_diagram | a String in JSON format with the diagram. |
| $builder | a Wicom instance. |
| get_answer | ( | ) |
| get_equiv | ( | $primitive | ) |
| incorporate_inferredCards | ( | $inferredCards | ) |
| incorporate_inferredSubs | ( | $inferredSubs | ) |
|
protected |
Answer analizer object.
A subclass of AnswerAnalizer.
|
protected |
Query generator object.
A subclass of QueryGenerator.
1.8.8