SlideShare une entreprise Scribd logo
1  sur  81
Open Standards for the
   Semantic Web
 XML / RDF(S) / OWL / SOAP


    © 2004 Pieter De Leenheer
Data About ...
<?xml version=quot;1.0quot;?>
<rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;>
           xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;>
<rdf:Description rdf:about=       quot;http://www.starlab.vub.ac.be/
staff/pdeleenheer/teaching/infosys/XML_RDF_RDFS_OWL_SOAP.pdf”>
  <dc:title>XML / RDF / RDFS / OWL / SOAP</dc:title>
  <dc:creator>Pieter De Leenheer </dc:creator>
  <dc:coverage>Informatiesystemen</dc:coverage>
  <dc:subject>
   <rdf:Bag>
     <rdf:li>XML</rdf:li>
     <rdf:li>RDF</rdf:li>
     <rdf:li>RDFS</rdf:li>
     <rdf:li>OWL</rdf:li>
     <rdf:li>SOAP</rdf:li>
   </rdf:Bag>
  </dc:subject>
</rdf:Description>
</rdf:RDF>
Lecture Outline today
•   Once upon a time there was XML

•   W3C Open Standards Compliance

•   Resource Description Framework (RDF)

•   RDF versus XML

•   RDF Schema (RDFS)

•   RDF triples versus DOGMA lexons

•   Simple Object Access Protocol

•   Online RDF services and tools

•   RDFS Shortcomings: Web Ontology Language
Lecture outline next
           week

•   RDFS Semantics
•   Web Ontology Language
•   Description Logics
eXtensible Markup Language
• XML is a meta- language
• XML stands for EXtensible Markup Language
• XML is a markup language much like HTML
• XML was designed to describe data
• XML tags are not predefined. You must define
  your own tags
• XML uses a Document Type Definition (DTD)
  or an XML Schema to describe the data
• XML with a DTD or XML Schema is designed
  to be self-descriptive
XML Specification

<?xml version=“1.0”?>
  <medicine-inventory>
     <medicine name=“asperin”>
           <author>Felix Hoffmann</author>
           <patent-date>1889/03/06/</patent-date>
     </medicine>
  </medicine-inventory>
XML Spec: XML declaration
<?xml version=“1.0”?>
 <medicine-inventory>
     <medicine name=“asperin”>
           <author>Felix Hoffmann</author>
          <patent-date>1889/03/06/</patent-date>
    </medicine>
                           The XML version and the
 </medicine-inventory>     character encoding used in the
                                document. In this case the document
                                conforms to the 1.0 specification of XML
                                and uses the ISO-8859-1 (Latin-1/West
                                European) character set.
XML Spec: root element
<?xml version=“1.0”?>
  <medicine-inventory>
      <medicine name=“asperin”>
            <author>Felix Hoffmann</author>
           <patent-date>1889/03/06/</patent-date>
     </medicine>            The root element of the
                            document: this Document describes
  </medicine-inventory>
                                   (or is) a medicine inventory
XML Spec: child elements
<?xml version=“1.0”?>
  <medicine-inventory>
     <medicine name=“asperin”>
            <author>Felix Hoffmann</author>
           <patent-date>1889/03/06/</patent-date>
     </medicine>
  </medicine-inventory>
                                                    Data of medicine

                       medicine has attribute   with value: name   = “asperin”




          A child element: medicine
XML Spec: tags (1)
<?xml version=“1.0”?>
  <medicine-inventory>
     <medicine name=“asperin”>
           <author>Felix Hoffmann</author>
           <patent-date>1889/03/06/</patent-date>
     </medicine>
  </medicine-inventory>                   Data of medicine


                                   Begin tag of an element
           End tag of an element
XML Spec: tags (2)
<?xml version=“1.0”?>
  <medicine-inventory>
      <medicine name=“asperin”>
               <author>Felix Hoffmann</author>
           <patent-date>1889/03/06/</patent-date>
     </medicine>
  </medicine-inventory>


                             Data of author

   Begin tag of an element                    End tag of an element
W3C Consortium
•   Vendor-independent
•   three host institutions (MIT/LCS in the USA, ERCIM
    headquarters in France, and Keio University in
    Japan).
•   Standardisation by recommendation
•   Goals:
      •   Universal Access: To make the Web accessible to all by
          promoting technologies that take into account the vast
          differences in culture, languages, education, ability, material
          resources, access devices, and physical limitations of users on
          all continents;
      •   Semantic Web: To develop a software environment that permits
          each user to make the best use of the resources available on the
          Web;
      •   Web of Trust: To guide the Web's development with careful
          consideration for the novel legal, commercial, and social issues
          raised by this technology.
•   Open source
Standards and Procedures
                    
              ■
 ■                             ■
                    SOAP
     CSS                           XHTML
              ■
 ■                             ■
                    SPARQL
     CGI                           XHTML+Voice
              ■
 ■                             ■
                    SMIL
     DOM                           XML
              ■
 ■                             ■
                    SRGS
     GRDDL                         XML Events
              ■
 ■                             ■
                    SSML
     HTML                          XML Information Set
              ■
 ■                             ■
                    VoiceXML
     OWL                           XML Schema
              ■
 ■                             ■
                    WCAG
     P3P                           XPath
              ■
 ■                             ■
                    WSDL
     RDF                           XQuery                1. Working Draft (WD)
              ■
 ■                             ■
                    XACML
     SVG                           XSLT
                                                         2. Last Call Working Draft
              ■
 ■                  XForms
     SISR
                                                         3. Candidate Recommendation
                 
      
                                                            (CR)
                                                         4. Proposed Recommendation
                                                            (PR)
                                                         5. W3C Recommendation (REC)
Resource Description Framework
•    RDF is not a language but a model
•    RDF is written in XML
•    RDF is a W3C standard
•    RDF is for describing resources on the web
•    RDF is designed to be read by computers
•    RDF is not designed for being displayed to people
•    RDF uses URIs to identify web resources
•    RDF uses property values to describe web resources
•    RDF uses the terms resources, properties, and values
•    RDF also uses the terms subject, predicates and
     objects
RDF: introducing example
<?xml version=quot;1.0quot;?>
<rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;

         xmlns:cd=quot;http://www.recshop.fake/cd#quot;>
       <rdf:Description rdf:about=quot;http://www.recshop.fake/cd/Empire
       Burlesquequot;>
               <cd:artist>Bob Dylan</cd:artist>
               <cd:country>USA</cd:country>
               <cd:company>Columbia</cd:company>
               <cd:price>10.90</cd:price>
               <cd:year>1985</cd:year>
       </rdf:Description>

       <rdf:Description rdf:about=quot;http://www.recshop.fake/cd/Hide
       your heartquot;>
               <cd:artist>Bonnie Tyler</cd:artist>
               <cd:country>UK</cd:country>
               <cd:company>CBS Records</cd:company>
               <cd:price>9.90</cd:price>
               <cd:year>1988</cd:year>
       </rdf:Description>
</rdf:RDF>
RDF building block
“STARLab” is the title of the website http://starlab.vub.ac.be
• Subject (Resource) - http://starlab.vub.ac.be
• Predicate (Property) – title
• Object (Literal) – “STARLab”
2 RDF statements
“STARLab” is the title of the website http://
  starlab.vub.ac.be, and is created by “Peter Spyns”
• Subject (Resource) - http://starlab.vub.ac.be
• Predicate (Property) – title
• Object (Literal) – “STARLab”


• Subject (Resource) - http://starlab.vub.ac.be
• Predicate (Property) – creator
• Object (Literal) – “Peter Spyns”


                                                   17
Nested RDF statements
Peter Spyns, whose phone is 4571 is the creator of the
  website http://starlab.vub.ac.be which has title
  “STARLab”.
RDF basic serialisation syntax
The RDF root element and namespace:

<?xml version=quot;1.0quot;?>


<rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;>
.
.
.
</rdf:RDF>
RDF Description
Attributes
 about – refers to a URI of an existing resource
 ID – signals the creation of a new resource (see later)
 <?xml version=quot;1.0quot;?>


 <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;>
        <rdf:Description rdf:about=quot;http://starlab.vub.ac.bequot;>
        .
        .
        .
        </rdf:Description>
 </rdf:RDF>
RDF Property (1)
 Property names must be associated with a
  schema
 Qualify property names with namespace prefix
 Value – description element or string
  <?xml version=quot;1.0quot;?>

  <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;
          xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;>
         <rdf:Description rdf:about=quot;http://starlab.vub.ac.bequot;>
                 <dc:title>STARLab</dc:title>
                 <dc:creator>Peter Spyns</dc:creator>
         .
         .
         .
         </rdf:Description>
  </rdf:RDF>
RDF Property (2)
 Property names must be associated with a
  schema
 Qualify property names with namespace prefix
 Value – description element or string
  <?xml version=quot;1.0quot;?>

  <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;
          xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;>
         <rdf:Description rdf:about=quot;http://starlab.vub.ac.bequot;>
                 <dc:title>STARLab</dc:title>
                 <dc:creator>
                         <rdf:Description>
                                <dc:name>Peter Spyns</dc:name>
                                <dc:phone>4571</dc:phone>
                         </rdf:Description>
                 </dc:creator>
         </rdf:Description>
  </rdf:RDF>
Marking value types
<?xml version=quot;1.0quot;?>

<rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;
        xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;>
       <rdf:Description rdf:about=quot;http://starlab.vub.ac.bequot;>
           <dc:title>STARLab</dc:title>
           <dc:alsoContains rdf:parseType=“Literal”>
                <h1>STARLab Official Homepage</h1>
           </dc:alsoContains>
       </rdf:Description>
</rdf:RDF>



                                  XML formatted value
Marking value types (2)
<?xml version=quot;1.0quot;?>

<rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;
        xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;>
       <rdf:Description rdf:about=quot;http://starlab.vub.ac.bequot;>
               <dc:title>STARLab</dc:title>
               <dc:lastUpdate>18</dc:lastUpdate>
               <dc:creator rdf:parseType=quot;Resourcequot;>
                       <dc:name>Peter Spyns</dc:name>
                       <dc:phone>4571</dc:phone>
               </dc:creator>
       </rdf:Description>
</rdf:RDF>                <dc:creator>
                            <rdf:Description>
                                <dc:name>Peter Spyns</dc:name>
                                <dc:phone>4571</dc:phone>
                            </rdf:Description>
                         </dc:creator>                24
Introducing structure in the data
Last update of the site was 18 months, days, years
  ago ????
<?xml version=quot;1.0quot;?>


<rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;
        xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;>
       <rdf:Description rdf:about=quot;http://starlab.vub.ac.bequot;>
               <dc:title>STARLab</dc:title>
               <dc:lastUpdate>18</dc:lastUpdate>
               <dc:creator>
                       <rdf:Description>
                              <dc:name>Peter Spyns</dc:name>
                              <dc:phone>4571</dc:phone>
                       </rdf:Description>
               </dc:creator>
       </rdf:Description>
</rdf:RDF>
Introducing structure in the data (2)
Candidate solution (I) causes a decoding problem:

<?xml version=quot;1.0quot;?>

<rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;
        xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;>
       <rdf:Description rdf:about=quot;http://starlab.vub.ac.bequot;>
               <dc:title>STARLab</dc:title>
               <dc:lastUpdate>18 days</dc:lastUpdate>
               <dc:creator>
                       <rdf:Description>
                              <dc:name>Peter Spyns</dc:name>
                              <dc:phone>4571</dc:phone>
                       </rdf:Description>
               </dc:creator>
       </rdf:Description>
</rdf:RDF>
Introducing structure in the data (3)
Candidate solution (II) refines the syntax, but ‘18’
 and ‘days’ are not related:
<?xml version=quot;1.0quot;?>

<rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;
        xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;>
       <rdf:Description rdf:about=quot;http://starlab.vub.ac.bequot;>
               <dc:title>STARLab</dc:title>
               <dc:lastUpdate>18</dc:lastUpdate>
               <dc:lastUpdateUnit>days</dc:lastUpdateUnit>
               <dc:creator>
                       <rdf:Description>
                              <dc:name>Peter Spyns</dc:name>
                              <dc:phone>4571</dc:phone>
                       </rdf:Description>
               </dc:creator>
       </rdf:Description>
</rdf:RDF>
Introducing structure in the data (4)
Candidate solution (III) introduces rdf:value field:
 the processor is signaled that the data itself is
 in this field  accepted as solution !
<?xml version=quot;1.0quot;?>

<rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;
        xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;>
   <rdf:Description rdf:about=quot;http://starlab.vub.ac.bequot;>
     <dc:title>STARLab</dc:title>
     <dc:lastUpdate rdf:parseType=“Resource”>
        <rdf:value>18</rdf:value>
        <dc:lastUpdateUnit>days</dc:lastUpdateUnit>
     </dc:lastUpdate>
     ...
</rdf:RDF>
RDF Visualisation
RDF vs. XML
                        <E1>
<E1>
                          <E2>
  <E2>
                             <E3>
     <URIref to E3>
                             ...
  </E2>
                             <E3>
</E1>
                          </E2>
                        </E1>
<E3>
...
</E3>            In RDF, the tree structure can be
                 broken down and distributed: this has
                 advantageous consequences...
                                                 30
RDF vs. XML (2)
RDF                         XML
                            • Needs to be cached
• Lazy loading, less
                              fully before use
  memory strain
                            • Comparable to
• Comparable to foreign
                              bilocation in
  keys in relational DBs
                              hierarchical DBs
• Data from disparate
                            • Nesting
  docs can be joined
  (important Semantic Web
  asset)
Properties as Resources
Breaking the nesting !
<?xml version=quot;1.0quot;?>


<rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;
         xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;>
    <rdf:Description rdf:about=quot;http://starlab.vub.ac.bequot;>
        <dc:title>STARLab</dc:title>
        <dc:creator rdf:resource=quot;http://starlab.vub.ac.be/staff/pspynsquot; />
    </rdf:Description>

    <rdf:Description rdf:about=quot;http://starlab.vub.ac.be/staff/pspynsquot;>
        <dc:name>Peter Spyns</dc:name>
        <dc:phone>4571</dc:phone>
    </rdf:Description>
</rdf:RDF>
Properties as Resources
<?xml version=quot;1.0quot;?>
<rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;
         xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;>
        <rdf:Description rdf:about=quot;http://starlab.vub.ac.bequot;>
                 <dc:title>STARLab</dc:title>
                 <dc:creator>Peter Spyns</dc:creator>
                 <dc:date>2001-04-10</dc:date>
                 <dc:format>text/html</dc:format>
                 <dc:language>en</dc:language>
        </rdf:Description>
</rdf:RDF>


<?xml version=quot;1.0quot;?>
<rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;
         xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;>
        <rdf:Description rdf:about=quot;http://starlab.vub.ac.bequot;
        dc:title=quot;STARLabquot; dc:creator=quot;Peter Spynsquot; dc:date=quot;2001-04-10quot;
        dc:format=quot;text/htmlquot; dc:language=quot;enquot;
        />
</rdf:RDF>
Abbreviated RDF
<rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;
            xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;
     <rdf:Description about=quot;http://starlab.vub.ac.bequot;>
       <dc:creator>
          <rdf:Description about=quot;http://starlab.vub.ac.be/staff/pspynsquot;>
                 <dc:name>Peter Spyns</dc:name>
                 <dc:phone>4571</dc:phone>
          </rdf:Description>
       </dc:creator>
     </rdf:Description>
</rdf:RDF>


<rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;
            xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;
     <rdf:Description about=quot;http://starlab.vub.ac.bequot;>
       <dc:creator rdf:resource=quot;http://starlab.vub.ac.be/staff/pspynsquot;
                   dc:name=quot;Peter Spynsquot;
                   dc:phone=quot;4571quot;/>
     </rdf:Description>
   </rdf:RDF>
Abbreviated RDF (2)
<rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;
         xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;>
        <rdf:Description rdf:about=quot;http://starlab.vub.ac.bequot;>
                 <dc:title>STARLab</dc:title>
                 <dc:creator>
                          <rdf:Description>
                                   <dc:name>Peter Spyns</dc:name>
                                   <dc:phone>4571</dc:phone>
                          </rdf:Description>
                 </dc:creator>
        </rdf:Description>
</rdf:RDF>

<rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;
         xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;>
        <rdf:Description rdf:about=quot;http://starlab.vub.ac.bequot;>
                 <dc:title>STARLab</dc:title>
                 <dc:creator rdf:parseType=quot;Resourcequot;>
                          <dc:name>Peter Spyns</dc:name>
                          <dc:phone>4571</dc:phone>
                 </dc:creator>
        </rdf:Description>
</rdf:RDF>
Abbreviated RDF (3)
http://starlab.vub.ac.be/staff/pdeleenheer is an instance of type Webpage...
    <?xml version=quot;1.0quot;?>
       <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;
                xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;>
         <rdf:Description about=quot;http://starlab.vub.ac.be/staff/pdeleenheerquot;>
           <rdf:type rdf:resource=quot;http://www.schemas.org/www/Webpagequot;/>
           <dc:creator>Pieter De Leenheer</dc:creator>
           <dc:title>Pierre’s Page</dc:title>
           <dc:date>2002-06-15</dc:date>
         </rdf:Description>
       </rdf:RDF>


    <?xml version=quot;1.0quot;?>
       <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;
                xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;
                xmlns:s=quot;http://www.schemas.org/www/quot;>
         <s:WebPage about=quot;http://starlab.vub.ac.be/staff/pdeleenheerquot;>
           <dc:creator>Pieter De Leenheer</dc:creator>
           <dc:title>Pierre’s Page</dc:title>
           <dc:date>2002-06-15</dc:date>
         </s:WebPage>
       </rdf:RDF>
...and the graph
RDF Containers
• Bag - an unordered list of resources or
  literals
• Sequence - an ordered list of resources
  or literals
• Alternative - a list of resources or literals
  that represent alternatives for the value of
  a property
rdf:Bag
                                    Some user-defined namespace
                                             (see later)
<?xml version=quot;1.0quot;?>


<rdf:RDF   xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;
           xmlns:cd=quot;http://www.recshop.fake/cdquot;>

<rdf:Description rdf:about=quot;http://www.recshop.fake/cd/Beatles_For_Salequot;>
 <cd:artist>
   <rdf:Bag>
     <rdf:li>John</rdf:li>
     <rdf:li>Paul</rdf:li>
     <rdf:li>George</rdf:li>
     <rdf:li>Ringo</rdf:li>
   </rdf:Bag>
  </cd:artist>
</rdf:Description>
</rdf:RDF>
rdf:Seq
<?xml version=quot;1.0quot;?>


<rdf:RDF   xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;
           xmlns:cd=quot;http://www.recshop.fake/cdquot;>

<rdf:Description rdf:about=quot;http://www.recshop.fake/cd/Beatles_For_Salequot;>
 <cd:artist>
   <rdf:Seq>
     <rdf:li>John</rdf:li>
     <rdf:li>Paul</rdf:li>
     <rdf:li>George</rdf:li>
     <rdf:li>Ringo</rdf:li>
   </rdf:Seq>
  </cd:artist>
</rdf:Description>
</rdf:RDF>




                                                               40
rdf:Alt
<?xml version=quot;1.0quot;?>


<rdf:RDF
xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;
xmlns:cd=quot;http://www.recshop.fake/cdquot;>


<rdf:Description
 rdf:about=quot;http://www.recshop.fake/cd/Beatles_For_Salequot;>
 <cd:format>
   <rdf:Alt>
     <rdf:li>CD</rdf:li>
     <rdf:li>Record</rdf:li>
     <rdf:li>Tape</rdf:li>
   </rdf:Alt>
 </cd:format>
</rdf:Description>
</rdf:RDF>




                                                            41
RDF Container Semantics


     Purely intuitive !
rdf:about vs. rdf:ID (1)
Two equivalent statements...

   <?xml version=quot;1.0quot; encoding=quot;UTF-8quot;?>
   <rdf:RDF
            xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;
            xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;>
     <rdf:Description
        rdf:about=quot;http://starlab.vub.ac.be/staff/pdeleenheer#contactquot;>
          <dc:title>Contact Information</dc:title>
     </rdf:Description>
   </rdf:RDF>



   <?xml version=quot;1.0quot;?>
   <rdf:RDF
            xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;
            xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;
            xml:base=quot;http://starlab.vub.ac.be/staff/pdeleenheerquot; >
     <rdf:Description rdf:ID=quot;contactquot;>
       <dc:title>Contact Information</dc:title>
     </rdf:Description>
   </rdf:RDF>
rdf:about vs. rdf:ID (2)
Another pair of equivalent statements...

   <?xml version=quot;1.0quot; encoding=quot;UTF-8quot;?>
   <rdf:RDF
            xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;
            xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;>
     <rdf:Description
        rdf:about=quot;http://starlab.vub.ac.be/staff/pdeleenheer#contactquot;>
          <dc:title>Contact Information</dc:title>
     </rdf:Description>
   </rdf:RDF>



    <?xml version=quot;1.0quot;?>
    <rdf:RDF
             xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;
             xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;
             xml:base=quot;http://starlab.vub.ac.be/quot; >
      <rdf:Description rdf:ID=“staff/pdeleenheer#contactquot;>
        <dc:title>Contact Information</dc:title>
      </rdf:Description>
    </rdf:RDF>
Reification
• RDF triples are facts, statements
      • It is true that ...
      • The author of starlab.vub.ac.be is Peter Spyns
• what about statements about statements?
      • I believe that ...
      • I heard that ...
• RDF provides reification
      • trust
      • meta-data
• left as self-study
RDF Schema
• RDF describes resources with classes,
  properties, and values
• RDFS is an extension to RDF
• RDFS provides a framework to describe
  vocabulary, i.e. application-specific classes
  and properties
• The term “schema” is similar to a DB
  schema
RDFS Example
<?xml version=quot;1.0quot;?>

<rdf:RDF
xmlns:rdf= quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;
xmlns:rdfs=quot;http://www.w3.org/2000/01/rdf-schema#quot;
xml:base= quot;http://www.all-fruits-of-the-world.uto/exoticfruitquot;>

<rdf:Description rdf:ID=quot;exotic fruitquot;>
<rdf:type
 rdf:resource=quot;http://www.w3.org/2000/01/rdf-schema#Classquot;/>
</rdf:Description>

<rdf:Description rdf:ID=quot;bananaquot;>
                                                      abbreviate?
<rdf:type
 rdf:resource=quot;http://www.w3.org/2000/01/rdf-schema#Classquot;/>
<rdfs:subClassOf rdf:resource=quot;#exotic fruitquot;/>
</rdf:Description>

<rdf:Description rdf:ID=quot;sapodillaquot;>
<rdf:type
 rdf:resource=quot;http://www.w3.org/2000/01/rdf-schema#Classquot;/>
<rdfs:subClassOf rdf:resource=quot;#exotic fruitquot;/>
</rdf:Description>

</rdf:RDF>
RDFS example abbr.
<?xml version=quot;1.0quot;?>

<rdf:RDF
xmlns:rdf= quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;
xmlns:rdfs=quot;http://www.w3.org/2000/01/rdf-schema#quot;
xml:base= quot;http://www.all-fruits-of-the-world.uto/exoticfruitquot;>

<rdfs:Class rdf:ID=quot;exotic fruitquot; />

<rdfs:Class rdf:ID=quot;bananaquot;>
                                                  Yes ! cfr. slide 26
<rdfs:subClassOf rdf:resource=quot;#exotic fruitquot;/>
</rdfs:Class>

<rdfs:Class rdf:ID=quot;sapodillaquot;>
<rdfs:subClassOf rdf:resource=quot;#exotic fruitquot;/>
</rdfs:Class>

</rdf:RDF>
RDF Classes
• rdfs:Resource – all resources within RDF are
    implicitly member of this class
•   rdfs:Class
•   rdfs:Literal
•   rdfs:XMLLiteral
•   rdfs:Container
•   rdfs:ContainerMembershipProperty
•   rdfs:Datatype
RDF core properties
•   rdfs:subClassOf   •   rdfs:subPropertyOf
                      •   rdfs:isDefinedBy
•   rdfs:seeAlso
                      •   rdfs:comment
•   rdfs:member
                      •   rdf:type
•   rdfs:label
                      •   rdf:predicate
•   rdf:subject
                      •   rdf:first
•   rdf:object
                      •   rdfs:domain
•   rdf:rest
                      •   rdf:value
•   rdfs:range
rdfs:Class
<?xml version=quot;1.0quot;?>
<rdf:RDF
xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot; xmlns:rdfs=quot;http://
                                                       Can be left implicit:
www.w3.org/2000/01/rdf-schema#quot;>
                                                          Resource=root
                                                              class
<rdfs:Class rdf:ID=quot;Personquot;>
        <rdfs:comment>Person Class</rdfs:comment>
        <rdfs:subClassOf rdf:resource=quot;http://www.w3.org/1999/02/22-
