[xhtml]

OWL and Ontologies

R. Alexander Milowski

School of Information Management and Systems

milowski at sims.berkeley.edu

#1

RDF

#2

OWL

#3

Meaning?

#4

RDF Triples

#5

RDF Triples - Example Graph

Figure 1. Figure

#6

RDF Example Graph

Figure 2. Figure

#7

RDF Example Inferences

Figure 3. Figure

#8

RDF Example in One RDF/XML Document

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:ex="urn:publicid:IDN+cde.berkeley.edu:rdf:ex" >
<ex:University rdf:about="http://www.berkeley.edu">
 <ex:name>UC Berkeley</ex:name>
 <ex:contains>
 <ex:School rdf:about="http://sims.berkeley.edu">
  <ex:name>SIMS</ex:name>
  <ex:offers>
   <ex:Class rdf:about="http://www.sims.berkeley.edu/academics/courses/is290-8/s04/">
    <ex:name>XML and Related Technologies</ex:name>
    <ex:student>Jane Smith</ex:student>
    <ex:student>John Doe</ex:student>
   </ex:Class>
  </ex:offers>
 </ex:School>
 </ex:contains>
</ex:University>
<ex:Instructor rdf:about="http://www.milowski.com">
 <ex:name>Alex Milowski</ex:name>
 <ex:teaches rdf:resource="http://www.sims.berkeley.edu/academics/courses/is290-8/s04/"/>
</ex:Instructor>
</rdf:RDF>

#9

RDF Example in Two RDF/XML Document

First document about the university:

<ex:University rdf:about="http://www.berkeley.edu" 
               xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
 <ex:name>UC Berkeley</ex:name>
 <ex:contains>
 <ex:School rdf:about="http://sims.berkeley.edu">
  <ex:name>SIMS</ex:name>
  <ex:offers>
   <ex:Class rdf:about="http://www.sims.berkeley.edu/academics/courses/is290-8/s04/">
    <ex:name>XML and Related Technologies</ex:name>
    <ex:student>Jane Smith</ex:student>
    <ex:student>John Doe</ex:student>
   </ex:Class>
  </ex:offers>
 </ex:School>
 </ex:contains>
</ex:University>

Second document about the instructor:

<ex:Instructor rdf:about="http://www.milowski.com"
               xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
 <ex:name>Alex Milowski</ex:name>
 <ex:teaches rdf:resource="http://www.sims.berkeley.edu/academics/courses/is290-8/s04/"/>
</ex:Instructor>