Background
This page gives an overview about the feature of automatic question generation. Issue SWIK-956 is the first issue dealing with this feature.
Questions and exams are discussed in broader terms on this page.
The questions-service currently generates gap-fill questions with multiple choices.
The service is designed to consume a large amount of text and generate a list of questions. In terms of SlideWiki, the large text would equate to the entire deck's content. The service makes use of DBPediaSpotlight to annotate the text and find DBPedia resources that hold a relevance to the text.
Integration into SlideWiki
The questions service is designed in Java but runs in an isolated docker container and hence agrees to the microservice architecture followed in SlideWiki. It exposes REST endpoints for the rest of SlideWiki to consume.
For question generation, the deckservice would be called for getting all slides of the deck. The HTML of the slides would be parsed and the text content would be extracted.