Solutions to "Just KNIME It!" Challenge 11 - Season 3

:sun_with_face: Another Wednesday, another Just KNIME It! challenge! :sun_with_face: This week is especially “game-y” too, since the 2024 Summer Olympics start this Friday :medal_sports: in Paris! :star_struck:

:exploding_head: To celebrate it and get in the right mood for the Games, how about some data-driven Olympic trivia? :eyes:

Here is the challenge. Let’s use this thread to post our solutions to it, which should be uploaded to your public KNIME Hub spaces with tag JKISeason3-11.

:sos: Need help with tags? To add tag JKISeason3-11 to your workflow, go to the description panel in KNIME Analytics Platform, click the pencil to edit it, and you will see the option for adding tags right there. :slight_smile: Let us know if you have any problems!

1 Like

Hi @alinebessa, I have a quick question.
Is it intentional that Singapore has different NOCs between the athlete_events and noc_regions data?

It says SIN in noc_regions but SGP in athlete_events.

athlete_events:

noc_regions:

Thank you!

2 Likes

Here’s my solution. I intentionally did not update countries whose names have changed on the grounds that the original country won the medals at the time of the games.

3 Likes

Hi @alinebessa :wave: :slightly_smiling_face:

Tonight, Jakarta time, I have completed version 1.0 of my solution for the JKISeason3-11 challenge. You can access the solution through this link, JKISeason3-11 arief_rama – KNIME Community Hub

Happy KNIME’ing from Indonesia :indonesia: :ninja:

4 Likes

Here we go with my solution.

I tried to go a more non-standard, yet effective way for the second questions - let set operations shine :slight_smile:

4 Likes

Hello everyone,This is my solution.

Some explanations:

  1. In the dictionary corresponding to the region of the “NOC” code, I think there might be an error in a certain code, so I corrected it.
  2. The “NOC” codes of certain regions or countries have changed historically. To simplify, when grouping, it is grouped by region instead of “NOC”.
  3. I also used set operations :smiley:.

4 Likes

Here is my submission for this challenge. It actually requires a simple approach, but I wanted to challenge myself to create a dynamic dashboard. I’ve been inspired by @skybe077 submission on Challenge 6. Learning by doing is a must! :v:

The trivia questions can be answered using the nodes marked in green. The remaining nodes are for the dynamic dashboard. There are many surprises during exploring the data. Finally I can provide to you my works



Ahmad Ulfi Jihad Dzulqornain
Bachelor Degree of Statistics
Let’s Connect!

5 Likes

Hello,
here is my solution for this challenge.

Question1:
Russia
grafik

Question2:
Rugby Sevens

Question3:
Charles Jacobus


5 Likes

Hi all,
Here is my solution.

In the first question, I tabulated the data into two categories: NOC and region. The aggregation results for the regions were visualized on a Choropleth Map.


7 Likes

Which extensions should we install for this type of map and how should we make the dashboards?

I divided this challenge into three workflows, i was not able to upload all the part into single workflow, so i divided into three parts,

Part one is to find the top 5 countries average medal winnings based on total number of players who attended the Olympics

1.OlympicTriviapart1 – KNIME Community Hub

  1. Olympic Trivia part2 – KNIME Community Hub
    The debut sport in the 2016 Rio was Ruby Sevens. , added the images from Google.
  1. olympictriviapart3 – KNIME Community Hub
    I found the oldest medal winner in the Olympics was Charles Jacob, and the other two persons were female. , found the images from the Olympic data and downloaded them.



4 Likes

Hi all,
This is my solution.

I made very simple one.


5 Likes

Interesting! I would personally consider both as the same, and preprocess the data to handle it by replacing, e.g., SGP with SIN. @michele_bassa Any suggestions here, as the author of this challenge? :slight_smile:

1 Like

Yeah, and I think that’s what almost all the participants did too.

Here’s a little update on my submission, just realized I calculated it wrong before to determine the highest average and oldest gold medalist :man_facepalming:

5 Likes

Singapore has two different codes, each representing a different meaning:

SIN:

SIN is the IATA three-letter code for Singapore Changi International Airport. IATA codes are commonly used for communication between airlines and airports in flight identification and reservation systems. Changi Airport is the main international airport of Singapore and one of the busiest airports in the world.

SGP:

SGP is the ISO 3166-1 alpha-3 country code for Singapore. ISO 3166-1 is an international standard that defines a set of codes for every country and region in the world. SGP is used in various international contexts, such as sports events (like the Olympics), international trade documents, internet domain names, geostatistics, etc.

To summarize:

SIN is mainly used in the aviation industry, specifically referring to Changi International Airport.
SGP is used to represent the country of Singapore itself and is used in various international settings.

PS:The original dataset provided on Kaggle also has this problem, but the data provider has not corrected it either.

https://www.kaggle.com/datasets/heesoo37/120-years-of-olympic-history-athletes-and-results/discussion/71523

6 Likes

My solution to the challange:

I really like these “detective” like challenges on these big datasets! :slight_smile:

7 Likes

Hello @ JKIers
Here it’s my take for the Olympic Trivia event. A bit raw about the format, for the time being:

For the question 1, my answer is ‘USSR’ 43.3 %:

For the question 2, my answer - debutant sport is ‘Rugby Sevens’:
image

For the question 3, my answers are Charles Jacobus 64 (Gold medal in Roque), and Oscar Gomer Swahn 64 (Gold medal in Shooting)

keep it coding :vulcan_salute:t4:

4 Likes

The map that @jm1950sjr used I think is based on this shared component:

You can drag and drop it into your KAP and should extensions be required KAP will prompt you to install them.

5 Likes

Hello everyone,
My workflow is similar to @RBre’s using heatmap to get an overview of the years in which each sport was held. The first year was marked in dark red. Thanks.



4 Likes

Sharing my submission … Bit late thought and the Q1 need more clarity

5 Likes