Semantic Web and Knowledge Management - PowerPoint PPT Presentation

1 / 69
About This Presentation
Title:

Semantic Web and Knowledge Management

Description:

Semantic Web and Knowledge Management. Ching-Long Yeh ??? ... Knowledge-Engineering Approach to Knowledge Management. KE methodology: CommonKADS ... – PowerPoint PPT presentation

Number of Views:100
Avg rating:3.0/5.0
Slides: 70
Provided by: cseTt
Category:

less

Transcript and Presenter's Notes

Title: Semantic Web and Knowledge Management


1
Semantic Web and Knowledge Management
  • Ching-Long Yeh ???
  • Department of Computer Science and Engineering
  • Tatung University
  • Taipei, Taiwan
  • chingyeh_at_cse.ttu.edu.tw (msn)
  • http//www.cse.ttu.edu.tw/chingyeh

2
Content
  • Introduction
  • WWW HTML, HTTP, browsers
  • XML and its Protocol
  • Business Automation RosettaNet, ebXML
  • Semantic Web WWW metadata layer
  • Semantic Grid
  • Semantic Web
  • Overview
  • Reasoning in Prolog
  • Languages RDF, RDFS, OWL, OWL-S, SWRL, SPARQL
  • Ontologies
  • RSS, FOAF, iCalendar, vCard, DC(Q), musicBrainz
  • Semantic Web System Architecture
  • Knowledge-Engineering Approach to Knowledge
    Management
  • KE methodology CommonKADS
  • Our Current Research
  • Lesson Learned in Project Management Based on
    Semantic Web
  • From Text to RDF
  • Summary

3
Web Technology Overview
  • WWW
  • Infrastructure
  • HTML, HTTP, URI, browsers
  • Services
  • Search engine and directory navigation
  • WWW XML
  • Web Service (UDDI, WSDL, SOAP)
  • SOA (Registry, provider, requester)
  • ebXML
  • SOA for business automation
  • discovery, implementation, run-time phases
  • Business process message service
  • Semantic Web
  • Meaning processing automation
  • WWW metadata layer (OWLRDF)
  • Services automation (WWWOWL-S/RDF)
  • Semantic Grid

4
Semantic Web
5
Semantic Web
  • The Semantic Web is a vision

the idea of having data on the web defined and
linked in a way that it can be used by machines
not just for display purposes, but for
automation, integration and reuse of data across
various applications
6
Semantic Web
  • The Semantic Web a Web with a meaning.

"If HTML and the Web made all the online
documents look like one huge book, RDF, schema,
and inference languages will make all the data in
the world look like one huge database Tim
Berners-Lee, Weaving the Web, 1999
7
Introduction from W3C SW Activity
  • The Semantic Web is a web of data.
  • The Semantic Web is about two things.
  • Common formats for interchange of data,
  • On the original Web we only had interchange of
    documents.
  • Language for recording how the data relates to
    real world objects
  • That allows a person, or a machine, to start off
    in one database, and then move through an
    unending set of databases which are connected not
    by wires but by being about the same thing.

8
The Semantic Web Architecture
Trust
Sig./ Ency.
Proof
Tim Berners-Lee Axioms, Architecture and
Aspirations W3C all-working group plenary
Meeting 28 February 2001
Logic (FOL)
Rules (SWRL)
(http//www.w3.org/2001/Talks/0228-tbl/slide5-0.ht
ml)
Ontology (OWL)
RDF Schema
I. Horrocks, et al. Semantic web architecture
Stack or two towers? In F. Fages and S. Soliman,
(eds.), Principles and Practice of Semantic Web
Reasoning (PPSWR 2005), number 3703 in LNCS,
pages 37-41. SV, 2005. http//www.cs.man.ac.uk/h
orrocks/Publications/download/2005/HPPH05.pdf
RDF MS
XML Schema
XML
Namespaces
URI
Unicode
9
Reasoning in Prolog (1)
  • Facts and rules about members of a family

