Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question MicroService #43

Closed
didierrc opened this issue Mar 5, 2024 · 3 comments · Fixed by #48
Closed

Question MicroService #43

didierrc opened this issue Mar 5, 2024 · 3 comments · Fixed by #48
Assignees
Labels
enhancement New feature or request

Comments

@didierrc
Copy link
Contributor

didierrc commented Mar 5, 2024

Implement the Question generator to
be used to show all questions in game.

  • Must use WikiData API (using the SPARQL language)
  • Must retrieve n random questions
@didierrc didierrc added the enhancement New feature or request label Mar 5, 2024
@Raulms29
Copy link
Contributor

Raulms29 commented Mar 5, 2024

I have just made a push containing a possible implementation for some templates. In the file on which they are defined I also included comments with some important considerations about them. Please read them if you have the time.

@Raulms29
Copy link
Contributor

Raulms29 commented Mar 6, 2024

I included a few more templates. We probably have enough of them for our first prototype, but we should work on the future on more of them and probably make some changes on how they work. But as I mentioned before, I believe they are enough for a first prototype.

@didierrc
Copy link
Contributor Author

didierrc commented Mar 6, 2024

Completely true! Although you forgot to save ones into DB!! But just I minor thing.
Also, I have renamed the "question_type_entities" to just "entities" to keep it simpler.
Up to now I also have pushed a newer implementation of the Question generation!! Now it does
correctly return all the questions. Although, there are some minor details to be fixed as they are in
TODO comments.
Screenshot 2024-03-06 233052

@didierrc didierrc linked a pull request Mar 10, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants