Spis treści

RDF

Before the lab

See rdf1.

Lab instructions 2

semantic vocabularies

Predefined properties for describing some domain are called semantic vocabularies.

  1. Have a look at rdf_dublin for describing documents.
    • create a dublin core file for your favourite book
  2. Read about the Friend of a Friend project
    • create your own foaf file as directed on the page Foaf Examples
    • add at least ten friends of yours - give at least information about their e-mail addresses, homepages and age.
    • for start you can use foaf-a-matic to create minimalFoafDocument

SPARQL

Reading

Basics

  1. Go to the sparql demo page, analyze and run existing examples
  2. Run Twinkle (on charon: type twinkle in a terminal) and execute queries on your foaf file to retrieve :
    • friends who have name and e-mail defined
    • friends who have name and e-mail defined and optional homepage
    • friends who have name and e-mail defined and optional homepage, sorted by name descending
    • friends whose name starts with 'K'
    • friends who are older than 18 years old
    • friends whose name starts with 'K' or are older than 18 years old, make search caseinsensitive
    • friends having e-mails on student.agh.edu.pl server
    • name of friends, who have homepage or e-mail on student.agh.edu.pl server

DBpedia

  1. Analyze and run example queries from here
  2. Ask DbPedia about:
    • Universites in Krakow
    • Polish football players

Komentarze

Z braku lepszego miejsca tutaj studenci wpisują komentarze natury ogólnej do tego lab. 8-)