Table of Contents

Beyond the Semantic Web

Prepare yourself for the lab

Lab instructions

1. Introduction to Cypher [45 minutes]

  1. Select any 5 nodes​
  2. Select any 5 relations​
  3. Select subject, predicate and object for 5 triples​
  4. Find one Person​
  5. Find Person named 'Tom Hanks'
  6. Find movies in which Tom Hanks acted​
  7. Find co-actors of Tom Hanks​
  8. Find the path between the Tom Hanks and Meg Ryan​
  9. Find title and release date of movies in which Tom Hanks acted (see Q6)​
  10. Sort the movies (from Q9) by release date (descending order)​
  11. Select only movies released in the 1990s (from Q10)​
  12. Count these movies (from Q11)!

2. Introduction to GraphQL [35 minutes]

  1. First of all, run the default query (loaded when the playground starts)
  2. But wait, how do one find out which fields are available in the dataset?
    • Use the Introspection to query the schema to get the information about possible values for Country class!

3. The Graph of Thrones [any time]

Learn more!

Cypher

GraphQL