Dr. Dobb's is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


Channels ▼
RSS

Web Development

Semantically Enabled SOA


Semantic Web

A real-world implementation of semantic analysis is the Semantic Web (www.w3.org/2001/sw). The Semantic Web, sometimes referred to as "Web 3.0," introduces interpretive analysis to the vast amounts of information available over the World Wide Web. In achieving this goal, authors must augment existing data in a formal way that lets machines interpret the information unambiguously. For example, the meaning of "hand" is context sensitive. Therefore, ontology must somehow account for the different ways in which the word may be used. The Semantic Web as proposed by W3C provides two mechanisms to handle semantic information and ontology creation: Resource Definition Framework (RDF) and Web Ontology Language (OWL).

A Resource Definition Framework (www.w3.org/RDF) is a means to create simple associations between elements. RDF introduces a 3-tuple (triple) to define associations between resources, in a manner similar to sentence structure:

  • Subject. A resource as defined by a URI.
  • Predicate. Indicates the type of relationship between subject and object.
  • Object. The resource that is the terminating end of the relationship.

Put another way, a resource (subject) has a property (predicate) given by another resource (object). There is no constraint on the number of objects associated with a subject. That is to say, a resource can have multiple resources as properties. For example, Listing One uses RDF to define a website with two coauthors. RDF triples can be represented by directed graphs like that in Figure 1.

<?xml version="1.0" encoding="UTF-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dc="http://purl.org/DC/"
         xmlns:os="http://somesite.org/Schema/">
  <rdf:Description about="http://rama.cpe.fr/index.html">
    <dc:Creator rdf:resource="mailto:[email protected]"/>
    <dc:Title> Index of my web site </dc:Title>
    <dc:Creator>
      <rdf:Description about="mailto:[email protected]">
        <os:worksWith rdf:resource="mailto:[email protected]"/>
      </rdf:Description>
    </dc:Creator>
  </rdf:Description>
</rdf:RDF>[http://bat710.univ-lyon1.fr/~champin/rdf-tutorial/node23.htmlBC1]
Listing One

[Click image to view at full size]

Figure 1: RDF triples.

The Web Ontology Language (www.w3.org/TR/owl-features) is a formal language for specifying resources and their relationships. OWL is built on top of RDF, and supports a number of mathematical relations among resources.

OWL has several versions. OWL Full is an extension of RDF to provide a formal ontology language. OWL Descriptive Logic (OWL DL) supports semantics expressible as First Order Logic. OWL Lite is a version of OWL DL constructed for ease of implementation.


Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.