Professional Documents
Culture Documents
Instructor
2
Challenges of Current Web
Flat Text
Dummy Information
Repeated Information
3
Need of Semantic Web
Information Overload
4
Current web vs Semantic Web
• Semantic Web derives from W3C director Tim Berners –Lee. His
vision of the Web as a universal medium for data ,information and
knowledge exchange.
7
Metadata
The first form of semantic data on the Web was metadata : ―data
about data. These basically include:
• Means of creation of the data
• Purpose of the data
• Time and date of creation
• Creator or author of data
• Placement on a computer network where the data was created
• Standards used
Example :
A meta element specifies name and associated content attributes describing aspects of the
HTML page.
<meta name="keywords"content="wikipedia,encyclopedia">
Default charset for plain text is simply set with meta:
<meta http-equiv="Content-Type" content="text/html charset=UTF-8" >
8
Semantic Web Layered architecture/
Semantic Web Stack
9
Semantic Web Layered architecture
10
MAIN COMPONENTS OF SEMANTIC
WEB
URI/Unicode:
•Unicode and URI: Unicode, the standard for computer character representation, and
URIs, the standard for identifying and locating resources (such as pages on the Web),
provide a baseline for representing characters used in most of the languages in the world, and
for identifying resources.
•To identify items on the Web, we use identifiers. Because each item identified is
considered a "resource," we call these identifiers "Uniform Resource Identifiers". We can
give a URI to anything, and anything that has a URI can be said to be "on the Web“.
•For example: the book you bought last week, the fly that keeps buzzing in your ear and
anything else you can think of -- they all can have a URI.
•One can classify URIs as locators (URLs), or as names (URNs), or as both. A Uniform
Resource Name (URN) functions like a person's name, while a Uniform Resource Locator
(URL) resembles that person's street address. In other words: the URN defines an item's
identity, while the URL provides a method for finding it.
11
MAIN COMPONENTS OF SEMANTIC
WEB
XML:
•XML was designed to be a simple way to send documents across the Web. It allows anyone
to design their own document format and then write a document in that format. These
document formats can include markup to enhance the meaning of the document's content.
This markup is "machine-readable," that is, programs can read and understand it. By
including machine-readable meaning in our documents, we make them much more powerful.
•Example
I just got a new pet dog.
As far as our computer is concerned, this is just text. It has no particular meaning to the
computer. But now consider this same passage marked up using an XML-based markup
language (we'll make one up for this example):
<sentence>
<person href="http://aaronsw.com/"> I </person> just got a new pet <animal> dog
</animal>.
</sentence>
12
MAIN COMPONENTS OF SEMANTIC
WEB
XML:
•Example
For example, we can rewrite our example thus:
<sentence>
<person href="http://aaronsw.com">I</person> just got a new pet<animal type="dog"
href="http://aaronsw.com/myDog">dog</animal>.
</sentence>
13
MAIN COMPONENTS OF SEMANTIC WEB
RDF:
•The most fundamental building block is Resource Description Framework(RDF), a format
for defining information on the web.
•The Semantic Web uses RDF to describe web resources. RDF provides a model for data,
and a syntax so that independent parties can exchange and use it. It is designed to be read and
understood by computers. It is not designed for being displayed to people.
•Once information is in RDF form, it becomes easy to process it, since RDF is a generic
format, which already has many parsers.
•An RDF statement is a lot like a simple sentence, except that almost all the words are URIs.
Each RDF statement has three parts: a subject, a predicate and an object. Let's look at a
simple RDF statement:
<http://aaron.com/>
<http://love.example.org/terms/reallyLikes>
<http://www.w3.org/People/Berners-Lee/Weaving/> .
14
MAIN COMPONENTS OF SEMANTIC WEB
RDFS:
•A "schema" is simply a document or piece of code that controls a set of terms in another
document or piece of code. It's like a master checklist.
•A schema is a way to describe the meaning and relationships of terms. This description (in
RDF, of course) helps computer systems use terms more easily, and decide how to convert
between them.
•Using RDF Schema, we can say that "Fido" is a type of "Dog", and that "Dog" is a sub class
of animal. We can also create properties and classes, as well as doing some slightly more
"advanced" stuff such as creating ranges and domains for properties.
15
MAIN COMPONENTS OF SEMANTIC WEB
OWL:
a richer language for providing more complex constraints on the types of resources and their
properties.
Ontology:
•In philosophy, an ontology is a theory about the nature of existence, of what types of things
exist. Artificial-intelligence and Web researchers have co-opted the term for their own
jargon, and for them an ontology is a document or file that formally defines the relations
among terms.
•An ontology is an explicit description of a domain. It includes
Concepts
properties and attributes of concepts
constraints on properties and attributes
individuals (often, but not always)
Proof:
•Once we begin to build systems that follow logic, it makes sense to use them to prove
things.
•People all around the world could write logic statements. Then your machine could follow
these Semantic "links" to construct proofs.
•It is generally not required as the information on web does not require to be proved.
17
Semantic Web Architecture
You
are
here
18
Main goals of the Semantic
Web?
The Semantic Web is a Web of data. There is a lot of data
we all use every day, and it's not part of the Web.
22
Major building blocks of the Semantic Web?
define and describe the relations among data (i.e., resources) on the
Web.
23
Major building blocks of the Semantic Web?
Another major difference is that the relationship (i.e, the link) itself
is named, whereas the link used by a human on the (traditional)
Web is not and their role is deduced by the human reader.
24
Major building blocks of the Semantic Web?
Tools to have a finer and more detailed classification and
characterization of those relationships as well as the resources being
characterized. (E.g., RDF Schemas, OWL, SKOS)
25
Will I “see” the Semantic Web in my
everyday browser?
Not necessarily, at least not directly. The Semantic Web
technologies may act behind the scenes, resulting in a better user
experience, rather than directly influencing the “look” on the
browser.
This is already happening: there are Web Sites (e.g., Sun’s white
paper collection site, or Nokia’s support portal for their S60 series
device, Oracle’s virtual press room, Harper’s online magazine, or
Yahoo!’s Finance portal) that use Semantic Web technologies in the
background.
26
Is the Semantic Web just research, or
does it have industrial applications?
At present, the Semantic Web is increasingly used by small and
large business. Oracle, IBM, Adobe, Software AG, or Yahoo! are
only some of the large corporations that have picked up this
technology already and are selling tools as well as complete business
solutions.
Large application areas, like the Health Care and Life Sciences, look
at the data integration possibilities of the Semantic Web as one of
the technologies that might offer significant help in solving their
R&D problems.
27
How is the Semantic Web related to
the existing Web?
The Semantic Web is an extension of the current Web and not its
replacement. Islands of RDF and possibly related ontologies can be
developed incrementally.
Major application areas (like Health Care and Life Sciences) may
choose to “locally” adopt Semantic Web technologies, and this can
then spread over the Web in general.
28
How does the Semantic Web relate to
Artificial Intelligence?
Some parts of the Semantic Web technologies are based on results of
Artificial Intelligence research, like knowledge representation (e.g.,
for ontologies or rules), model theory (e.g., for the precise semantics
of RDF and RDF Schemas), or various types of logics (e.g., for rules).
However, it must be noted that Artificial Intelligence has a number of
research areas (e.g., image recognition) that are completely orthogonal
to the Semantic Web.
It is also true that the development of the Semantic Web brought some
new perspectives to the Artificial Intelligence community: the “Web
effect”, i.e., the merge of knowledge coming from different sources,
usage of URIs, the necessity to reason with incomplete data; etc.29
How does the Semantic Web relate to
XML? XML vs RDF
One of XML’s strengths is its ability to describe strict hierarchies.
XML is not an easy tool for data integration. On the other hand,
RDF consists of a very loose set of relations (triples). Due to its
usage of URIs it is very easy to seamlessly merge triple sets, ie, data
described in RDF within the same application; it is therefore ideal
for the integration of possibly heterogenous information on the Web.
But this has its price: reconstructing hierarchies from RDF may
become quite complex.
30
How does the Semantic Web relate to
XML? XML vs RDF
RDF based vocabularies, and the accompanying semantic
formalisms like RDFS or OWL, also make it easy to define
inference possibilities on RDF data.
31