| Previous Next Contents References Resource Description FrameworkAs mentioned above, OWL is based on RDF, a language for
describing resources. One goal of RDF to
help applications discover information on the web. An example of
an RDF language, other than OWL, is RDF Site Summary (RSS) 1.0,
popularly used
in news feeds. RDF is described informally
in the RDF Primer1 and
formally in the RDF/XML Syntax
Specification2. RDF enables establishment and discovery of statements about
resources. As an example, the statement http://www.medicalcomputing.net/index.html
has a creation-date whose
value is April 12, 2006 can be represented in RDF has three parts
This can be displayed graphically as ![]() A simple RDF Relation
This can be written in XML as
|
|
There is no need for the subject to be an Internet resource, such
as a web page example above. It may be a person as well. In this case a
URI is
used.
For example, we could model the statement
Fred Flinstone as examined on
April 12, 2006
as
Fred Flinstone is not an Internet resource but he can be described using this RDF fragment, which makes use of a URI for Fred
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:medcomterms="http://www.medicalcomputing.net/terms/">
<rdf:Description rdf:about="http://www.w3.org/People/EM/contact#fred_flinstone">
<medcomterms:was-examined>April 12, 2006</medcomterms:was-examined>
</rdf:Description>
</rdf:RDF>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:contact="http://www.w3.org/2000/10/swap/pim/contact#">
<contact:Person rdf:about="http://www.w3.org/People/EM/contact#fred_flinstone">
<contact:fullName>Fred Flinstone</contact:fullName>
<contact:mailbox rdf:resource="fflinstone@medicalcomputing.net"/>
</contact:Person>
</rdf:RDF>
The person, Fred Flinstone is described as a by the URI http://www.w3.org/People/EM/contact#fred_flinstone.
Fred's full name and mailbox are also listed as properties. Properties are a
fundamental idea in RDF. Properties
are binary relationships between the individuals, or objects, or
describe
data values associated with objects. Instances of properties can
be written as ordered pairs. For example, this instance of the
property mailbox can be written
(http://www.w3.org/People/EM/contact#fred_flinstone,
"fflinstone@medicalcomputing.net").
The domain of a property
restricts the
individuals to which the property can be applied. For example, we
could define the domain of was-examined property to be
people. The range of a
property restricts the values it can take. For example, the range
of the was-examined property may be defined as a valid
date before the current point in time.
The concept of a class is
described in the RDF Schema as a group of
objects that share properties.
For example, person could
be defined as a class because individuals belonging to that class all
have names and some have email addresses. The use of the term
individual here is not casual. RDF uses the term individuals to describe instances of
classes. For example, Fred Flinstone is an instance of the class
person, so he is an individual. Despite the example use, the term
individual in
RDF and OWL does not just refer to people. Classes may be
organized in a hierarchy using
the subClassOf relation. For example, employee
could be defined as a subclass of person.
Previous Next
Contents References