- CS-E4410
- 2. Producing RDF data and RDFS ontologies
- 2.2 Exploring and reading Linked Data
Exploring and reading Linked Data¶
Explore the resource Helsinki in DBpedia by opening the URI that identifies the RDF resource http://dbpedia.org/resource/Helsinki in a web browser. This leads by a redirection to a Linked Data browser, which displays the resource’s properties and their values in a human-readable format.
In this assignment you will get aquainted with the RDF serialization of the DBpedia resource Helsinki. You can use a HTTP client to get to download the data, but a simler way is to go to the resource page at http://dbpedia.org/resource/Helsinki, click formats on top of the page and choose turtle. Direct link to the Turtle representation of the Helsinki resource is https://dbpedia.org/data/Helsinki.ttl
If your computer has the wget tool or similar HTTP client installed
(the assignment session computer class Windows computers don’t have), send an
HTTP request to the URI of Helsinki, http://dbpedia.org/resource/Helsinki.
Set a suitable Accept header (HTTP header) to get the response in RDF format.
For example wget parameter --header="Accept: text/turtle"
gives the response
serialized in the Turtle format. You will see from the wget output that the
requested RDF serialization was returned through a redirection (HTTP 303 See Other).
If your computer doesn’t have wget installed and you don’t want to install it,
you can establish an SSH connection to an Aalto University general purpose server,
for example kosh.aalto.fi, and run the command there. Your Aalto Windows home
directory is visible on kosh.aalto.fi at directory ‘../data’ so you can save
the wget output there and examine it in Windows.