-
Notifications
You must be signed in to change notification settings - Fork 25
Annotations available in Qanary
The following list shows which are the annotations available in the Qanary vocabulary, i.e. the information that can be shared across components in a QA pipeline. The Qanary vocabulary extends the WADM and reuses his vocabulary. For more information about the WADM look under the following link.
Note: The Qanary vocabulary is designed to be extensible it is possible at any time to add new types of annotations. We follow the idea that the communication standard between components should not be fixed ones but must evolve according to the needs of the QA community. So if a new type of annotation is needed this should be added by extending the Qanary vocabulary.
Annotations available in Qanary We use as a running example the question "In which city was Barack Obama born?"
-
AnnotationOfQuestion: All annotations over the question are of this type
-
AnnotationOfSpotEntity: Annotation to select part of a question that was identified to refer to an entity (that can be an instance, a relation or a class). These annotations have in the target a selector and have no body. In the question this can be used to select "born".
- AnnotationOfSpotInstance: Annotation to select part of a question that was identified to refer to an instance. In the question this can be used to select "Barack Obama".
- AnnotationOfSpotRelation: Annotation to select part of a question that was identified to refer to an relation. In the question this can be used to select "born".
- AnnotationOfSpotClass: Annotation to select part of a question that was identified to refer to a class. In the question this can be used to select "city".
-
AnnotationOfEntity: This annotation can be used to link a part of the question to a URI referring to an instance, a relation or a class. These annotations have in the target a selector and the body contains the URI.
- AnnotationOfInstance: This annotation can be used to link a part of the question to a URI referring to an instance. In the question above we can link the text "Barack Obama" to the URI "http://dbpedia.org/resource/Barack_Obama".
- AnnotationOfRelation: This annotation can be used to link a part of the question to a URI referring to a relation. In the question above we can link the text "born" to the URI "http://dbpedia.org/ontology/birthPlace".
- AnnotationOfClass: This annotation can be used to link a part of the question to a URI referring to a class. In the question above we can link the text "city" to the URI "http://dbpedia.org/ontology/City".
-
AnnotationOfSpotEntity: Annotation to select part of a question that was identified to refer to an entity (that can be an instance, a relation or a class). These annotations have in the target a selector and have no body. In the question this can be used to select "born".
-
AnnotationOfAnswer:
- AnnotationOfAnswerFormat:
- AnnotationOfAnswerType:
-
AnnotationOfDataset:
- AnnotationOfEndpointOfDataset: This annotation over the dataset contains in the body the URI of an endpoint where the answer for the question can be retrieved.
-
How to establish a Docker-based Qanary Question Answering system
-
How to implement a new Qanary component
... using Java?
... using Python (Qanary Helpers)?
... using Python (plain Flask service)?