Table of Contents

Semantic mashups

Prepare yourself for the lab

Lab instructions

At the end of the lab, each group should email their third project to the teacher. It is a semantic mashup created during this lab - it will probably consists of one Jupyter Notebook (to download it, click in Google Colab: File > Download > Download .ipynb).

During this lab, we want to create a semantic mashup, which is simply a combination of two or more knowledge graphs that together give us some new quality.
Do not be scared – this will be your second mashup! You did the first one during Libraries: owlready2 (Python) lab, when you combined data from Wikidata and DBpedia.

  1. Select two or more interesting datasets which will be the basis of the mashup
    • You can choose any of the datasets mentioned in the lecture, in the Learn more! section or select the datasets yourself using LOD Cloud, DataHub or ProgrammableWeb.
    • At least one dataset must be based on RDF.
    • It must be possible to link datasets together, e.g., using the same URIs (as in our first mashup)
  2. Explore the selected datasets – which data parts will work well together?
  3. Mashups are more interesting when you can interact with them by giving some input, e.g., date, band name, country, to be searched. Identify such a thing for your mashup.
    • You can assume that the data will always be correct: the name will belong to an existing country, the date will be correctly formatted, etc.
  4. Implement the whole interaction.
    • You can start with the code from the Libraries: owlready2 (Python) lab.
    • It may simply be a sequence of cells that perform the appropriate actions.
    • Input can simply be typed as the value of one of the variables (there is no time to create the UI).
  5. Can the results be presented in any better form than plain text? Maybe a table / chart / plotting points on a map / image / links / simple html?

Learn more!

Mashups Programming

Interesting datasets