Up to now the result was always given by the "rdfs:label". But in an RDF dataset there are potentially many contextual information that can be shown like descriptions, images, maps and videos.
To allow QAnswer to display this contextual information your ontology vocabulary has to be aligned by the one used by QAnswer. This is necessary since there are different proposed vocabulary to express this type of information in the Semantic Web Community and no one became a standard. QAnswer is using some common properties. So let's start.
You can access the UI Mapping page using the button in the status bar (on the top of your screen) or in the QA Systems page by clicking on the QA system you are interested in and then the UI Mapping button.
In the case of the cocktail KG you can add the following properties:
- Description: http://www.w3.org/2004/02/skos/core#definition
- Image: http://vocabulary.semantic-web.at/cocktail-ontology/image
- Dbpedia: http://www.w3.org/2004/02/skos/core#exactMatch
It will be automatically saved but you can also click the save button if you want to.
The properties are then used to show the contextual information which will influence the way the answers are displayed.
Thanks to the Image property we added, we unlocked a new way to display answers the Images one (depending on what we ask). So you can visualize an answer as a grid of images, you can click on each element to have more detail on them.
Thanks to the new Description and Image properties, in the List display, we can see the description and an image of the cocktail.