parent(tom,bob). parent(pam,bob). parent(tom,bob).
parent(tom,liz). parent(bob,ann). parent(bob,pat)
. parent(pat,jim). female(pam). male(tom). male(bo
b). female(liz). female(pat). female(ann). male(ji
m).
offspring(Y,X)- parent(X,Y). mother(X,Y)-
parent(X,Y),female(X). grandparent(X,Z)-
parent(X,Y),parent(Y,Z). sister(X,Y)-
parent(Z,X),parent(Z,Y),female(X),
X\Y. predecessor(X,Z)- parent(X,Z). predeces
sor(X,Z)- parent(X,Y), predecessor(Y,Z).
10
Reasoning in Prolog (2)
  • The following unlisted facts can be derived by
    using the rules.

offspring(bob,pam). offspring(bob,tom). offspring(
liz,tom). offspring(ann,bob). offspring(pat,bob).
offspring(jim,pat). mother(pam,bob). mother(pat,j
im). grandparent(tom,ann). grandparent(tom,pat).
grandparent(pam,ann). grandparent(pam,pat). grandp
arent(tom,ann). grandparent(tom,pat). grandparent(
bob,jim).
sister(liz,bob). sister(ann,pat). sister(pat,ann).
predecessor(pam,bob). predecessor(tom,bob). pred
ecessor(tom,liz). predecessor(bob,ann). predecesso
r(bob,pat). predecessor(pat,jim). predecessor(pam,
ann). predecessor(pam,pat). predecessor(pam,jim).
predecessor(tom,ann). predecessor(tom,pat). predec
essor(tom,jim). predecessor(bob,jim).
11
RDF and Schema Languages
12
RDF MS
  • RDF (Resource Description Framework)
  • Beyond Machine readable to Machine understandable
  • RDF consists of two parts
  • RDF Model (a set of triples)
  • RDF Syntax (different XML serialization syntaxes)
  • RDF Schema for definition of Vocabularies (simple
    Ontologies) for RDF (and in RDF)

13
RDF Data Model
  • Resources
  • A resource is a thing you talk about (can
    reference)
  • Resources have URIs
  • RDF definitions are themselves Resources
    (linkage, see requirement 1)
  • Properties
  • slots, define relationships to other resources or
    atomic values
  • Statements
  • Resource has Property with Value
  • (Values can be resources or atomic XML data)
  • Similar to Frame Systems

14
A Simple Example
  • Statement
  • Ora Lassila is the creator of the resource
    http//www.w3.org/Home/Lassila
  • Structure
  • Resource (subject) http//www.w3.org/Home/Las
    sila
  • Property (predicate) http//www.schema.org/
    Creator
  • Value (object) "Ora Lassila
  • Directed graph

sCreator
http//www.w3.org/Home/Lassila
15
Another Example
  • To add properties to Creator, point through an
    intermediate Resource.

http//www.w3.org/Home/Lassila
sCreator
Person//fi/654645635
Email
Name
Ora Lassila
lassila_at_w3.org
16
Example Bag
  • The students incourse 6.001 are Amy, Tim,John,
    Mary,and Sue

RdfBag
rdftype
/Students/Amy
students
rdf_1
rdf_2
/Students/Tim
bagid1
rdf_3
/Students/John
rdf_4
/Students/Mary
rdf_5
/Students/Sue
17
Example Alternative
  • The source code for X11 may be found at
    ftp.x.org, ftp.cs.purdue.edu, or ftp.eu.net

http//x.org/package/X11
rdfAlt
rdftype
source
altid
rdf_1
ftp.x.org
rdf_2
ftp.cs.purdue.edu
rdf_3
ftp.eu.net
18
Representing Prolog Facts in RDF
parent(pam,bob). parent(tom,bob). parent(tom,liz).
parent(bob,ann). parent(bob,pat). parent(pat,jim)
. female(pam). male(tom). male(bob). female(liz).
female(pat). female(ann). male(jim).
19
OWLW3C Web Ontology Language
  • OWL provides three increasingly expressive
    sublanguages OWL Lite, OWL DL, and OWL Full.

