Professional Documents
Culture Documents
Knowledge-Based Systems
Systems
“... a goal of the Web was that, if the interaction between person
and hypertext could be so intuitive that the machine-readable
information space gave an accurate representation of the state of
people's thoughts, interactions, and work patterns, then machine
analysis could become a very powerful management tool, seeing
patterns in our work and facilitating our working together
through the typical problems which beset the management of
large organizations.”
TBL (and others) have since been working towards realising this vision,
which has become known as the Semantic Web
E.g., article in May 2001 issue of Scientific American…
Usage
basics
customization
Limitsof microformats
Outlook
implicit interpretation
similar to how “int” implies that the data element will be an
integer
example: “hCard/adr” implies that the data element will
contain an address.
interpretation “locality”
is“Mousehole” a county name? A province name?
ambiguous information
<?xml version="1.0"?>
<River id="Yangtze"
xmlns="http://www.geodesy.org/river">
XML <length>6300 kilometers</length>
<startingLocation>western China's Qinghai-Tibet Plateau</startingLocation>
<endingLocation>East China Sea</endingLocation>
</River>
Yangtze.xml
"convert to"
<?xml version="1.0"?>
<River rdf:ID="Yangtze"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.geodesy.org/river#">
RDF <length>6300 kilometers</length>
<startingLocation>western China's Qinghai-Tibet Plateau</startingLocation>
<endingLocation>East China Sea</endingLocation>
</River>
Yangtze.rdf
<?xml version="1.0"?>
<River rdf:ID="Yangtze"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.geodesy.org/river#">
<length>6300 kilometers</length>
<startingLocation>western China's Qinghai-Tibet Plateau</startingLocation>
<endingLocation>East China Sea</endingLocation>
</River>
3
Add the "fragment identifier symbol" to
the namespace.
© 2009 Franz J. Kurfess Semantic Web 40
The
The RDF
RDF Format
Format (cont.)
(cont.)
Identifies the resource being described. This
resource is an instance of River.
2
Identifies
1 the type
<?xml version="1.0"?>
(class) of the <River rdf:ID="Yangtze"
resource being xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.geodesy.org/river#">
described. <length>6300 kilometers</length>
<startingLocation>western China's Qinghai-Tibet Plateau</startingLocation>
3 <endingLocation>East China Sea</endingLocation>
</River>
You may ask: "Why should I bother designing my XML to be in the RDF format?"
Answer: there are numerous benefits:
The RDF format, if widely used, will help to make XML more interoperable:
Tools can instantly characterize the structure, "this element is a type (class), and
XML.
You can use the RDF tools to apply inferencing to the data.
Concept
Relates to
activates
Form Referent
Stands for
“Tank“
[Ogden, Richards, 1923]
?
© 2009 Franz J. Kurfess Horrocks & Rector, 2004 Semantic Web 48
Why
Why Develop
Develop an
an Ontology?
Ontology?
To share common understanding of the structure of
information
among people
among software agents
Middle
level
Bottom
level
© 2009 Franz J. Kurfess [AKT 2003] Horrocks & Rector, 2004 Semantic Web 58
An
An Ontology
Ontology Is
Is Often
Often Just
Just the
the Beginning
Beginning
Declare
structure
Databases
Ontologies
Knowledge
Provide bases
domain
description
Domain-
Software independent
agents Problem- applications
solving
methods
Slides modified from Natasha Noy, protege.stanford.edu/amia2003/AMIA2003Tutorial.ppt
CSC 9010 Spring, 2011. Paula Matuszek
© 2009 Franz J. Kurfess 5
Semantic Web 59
Ontology-Development
Ontology-Development Process
Process
General approach:
someValuesFrom
restrictions
Properties
subpane showing
alternative ‘frame
What it means view
All Margherita_pizzas (amongst other things)
Are Pizzas
aMZ4
Pizzas aMZ3
…
Margherita_
pizzas
aMP1 aMPi
Tomato_
toppingss
aMP2 aT1 aTk
aT2 aT3
…
aT4