semantics overview sharon l. bolding, phd jan 26, 2008

25
Semantics Overview Sharon L. Bolding, PhD Jan 26, 2008

Upload: raven-dejesus

Post on 03-Jan-2016

24 views

Category:

Documents


1 download

DESCRIPTION

Semantics Overview Sharon L. Bolding, PhD Jan 26, 2008. Historic context. Cross-disciplinary field: philosophy, linguistics, computer sciences, cognitive sciences Goal is to represent meaning of knowledge unambiguously so that it can be understood, shared and used by computational agents - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Semantics Overview Sharon L. Bolding, PhD Jan 26, 2008

Semantics OverviewSharon L. Bolding, PhD

Jan 26, 2008

Page 2: Semantics Overview Sharon L. Bolding, PhD Jan 26, 2008

Historic context

• Cross-disciplinary field: philosophy, linguistics, computer sciences, cognitive sciences

• Goal is to represent meaning of knowledge unambiguously so that it can be understood, shared and used by computational agents

• Computational focus emerged in the 1980s, AI community work in expert systems and formal semantics, such as Situational Theory

Page 3: Semantics Overview Sharon L. Bolding, PhD Jan 26, 2008

Historic context cont.

• Philosophy: Socrates questioning, Plato’s study of epistemology, the nature of being

• Aristotle shifted the debate to terminology, development of logic as a precise method for reasoning about knowledge

• Middle Ages: Anselm of Canterbury and the existence of God, theories of reference and mental language, Scholastic logic

• Semantic Network: First used by Porphyry in the 3rd century to represent Aristotle’s hierarchy of species

Page 4: Semantics Overview Sharon L. Bolding, PhD Jan 26, 2008

Semantics—Classic Taxonomy Tree, Porphyry

Substance

Body

Living

Animal

Human

Material

Animate

Sensitive

Rational

Socrates

Plato Aristotle Etc.

Immaterial

Inanimate

Insensitive

Irrational

Spirit

Mineral

Plant

Beast

Supreme genus

Differentiae

Subordinate genera

Species

Individuals

Differentiae

Subordinate generaDifferentiae

Subordinate generaDifferentiae

Page 5: Semantics Overview Sharon L. Bolding, PhD Jan 26, 2008

A more modern view

Berners-Lee

McGuinness

Page 6: Semantics Overview Sharon L. Bolding, PhD Jan 26, 2008

Definitions

• An ontology is a specification of a conceptualization— Tom Gruber

• Knowledge engineering is the application of logic and ontology to the task of building computational models of some domain for some purpose — John Sowa

• Knowledge representation means that knowledge is formalized in a symbolic form, that is, to find a symbolic expression that can be interpreted —Klein and Methlie

• The task of classifying all the words of language, or what’s the same thing, all the ideas that seek expression, is the most stupendous of logical tasks. Anybody but the most accomplished logician must break down in it utterly; and even for the strongest man, it is the severest possible tax on the logical equipment and faculty — Charles Sanders Peirce

• A data model describes data, or database schemas - an ontology describes the world — Adam Farquhar, Stanford

Page 7: Semantics Overview Sharon L. Bolding, PhD Jan 26, 2008

Semantics—Ontologies

OLP Schema for Sentences using this Ontology Linking Predicate

instance (instance ITEM CLASS)

subclass (subclass SUBCLASS CLASS)

subrelation (subrelation SPECIAL-RELATION GENERAL-RELATION)

subAttribute (subAttribute SPECIAL-ATTRIBUTE GENERAL-ATTRIBUTE)

Ontologies have relationships…

Heart Human

part

part

part

Hair Colorattribute

Brown

Blond

Black

attribute

attribute

… and attributes.

Page 8: Semantics Overview Sharon L. Bolding, PhD Jan 26, 2008

Ontology based technologies

• Search• Artificial Intelligence• Natural Language Processing (NLP)• Semantic Web• Speech generation• Automatic translation systems • Profiling & finding people

Page 9: Semantics Overview Sharon L. Bolding, PhD Jan 26, 2008

Example: Semantics and Search

• Keyword Search ≠ Semantic Search– Keywords = Words, not context– Semantic Search = Concepts +

Context• Semantics in Technology

– Taxonomy - A structure of known human knowledge for a specific domain, organized into categories and subcategories

– Ontology - Defines meanings and relationships for each category

Page 10: Semantics Overview Sharon L. Bolding, PhD Jan 26, 2008

How search technology uses ontologies

• Servers: Semantic Analysis of Sources– Multiple ontologies used to

semantically analyze and rank content into an index

• Users: Categories as Search Criteria– Build queries using categories

from multiple ontologies

Page 11: Semantics Overview Sharon L. Bolding, PhD Jan 26, 2008

Ontologies cont.

• Add 1 Category to a query

• 1 Category + 8 definitions

• = 9 keyword searches at once!

• Cross-fertilization

• Ask about concepts, get relevant answers

Page 12: Semantics Overview Sharon L. Bolding, PhD Jan 26, 2008

Search using ontologies

When the entire body of documents is mapped, it forms the index graph

Index

Page 13: Semantics Overview Sharon L. Bolding, PhD Jan 26, 2008

Search using ontologies

CompareThe document to index graph

Page 14: Semantics Overview Sharon L. Bolding, PhD Jan 26, 2008

Search using ontologies

RetrieveDocuments by signature

Page 15: Semantics Overview Sharon L. Bolding, PhD Jan 26, 2008

Ontology in XML

Page 16: Semantics Overview Sharon L. Bolding, PhD Jan 26, 2008

Kinds of ontologies

• An upper ontology defines base concepts supporting ontology development (SUMO)

• A domain or classic ontology defines the terminology and concepts relevant to a particular topic or area of interest

• A process ontology defines the inputs, outputs, constraints, relations, terms and sequencing information relevant to business processes (ISO PSL Process Specification Language)

• A service ontology defines a core set of constructs for describing vocabularies and capabilities of services (OWL-S)

Page 17: Semantics Overview Sharon L. Bolding, PhD Jan 26, 2008

Example: Semantic Web

• The Semantic Web is an extension of the current web in which information is given well-defined meaning, better enabling computers and people to work in cooperation—Time Berners-Lee

Page 18: Semantics Overview Sharon L. Bolding, PhD Jan 26, 2008

Benefits

• Creates an “open world” scenario, where communications are enabled at a computational level

• Because they are XML-based, ontologies can assist businesses in leveraging existing investments in markup, content and metadata

• Creates policy-based applications for compliance

• Supports less certainty creating informed answers, predictive analytics, etc... rather than binary absolutes

• Reuse of existing knowledge, write once, revise

Page 19: Semantics Overview Sharon L. Bolding, PhD Jan 26, 2008

Example: Call Center Support Application

• Text mining is the key idea powering the application

• Background: Call center supports hardware business, service customers need tech support, product managers provide information into a KB system, phone support staff add real time information to the KB via phone records

Page 20: Semantics Overview Sharon L. Bolding, PhD Jan 26, 2008

Call Center cont.

• Documentation comes from multiple sources, customers may have needs that have never been documented

• Challenges: No feedback loop for product improvements, increased employee & service costs, increased customer dissatisfaction, employees demoralized

• Solutions: Identify conflicting documents, show product relationships, impact of one issue on multiple components & features, traceability for compliance

Page 21: Semantics Overview Sharon L. Bolding, PhD Jan 26, 2008

How to create an ontology

• Prerequisite: Learn XML.• Define domain terms and relationships

– Concepts (classes, nouns)– Identify subclass and superclass relationships

(verbs)– Identify attributes and properties (adj, adv)

including exclusions– Identify any general properties, relations, functions – Restrict slot values (how terms may be entered)– Define individuals– Define interrelationships between individuals (fill in

the slots)– Iterate to improve over time

Page 22: Semantics Overview Sharon L. Bolding, PhD Jan 26, 2008

Classes

• A concept in the domain• A collection of elements with similar

properties• Contains necessary conditions for

membership• A node is a particular instance of a class • Has inheritance: True subclass

relationships are the basis of formal “is-a” hierarchies, where the instance of the subclass is an instance of the superclass

Page 23: Semantics Overview Sharon L. Bolding, PhD Jan 26, 2008

Class hierarchy levels

• Different modes of development:– Top down: general to specific– Bottom up: specifics organized in to general

buckets– Combo: breadth at the top level, then depth at a

few branches to test the design

• Class inheritance is transitive:– A is a subclass of B– B is a subclass of C– Therefore A is a subclass of C

• (See McGuinness and Noy paper in syllabus)

Page 24: Semantics Overview Sharon L. Bolding, PhD Jan 26, 2008

Example: Mercury

• Is it a planet, a car, an element, or a god?

• If car, then exclude god, planet, element• If car, then has physical and spatial

attributes• If car, then has value and utility• Question: does car have psychological

attributes (the kind of car I drive says what?) Do I care?

Page 25: Semantics Overview Sharon L. Bolding, PhD Jan 26, 2008

Ontologies

• Questions?