Answers.Body: <p>One simple approach to consider would be storing each statement as a template made in advance.</p>
  
  <ul>
  <li><p>Will there be <code>less/more</code> than <code>x</code> goals scored in the match?</p></li>
  <li><p>Will <code>player</code> score a goal during the match?</p></li>
  <li><p>...</p></li>
  </ul>
  
  <p>The system will pick a random statement and will fill the variable fields with some statistically generated data between <code>teamA</code> and <code>teamB</code>; here you have your question.</p>
  
  <hr>
  
  <p><strong>Example</strong>: <em>Will there be <code>less/more</code> than <code>x</code> goals scored in the match?</em></p>
  
  <ul>
  <li><code>less/more</code> fragment may be random</li>
  <li><code>x</code> may be the mean of the goals scored considering all the matches between <code>teamA</code> and <code>teamB</code></li>
  </ul>
  
  <hr>
  
  <p><strong>Example</strong>: <em>Will <code>player</code> score a goal during the match?</em></p>
  
  <ul>
  <li><code>player</code> may be a random choice between the top-goalscorer of <code>teamA</code> or <code>teamB</code></li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-22T13:06:59.197Z
Answers.Text: It seems like a good idea, I think I'll give it a try, but for the moment I'll wait for more possible solutions before mark your answer as the good one. Thanks!
Answers.UserDisplayName: daniegarcia254
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-22T13:25:16.993Z
Answers.Text: Your welcome. Personally I tend to avoid AI if it is not strictly necessary. If I'm not mistaken, using an AI based approach would mean retraining your model daily with the data of the new matches; that's probably an overkill. We'll see, I'm curious about clever AI solutions.
Answers.UserDisplayName: Lovecraft
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-22T15:41:03.813Z
Answers.Text: You can use historical data like average no. of goals in the season, player statistics, etc to generate questions that would seem more real! For example, if a team has scored on average 3 goals in the season till now, the question could be "Will there be more than 3 goals scored in the match?" Or suppose if a player A scored no goals as a striker, "Will A score a goal today?"
Answers.UserDisplayName: kiner_shah
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-21T12:27:53.393Z
Answers.LastActivityDate: 2017-01-21T12:27:53.393Z
Answers.UserDisplayName: Lovecraft
Body: <p>I confront to the next scenario:</p>
  <blockquote>
  <p>Let's say I have stored data about football matches between different teams: lineups, scorers, yellow cards, and many other events.</p>
  <p>I need to generate everyday some questions about the matches that will be played on that day. So, if I give an input of two teams, I would like a related question to be generated, based on previous data of matches between those two teams.</p>
  <p>For example, if my input are <em>&quot;TeamA&quot;</em> and <em>&quot;TeamB&quot;</em>, I would expect a question of the type:</p>
  <ul>
  <li><p><em>&quot;Will there be less than 2 goals scored in the match?&quot;</em>&quot;</p>
  </li>
  <li><p>&quot;<em>Will PlayerX score a goal during the match?&quot;</em></p>
  </li>
  </ul>
  <p>Of course I expect these questions to make sense based on previous data from matches between the two given teams.</p>
  </blockquote>
  <p>So, my questions are:</p>
  <ul>
  <li>Would be a good solution to use AI to generate these questions? It would make sense?</li>
  <li>What would be the best approach?</li>
  </ul>
  
Tags: <machine-learning><gaming><natural-language-processing>
Title: Could AI be used to generate questions from a database input?
UserDisplayName: daniegarcia254
ThreadText: # Could AI be used to generate questions from a database input?
  
  (Asked by: username_0 on 2017-01-21)
  
  I confront to the next scenario:
  
  > Let's say I have stored data about football matches between different teams: lineups, scorers, yellow cards, and many other events.
  >
  > I need to generate everyday some questions about the matches that will be played on that day. So, if I give an input of two teams, I would like a related question to be generated, based on previous data of matches between those two teams.
  >
  > For example, if my input are *"TeamA"* and *"TeamB"*, I would expect a question of the type:
  >
  > * *"Will there be less than 2 goals scored in the match?"*"
  > * "*Will PlayerX score a goal during the match?"*
  >
  > Of course I expect these questions to make sense based on previous data from matches between the two given teams.
  
  So, my questions are:
  
  * Would be a good solution to use AI to generate these questions? It would make sense?
  * What would be the best approach?
  
  **Tags:** machine-learning, gaming, natural-language-processing
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-01-21. Score: 3
  
  One simple approach to consider would be storing each statement as a template made in advance.
  
  * Will there be `less/more` than `x` goals scored in the match?
  * Will `player` score a goal during the match?
  * ...
  
  The system will pick a random statement and will fill the variable fields with some statistically generated data between `teamA` and `teamB`; here you have your question.
  
  ---
  
  **Example**: *Will there be `less/more` than `x` goals scored in the match?*
  
  * `less/more` fragment may be random
  * `x` may be the mean of the goals scored considering all the matches between `teamA` and `teamB`
  
  ---
  
  **Example**: *Will `player` score a goal during the match?*
  
  * `player` may be a random choice between the top-goalscorer of `teamA` or `teamB`
  
  > **Comments:**
  > **username_0**: It seems like a good idea, I think I'll give it a try, but for the moment I'll wait for more possible solutions before mark your answer as the good one. Thanks!  
  > **username_1**: Your welcome. Personally I tend to avoid AI if it is not strictly necessary. If I'm not mistaken, using an AI based approach would mean retraining your model daily with the data of the new matches; that's probably an overkill. We'll see, I'm curious about clever AI solutions.  
  > **username_2**: You can use historical data like average no. of goals in the season, player statistics, etc to generate questions that would seem more real! For example, if a team has scored on average 3 goals in the season till now, the question could be "Will there be more than 3 goals scored in the match?" Or suppose if a player A scored no goals as a striker, "Will A score a goal today?"  
  
  ---
  
  