These queries use a resource called the linkedMDB, the Linked Movie Database. It is a simple translation of a relational database about movies into RDF. It hasn't been maintained for a while, but it is still good for making examples. Because it was a relational database, it has some interseting foibles that we explore in these queries.

The data for these queries can be dowloaded from linkedMDB.ttl, as well as the data from the output of the previous query.

Query ch6.42 Self-directing Actors visit query on data.world

In the previous query, we saved our contructed crosswalk into DirectorActorCrosswalk. In this query, we use that to find films that were directed by someone who also acted in the film. We need the crosswalk, since linkedMDB keeps separate identities for directors and actors. Notice that we don't need to understand how Query 6.41 determined that a director was "the same as" an actor, and indeed, we could draw on many sources for that information.