Tutorial Webpage for

Lecture Cloud- and Web-Technologies

Loading...

Login

Please use user and password as given in the lecture! Please copy the editor's content, as it will be lost due to reloading of the page for the purpose of login.

Username:

Password:

Flink/DataSet API - Mr. Magic Sets and his friends

Please compute the result of the "friend query" with the use of DataSet API, which determines all information about "Magic Sets" and the names of his (direct) friends. A corresponding SPARQL query looks like:

SELECT *
WHERE {
 ?magic_s <http://xmlns.com/foaf/0.1/name> "Magic Sets".
 ?magic_s ?foo_p ?foo_o.
 ?magic_s <http://xmlns.com/foaf/0.1/knows> ?friend_s.
 ?friend_s <http://xmlns.com/foaf/0.1/name> ?friend_name.
}

Data

The following data of the file data.csv is given:

Editor

Please use the following editor for your exercise. You can run the content of the editor by clicking on the tab 'Run'...

Output of Editor Content

The result of running the editor content is as follows:

Output of the Solution

The output of the solution is as follows:

Solution

Please have a look at the solution only after you have finished working on your own solution. Otherwise the learn effect is much less.