RDF
Before the lab
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
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
-
turn two of your statements into resources using rdf:Statement tag
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
Linking RDF with RDF Schema
Look at prepared graph
1) representing some relations:
-
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
-
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.