rdf-    syntax-ns#Resourcequot;/>
</rdfs:Class>

<rdfs:Class rdf:ID=quot;Studentquot;>
        <rdfs:comment>Student Class</rdfs:comment>
        <rdfs:subClassOf rdf:resource=quot;#Personquot;/>
</rdfs:Class>

<rdfs:Class rdf:ID=quot;Teacherquot;>
        <rdfs:comment>Teacher Class</rdfs:comment>
        <rdfs:subClassOf rdf:resource=quot;#Personquot;/>
</rdfs:Class>

<rdfs:Class rdf:ID=quot;Coursequot;>
        <rdfs:comment>Course Class</rdfs:comment>
        <rdfs:subClassOf rdf:resource=quot;http://www.w3.org/1999/02/22-
rdf-    syntax-ns#Resourcequot;/>
</rdfs:Class>
rdf:Property
<rdf:Property rdf:ID=“hasTeacherquot;>
       <rdfs:comment>Teacher of a course</rdfs:comment>
       <rdfs:domain rdf:resource=quot;#Coursequot;/>
       <rdfs:range rdf:resource=quot;#Teacherquot;/>
</rdf:Property>


<rdf:Property rdf:ID=“hasEnrolledStudentsquot;>
        <rdfs:comment>List of Students of a course in alphabetical
                         order</rdfs:comment>
        <rdfs:domain rdf:resource=quot;#Coursequot;/>
        <rdfs:range rdf:resource=quot;http://www.w3.org/1999/02/22-rdf-
syntax- ns#Seqquot;/>
 </rdf:Property>


 <rdf:Property rdf:ID=“hasNamequot;>
        <rdfs:comment>Name of a Person or Course</rdfs:comment>
        <rdfs:domain rdf:resource=quot;#Personquot;/>
        <rdfs:domain rdf:resource=quot;#Coursequot;/>
        <rdfs:range rdf:resource=quot;http://www.w3.org/1999/02/22-rdf-
syntax- ns#Literalquot;/>
</rdf:Property>


</rdf:RDF>
RDF Goodies
• No distinction between classes and instances
  (individuals)
   <Species,type,Class>
   <Lion,type,Species>
   <Leo,type,Lion>

• Properties can themselves have properties
   <hasDaughter,subPropertyOf,hasChild>
   <hasDaughter,type,familyProperty>

• No distinction between language constructors and
  ontology vocabulary, so constructors can be applied to
  themselves/each other
   <type,range,Class>
   <Property,type,Class>
   <type,subPropertyOf,subClassOf>
RDF triple versus lexon

Lexons are :               RDF triples are:
                           • valid in a certain
• valid in a certain
                             namespace
  context
                           • binary relationships
• binary relationships
                             between resources
  between concepts
                           • read in one direction
• read in two directions
                           • URIs
• natural language
  terms
Lexon to RDFS

<rdfs:Class rdf:ID=quot;Personquot;>
   <drives rdf:resource=quot;#Carquot;/>
</rdfs:Class>

<rdfs:Class rdf:ID=“Carquot;>
   <driven_by rdf:resource=quot;#Personquot;/>
</rdfs:Class>

<rdf:Property rdf:ID=“drivesquot;>
   <rdfs:range rdf:resource=quot;http://www.w3.org/2000/01/rdf-schema#Classquot;/>
   <rdfs:domain rdf:resource=quot;http://www.w3.org/2000/01/rdf-schema#Classquot;/>
</rdf:Property>

<rdf:Property rdf:ID=“driven_byquot;>
   <rdfs:range rdf:resource=quot;http://www.w3.org/2000/01/rdf-schema#Classquot;/>
   <rdfs:domain rdf:resource=quot;http://www.w3.org/2000/01/rdf-schema#Classquot;/>
</rdf:Property>
RDFS to Lexon
<rdfs:Class rdf:ID=quot;Personquot;>
   <drives rdf:resource=quot;#Carquot;/>
   <fancies rdf:resource=quot;#Carquot;/>
</rdfs:Class>

<rdfs:Class rdf:ID=“Carquot;>
   <driven_by rdf:resource=quot;#Personquot;/>
   <driven_by rdf:resource=quot;#Personquot;/>
</rdfs:Class>

<rdf:Property rdf:ID=“drivesquot;>
   <rdfs:range rdf:resource=quot;http://www.w3.org/2000/01/rdf-schema#Classquot;/>
   <rdfs:domain rdf:resource=quot;http://www.w3.org/2000/01/rdf-schema#Classquot;/>
</rdf:Property>

<rdf:Property rdf:ID=“driven_byquot;>
   <rdfs:range rdf:resource=quot;http://www.w3.org/2000/01/rdf-schema#Classquot;/>
   <rdfs:domain rdf:resource=quot;http://www.w3.org/2000/01/rdf-schema#Classquot;/>
</rdf:Property>

<rdf:Property rdf:ID=“fanciesquot;>
   <rdfs:range rdf:resource=quot;http://www.w3.org/2000/01/rdf-schema#Classquot;/>
   <rdfs:domain rdf:resource=quot;http://www.w3.org/2000/01/rdf-schema#Classquot;/>
</rdf:Property>

<rdf:Property rdf:ID=“fancied_byquot;>
   <rdfs:range rdf:resource=quot;http://www.w3.org/2000/01/rdf-schema#Classquot;/>
   <rdfs:domain rdf:resource=quot;http://www.w3.org/2000/01/rdf-schema#Classquot;/>
</rdf:Property>
RDFS to Lexon




   Lexons  RDF  Lexons results in
   loss of information
RDFS to Lexons
• From RDF triples
  <s:WebPage about=quot;http://starlab.vub.ac.be/staff/pdeleenheerquot;>
                <dc:creator>Pieter De Leenheer</dc:creator>
                <dc:title>Pierre’s Page</dc:title>
                <dc:date>2002-06-15</dc:date>
  </s:WebPage>

• From RDFS class and property definitions
  <rdf:Property rdf:ID=“hasTeacherquot;>
        <rdfs:comment>Teacher of a course</rdfs:comment>
        <rdfs:domain rdf:resource=quot;#Coursequot;/>
        <rdfs:range rdf:resource=quot;#Teacherquot;/>
   </rdf:Property>


• From subclass definitions
  <rdfs:Class rdf:ID=quot;Studentquot;>
        <rdfs:comment>Student Class</rdfs:comment>
        <rdfs:subClassOf rdf:resource=quot;#Personquot;/>
  </rdfs:Class>
SOAP
•   SOAP stands for Simple Object Access Protocol
•   SOAP is a communication protocol
•   SOAP is for communication between applications
•   SOAP is a format for sending messages
•   SOAP is designed to communicate via Internet
•   SOAP is platform independent
•   SOAP is language independent
•   SOAP is based on XML
•   SOAP is simple and extensible
•   SOAP allows you to get around firewalls
•   SOAP will be developed as a W3C standard
SOAP Message Format
<?xml version=quot;1.0quot;?>
<soap:Envelope xmlns:soap=quot;http://www.w3.org/2001/12/soap-
   envelopequot; soap:encodingStyle=quot;http://www.w3.org/2001/12/
   soap-encodingquot;>
   <soap:Header>
       ...
       ...
   </soap:Header>
   <soap:Body>
       ...
       ...
       <soap:Fault>
              ...
              ...
       </soap:Fault>
   </soap:Body>
</soap:Envelope>
SOAP Message Format
<?xml version=quot;1.0quot;?>
<soap:Envelope xmlns:soap=quot;http://www.w3.org/2001/12/soap-
   envelopequot; soap:encodingStyle=quot;http://www.w3.org/2001/12/
   soap-encodingquot;>
   <soap:Header>
       ...
       ...
   </soap:Header>
   <soap:Body>           The xmlns:soap namespace should always
       ...               have the value of http://www.w3.org/
                         2001/12/soap-envelope
       ...
                         and it defines the Envelope as a SOAP
       <soap:Fault>
                         Envelope
              ...
              ...
       </soap:Fault>
   </soap:Body>
</soap:Envelope>
SOAP Message Format
<?xml version=quot;1.0quot;?>
<soap:Envelope xmlns:soap=quot;http://www.w3.org/2001/12/soap-
   envelopequot; soap:encodingStyle=quot;http://www.w3.org/2001/12/
   soap-encodingquot;>
   <soap:Header>
       ...
       ...
   </soap:Header>
   <soap:Body>
                         A SOAP Envelope has no default encoding
       ...
                         style. It is a client-server agreement.
       ...
       <soap:Fault>
              ...
              ...
       </soap:Fault>
   </soap:Body>
</soap:Envelope>
SOAP Message Format
<?xml version=quot;1.0quot;?>
<soap:Envelope xmlns:soap=quot;http://www.w3.org/2001/12/soap-
   envelopequot; soap:encodingStyle=quot;http://www.w3.org/2001/12/
   soap-encodingquot;>
   <soap:Header>
       ...
       ...
   </soap:Header>
   <soap:Body>           The optional Header contains application
       ...               specific information (like authentication,
                         payment, etc) about the SOAP message.
       ...
       <soap:Fault>
                         The attributes defined in the SOAP Header
              ...
                         defines how a recipient should process the
              ...
                         SOAP message.
       </soap:Fault>
   </soap:Body>
</soap:Envelope>
SOAP Message Format
<?xml version=quot;1.0quot;?>
<soap:Envelope xmlns:soap=quot;http://www.w3.org/2001/12/soap-
   envelopequot; soap:encodingStyle=quot;http://www.w3.org/2001/12/
   soap-encodingquot;>
   <soap:Header>
       ...
                         The required SOAP Body element contains
       ...
                         the actual SOAP message intended for the
   </soap:Header>
                         ultimate endpoint of the message.
   <soap:Body>
                         Immediate child elements of the SOAP Body
       ...
                         element may be namespace-qualified.
       ...
                         SOAP defines one element inside the Body
       <soap:Fault>
                         element in the default namespace (quot;http://
              ...        www.w3.org/2001/12/soap-envelopequot;). This
              ...        is the SOAP Fault element, which is used to
       </soap:Fault>     indicate error messages.
   </soap:Body>
</soap:Envelope>
SOAP Example
<SOAP-ENV:Envelope
  xmlns:SOAP-ENV=“
  http://schemas.xmlsoap.org/soap/envelope/quot;
  xmlns:xsi=quot;
  http://www.w3.org/1999/XMLSchema-instancequot;
  xmlns:xsd=quot;http://www.w3.org/1999/XMLSchemaquot;>
   <SOAP-ENV:Header>
   </SOAP-ENV:Header>
   <SOAP-ENV:Body>
     <ns1:sayHelloTo xmlns:ns1=quot;Hello”
      SOAP-ENV:encodingStyle=quot;
      http://schemas.xmlsoap.org/soap/encoding/quot;>
          <name xsi:type=quot;xsd:stringquot;>John</name>
     </ns1:sayHelloTo
   </SOAP-ENV:Body>
  </SOAP-ENV:Envelope>
SOAP Example
<SOAP-ENV:Envelope
   xmlns:SOAP-ENV=“http://schemas.xmlsoap.org/soap/envelope/quot;
   xmlns:xsi=quot;http://www.w3.org/1999/XMLSchema-instancequot;
   xmlns:xsd=quot;http://www.w3.org/1999/XMLSchemaquot;>
   <SOAP-ENV:Body>
    <ns1:sayHelloToResponse
     xmlns:ns1=quot;Hello“
     SOAP-ENV:encodingStyle=“
     http://schemas.xmlsoap.org/soap/encoding/quot;>
         <return xsi:type=quot;xsd:stringquot;>Hello John, How are you
              doing?
         </return>
    </ns1:sayHelloToResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Online Public Services
