RDF

Before the lab

Reading:

Further reading:

Control questions:

  • what are:
    • resources,
    • properties,
    • statesmets.
  • what does RDF use to identify resources?
  • what are the required elements of RDF file?
  • what are namespaces, how they are defined and what they are used for?
  • what listed tags are used for:
    • <rdf:Description>
    • <rdf:about>
    • <rdf:resource>
    • <rdf:type>
  • what container elements are available in RDF?
  • what is RDF Schema?
  • what are core RDFS Classes and properties?
  • how constraints on domain and range of properties are added?

Lab instructions 1

Basic RDF and RDFS concepts

  1. RDF: Develop the example from XML labs, which describes your faculty:
    • choose which elements from your example are resources and define it using rdf:Description tag
    • add your own namespace to the document and put into it all the properties
    • use a container element to group students from one faculty
    • after changes validate your example on the page RDF Validator from w3.org and analyze generated graph
    • turn two of your statements into resources using rdf:Statement tag
  2. RDFS Schema: In a new file create RDF Schema class and properties hierarchy:
    • define classes for all existing resources - use rdfs:Class tag
    • with rdf:Property tag create properties for all informations about resources (like _name_of_the_faculty, group_id etc.), define domain and range for each property
  3. Linking RDF with RDF Schema
    • save your rdf file from the first exercise as a new file
    • edit the file to use elements from the RDF Schema file from the second exercise
  4. Look at prepared graph1) representing some relations:
  5. Read about entailment rules in the RDF Semantics recommendation, Section 7
    • using the RDFS entailment rules: rdfs2, rdfs3, rdfs5, rdfs7, rdfs9, and rdfs11 determine what triples can be inferred from the example in the previous exercise.

RDFStore

An RDF store (or triple store) is a system for storing and managing RDF data. List of tripe stores can be found on the page SemanticWeb.org or in wikipedia.org

  1. Browse the DBPedia content starting from one of the listed examples.

Komentarze

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

1)
example taken from cse homeworks
pl/dydaktyka/piw/2010/sw/rdf1.txt · ostatnio zmienione: 2019/06/27 15:50 (edycja zewnętrzna)
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0