-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add G/S/B totals to Oly Medals query #172
Comments
I thought this would be simple @bquinn but I'm out of practice here and can't figure out how to represent gold, silver and bronze medal totals in the schema based on this:
This is a nice-to-have, albeit a significant one. Not a showstopper for the data because it could be queried from the individual medal events rather than this aggregate report. So we could leave it for later unless you see some obvious solution. CC: @awanczowski @silveroliver |
Thinking of a few synonyms for awards. Perhaps keepsake or prize works.
|
Thanks. This means we'd need a new property like hasAward. How can anyone have a total of four 2023 Stanley Cups? Do you mean all time for a team? And how do show the total gold medals for, say, the 2022 Olympics for USA? |
I think I misunderstood the use of total. I corrected the example. Originally, I had the number of wins in the final to get the trophy. But, that shouldn't be attached to the award. So, the Award would have these properties and then a relationship to the Participation would be needed. hasAward sounds good to me. |
I guess to represent the overall performance of the US Olympic Team at the 2020 Olympics, we need something to go in the TeamParticipation object (actually CompetitorParticipation would make the most sense because we might be talking about teams or individual athletes). BQ option 1 for aggregate medalsIsn't it kind of like home games and away games in a football standings table? For those we use a ParticipationSplit. So we could have
BQ option 2 for aggregate medalsor we could say that's equivalent to "wins", "losses" and "ties" in a league table, and we define stats properties for them...
|
Currently we only have ranking in the data for the medals table query and use case. Would be nice (and important) to display medal totals and breakdown by gold, silver and bronze. Here's the current output:
| compName | teamName | rank |
| "2020 Tokyo Summer Olympics" | "People's Republic of China" | 1 |
| "2020 Tokyo Summer Olympics" | "Japan" | 2 |
| "2020 Tokyo Summer Olympics" | "Republic of Korea" | 3 |
| "2020 Tokyo Summer Olympics" | "Ecuador" | 4 |
| "2020 Tokyo Summer Olympics" | "Hungary" | 4 |
| "2020 Tokyo Summer Olympics" | "Islamic Republic of Iran" | 4 |
The text was updated successfully, but these errors were encountered: