40
Semantic Web

Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

Semantic Web

Page 2: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

Lecture Outline1. Semantic Web Technologies

2. Semantic Web Impact

3. Data Integration

Page 3: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

3

Semantic Web TechnologiesExplicit Metadata

Ontologies

Logic and Inference

Agents

Page 4: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

4

On HTMLWeb content is currently formatted for human readers rather than programs

HTML is the predominant language in which Web pages are written (directly or using tools)

Vocabulary describes presentation

เนือ้หาของเวบ็ในปัจจบุนั เป็นรูปแบบให้คนอา่น ไม่ใช่ คอมพิวเตอร์สว่นใหญ่เขียนอยูโ่ดยภาษา HTML

Page 5: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

5

An HTML Example<h1>Agilitas Physiotherapy Centre</h1>

Welcome to the home page of the Agilitas Physiotherapy Centre. Do

you feel pain? Have you had an injury? Let our staff Lisa Davenport,

Kelly Townsend (our lovely secretary) and Steve Matthews take care

of your body and soul.

<h2>Consultation hours</h2>

Mon 11am - 7pm<br>

Tue 11am - 7pm<br>

Wed 3pm - 7pm<br>

Thu 11am - 7pm<br>

Fri 11am - 3pm<p>

But note that we do not offer consultation during the weeks of the

<a href=". . .">State Of Origin</a> games.

Page 6: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

6

Problems with HTMLHumans have no problem with this

Machines (software agents) do:◦ How distinguish therapists from the secretary,

◦ How determine exact consultation hours

◦ They would have to follow the link to the State Of Origin games to find when they take place.

จาก ตวัอยา่ง HTML ถ้าคนอา่นจะสามารถเข้าใจได้ แตถ้่าเป็นคอมพิวเตอร์อา่นจะตีความไมไ่ด้

Page 7: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

7

A Better Representation<company>

<treatmentOffered>Physiotherapy</treatmentOffered>

<companyName>Agilitas Physiotherapy Centre</companyName>

<staff>

<therapist>Lisa Davenport</therapist>

<therapist>Steve Matthews</therapist>

<secretary>Kelly Townsend</secretary>

</staff>

</company>

Page 8: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

The Sematic Web ImpactKnowledge Management

B2C

B2B

WIKIs

Page 9: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

The Semantic Web Impact – Knowledge Management

Knowledge management concerns itself with acquiring, accessing, and maintaining knowledge within an organization

Key activity of large businesses: internal knowledge as an intellectual asset

It is particularly important for international, geographically dispersed organizations

Most information is currently available in a weakly structured form (e.g. text, audio, video)

9

Page 10: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

Limitations of Current Knowledge Management Technologies

Searching information ◦ Keyword-based search engines

Extracting information◦ human involvement necessary for browsing, retrieving, interpreting, combining

Maintaining information◦ inconsistencies in terminology, outdated information.

Viewing information◦ Impossible to define views on Web knowledge

10

Page 11: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

Semantic Web Enabled Knowledge Management

Knowledge will be organized in conceptual spaces according to its meaning.

Automated tools for maintenance and knowledge discovery

Semantic query answering

Query answering over several documents

Defining who may view certain parts of information (even parts of documents) will be possible.

11

Page 12: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

The Semantic Web Impact –B2C Electronic Commmerce

A typical scenario: user visits one or several online shops, browses their offers, selects and orders products.

Ideally humans would visit all, or all major online stores; but too time consuming

Shopbots are a useful tool

12

Page 13: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

Limitations of ShopbotsThey rely on wrappers: extensive programming required

Wrappers need to be reprogrammed when an online store changes its outfit

Wrappers extract information based on textual analysis

◦ Error-prone

◦ Limited information extracted

13

Page 14: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

Semantic Web Enabled B2C Electronic Commerce

Software agents that can interpret the product information and the terms of service.◦ Pricing and product information, delivery and privacy policies will be interpreted and compared to the

user requirements.

Information about the reputation of shops

Sophisticated shopping agents will be able to conduct automated negotiations

14

Page 15: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

The Semantic Web Impact –B2B Electronic Commerce

Greatest economic promise

Currently relies mostly on EDI◦ Isolated technology, understood only by experts

◦ Difficult to program and maintain, error-prone

◦ Each B2B communication requires separate programming

Web appears to be perfect infrastructure◦ But B2B not well supported by Web standards

15

Page 16: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

Electronic Data Interchange (EDI)

Page 17: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

Semantic Web Enabled B2B Electronic Commerce

Businesses enter partnerships without much overhead

