|
|
HTW Berlin
Fachbereich 4
Internationaler Studiengang
Internationale Medieninformatik (Master)
Semantic Modeling
Summer Term 2025
|
Lab 2: Hello
Semantic Web
- I hate Hello World. But this is so
complex, we are going to have to say hello a bit. We will be
doing the "Hello Semantic Web World" exercise from Hebeler et al
in Chapter 2 (18 MB! Also in Moodle). See Moodle for a copy of
the exercise! You need to have installed:
- Java 1.8 Software Development Kit
- Eclipse Integrated Development Environment 3.5
- Protégé Ontology
Editor
- Jena Semantic Web
Framework
- Pellet Ontology
Reasoner
- Now, don't worry if you don't
understand exactly what you are doing. We're looking at a worked
example here. Set up a HelloSemanticWeb project and a
HelloSemanticWeb class and add all the jars to your classpath.
- Set up the Friend of a Friend (FOAF) ontology and
search for yourself.
- Search for your friends and say hello
to them.
- Add new friends with the Person
ontology and say hello to everyone.
- Oops, the ontology needs to be
semantically aligned, add alignment statements and say hello to
everyone.
- Now just say hello to your email
friends.
- Now just say hello to your friends who
have a gmail account.
- Say good-bye to all of your friends.
- (If you want to experiment more)
Generate yourself and some friends with the FOAF-a-Matic
and see if this example still works.
Prepare a report detailing what you did to
get this working. You should work in groups of 2 or 3. Submit your
written report (everyone should have their own copy submitted) to
the Moodle area by 22.00 the evening before our next session. We
will discuss it at the start of class.
Some rights reserved. CC-BY-NC
Prof. Dr. Debora Weber-Wulff
Questions or comments:
<weberwu@htw-berlin.de>