0% found this document useful (0 votes)
37 views3 pages

Exercise Sheet 3

This document contains information about an exercise sheet for a lab course on Semantic Web Technologies. It lists 4 exercises: 1) expanding a webpage about an event series with RDFa and Schema.org annotations, 2) determining the types of resources in some given RDF triples, 3) modeling entities and classes from a news article about European museum passes in RDF using Turtle syntax, and 4) adding facts to a knowledge base and determining the types of certain entities in the knowledge base. Students are expected to present and discuss their solutions to the exercises in a lab course session on November 19th, 2014.

Uploaded by

phil_die2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views3 pages

Exercise Sheet 3

This document contains information about an exercise sheet for a lab course on Semantic Web Technologies. It lists 4 exercises: 1) expanding a webpage about an event series with RDFa and Schema.org annotations, 2) determining the types of resources in some given RDF triples, 3) modeling entities and classes from a news article about European museum passes in RDF using Turtle syntax, and 4) adding facts to a knowledge base and determining the types of certain entities in the knowledge base. Students are expected to present and discuss their solutions to the exercises in a lab course session on November 19th, 2014.

Uploaded by

phil_die2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Winter Semester 2014/15

Lab course for Lecture


Semantic Web Technologies

Hasso Plattner Institute


University of Potsdam
Dr. Harald Sack,
Magnus Knuth, Dinesh Reddy, Tamara Bobic
{harald.sack |
magnus.knuth | dinesh.reddy | tamara.bobic}
@hpi.de

Exercise Sheet 3

You should be able to present, to explain, and to discuss exercise solutions in the session to all
participants in the lab course session on 19.11.2014.

Exercise 1:
Expand a copy of the HPI Soft-Skills-Kolloquium-page1 (a) with RDFa and (b) with Schema.org, to
include and semantically distinguish individual events including theme, speaker, location, time etc.
For the RDFa annotations use most commonly used RDF vocabularies that are appropriate for that use
case and justify your choice.
Exercise 2:
The following knowledge base is given:
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ex: <http://example.org/Example#> .
ex:loves rdf:type rdf:Property .
ex:loves rdfs:domain ex:Lover .
ex:loves rdfs:range ex:Beloved .
Determine the types of resources with the names MatchMe (respectively matchMe) from the following
triples:
ex:MatchMe rdf:rest ex:Something .
ex:Something ex:loves ex:MatchMe .
ex:MatchMe ex:loves ex:Something .
ex:Something rdf:type ex:MatchMe .
ex:Something rdfs:label "MatchMe" .
ex:Something ex:matchMe "other" .
ex:MatchMe rdf:predicate ex:Something .
ex:MatchMe rdf:type ex:Something .
The following types are available: rdfs:Literal, rdf:Property, ex:Lover, ex:Beloved, rdfs:Class,
ex:Something, rdf:Statement, and rdf:List.

1 http://hpi.de/das-hpi/veranstaltungen/hpi-veranstaltungen/soft-skills-kolloquium.html

Exercise 3:
Describe the essential entities and classes of the New York Times article Are European Museum Passes Worth the Money? 2 with RDF(S) using Turtle syntax. Use the namespace nyt:
<http://example.org/nytimes/> for the properties validityPeriod, price, includesAdmission,
discountsAdmission, etc. Think of URIs for the given entities and classes. Try to model the facts
in a consistent way so that you can discern which card saves you how much on which attractions.
Exercise 4:
The Figure 1 represents a knowledge base. Which types do the following entities have (also consider
RDFS inference):
dbo:Breaking_Bad
ex:Teacher
ex:DrugDealer
ex:Winnebago
Please add the following facts to the knowledge base (in RDF Turtle syntax).
All actors are also persons.
The property dbo:spouse is intended to be used as a relation between persons.
A fictional character is not a person.

http://www.nytimes.com/2014/11/04/travel/are-european-museum-passes-worth-the-money.html

Figure 1: RDF(S)-Graph

You might also like