20
OWLW3C Web Ontology Language
OWL Lite language constructs
RDF Schema Features Class rdfProperty
rdfssubClassOf rdfssubPropertyOf rdfsdomain
rdfsrange Individual
(In)Equality equivalentClass equivalentProperty
sameAs differentFrom allDifferent
Property Characteristics inverseOf
TransitiveProperty SymmetricProperty
FunctionalProperty InverseFunctionalProperty
Property Type Restrictions allValuesFrom
someValuesFrom
Restricted Cardinality minCardinality (only 0
or 1) maxCardinality (only 0 or 1) cardinality
(only 0 or 1)
Header Information ontology imports
21
Ontology Spectrum
22
Creating Your Own OntologyA Simple
Knowledge-Engineering Methodology
  • Step 1 Determine the domain and scope of the
    ontology
  • Why, what, who, competency questions
  • Step 2 Consider reusing existing ontologies
  • Step 3 Enumerate important terms in the ontology
  • Step 4 Define the classes and the class
    hierarchy
  • Step 5 Define the properties of classesslots
  • Step 6 Define the facets of the slots
  • Step 7 Create instances

23
Obtaining RDF schema from ontology library
  • SchemaWeb http//www.schemaweb.info/default.aspx
  • Swoogle http//swoogle.umbc.edu/
  • DAML ontology library http//www.daml.org/ontolog
    ies/

24
Examples of RDF schema
  • RSS 1.0 http//www.schemaweb.info/schema/SchemaDe
    tails.aspx?id12
  • MusicBrainz http//www.schemaweb.info/schema/Sche
    maDetails.aspx?id168
  • Resume http//www.schemaweb.info/schema/SchemaDet
    ails.aspx?id89
  • FOAF http//www.schemaweb.info/schema/SchemaDetai
    ls.aspx?id29

25
RDFCalendar
FOAF
26
OWL-S Ontology for Semantic Web Services
  • Some motivating tasks
  • Automatic Web service discovery
  • Automatic Web service invocation
  • Automatic Web service composition and
    interoperation
  • Automatic Web service execution monitoring

27
High-level View of the Service Ontology
Service
Resource
provides
presents
supports
describedBy
ServiceProfile
ServiceGrounding
What the service does
How to Access it
ServiceModel
How it works
28
Top Level of the Process Ontology
Input Precondition Output effect
hasProcess hasProfile
Process
Profile
Condition
Atomic Process
has Grounding
computedInput computedOutput computedEffect comput
edPrecondition invocab
Composite Process
expand collapse
realizes realizedBy
Simple Process
compsedBy
Control Construct
Sequence
Repeat Until
29
Grounding a Service to a Concrete Realization
OWL-S
DL-Based Types
Process Model
Inputs/Outputs
Atomic Process
Message
Operation
Binding to SOAP, HTTP, etc.
WSDL
30
SWRL Semantic Web Rule LanguageExamples
hasParent(?x1,?x2) ? hasBrother(?x2,?x3) ?
hasUncle(?x1,?x3) Implies(Antecedent(hasParent(I-
variable(x1) I-variable(x2))
hasBrother(I-variable(x2) I-variable(x3)))
Consequent(hasUncle(I-variable(x1)
I-variable(x3))))
31
SPARQL RDF Query LanguageExamples
SELECT ?x WHERE ?x lthttp//www.w3.org/2001/vcar
d-rdf/3.0FNgt "John Smith" SELECT ?x, ?fname
WHERE ?x lthttp//www.w3.org/2001/vcard-rdf/3.0F
Ngt ?fname SELECT ?givenName WHERE ?y
lthttp//www.w3.org/2001/vcard-rdf/3.0Familygt
"Smith" . ?y http//www.w3.org/2001/vcard
-rdf/3.0Given ?givenName . PREFIX vcard
lthttp//www.w3.org/2001/vcard-rdf/3.0gt SELECT
?givenName WHERE ?y vcardFamily "Smith" . ?y
vcardGiven ?givenName . PREFIX vcard
lthttp//www.w3.org/2001/vcard-rdf/3.0gt SELECT
?g WHERE ?y vcardGiven ?g . FILTER
regex(?g, "r", "i") PREFIX info
lthttp//somewhere/peopleInfogt SELECT ?resource
WHERE ?resource infoage ?age .
FILTER (?age gt 24)
32
Semantic Web System Architectures
33
Typical System Architecture
34
Layered Architecture
35
System Architecture
36
SesameA generic Architecture for Storing and
Querying RDF and RDF Schema
37
Sesame
38
Annotea Basic Architecture
39
Knowledge Management Based on Semantic Web
40
What is knowledge management?
  • Knowledge is seen as a resource
  • This means for knowledge management taking care
    that the resource is
  • delivered at the right time
  • available at the right place
  • present in the right shape
  • satisfying the quality requirements
  • obtained at the lowest possible costs
  • to be used in business processes

