Getting started¶
Accessing the data¶
The latest version of the Cinema Context RDF data is stored in the CREATE Endpoint that also provides a YASGUI query interface. Queries can be directed at https://data.create.humanities.uva.nl/sparql.
Cinema Context in a named graph (context)
You should specify a named graph in the CREATE endpoint, namely <https://data.create.humanities.uva.nl/id/cinemacontext/>
when firing queries on the Cinema Context data in the CREATE endpoint. This is to separate the Cinema Context data from other datasets that also reside in the endpoint and to prevent interferance with similar or possibly conflicting statements from other datasets.
You can copy-paste this query as a starting point:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT * WHERE {
GRAPH <https://data.create.humanities.uva.nl/id/cinemacontext/> {
?sub ?pred ?obj .
}
} LIMIT 10
Dereferenceability (clickable and resolvable URIs)
In Linked Data it is good practice to make your URIs clickable. This helps in understanding the identity of the entity you’re describing as you can simply “follow your nose” in discovering more about it. As of 2020, some of the Cinema Context URIs are clickable and resolvable. These are the compact URIs ending with B (Cinemas), F (Films), P (Persons), R (Organizations), and V (Events), followed by a zero padded id. For now, you are redirected to the Cinema Context website.
Obtaining the data¶
Alternatively, you can set up your own triple store to fire queries on your own (local) endpoint. Keep in mind that you still have to query the named graph <https://data.create.humanities.uva.nl/id/cinemacontext/>
when you load this data (depending on your store).
Latest version and version history¶
Check the releases page in the repository for all releases.
Introduction into sparql¶
A basic introduction into writing sparql queries can be found here or here. For a more elaborate introduction and guide, we recommend Bob DuCharme’s Learning SPARQL.