q-wiki / q-wiki-server

Q-Wiki is a Wikidata based game (Unity front-end with ASP.NET Core back-end) developed by HTW Berlin students in cooperation with Wikimedia Germany.
GNU General Public License v3.0
2 stars 0 forks source link

Problems with chancelor question because we might have multiple chancelors in a year #60

Closed rrrnld closed 5 years ago

rrrnld commented 5 years ago

The question goes like this:

https://github.com/q-wiki/q-wiki-server/blob/8a9ac139e2cd9db0e5ce8cc72c218b63474b389b/WikidataGame/WikidataGame.Backend/Migrations/20190710215550_AddHistoryCategory.cs#L128-L142

The problem is that there are years where we have more than one chancellor (namely 1974, where we have Walter Scheel, who was vice-chancellor and acting chancellor in that year and Helmut Schmidt who succeeded him), see the the response for this query here.

rrrnld commented 5 years ago

Nevermind. Because the question goes like "who was chancelor from 1974 - 1974" this actually works! It's just weirdly phrased.

rrrnld commented 5 years ago

You can see the pull request in #61