• Validation http://www.w3.org/RDF/Validator
• Meta-data generators
     • Reggie
       (http://metadata.net/dstc/)
     • UKOLN Dublin Core dot (http://www.ukoln.ac.uk/metadata/
       dcdot/)
• Reusable vocabularies
     • Dublin Core (xmlns:dc=“http://purl.org/dc/elements/1.1/”)
     • vCard
     • and many more
Publicly Available Tools
• Editors
     • IsaViz http://www.w3.org/2001/11/IsaViz/
     • RDFeditor http://sourceforge.net/projects/rdfeditor/
• Browsers
     • BrownSauce http://brownsauce.sourceforge.net/
• Stand-alone Parsers
     • ARP2 http://hpl.hp.com/semweb/arp.htm (also in
       Jena)
     • ICS-FORTH http://athena.ics.forth.gr:9090/RDF/
       (also in RDF Suite)
RDFS Shortcomings
• RDFS too weak to describe resources in sufficient detail
   – No localised range and domain constraints
       • Impossible to say that the range of hasChild is person when applied
         to persons and elephant when applied to elephants
   – No existence/cardinality constraints
       • Impossible to say that all instances of person have a mother that is
         also a person, or that persons have exactly 2 parents
   – No transitive, inverse or symmetrical properties
       • Impossible to say that isPartOf is a transitive property, that hasPart
         is the inverse of isPartOf or that touches is symmetrical
   – etc.
• Difficult to provide reasoning support
   – No “native” reasoners for non-standard semantics
   – May be possible to reason via first-order axiomatisation
Web Ontology Language
Desirable features identified for Web Ontology Language:


• Extends existing Web standards
   – Such as XML, RDF, RDFS
• Easy to understand and use
   – Should be based on familiar KR idioms
• Formally specified
• Of “adequate” expressive power
• Possible to provide automated reasoning support
RDF to OWL
•   Two languages developed to satisfy above requirements
    – OIL: developed by group of (largely) European researchers (several
      from EU OntoKnowledge project)
    – DAML-ONT: developed by group of (largely) US researchers (in DARPA
      DAML programme)
•   Efforts merged to produce DAML+OIL
    – Development was carried out by “Joint EU/US Committee on Agent
      Markup Languages”
    – Extends (“DL subset” of) RDF
•   DAML+OIL submitted to W3C as basis for standardisation
    – Web-Ontology (WebOnt) Working Group formed
    – WebOnt group developed OWL language based on DAML+OIL
    – OWL language now a W3C Candidate Recommendation
OWL Specs
• Three species of OWL
  – OWL full is union of OWL syntax and RDF
  – OWL DL restricted to FOL fragment (¼ DAML+OIL)
  – OWL Lite is “easier to implement” subset of OWL DL
• OWL DL based on SHIQ Description Logic
  – In fact it is equivalent to SHOIN(Dn) DL
• OWL DL Benefits from many years of DL
  research
  – Well defined semantics
  – Formal properties well understood (complexity,
    decidability)
  – Known reasoning algorithms
  – Implemented systems (highly optimised)
OWL Constructors




•   XMLS datatypes as well as classes in
     – E.g.,
•   Arbitrarily complex nesting of constructors
     – E.g.,
OWL Example
RDF Syntax for OWL
RDF Syntax for OWL
E.g.,
RDF Syntax for OWL
E.g.,
 <owl:Class>
   <owl:intersectionOf rdf:parseType=quot; collectionquot;>
     <owl:Class rdf:about=quot;#Personquot;/>
     <owl:Restriction>
       <owl:onProperty rdf:resource=quot;#hasChildquot;/>
       <owl:toClass>
         <owl:unionOf rdf:parseType=quot; collectionquot;>
           <owl:Class rdf:about=quot;#Doctorquot;/>
           <owl:Restriction>
              <owl:onProperty rdf:resource=quot;#hasChildquot;/>
              <owl:hasClass rdf:resource=quot;#Doctorquot;/>
           </owl:Restriction>
         </owl:unionOf>
       </owl:toClass>
     </owl:Restriction>
   </owl:intersectionOf>
 </owl:Class>
OWL Axioms
OWL Axioms
References
1.   Heflin, J. and Allamang. (2008) Semantic Web for the Working
     Ontologist
2.   Hjelm, J. (2001) Creating the Semantic Web with RDF, Wiley.
3.   Powers, S. (2003) Practical RDF, O’Reilly.
4.   Baader, F. and Nutt, W. (2002) Basic Description Logics. In the
     Description Logic Handbook, Cambridge University Press, pp.
     47-100.
5.   http://www.w3.org/TR/owl-guide/
6.   http://www.javaworld.com/javaworld/jw-03-2001/jw-0330-
     soap.html
7.   http://www.w3schools.com
Lecture outline next
           week

•   RDFS Semantics
•   Web Ontology Language
•   Description Logics

Contenu connexe

Tendances

Taxonomy, ontology, folksonomies & SKOS.
Taxonomy, ontology, folksonomies & SKOS.Taxonomy, ontology, folksonomies & SKOS.
Taxonomy, ontology, folksonomies & SKOS.Janet Leu
 
Lect6-An introduction to ontologies and ontology development
Lect6-An introduction to ontologies and ontology developmentLect6-An introduction to ontologies and ontology development
Lect6-An introduction to ontologies and ontology developmentAntonio Moreno
 
Taxonomy 101: Presented at Taxonomy Boot Camp 2019
Taxonomy 101: Presented at Taxonomy Boot Camp 2019Taxonomy 101: Presented at Taxonomy Boot Camp 2019
Taxonomy 101: Presented at Taxonomy Boot Camp 2019Enterprise Knowledge
 
alerting services.pptx
alerting services.pptxalerting services.pptx
alerting services.pptxRbalasubramani
 
The Semantic Web #9 - Web Ontology Language (OWL)
The Semantic Web #9 - Web Ontology Language (OWL)The Semantic Web #9 - Web Ontology Language (OWL)
The Semantic Web #9 - Web Ontology Language (OWL)Myungjin Lee
 
Web ontology language (owl)
Web ontology language (owl)Web ontology language (owl)
Web ontology language (owl)Ameer Sameer
 
Metadata issues and challenges: Link Data
Metadata issues and challenges: Link DataMetadata issues and challenges: Link Data
Metadata issues and challenges: Link DataAmna Farzand Ali
 
Archives - DACS and EAD
Archives - DACS and EADArchives - DACS and EAD
Archives - DACS and EADsotrue
 
Ontology and Ontology Libraries: a critical study
Ontology and Ontology Libraries: a critical studyOntology and Ontology Libraries: a critical study
Ontology and Ontology Libraries: a critical studyDebashisnaskar
 
Introduction To RDF and RDFS
Introduction To RDF and RDFSIntroduction To RDF and RDFS
Introduction To RDF and RDFSNilesh Wagmare
 
Lecture: Ontologies and the Semantic Web
Lecture: Ontologies and the Semantic WebLecture: Ontologies and the Semantic Web
Lecture: Ontologies and the Semantic WebMarina Santini
 

Tendances (20)

Taxonomy, ontology, folksonomies & SKOS.
Taxonomy, ontology, folksonomies & SKOS.Taxonomy, ontology, folksonomies & SKOS.
Taxonomy, ontology, folksonomies & SKOS.
 
A brief history of MARC
A brief history of MARCA brief history of MARC
A brief history of MARC
 
Lect6-An introduction to ontologies and ontology development
Lect6-An introduction to ontologies and ontology developmentLect6-An introduction to ontologies and ontology development
Lect6-An introduction to ontologies and ontology development
 
Taxonomy 101: Presented at Taxonomy Boot Camp 2019
Taxonomy 101: Presented at Taxonomy Boot Camp 2019Taxonomy 101: Presented at Taxonomy Boot Camp 2019
Taxonomy 101: Presented at Taxonomy Boot Camp 2019
 
alerting services.pptx
alerting services.pptxalerting services.pptx
alerting services.pptx
 
The Semantic Web #9 - Web Ontology Language (OWL)
The Semantic Web #9 - Web Ontology Language (OWL)The Semantic Web #9 - Web Ontology Language (OWL)
The Semantic Web #9 - Web Ontology Language (OWL)
 
Web ontology language (owl)
Web ontology language (owl)Web ontology language (owl)
Web ontology language (owl)
 
Metadata issues and challenges: Link Data
Metadata issues and challenges: Link DataMetadata issues and challenges: Link Data
Metadata issues and challenges: Link Data
 
Marc 21
Marc 21Marc 21
Marc 21
 
Digital Library Architecture
Digital Library ArchitectureDigital Library Architecture
Digital Library Architecture
 
Canons of library classification
Canons of library classificationCanons of library classification
Canons of library classification
 
Archives - DACS and EAD
Archives - DACS and EADArchives - DACS and EAD
Archives - DACS and EAD
 
OAI and OAI-PMH
OAI and OAI-PMHOAI and OAI-PMH
OAI and OAI-PMH
 
Introduction to linked data
Introduction to linked dataIntroduction to linked data
Introduction to linked data
 
Dublin core Presentation
Dublin core PresentationDublin core Presentation
Dublin core Presentation
 
Metadata: A concept
Metadata: A conceptMetadata: A concept
Metadata: A concept
 
Ontology and Ontology Libraries: a critical study
Ontology and Ontology Libraries: a critical studyOntology and Ontology Libraries: a critical study
Ontology and Ontology Libraries: a critical study
 
Introduction To RDF and RDFS
Introduction To RDF and RDFSIntroduction To RDF and RDFS
Introduction To RDF and RDFS
 
Lecture: Ontologies and the Semantic Web
Lecture: Ontologies and the Semantic WebLecture: Ontologies and the Semantic Web
Lecture: Ontologies and the Semantic Web
 
Kwoc
KwocKwoc
Kwoc
 

En vedette

A First Course in RDF and RDFS (Resource Description Framework and Resource D...
A First Course in RDF and RDFS (Resource Description Framework and Resource D...A First Course in RDF and RDFS (Resource Description Framework and Resource D...
A First Course in RDF and RDFS (Resource Description Framework and Resource D...Mark Birbeck
 
Introduction to RDF
Introduction to RDFIntroduction to RDF
Introduction to RDFNarni Rajesh
 
Ontology In A Nutshell (version 2)
Ontology In A Nutshell (version 2)Ontology In A Nutshell (version 2)
Ontology In A Nutshell (version 2)Fabien Gandon
 
Jarrar: OWL (Web Ontology Language)
Jarrar: OWL (Web Ontology Language)Jarrar: OWL (Web Ontology Language)
Jarrar: OWL (Web Ontology Language)Mustafa Jarrar
 
Two graph data models : RDF and Property Graphs
Two graph data models : RDF and Property GraphsTwo graph data models : RDF and Property Graphs
Two graph data models : RDF and Property Graphsandyseaborne
 
Introduction to RDF & SPARQL
Introduction to RDF & SPARQLIntroduction to RDF & SPARQL
Introduction to RDF & SPARQLOpen Data Support
 
Owl web ontology language
Owl  web ontology languageOwl  web ontology language
Owl web ontology languagehassco2011
 
Linked Open Data Principles, Technologies and Examples
Linked Open Data Principles, Technologies and ExamplesLinked Open Data Principles, Technologies and Examples
Linked Open Data Principles, Technologies and ExamplesOpen Data Support
 
An Introduction to NOSQL, Graph Databases and Neo4j
An Introduction to NOSQL, Graph Databases and Neo4jAn Introduction to NOSQL, Graph Databases and Neo4j
An Introduction to NOSQL, Graph Databases and Neo4jDebanjan Mahata
 
Introduction to Graph Databases
Introduction to Graph DatabasesIntroduction to Graph Databases
Introduction to Graph DatabasesMax De Marzi
 
Webinar: Working with Graph Data in MongoDB
Webinar: Working with Graph Data in MongoDBWebinar: Working with Graph Data in MongoDB
Webinar: Working with Graph Data in MongoDBMongoDB
 
Webservices Overview : XML RPC, SOAP and REST
Webservices Overview : XML RPC, SOAP and RESTWebservices Overview : XML RPC, SOAP and REST
Webservices Overview : XML RPC, SOAP and RESTPradeep Kumar
 
Thesis presentation powerpoint
Thesis presentation powerpointThesis presentation powerpoint
Thesis presentation powerpointBill Kortsimelidis
 
Ontology Engineering: representation in OWL
Ontology Engineering: representation in OWLOntology Engineering: representation in OWL
Ontology Engineering: representation in OWLGuus Schreiber
 
Design and manage persistent URIs
Design and manage persistent URIsDesign and manage persistent URIs
Design and manage persistent URIsOpen Data Support
 
Understanding REST-Based Services: Simple, Scalable, and Platform Independent
Understanding REST-Based Services: Simple, Scalable, and Platform IndependentUnderstanding REST-Based Services: Simple, Scalable, and Platform Independent
Understanding REST-Based Services: Simple, Scalable, and Platform IndependentCharles Knight
 
Scalable Reliable Secure REST
Scalable Reliable Secure RESTScalable Reliable Secure REST
Scalable Reliable Secure RESTguestb2ed5f
 
Help for Victims: Hindi Flyer
Help for Victims: Hindi FlyerHelp for Victims: Hindi Flyer
Help for Victims: Hindi FlyerStopTrafficking
 

En vedette (20)

RDF and OWL
RDF and OWLRDF and OWL
RDF and OWL
 
A First Course in RDF and RDFS (Resource Description Framework and Resource D...
A First Course in RDF and RDFS (Resource Description Framework and Resource D...A First Course in RDF and RDFS (Resource Description Framework and Resource D...
A First Course in RDF and RDFS (Resource Description Framework and Resource D...
 
Introduction to RDF
Introduction to RDFIntroduction to RDF
Introduction to RDF
 
Ontology In A Nutshell (version 2)
Ontology In A Nutshell (version 2)Ontology In A Nutshell (version 2)
Ontology In A Nutshell (version 2)
 
Jarrar: OWL (Web Ontology Language)
Jarrar: OWL (Web Ontology Language)Jarrar: OWL (Web Ontology Language)
Jarrar: OWL (Web Ontology Language)
 
Two graph data models : RDF and Property Graphs
Two graph data models : RDF and Property GraphsTwo graph data models : RDF and Property Graphs
Two graph data models : RDF and Property Graphs
 
Introduction to RDF & SPARQL
Introduction to RDF & SPARQLIntroduction to RDF & SPARQL
Introduction to RDF & SPARQL
 
Owl web ontology language
Owl  web ontology languageOwl  web ontology language
Owl web ontology language
 
Linked Open Data Principles, Technologies and Examples
Linked Open Data Principles, Technologies and ExamplesLinked Open Data Principles, Technologies and Examples
Linked Open Data Principles, Technologies and Examples
 
An Introduction to NOSQL, Graph Databases and Neo4j
An Introduction to NOSQL, Graph Databases and Neo4jAn Introduction to NOSQL, Graph Databases and Neo4j
An Introduction to NOSQL, Graph Databases and Neo4j
 
Introduction to Graph Databases
Introduction to Graph DatabasesIntroduction to Graph Databases
Introduction to Graph Databases
 
Webinar: Working with Graph Data in MongoDB
Webinar: Working with Graph Data in MongoDBWebinar: Working with Graph Data in MongoDB
Webinar: Working with Graph Data in MongoDB
 
Webservices Overview : XML RPC, SOAP and REST
Webservices Overview : XML RPC, SOAP and RESTWebservices Overview : XML RPC, SOAP and REST
Webservices Overview : XML RPC, SOAP and REST
 
Thesis presentation powerpoint
Thesis presentation powerpointThesis presentation powerpoint
Thesis presentation powerpoint
 
Ontology Engineering: representation in OWL
Ontology Engineering: representation in OWLOntology Engineering: representation in OWL
Ontology Engineering: representation in OWL
 
Design and manage persistent URIs
Design and manage persistent URIsDesign and manage persistent URIs
Design and manage persistent URIs
 
Understanding REST-Based Services: Simple, Scalable, and Platform Independent
Understanding REST-Based Services: Simple, Scalable, and Platform IndependentUnderstanding REST-Based Services: Simple, Scalable, and Platform Independent
Understanding REST-Based Services: Simple, Scalable, and Platform Independent
 
Scalable Reliable Secure REST
Scalable Reliable Secure RESTScalable Reliable Secure REST
Scalable Reliable Secure REST
 
Ontology
OntologyOntology
Ontology
 
Help for Victims: Hindi Flyer
Help for Victims: Hindi FlyerHelp for Victims: Hindi Flyer
Help for Victims: Hindi Flyer
 

Similaire à Open Standards Guide to Semantic Web Languages

Ks2007 Semanticweb In Action
Ks2007 Semanticweb In ActionKs2007 Semanticweb In Action
Ks2007 Semanticweb In ActionRinke Hoekstra
 
07 Collada Overview
07 Collada Overview07 Collada Overview
07 Collada Overviewjohny2008
 
Xml Applications Libraries
Xml Applications LibrariesXml Applications Libraries
Xml Applications Librarieslibrarywebchic
 
BNC Tech Forum 09: Lexcycle Stanza demo
BNC Tech Forum 09: Lexcycle Stanza demoBNC Tech Forum 09: Lexcycle Stanza demo
BNC Tech Forum 09: Lexcycle Stanza demoBookNet Canada
 
XML Schema Patterns for Databinding
XML Schema Patterns for DatabindingXML Schema Patterns for Databinding
XML Schema Patterns for DatabindingPaul Downey
 
Creative Commons @ Seybold San Francisco 2004 - DRM Roundtable
Creative Commons @ Seybold San Francisco 2004 - DRM RoundtableCreative Commons @ Seybold San Francisco 2004 - DRM Roundtable
Creative Commons @ Seybold San Francisco 2004 - DRM RoundtableMike Linksvayer
 
Jsonsaga
JsonsagaJsonsaga
Jsonsaganohmad
 
SPARQLing Services
SPARQLing ServicesSPARQLing Services
SPARQLing ServicesLeigh Dodds
 
Douglas Crockford Presentation Jsonsaga
Douglas Crockford Presentation JsonsagaDouglas Crockford Presentation Jsonsaga
Douglas Crockford Presentation JsonsagaAjax Experience 2009
 
The JSON Saga
The JSON SagaThe JSON Saga
The JSON Sagakaven yan
 
The Lumber Mill Xslt For Your Templates
The Lumber Mill   Xslt For Your TemplatesThe Lumber Mill   Xslt For Your Templates
The Lumber Mill Xslt For Your TemplatesThomas Weinert
 
Semantic Web
Semantic WebSemantic Web
Semantic Webhardchiu
 
Getting Started With The Talis Platform
Getting Started With The Talis PlatformGetting Started With The Talis Platform
Getting Started With The Talis PlatformLeigh Dodds
 
XSLT+SPARQL: Scripting the Semantic Web with SPARQL embedded into XSLT styles...
XSLT+SPARQL: Scripting the Semantic Web with SPARQL embedded into XSLT styles...XSLT+SPARQL: Scripting the Semantic Web with SPARQL embedded into XSLT styles...
XSLT+SPARQL: Scripting the Semantic Web with SPARQL embedded into XSLT styles...Diego Berrueta
 

Similaire à Open Standards Guide to Semantic Web Languages (20)

Xml Demystified
Xml DemystifiedXml Demystified
Xml Demystified
 
Ks2007 Semanticweb In Action
Ks2007 Semanticweb In ActionKs2007 Semanticweb In Action
Ks2007 Semanticweb In Action
 
07 Collada Overview
07 Collada Overview07 Collada Overview
07 Collada Overview
 
Xml Applications Libraries
Xml Applications LibrariesXml Applications Libraries
Xml Applications Libraries
 
BNC Tech Forum 09: Lexcycle Stanza demo
BNC Tech Forum 09: Lexcycle Stanza demoBNC Tech Forum 09: Lexcycle Stanza demo
BNC Tech Forum 09: Lexcycle Stanza demo
 
XML Schema Patterns for Databinding
XML Schema Patterns for DatabindingXML Schema Patterns for Databinding
XML Schema Patterns for Databinding
 
Markup As An Api
Markup As An ApiMarkup As An Api
Markup As An Api
 
Ridingapachecamel
RidingapachecamelRidingapachecamel
Ridingapachecamel
 
Creative Commons @ Seybold San Francisco 2004 - DRM Roundtable
Creative Commons @ Seybold San Francisco 2004 - DRM RoundtableCreative Commons @ Seybold San Francisco 2004 - DRM Roundtable
Creative Commons @ Seybold San Francisco 2004 - DRM Roundtable
 
Jsonsaga
JsonsagaJsonsaga
Jsonsaga
 
SPARQLing Services
SPARQLing ServicesSPARQLing Services
SPARQLing Services
 
Xml Overview
Xml OverviewXml Overview
Xml Overview
 
Douglas Crockford Presentation Jsonsaga
Douglas Crockford Presentation JsonsagaDouglas Crockford Presentation Jsonsaga
Douglas Crockford Presentation Jsonsaga
 
The JSON Saga
The JSON SagaThe JSON Saga
The JSON Saga
 
The Lumber Mill Xslt For Your Templates
The Lumber Mill   Xslt For Your TemplatesThe Lumber Mill   Xslt For Your Templates
The Lumber Mill Xslt For Your Templates
 
Semantic Web
Semantic WebSemantic Web
Semantic Web
 
Linked Data on Rails
Linked Data on RailsLinked Data on Rails
Linked Data on Rails
 
Ontologias - RDF
Ontologias - RDFOntologias - RDF
Ontologias - RDF
 
Getting Started With The Talis Platform
Getting Started With The Talis PlatformGetting Started With The Talis Platform
Getting Started With The Talis Platform
 
XSLT+SPARQL: Scripting the Semantic Web with SPARQL embedded into XSLT styles...
XSLT+SPARQL: Scripting the Semantic Web with SPARQL embedded into XSLT styles...XSLT+SPARQL: Scripting the Semantic Web with SPARQL embedded into XSLT styles...
XSLT+SPARQL: Scripting the Semantic Web with SPARQL embedded into XSLT styles...
 

Plus de Pieter De Leenheer

TiE DC GovCon Panel on Emerging Technologies: AI/ML/Blockchain/Data Managemen...
TiE DC GovCon Panel on Emerging Technologies: AI/ML/Blockchain/Data Managemen...TiE DC GovCon Panel on Emerging Technologies: AI/ML/Blockchain/Data Managemen...
TiE DC GovCon Panel on Emerging Technologies: AI/ML/Blockchain/Data Managemen...Pieter De Leenheer
 
MIT ICIQ 2017 Keynote: Data Governance and Data Capitalization in the Big Dat...
MIT ICIQ 2017 Keynote: Data Governance and Data Capitalization in the Big Dat...MIT ICIQ 2017 Keynote: Data Governance and Data Capitalization in the Big Dat...
MIT ICIQ 2017 Keynote: Data Governance and Data Capitalization in the Big Dat...Pieter De Leenheer
 
Data Governance in a big data era
Data Governance in a big data eraData Governance in a big data era
Data Governance in a big data eraPieter De Leenheer
 
Data Governance in the Big Data Era
Data Governance in the Big Data EraData Governance in the Big Data Era
Data Governance in the Big Data EraPieter De Leenheer
 
The Data Driven University - Automating Data Governance and Stewardship in Au...
The Data Driven University - Automating Data Governance and Stewardship in Au...The Data Driven University - Automating Data Governance and Stewardship in Au...
The Data Driven University - Automating Data Governance and Stewardship in Au...Pieter De Leenheer
 
Business Semantics for Data Governance and Stewardship
Business Semantics for Data Governance and StewardshipBusiness Semantics for Data Governance and Stewardship
Business Semantics for Data Governance and StewardshipPieter De Leenheer
 
Data Stewardship and Governance: how to reach global adoption and systematic ...
Data Stewardship and Governance: how to reach global adoption and systematic ...Data Stewardship and Governance: how to reach global adoption and systematic ...
Data Stewardship and Governance: how to reach global adoption and systematic ...Pieter De Leenheer
 
Business Service Semantics: Ontological Representation & Governance of Busine...
Business Service Semantics: Ontological Representation & Governance of Busine...Business Service Semantics: Ontological Representation & Governance of Busine...
Business Service Semantics: Ontological Representation & Governance of Busine...Pieter De Leenheer
 

Plus de Pieter De Leenheer (8)

TiE DC GovCon Panel on Emerging Technologies: AI/ML/Blockchain/Data Managemen...
TiE DC GovCon Panel on Emerging Technologies: AI/ML/Blockchain/Data Managemen...TiE DC GovCon Panel on Emerging Technologies: AI/ML/Blockchain/Data Managemen...
TiE DC GovCon Panel on Emerging Technologies: AI/ML/Blockchain/Data Managemen...
 
MIT ICIQ 2017 Keynote: Data Governance and Data Capitalization in the Big Dat...
MIT ICIQ 2017 Keynote: Data Governance and Data Capitalization in the Big Dat...MIT ICIQ 2017 Keynote: Data Governance and Data Capitalization in the Big Dat...
MIT ICIQ 2017 Keynote: Data Governance and Data Capitalization in the Big Dat...
 
Data Governance in a big data era
Data Governance in a big data eraData Governance in a big data era
Data Governance in a big data era
 
Data Governance in the Big Data Era
Data Governance in the Big Data EraData Governance in the Big Data Era
Data Governance in the Big Data Era
 
The Data Driven University - Automating Data Governance and Stewardship in Au...
The Data Driven University - Automating Data Governance and Stewardship in Au...The Data Driven University - Automating Data Governance and Stewardship in Au...
The Data Driven University - Automating Data Governance and Stewardship in Au...
 
Business Semantics for Data Governance and Stewardship
Business Semantics for Data Governance and StewardshipBusiness Semantics for Data Governance and Stewardship
Business Semantics for Data Governance and Stewardship
 
Data Stewardship and Governance: how to reach global adoption and systematic ...
Data Stewardship and Governance: how to reach global adoption and systematic ...Data Stewardship and Governance: how to reach global adoption and systematic ...
Data Stewardship and Governance: how to reach global adoption and systematic ...
 
Business Service Semantics: Ontological Representation & Governance of Busine...
Business Service Semantics: Ontological Representation & Governance of Busine...Business Service Semantics: Ontological Representation & Governance of Busine...
Business Service Semantics: Ontological Representation & Governance of Busine...
 

Dernier

9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 

Dernier (20)

Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 

Open Standards Guide to Semantic Web Languages

  • 1. Open Standards for the Semantic Web XML / RDF(S) / OWL / SOAP © 2004 Pieter De Leenheer
  • 2. Data About ... <?xml version=quot;1.0quot;?> <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;> xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;> <rdf:Description rdf:about= quot;http://www.starlab.vub.ac.be/ staff/pdeleenheer/teaching/infosys/XML_RDF_RDFS_OWL_SOAP.pdf”> <dc:title>XML / RDF / RDFS / OWL / SOAP</dc:title> <dc:creator>Pieter De Leenheer </dc:creator> <dc:coverage>Informatiesystemen</dc:coverage> <dc:subject> <rdf:Bag> <rdf:li>XML</rdf:li> <rdf:li>RDF</rdf:li> <rdf:li>RDFS</rdf:li> <rdf:li>OWL</rdf:li> <rdf:li>SOAP</rdf:li> </rdf:Bag> </dc:subject> </rdf:Description> </rdf:RDF>
  • 3. Lecture Outline today • Once upon a time there was XML • W3C Open Standards Compliance • Resource Description Framework (RDF) • RDF versus XML • RDF Schema (RDFS) • RDF triples versus DOGMA lexons • Simple Object Access Protocol • Online RDF services and tools • RDFS Shortcomings: Web Ontology Language
  • 4. Lecture outline next week • RDFS Semantics • Web Ontology Language • Description Logics
  • 5. eXtensible Markup Language • XML is a meta- language • XML stands for EXtensible Markup Language • XML is a markup language much like HTML • XML was designed to describe data • XML tags are not predefined. You must define your own tags • XML uses a Document Type Definition (DTD) or an XML Schema to describe the data • XML with a DTD or XML Schema is designed to be self-descriptive
  • 6. XML Specification <?xml version=“1.0”?> <medicine-inventory> <medicine name=“asperin”> <author>Felix Hoffmann</author> <patent-date>1889/03/06/</patent-date> </medicine> </medicine-inventory>
  • 7. XML Spec: XML declaration <?xml version=“1.0”?> <medicine-inventory> <medicine name=“asperin”> <author>Felix Hoffmann</author> <patent-date>1889/03/06/</patent-date> </medicine> The XML version and the </medicine-inventory> character encoding used in the document. In this case the document conforms to the 1.0 specification of XML and uses the ISO-8859-1 (Latin-1/West European) character set.
  • 8. XML Spec: root element <?xml version=“1.0”?> <medicine-inventory> <medicine name=“asperin”> <author>Felix Hoffmann</author> <patent-date>1889/03/06/</patent-date> </medicine> The root element of the document: this Document describes </medicine-inventory> (or is) a medicine inventory
  • 9. XML Spec: child elements <?xml version=“1.0”?> <medicine-inventory> <medicine name=“asperin”> <author>Felix Hoffmann</author> <patent-date>1889/03/06/</patent-date> </medicine> </medicine-inventory> Data of medicine medicine has attribute with value: name = “asperin” A child element: medicine
  • 10. XML Spec: tags (1) <?xml version=“1.0”?> <medicine-inventory> <medicine name=“asperin”> <author>Felix Hoffmann</author> <patent-date>1889/03/06/</patent-date> </medicine> </medicine-inventory> Data of medicine Begin tag of an element End tag of an element
  • 11. XML Spec: tags (2) <?xml version=“1.0”?> <medicine-inventory> <medicine name=“asperin”> <author>Felix Hoffmann</author> <patent-date>1889/03/06/</patent-date> </medicine> </medicine-inventory> Data of author Begin tag of an element End tag of an element
  • 12. W3C Consortium • Vendor-independent • three host institutions (MIT/LCS in the USA, ERCIM headquarters in France, and Keio University in Japan). • Standardisation by recommendation • Goals: • Universal Access: To make the Web accessible to all by promoting technologies that take into account the vast differences in culture, languages, education, ability, material resources, access devices, and physical limitations of users on all continents; • Semantic Web: To develop a software environment that permits each user to make the best use of the resources available on the Web; • Web of Trust: To guide the Web's development with careful consideration for the novel legal, commercial, and social issues raised by this technology. • Open source
  • 13. Standards and Procedures         ■ ■ ■ SOAP CSS XHTML ■ ■ ■ SPARQL CGI XHTML+Voice ■ ■ ■ SMIL DOM XML ■ ■ ■ SRGS GRDDL XML Events ■ ■ ■ SSML HTML XML Information Set ■ ■ ■ VoiceXML OWL XML Schema ■ ■ ■ WCAG P3P XPath ■ ■ ■ WSDL RDF XQuery 1. Working Draft (WD) ■ ■ ■ XACML SVG XSLT 2. Last Call Working Draft ■ ■ XForms SISR 3. Candidate Recommendation             (CR) 4. Proposed Recommendation (PR) 5. W3C Recommendation (REC)
  • 14. Resource Description Framework • RDF is not a language but a model • RDF is written in XML • RDF is a W3C standard • RDF is for describing resources on the web • RDF is designed to be read by computers • RDF is not designed for being displayed to people • RDF uses URIs to identify web resources • RDF uses property values to describe web resources • RDF uses the terms resources, properties, and values • RDF also uses the terms subject, predicates and objects
  • 15. RDF: introducing example <?xml version=quot;1.0quot;?> <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot; xmlns:cd=quot;http://www.recshop.fake/cd#quot;> <rdf:Description rdf:about=quot;http://www.recshop.fake/cd/Empire Burlesquequot;> <cd:artist>Bob Dylan</cd:artist> <cd:country>USA</cd:country> <cd:company>Columbia</cd:company> <cd:price>10.90</cd:price> <cd:year>1985</cd:year> </rdf:Description> <rdf:Description rdf:about=quot;http://www.recshop.fake/cd/Hide your heartquot;> <cd:artist>Bonnie Tyler</cd:artist> <cd:country>UK</cd:country> <cd:company>CBS Records</cd:company> <cd:price>9.90</cd:price> <cd:year>1988</cd:year> </rdf:Description> </rdf:RDF>
  • 16. RDF building block “STARLab” is the title of the website http://starlab.vub.ac.be • Subject (Resource) - http://starlab.vub.ac.be • Predicate (Property) – title • Object (Literal) – “STARLab”
  • 17. 2 RDF statements “STARLab” is the title of the website http:// starlab.vub.ac.be, and is created by “Peter Spyns” • Subject (Resource) - http://starlab.vub.ac.be • Predicate (Property) – title • Object (Literal) – “STARLab” • Subject (Resource) - http://starlab.vub.ac.be • Predicate (Property) – creator • Object (Literal) – “Peter Spyns” 17
  • 18. Nested RDF statements Peter Spyns, whose phone is 4571 is the creator of the website http://starlab.vub.ac.be which has title “STARLab”.
  • 19. RDF basic serialisation syntax The RDF root element and namespace: <?xml version=quot;1.0quot;?> <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;> . . . </rdf:RDF>
  • 20. RDF Description Attributes  about – refers to a URI of an existing resource  ID – signals the creation of a new resource (see later) <?xml version=quot;1.0quot;?> <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;> <rdf:Description rdf:about=quot;http://starlab.vub.ac.bequot;> . . . </rdf:Description> </rdf:RDF>
  • 21. RDF Property (1)  Property names must be associated with a schema  Qualify property names with namespace prefix  Value – description element or string <?xml version=quot;1.0quot;?> <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot; xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;> <rdf:Description rdf:about=quot;http://starlab.vub.ac.bequot;> <dc:title>STARLab</dc:title> <dc:creator>Peter Spyns</dc:creator> . . . </rdf:Description> </rdf:RDF>
  • 22. RDF Property (2)  Property names must be associated with a schema  Qualify property names with namespace prefix  Value – description element or string <?xml version=quot;1.0quot;?> <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot; xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;> <rdf:Description rdf:about=quot;http://starlab.vub.ac.bequot;> <dc:title>STARLab</dc:title> <dc:creator> <rdf:Description> <dc:name>Peter Spyns</dc:name> <dc:phone>4571</dc:phone> </rdf:Description> </dc:creator> </rdf:Description> </rdf:RDF>
  • 23. Marking value types <?xml version=quot;1.0quot;?> <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot; xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;> <rdf:Description rdf:about=quot;http://starlab.vub.ac.bequot;> <dc:title>STARLab</dc:title> <dc:alsoContains rdf:parseType=“Literal”> <h1>STARLab Official Homepage</h1> </dc:alsoContains> </rdf:Description> </rdf:RDF> XML formatted value
  • 24. Marking value types (2) <?xml version=quot;1.0quot;?> <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot; xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;> <rdf:Description rdf:about=quot;http://starlab.vub.ac.bequot;> <dc:title>STARLab</dc:title> <dc:lastUpdate>18</dc:lastUpdate> <dc:creator rdf:parseType=quot;Resourcequot;> <dc:name>Peter Spyns</dc:name> <dc:phone>4571</dc:phone> </dc:creator> </rdf:Description> </rdf:RDF> <dc:creator> <rdf:Description> <dc:name>Peter Spyns</dc:name> <dc:phone>4571</dc:phone> </rdf:Description> </dc:creator> 24
  • 25. Introducing structure in the data Last update of the site was 18 months, days, years ago ???? <?xml version=quot;1.0quot;?> <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot; xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;> <rdf:Description rdf:about=quot;http://starlab.vub.ac.bequot;> <dc:title>STARLab</dc:title> <dc:lastUpdate>18</dc:lastUpdate> <dc:creator> <rdf:Description> <dc:name>Peter Spyns</dc:name> <dc:phone>4571</dc:phone> </rdf:Description> </dc:creator> </rdf:Description> </rdf:RDF>
  • 26. Introducing structure in the data (2) Candidate solution (I) causes a decoding problem: <?xml version=quot;1.0quot;?> <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot; xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;> <rdf:Description rdf:about=quot;http://starlab.vub.ac.bequot;> <dc:title>STARLab</dc:title> <dc:lastUpdate>18 days</dc:lastUpdate> <dc:creator> <rdf:Description> <dc:name>Peter Spyns</dc:name> <dc:phone>4571</dc:phone> </rdf:Description> </dc:creator> </rdf:Description> </rdf:RDF>
  • 27. Introducing structure in the data (3) Candidate solution (II) refines the syntax, but ‘18’ and ‘days’ are not related: <?xml version=quot;1.0quot;?> <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot; xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;> <rdf:Description rdf:about=quot;http://starlab.vub.ac.bequot;> <dc:title>STARLab</dc:title> <dc:lastUpdate>18</dc:lastUpdate> <dc:lastUpdateUnit>days</dc:lastUpdateUnit> <dc:creator> <rdf:Description> <dc:name>Peter Spyns</dc:name> <dc:phone>4571</dc:phone> </rdf:Description> </dc:creator> </rdf:Description> </rdf:RDF>
  • 28. Introducing structure in the data (4) Candidate solution (III) introduces rdf:value field: the processor is signaled that the data itself is in this field  accepted as solution ! <?xml version=quot;1.0quot;?> <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot; xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;> <rdf:Description rdf:about=quot;http://starlab.vub.ac.bequot;> <dc:title>STARLab</dc:title> <dc:lastUpdate rdf:parseType=“Resource”> <rdf:value>18</rdf:value> <dc:lastUpdateUnit>days</dc:lastUpdateUnit> </dc:lastUpdate> ... </rdf:RDF>
  • 30. RDF vs. XML <E1> <E1> <E2> <E2> <E3> <URIref to E3> ... </E2> <E3> </E1> </E2> </E1> <E3> ... </E3> In RDF, the tree structure can be broken down and distributed: this has advantageous consequences... 30
  • 31. RDF vs. XML (2) RDF XML • Needs to be cached • Lazy loading, less fully before use memory strain • Comparable to • Comparable to foreign bilocation in keys in relational DBs hierarchical DBs • Data from disparate • Nesting docs can be joined (important Semantic Web asset)
  • 32. Properties as Resources Breaking the nesting ! <?xml version=quot;1.0quot;?> <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot; xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;> <rdf:Description rdf:about=quot;http://starlab.vub.ac.bequot;> <dc:title>STARLab</dc:title> <dc:creator rdf:resource=quot;http://starlab.vub.ac.be/staff/pspynsquot; /> </rdf:Description> <rdf:Description rdf:about=quot;http://starlab.vub.ac.be/staff/pspynsquot;> <dc:name>Peter Spyns</dc:name> <dc:phone>4571</dc:phone> </rdf:Description> </rdf:RDF>
  • 33. Properties as Resources <?xml version=quot;1.0quot;?> <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot; xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;> <rdf:Description rdf:about=quot;http://starlab.vub.ac.bequot;> <dc:title>STARLab</dc:title> <dc:creator>Peter Spyns</dc:creator> <dc:date>2001-04-10</dc:date> <dc:format>text/html</dc:format> <dc:language>en</dc:language> </rdf:Description> </rdf:RDF> <?xml version=quot;1.0quot;?> <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot; xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;> <rdf:Description rdf:about=quot;http://starlab.vub.ac.bequot; dc:title=quot;STARLabquot; dc:creator=quot;Peter Spynsquot; dc:date=quot;2001-04-10quot; dc:format=quot;text/htmlquot; dc:language=quot;enquot; /> </rdf:RDF>
  • 34. Abbreviated RDF <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot; xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot; <rdf:Description about=quot;http://starlab.vub.ac.bequot;> <dc:creator> <rdf:Description about=quot;http://starlab.vub.ac.be/staff/pspynsquot;> <dc:name>Peter Spyns</dc:name> <dc:phone>4571</dc:phone> </rdf:Description> </dc:creator> </rdf:Description> </rdf:RDF> <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot; xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot; <rdf:Description about=quot;http://starlab.vub.ac.bequot;> <dc:creator rdf:resource=quot;http://starlab.vub.ac.be/staff/pspynsquot; dc:name=quot;Peter Spynsquot; dc:phone=quot;4571quot;/> </rdf:Description> </rdf:RDF>
  • 35. Abbreviated RDF (2) <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot; xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;> <rdf:Description rdf:about=quot;http://starlab.vub.ac.bequot;> <dc:title>STARLab</dc:title> <dc:creator> <rdf:Description> <dc:name>Peter Spyns</dc:name> <dc:phone>4571</dc:phone> </rdf:Description> </dc:creator> </rdf:Description> </rdf:RDF> <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot; xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;> <rdf:Description rdf:about=quot;http://starlab.vub.ac.bequot;> <dc:title>STARLab</dc:title> <dc:creator rdf:parseType=quot;Resourcequot;> <dc:name>Peter Spyns</dc:name> <dc:phone>4571</dc:phone> </dc:creator> </rdf:Description> </rdf:RDF>
  • 36. Abbreviated RDF (3) http://starlab.vub.ac.be/staff/pdeleenheer is an instance of type Webpage... <?xml version=quot;1.0quot;?> <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot; xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;> <rdf:Description about=quot;http://starlab.vub.ac.be/staff/pdeleenheerquot;> <rdf:type rdf:resource=quot;http://www.schemas.org/www/Webpagequot;/> <dc:creator>Pieter De Leenheer</dc:creator> <dc:title>Pierre’s Page</dc:title> <dc:date>2002-06-15</dc:date> </rdf:Description> </rdf:RDF> <?xml version=quot;1.0quot;?> <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot; xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot; xmlns:s=quot;http://www.schemas.org/www/quot;> <s:WebPage about=quot;http://starlab.vub.ac.be/staff/pdeleenheerquot;> <dc:creator>Pieter De Leenheer</dc:creator> <dc:title>Pierre’s Page</dc:title> <dc:date>2002-06-15</dc:date> </s:WebPage> </rdf:RDF>
  • 38. RDF Containers • Bag - an unordered list of resources or literals • Sequence - an ordered list of resources or literals • Alternative - a list of resources or literals that represent alternatives for the value of a property
  • 39. rdf:Bag Some user-defined namespace (see later) <?xml version=quot;1.0quot;?> <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot; xmlns:cd=quot;http://www.recshop.fake/cdquot;> <rdf:Description rdf:about=quot;http://www.recshop.fake/cd/Beatles_For_Salequot;> <cd:artist> <rdf:Bag> <rdf:li>John</rdf:li> <rdf:li>Paul</rdf:li> <rdf:li>George</rdf:li> <rdf:li>Ringo</rdf:li> </rdf:Bag> </cd:artist> </rdf:Description> </rdf:RDF>
  • 40. rdf:Seq <?xml version=quot;1.0quot;?> <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot; xmlns:cd=quot;http://www.recshop.fake/cdquot;> <rdf:Description rdf:about=quot;http://www.recshop.fake/cd/Beatles_For_Salequot;> <cd:artist> <rdf:Seq> <rdf:li>John</rdf:li> <rdf:li>Paul</rdf:li> <rdf:li>George</rdf:li> <rdf:li>Ringo</rdf:li> </rdf:Seq> </cd:artist> </rdf:Description> </rdf:RDF> 40
  • 42. RDF Container Semantics Purely intuitive !
  • 43. rdf:about vs. rdf:ID (1) Two equivalent statements... <?xml version=quot;1.0quot; encoding=quot;UTF-8quot;?> <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot; xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;> <rdf:Description rdf:about=quot;http://starlab.vub.ac.be/staff/pdeleenheer#contactquot;> <dc:title>Contact Information</dc:title> </rdf:Description> </rdf:RDF> <?xml version=quot;1.0quot;?> <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot; xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot; xml:base=quot;http://starlab.vub.ac.be/staff/pdeleenheerquot; > <rdf:Description rdf:ID=quot;contactquot;> <dc:title>Contact Information</dc:title> </rdf:Description> </rdf:RDF>
  • 44. rdf:about vs. rdf:ID (2) Another pair of equivalent statements... <?xml version=quot;1.0quot; encoding=quot;UTF-8quot;?> <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot; xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;> <rdf:Description rdf:about=quot;http://starlab.vub.ac.be/staff/pdeleenheer#contactquot;> <dc:title>Contact Information</dc:title> </rdf:Description> </rdf:RDF> <?xml version=quot;1.0quot;?> <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot; xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot; xml:base=quot;http://starlab.vub.ac.be/quot; > <rdf:Description rdf:ID=“staff/pdeleenheer#contactquot;> <dc:title>Contact Information</dc:title> </rdf:Description> </rdf:RDF>
  • 45. Reification • RDF triples are facts, statements • It is true that ... • The author of starlab.vub.ac.be is Peter Spyns • what about statements about statements? • I believe that ... • I heard that ... • RDF provides reification • trust • meta-data • left as self-study
  • 46. RDF Schema • RDF describes resources with classes, properties, and values • RDFS is an extension to RDF • RDFS provides a framework to describe vocabulary, i.e. application-specific classes and properties • The term “schema” is similar to a DB schema
  • 47. RDFS Example <?xml version=quot;1.0quot;?> <rdf:RDF xmlns:rdf= quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot; xmlns:rdfs=quot;http://www.w3.org/2000/01/rdf-schema#quot; xml:base= quot;http://www.all-fruits-of-the-world.uto/exoticfruitquot;> <rdf:Description rdf:ID=quot;exotic fruitquot;> <rdf:type rdf:resource=quot;http://www.w3.org/2000/01/rdf-schema#Classquot;/> </rdf:Description> <rdf:Description rdf:ID=quot;bananaquot;> abbreviate? <rdf:type rdf:resource=quot;http://www.w3.org/2000/01/rdf-schema#Classquot;/> <rdfs:subClassOf rdf:resource=quot;#exotic fruitquot;/> </rdf:Description> <rdf:Description rdf:ID=quot;sapodillaquot;> <rdf:type rdf:resource=quot;http://www.w3.org/2000/01/rdf-schema#Classquot;/> <rdfs:subClassOf rdf:resource=quot;#exotic fruitquot;/> </rdf:Description> </rdf:RDF>
  • 48. RDFS example abbr. <?xml version=quot;1.0quot;?> <rdf:RDF xmlns:rdf= quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot; xmlns:rdfs=quot;http://www.w3.org/2000/01/rdf-schema#quot; xml:base= quot;http://www.all-fruits-of-the-world.uto/exoticfruitquot;> <rdfs:Class rdf:ID=quot;exotic fruitquot; /> <rdfs:Class rdf:ID=quot;bananaquot;> Yes ! cfr. slide 26 <rdfs:subClassOf rdf:resource=quot;#exotic fruitquot;/> </rdfs:Class> <rdfs:Class rdf:ID=quot;sapodillaquot;> <rdfs:subClassOf rdf:resource=quot;#exotic fruitquot;/> </rdfs:Class> </rdf:RDF>
  • 49. RDF Classes • rdfs:Resource – all resources within RDF are implicitly member of this class • rdfs:Class • rdfs:Literal • rdfs:XMLLiteral • rdfs:Container • rdfs:ContainerMembershipProperty • rdfs:Datatype
  • 50. RDF core properties • rdfs:subClassOf • rdfs:subPropertyOf • rdfs:isDefinedBy • rdfs:seeAlso • rdfs:comment • rdfs:member • rdf:type • rdfs:label • rdf:predicate • rdf:subject • rdf:first • rdf:object • rdfs:domain • rdf:rest • rdf:value • rdfs:range
  • 51. rdfs:Class <?xml version=quot;1.0quot;?> <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot; xmlns:rdfs=quot;http:// Can be left implicit: www.w3.org/2000/01/rdf-schema#quot;> Resource=root class <rdfs:Class rdf:ID=quot;Personquot;> <rdfs:comment>Person Class</rdfs:comment> <rdfs:subClassOf rdf:resource=quot;http://www.w3.org/1999/02/22- rdf- syntax-ns#Resourcequot;/> </rdfs:Class> <rdfs:Class rdf:ID=quot;Studentquot;> <rdfs:comment>Student Class</rdfs:comment> <rdfs:subClassOf rdf:resource=quot;#Personquot;/> </rdfs:Class> <rdfs:Class rdf:ID=quot;Teacherquot;> <rdfs:comment>Teacher Class</rdfs:comment> <rdfs:subClassOf rdf:resource=quot;#Personquot;/> </rdfs:Class> <rdfs:Class rdf:ID=quot;Coursequot;> <rdfs:comment>Course Class</rdfs:comment> <rdfs:subClassOf rdf:resource=quot;http://www.w3.org/1999/02/22- rdf- syntax-ns#Resourcequot;/> </rdfs:Class>
  • 52. rdf:Property <rdf:Property rdf:ID=“hasTeacherquot;> <rdfs:comment>Teacher of a course</rdfs:comment> <rdfs:domain rdf:resource=quot;#Coursequot;/> <rdfs:range rdf:resource=quot;#Teacherquot;/> </rdf:Property> <rdf:Property rdf:ID=“hasEnrolledStudentsquot;> <rdfs:comment>List of Students of a course in alphabetical order</rdfs:comment> <rdfs:domain rdf:resource=quot;#Coursequot;/> <rdfs:range rdf:resource=quot;http://www.w3.org/1999/02/22-rdf- syntax- ns#Seqquot;/> </rdf:Property> <rdf:Property rdf:ID=“hasNamequot;> <rdfs:comment>Name of a Person or Course</rdfs:comment> <rdfs:domain rdf:resource=quot;#Personquot;/> <rdfs:domain rdf:resource=quot;#Coursequot;/> <rdfs:range rdf:resource=quot;http://www.w3.org/1999/02/22-rdf- syntax- ns#Literalquot;/> </rdf:Property> </rdf:RDF>
  • 53. RDF Goodies • No distinction between classes and instances (individuals) <Species,type,Class> <Lion,type,Species> <Leo,type,Lion> • Properties can themselves have properties <hasDaughter,subPropertyOf,hasChild> <hasDaughter,type,familyProperty> • No distinction between language constructors and ontology vocabulary, so constructors can be applied to themselves/each other <type,range,Class> <Property,type,Class> <type,subPropertyOf,subClassOf>
  • 54. RDF triple versus lexon Lexons are : RDF triples are: • valid in a certain • valid in a certain namespace context • binary relationships • binary relationships between resources between concepts • read in one direction • read in two directions • URIs • natural language terms
  • 55. Lexon to RDFS <rdfs:Class rdf:ID=quot;Personquot;> <drives rdf:resource=quot;#Carquot;/> </rdfs:Class> <rdfs:Class rdf:ID=“Carquot;> <driven_by rdf:resource=quot;#Personquot;/> </rdfs:Class> <rdf:Property rdf:ID=“drivesquot;> <rdfs:range rdf:resource=quot;http://www.w3.org/2000/01/rdf-schema#Classquot;/> <rdfs:domain rdf:resource=quot;http://www.w3.org/2000/01/rdf-schema#Classquot;/> </rdf:Property> <rdf:Property rdf:ID=“driven_byquot;> <rdfs:range rdf:resource=quot;http://www.w3.org/2000/01/rdf-schema#Classquot;/> <rdfs:domain rdf:resource=quot;http://www.w3.org/2000/01/rdf-schema#Classquot;/> </rdf:Property>
  • 56. RDFS to Lexon <rdfs:Class rdf:ID=quot;Personquot;> <drives rdf:resource=quot;#Carquot;/> <fancies rdf:resource=quot;#Carquot;/> </rdfs:Class> <rdfs:Class rdf:ID=“Carquot;> <driven_by rdf:resource=quot;#Personquot;/> <driven_by rdf:resource=quot;#Personquot;/> </rdfs:Class> <rdf:Property rdf:ID=“drivesquot;> <rdfs:range rdf:resource=quot;http://www.w3.org/2000/01/rdf-schema#Classquot;/> <rdfs:domain rdf:resource=quot;http://www.w3.org/2000/01/rdf-schema#Classquot;/> </rdf:Property> <rdf:Property rdf:ID=“driven_byquot;> <rdfs:range rdf:resource=quot;http://www.w3.org/2000/01/rdf-schema#Classquot;/> <rdfs:domain rdf:resource=quot;http://www.w3.org/2000/01/rdf-schema#Classquot;/> </rdf:Property> <rdf:Property rdf:ID=“fanciesquot;> <rdfs:range rdf:resource=quot;http://www.w3.org/2000/01/rdf-schema#Classquot;/> <rdfs:domain rdf:resource=quot;http://www.w3.org/2000/01/rdf-schema#Classquot;/> </rdf:Property> <rdf:Property rdf:ID=“fancied_byquot;> <rdfs:range rdf:resource=quot;http://www.w3.org/2000/01/rdf-schema#Classquot;/> <rdfs:domain rdf:resource=quot;http://www.w3.org/2000/01/rdf-schema#Classquot;/> </rdf:Property>
  • 57. RDFS to Lexon Lexons  RDF  Lexons results in loss of information
  • 58. RDFS to Lexons • From RDF triples <s:WebPage about=quot;http://starlab.vub.ac.be/staff/pdeleenheerquot;> <dc:creator>Pieter De Leenheer</dc:creator> <dc:title>Pierre’s Page</dc:title> <dc:date>2002-06-15</dc:date> </s:WebPage> • From RDFS class and property definitions <rdf:Property rdf:ID=“hasTeacherquot;> <rdfs:comment>Teacher of a course</rdfs:comment> <rdfs:domain rdf:resource=quot;#Coursequot;/> <rdfs:range rdf:resource=quot;#Teacherquot;/> </rdf:Property> • From subclass definitions <rdfs:Class rdf:ID=quot;Studentquot;> <rdfs:comment>Student Class</rdfs:comment> <rdfs:subClassOf rdf:resource=quot;#Personquot;/> </rdfs:Class>
  • 59. SOAP • SOAP stands for Simple Object Access Protocol • SOAP is a communication protocol • SOAP is for communication between applications • SOAP is a format for sending messages • SOAP is designed to communicate via Internet • SOAP is platform independent • SOAP is language independent • SOAP is based on XML • SOAP is simple and extensible • SOAP allows you to get around firewalls • SOAP will be developed as a W3C standard
  • 60. SOAP Message Format <?xml version=quot;1.0quot;?> <soap:Envelope xmlns:soap=quot;http://www.w3.org/2001/12/soap- envelopequot; soap:encodingStyle=quot;http://www.w3.org/2001/12/ soap-encodingquot;> <soap:Header> ... ... </soap:Header> <soap:Body> ... ... <soap:Fault> ... ... </soap:Fault> </soap:Body> </soap:Envelope>
  • 61. SOAP Message Format <?xml version=quot;1.0quot;?> <soap:Envelope xmlns:soap=quot;http://www.w3.org/2001/12/soap- envelopequot; soap:encodingStyle=quot;http://www.w3.org/2001/12/ soap-encodingquot;> <soap:Header> ... ... </soap:Header> <soap:Body> The xmlns:soap namespace should always ... have the value of http://www.w3.org/ 2001/12/soap-envelope ... and it defines the Envelope as a SOAP <soap:Fault> Envelope ... ... </soap:Fault> </soap:Body> </soap:Envelope>
  • 62. SOAP Message Format <?xml version=quot;1.0quot;?> <soap:Envelope xmlns:soap=quot;http://www.w3.org/2001/12/soap- envelopequot; soap:encodingStyle=quot;http://www.w3.org/2001/12/ soap-encodingquot;> <soap:Header> ... ... </soap:Header> <soap:Body> A SOAP Envelope has no default encoding ... style. It is a client-server agreement. ... <soap:Fault> ... ... </soap:Fault> </soap:Body> </soap:Envelope>
  • 63. SOAP Message Format <?xml version=quot;1.0quot;?> <soap:Envelope xmlns:soap=quot;http://www.w3.org/2001/12/soap- envelopequot; soap:encodingStyle=quot;http://www.w3.org/2001/12/ soap-encodingquot;> <soap:Header> ... ... </soap:Header> <soap:Body> The optional Header contains application ... specific information (like authentication, payment, etc) about the SOAP message. ... <soap:Fault> The attributes defined in the SOAP Header ... defines how a recipient should process the ... SOAP message. </soap:Fault> </soap:Body> </soap:Envelope>
  • 64. SOAP Message Format <?xml version=quot;1.0quot;?> <soap:Envelope xmlns:soap=quot;http://www.w3.org/2001/12/soap- envelopequot; soap:encodingStyle=quot;http://www.w3.org/2001/12/ soap-encodingquot;> <soap:Header> ... The required SOAP Body element contains ... the actual SOAP message intended for the </soap:Header> ultimate endpoint of the message. <soap:Body> Immediate child elements of the SOAP Body ... element may be namespace-qualified. ... SOAP defines one element inside the Body <soap:Fault> element in the default namespace (quot;http:// ... www.w3.org/2001/12/soap-envelopequot;). This ... is the SOAP Fault element, which is used to </soap:Fault> indicate error messages. </soap:Body> </soap:Envelope>
  • 65. SOAP Example <SOAP-ENV:Envelope xmlns:SOAP-ENV=“ http://schemas.xmlsoap.org/soap/envelope/quot; xmlns:xsi=quot; http://www.w3.org/1999/XMLSchema-instancequot; xmlns:xsd=quot;http://www.w3.org/1999/XMLSchemaquot;> <SOAP-ENV:Header> </SOAP-ENV:Header> <SOAP-ENV:Body> <ns1:sayHelloTo xmlns:ns1=quot;Hello” SOAP-ENV:encodingStyle=quot; http://schemas.xmlsoap.org/soap/encoding/quot;> <name xsi:type=quot;xsd:stringquot;>John</name> </ns1:sayHelloTo </SOAP-ENV:Body> </SOAP-ENV:Envelope>
  • 66. SOAP Example <SOAP-ENV:Envelope xmlns:SOAP-ENV=“http://schemas.xmlsoap.org/soap/envelope/quot; xmlns:xsi=quot;http://www.w3.org/1999/XMLSchema-instancequot; xmlns:xsd=quot;http://www.w3.org/1999/XMLSchemaquot;> <SOAP-ENV:Body> <ns1:sayHelloToResponse xmlns:ns1=quot;Hello“ SOAP-ENV:encodingStyle=“ http://schemas.xmlsoap.org/soap/encoding/quot;> <return xsi:type=quot;xsd:stringquot;>Hello John, How are you doing? </return> </ns1:sayHelloToResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
  • 67. Online Public Services • Validation http://www.w3.org/RDF/Validator • Meta-data generators • Reggie (http://metadata.net/dstc/) • UKOLN Dublin Core dot (http://www.ukoln.ac.uk/metadata/ dcdot/) • Reusable vocabularies • Dublin Core (xmlns:dc=“http://purl.org/dc/elements/1.1/”) • vCard • and many more
  • 68. Publicly Available Tools • Editors • IsaViz http://www.w3.org/2001/11/IsaViz/ • RDFeditor http://sourceforge.net/projects/rdfeditor/ • Browsers • BrownSauce http://brownsauce.sourceforge.net/ • Stand-alone Parsers • ARP2 http://hpl.hp.com/semweb/arp.htm (also in Jena) • ICS-FORTH http://athena.ics.forth.gr:9090/RDF/ (also in RDF Suite)
  • 69. RDFS Shortcomings • RDFS too weak to describe resources in sufficient detail – No localised range and domain constraints • Impossible to say that the range of hasChild is person when applied to persons and elephant when applied to elephants – No existence/cardinality constraints • Impossible to say that all instances of person have a mother that is also a person, or that persons have exactly 2 parents – No transitive, inverse or symmetrical properties • Impossible to say that isPartOf is a transitive property, that hasPart is the inverse of isPartOf or that touches is symmetrical – etc. • Difficult to provide reasoning support – No “native” reasoners for non-standard semantics – May be possible to reason via first-order axiomatisation
  • 70. Web Ontology Language Desirable features identified for Web Ontology Language: • Extends existing Web standards – Such as XML, RDF, RDFS • Easy to understand and use – Should be based on familiar KR idioms • Formally specified • Of “adequate” expressive power • Possible to provide automated reasoning support
  • 71. RDF to OWL • Two languages developed to satisfy above requirements – OIL: developed by group of (largely) European researchers (several from EU OntoKnowledge project) – DAML-ONT: developed by group of (largely) US researchers (in DARPA DAML programme) • Efforts merged to produce DAML+OIL – Development was carried out by “Joint EU/US Committee on Agent Markup Languages” – Extends (“DL subset” of) RDF • DAML+OIL submitted to W3C as basis for standardisation – Web-Ontology (WebOnt) Working Group formed – WebOnt group developed OWL language based on DAML+OIL – OWL language now a W3C Candidate Recommendation
  • 72. OWL Specs • Three species of OWL – OWL full is union of OWL syntax and RDF – OWL DL restricted to FOL fragment (¼ DAML+OIL) – OWL Lite is “easier to implement” subset of OWL DL • OWL DL based on SHIQ Description Logic – In fact it is equivalent to SHOIN(Dn) DL • OWL DL Benefits from many years of DL research – Well defined semantics – Formal properties well understood (complexity, decidability) – Known reasoning algorithms – Implemented systems (highly optimised)
  • 73. OWL Constructors • XMLS datatypes as well as classes in – E.g., • Arbitrarily complex nesting of constructors – E.g.,
  • 76. RDF Syntax for OWL E.g.,
  • 77. RDF Syntax for OWL E.g., <owl:Class> <owl:intersectionOf rdf:parseType=quot; collectionquot;> <owl:Class rdf:about=quot;#Personquot;/> <owl:Restriction> <owl:onProperty rdf:resource=quot;#hasChildquot;/> <owl:toClass> <owl:unionOf rdf:parseType=quot; collectionquot;> <owl:Class rdf:about=quot;#Doctorquot;/> <owl:Restriction> <owl:onProperty rdf:resource=quot;#hasChildquot;/> <owl:hasClass rdf:resource=quot;#Doctorquot;/> </owl:Restriction> </owl:unionOf> </owl:toClass> </owl:Restriction> </owl:intersectionOf> </owl:Class>
  • 80. References 1. Heflin, J. and Allamang. (2008) Semantic Web for the Working Ontologist 2. Hjelm, J. (2001) Creating the Semantic Web with RDF, Wiley. 3. Powers, S. (2003) Practical RDF, O’Reilly. 4. Baader, F. and Nutt, W. (2002) Basic Description Logics. In the Description Logic Handbook, Cambridge University Press, pp. 47-100. 5. http://www.w3.org/TR/owl-guide/ 6. http://www.javaworld.com/javaworld/jw-03-2001/jw-0330- soap.html 7. http://www.w3schools.com
  • 81. Lecture outline next week • RDFS Semantics • Web Ontology Language • Description Logics

Notes de l'éditeur