Selected from the course slides of CommonKADS
41
Continuous improvement of knowledge assets
Knowledge assets
Construct new knowledge
Apply your best knowledge
Value chain
Selected from the course slides of CommonKADS
42
Knowledge management knowledge engineering
  • Organization analysis feeds into knowledge
    management (and vice versa)
  • Knowledge modeling provides techniques for
    knowledge identification and development
  • Knowledge engineering focuses on common /
    reusable elements in knowledge work

Selected from the course slides of CommonKADS
43
Knowledge engineering
  • process of
  • eliciting,
  • structuring,
  • formalizing,
  • operationalizing
  • information and knowledge involved in a
    knowledge-intensive problem domain,
  • in order to construct a program that can perform
    a difficult task adequately

Selected from the course slides of CommonKADS
44
Problems in knowledge engineering
  • complex information and knowledge is difficult to
    observe
  • experts and other sources differ
  • multiple representations
  • textbooks
  • graphical representations
  • heuristics
  • skills

Selected from the course slides of CommonKADS
45
A Short History of Knowledge Systems
Selected from the course slides of CommonKADS
46
CommonKADS Model Set
Selected from the course slides of CommonKADS
47
Why context modeling?
  • Often difficult to identify profitable use of
    (knowledge) technology
  • Laboratory is different from the ''real'' world
  • Acceptability to users very important
  • Fielding into ongoing process not self evident
  • Often not clear what additional measures to take

Selected from the course slides of CommonKADS
48
Goals for context modeling
  • Identify problems and opportunities
  • Decide about solutions and their feasibility
  • Improve tasks and task-related knowledge
  • Plan for needed organizational changes

Selected from the course slides of CommonKADS
49
Role of knowledge systems
  • "automation" is not the right way to look at KSs
  • tasks are usually too complex
  • much better view KS as process-improvement tool
  • typical role of KS active intelligent assistant

Selected from the course slides of CommonKADS
50
Context modelling process
  • Step 1 Carry out a scoping and feasibility study
  • Tool Organization Model (OM)
  • Step 2 Carry out impact and improvement study
  • Tool Task and Agent Models (TM, AM)
  • zooming in/refinement of organization model
  • Each study consists of an analysis part and a
    constructive decision-making part

Selected from the course slides of CommonKADS
51
Project Management Based on Semantic Web
52
Project Description
Organization model Task model Agent
model Knowledge model Communication model Design
models
Lesson Learned in PM
CommonKADS
Implementation using SW technology
System
53
System Architecture
54
(No Transcript)
55
Communication Layer
Communication Services
56
Communication Layer
Communication Services
57
Communication Layer
Communication Services
58
Team D
Team C
Team B
Communication Layer
Team A
??
??
??
Communication Services
59
Communication Layer
Communication Services
60
From Text to RDF
61
Goal
  • We aim at the automatic creation of metadata from
    documents for the Semantic Web using a low-cost
    natural language processing technology, i.e.,
    information extraction.

62
System architecture for managing the metadata
layer of Semantic Web
63
Integrating information extraction function with
Semantic Web system
64
Components in the information extraction system
65
IR vs. IE
IR
IE
66
Extracted Domain Events in RDF
67
Query the Extracted Contents
68
A Test of the IE System
  • We take one hundred financial news as our test
    data and use dozens of JAPE rules to extract the
    specific domain events.
  • After the processing of domain events matching,
    we then calculate the precision rate and recall
    rate of our system.
  • We first manually extract the target events
    within these financial news and we obtain 120
    events of interest.
  • After the domain event matching, it returns 25
    results, among which 22 are correct. So the
    precision rate is 88, and the recall rate is
    18.

69
Thank you.
Write a Comment
User Comments (0)
About PowerShow.com