Differences in terminology will be resolved using standard abstract domain models

Data will be interchanged using translation services.

Auctioning, negotiations, and drafting contracts will be carried out automatically (or semi-automatically) by software agents

17

Page 18: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

WikisCollections of web pages that allow users to add content via a browser interface

Wiki systems allow for collaborative knowledge

Users are free to add and change information without ownership of content, access restrictions, or rigid workflows

18

Page 19: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

Some Uses of WikisDevelopment of bodies of knowledge in a community effort, with contributions from a wide range of users (e.g. Wikipedia)

Knowledge management of an activity or a project (e.g. brainstorming and exchanging ideas, coordinating activities, exchanging records of meetings)

19

Page 20: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

Semantic Web Enabled WikisThe inherent structure of a wiki, given by the linking between pages, gets accessible to machines beyond mere navigation

Structured text and untyped hyperlinks are enriched by semantic annotations referring to an underlying model of the knowledge captured by the wiki − e.g. a hyperlink from Knossos to Heraklion could be annotated with information is located in. This

information could then be used for context-specific presentations of pages, advanced querying, and consistency verification

20

Page 21: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

21

The Semantic Web Layer Tower

Page 22: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

Alternative Semantic Web Stack

22

Page 23: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

Data integration1. แมปข้อมลูตา่ง ๆ ให้เป็น abstract data

2. รวมการแสดงผล

3. ท าการสอบถาม (query) จากข้อมลูทัง้หมด

Page 24: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

A simplified bookstore data (dataset “A”)ID Author Title Publisher Year

ISBN0-00-651409-X The Glass Palace 2000id_xyz id_qpr

ID Name Home Page

ID City

Harper Collins London

id_xyz Ghosh, Amitav http://www.amitavghosh.com

Publ. Name

id_qpr

ผู้แต่ง

ส านกัพมิพ์

หนงัสือ

Page 25: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

1st: export data as a set of relations

Page 26: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

Another bookstore data (dataset “F”)A B D E

1 ID Titre Original

2

ISBN0 2020386682 A13 ISBN-0-00-651409-X

3

6 ID Auteur

7 ISBN-0-00-651409-X A12

11

12

13

Traducteur

Le Palais

des

miroirs

Nom

Ghosh, Amitav

Besse, Christianne

ข้อมลูลกัษณะเดียวกนัแต่คนละภาษา

Page 27: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

2nd: export second set of data

Page 28: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

3rd: start merging data

Page 29: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

3rd: start merging your data (cont.)

Page 30: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

3rd: merge identical resources

Page 31: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

Start making queries… User of data “F” can now ask queries like:

“give me the title of the original” well, … « donnes-moi le titre de l’original »

This information is not in the dataset “F”…

…but can be retrieved by merging with dataset “A”!

Page 32: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

However, more can be achieved… We “feel” that a:author and f:auteur should be the same

But an automatic merge doest not know that!

Let us add some extra information to the merged data: a:author same as f:auteur

both identify a “Person”

a term that a community may have already defined: a “Person” is uniquely identified by his/her name and, say, homepage

it can be used as a “category” for certain type of resources

Page 33: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

3rd revisited: use the extra knowledge

Page 34: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

Start making richer queries! User of dataset “F” can now query:

“donnes-moi la page d’accueil de l’auteur de l’originale” well… “give me the home page of the original’s ‘auteur’”

The information is not in datasets “F” or “A”…

…but was made available by: merging datasets “A” and datasets “F”

adding three simple extra statements as an extra “glue”

Page 35: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

Combine with different datasets Using, e.g., the “Person”, the dataset can be combined with other sources

For example, data in Wikipedia can be extracted using dedicated tools e.g., the “dbpedia” project can extract the “infobox” information from Wikipedia

already…

Page 36: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

Merge with Wikipedia data

Page 37: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

Merge with Wikipedia data

Page 38: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

Merge with Wikipedia data

Page 39: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge
Page 40: Semantic Web · Semantic Web Enabled Knowledge Management Knowledge will be organized in conceptual spaces according to its meaning. Automated tools for maintenance and knowledge

References Grigoris Antoniou and Frank van Harmelen. A Semantic Web Primer. The MIT Press. 2003

Toby segaran, Colin Evans, and Jamie Taylor. Programming the Semantic Web. O Reilly Media Inc. 2009

John Hebeler, Matthew Fisher, Ryan Blace, Andrew Perez-Lopez. Semantic Web Programming. Wiely Publishing Inc. 2009

https://www.w3.org/2009/Talks/1030-Philadelphia-IH/Tutorial.ppt