SEMANTICS. Retrieval by Meaning

Similar documents
! model construction

l A family of logic based KR formalisms l Distinguished by: l Decidable fragments of FOL l Closely related to Propositional Modal & Dynamic Logics

nrql Tutorial Systems & Co. KG Blumenau Hamburg Germany nrql Tutorial p.1/55

Description Logics and OWL

Principles of Knowledge Representation and Reasoning

Nonstandard Inferences in Description Logics

High-level Interpretation of the Visual Environment

Logik für Informatiker Logic for computer scientists. Ontologies: Description Logics

RacerPro User s Guide Version Racer Systems GmbH & Co. KG

RacerPro User s Guide Version 2.0. Racer Systems GmbH & Co. KG

Introduction to Description Logics

Description Logics: A Logical Foundation of the Semantic Web and its Applications

Appendix 1. Description Logic Terminology

Appendix 1. Description Logic Terminology

On the Scalability of Description Logic Instance Retrieval

Final 5/3/03. Description Logics for the Semantic Web: Racer as a Basis for Building Agent Systems

Description Logics as Ontology Languages for Semantic Webs

Introduction to Protégé. Federico Chesani, 18 Febbraio 2010

Semantic Web Test

Racer - An Inference Engine for the Semantic Web

Description Logic. Eva Mráková,

AI Fundamentals: Knowledge Representation and Reasoning. Maria Simi

Semantic Web Ontologies

INF3580 Semantic Technologies Spring 2012

A Solution for the Man-Man Problem in the Family History Knowledge Base

Presented By Aditya R Joshi Neha Purohit

Toward Multi-Viewpoint Reasoning with OWL Ontologies

(Conceptual) Clustering methods for the Semantic Web: issues and applications

OntoXpl Exploration of OWL Ontologies

Introduction to Artificial Intelligence 2 nd semester 2016/2017. Chapter 8: First-Order Logic (FOL)

Reasoning with Expressive Description Logics: Theory and Practice

Ontologies and OWL. Riccardo Rosati. Knowledge Representation and Semantic Technologies

Ontologies and the Web Ontology Language OWL

COMP718: Ontologies and Knowledge Bases

Simplified Approach for Representing Part-Whole Relations in OWL-DL Ontologies

Modeling multidimensional database

Description Logic Systems with Concrete Domains: Applications for the Semantic Web

Optimised Classification for Taxonomic Knowledge Bases

Semantic Nets, Frames, World Representation. CS W February, 2004

Main topics: Presenter: Introduction to OWL Protégé, an ontology editor OWL 2 Semantic reasoner Summary TDT OWL

Helmi Ben Hmida Hannover University, Germany

Knowledge Engineering with Semantic Web Technologies

9b. Combining Logic Programs with Object-Oriented Representation

OWL a glimpse. OWL a glimpse (2) requirements for ontology languages. requirements for ontology languages

Description Logics. Description Logics and Databases

RELATIONSHIP TO PROBAND (RELATE)

Conceptual modeling of entities and relationships using Alloy

Genetic Programming. and its use for learning Concepts in Description Logics

1 Introduction. 2 Theoretical Foundation. 2.2 Spatial Relations. 2.1 Geometrical Objects. 2.3 Description logic

! Assessed assignment 1 Due 17 Feb. 3 questions Level 10 students answer Q1 and one other

Explaining Subsumption in ALEHF R + TBoxes

COMP718: Ontologies and Knowledge Bases

Logics for Data and Knowledge Representation: midterm Exam 2013

INF3580/4580 Semantic Technologies Spring 2017

INF5390 Kunstig intelligens. First-Order Logic. Roar Fjellheim

Semantic Matching of Description Logics Ontologies

Racer: An OWL Reasoning Agent for the Semantic Web

OWL 2 The Next Generation. Ian Horrocks Information Systems Group Oxford University Computing Laboratory

Topic A: Introduction to Prolog

Semantic Web. Ontology Engineering and Evaluation. Morteza Amini. Sharif University of Technology Fall 93-94

An ontology for the Business Process Modelling Notation

Applications of Description Logics

A Tool for Storing OWL Using Database Technology

An Architecture for Semantic Enterprise Application Integration Standards

jcel: A Modular Rule-based Reasoner

Semantics and Ontologies for Geospatial Information. Dr Kristin Stock

Semantic Web Systems Ontologies Jacques Fleuriot School of Informatics

Flexible Tools for the Semantic Web

2 Which Methodology for Building Ontologies? 2.1 A Work Still in Progress Many approaches (for a complete survey, the reader can refer to the OntoWeb

The revival of structural subsumption in tableau-based description logic reasoners

Reasoning with DAML+OIL:

CS:5810 Formal Methods in Software Engineering

ICARUS: Intelligent Content-Based Retrieval of 3D Scene

THE DESCRIPTION LOGIC HANDBOOK: Theory, implementation, and applications

Metamodeling. Janos Sztipanovits ISIS, Vanderbilt University

Knowledge Representation

OWL 2 Profiles. An Introduction to Lightweight Ontology Languages. Markus Krötzsch University of Oxford. Reasoning Web 2012

Reasoning and Query Answering in Description Logics

Reasoning with the Web Ontology Language (OWL)

Using Description Logics for Indexing Audiovisual Documents

LTCS Report. Concept Descriptions with Set Constraints and Cardinality Constraints. Franz Baader. LTCS-Report 17-02

From Lexicon To Mammographic Ontology: Experiences and Lessons

Local Closed World Reasoning with OWL 2

Scene Interpretation as Configuration

OWL and tractability. Based on slides from Ian Horrocks and Franz Baader. Combining the strengths of UMIST and The Victoria University of Manchester

1. Introduction to SWRL

Description Logics for Conceptual Data Modeling in UML

OPTIMISING TABLEAUX DECISION PROCEDURES FOR DESCRIPTION LOGICS

RELATIONAL REPRESENTATION OF ALN KNOWLEDGE BASES

Extracting Finite Sets of Entailments from OWL Ontologies

Knowledge-Driven Video Information Retrieval with LOD

Ontology-Based Data Access

CC LA WEB DE DATOS PRIMAVERA Lecture 4: Web Ontology Language (I) Aidan Hogan

A Unified Logical Framework for Rules (and Queries) with Ontologies - position paper -

model (ontology) and every DRS and CMS server has a well-known address (IP and port).

A Scheme for Integrating Concrete Domains into Concept Languages

Description Logics. F. Description Logics. This section is based on material from Ian Horrocks:

Leveraging the Expressivity of Grounded Conjunctive Query Languages

INF3580 Semantic Technologies Spring 2012

Representing Product Designs Using a Description Graph Extension to OWL 2

Transcription:

SEMANTICS 1 Retrieval by Meaning Query: "Accident of a Mercedes" Retrieved image: Methods for retrieval by meaning: high-level image understanding beyond state-of-the-art except easy cases natural language annotation keywords, thesaurus, free text formal language annotation ontologies, concept language, semantic web 2 1

What are "Meaningful" Scene Descriptions? Description of images in meaningful terms: Naming objects object configurations situations events, ongoing activities according to human understanding "garbage collection" "mailman distributes mail" 3 High-level Scene Understanding High-level scene understanding is silent-movie understanding events, episodes object configurations, situations, occurrences comprehensive real-world knowledge required ("AI-complete")! State-of-the-art allows high-level scene understanding for restricted domains, e.g. traffic scenes parking lot supervision animal behaviour landscapes objects, trajectories scene elements: volumes, 3D-surfaces, 3D-contours image elements: regions, edges, texture, optical flow raw images 4 2

State-of-the-art of Semantic Scene Interpretation From: J. Vogel & B. Schiele, A Semantic Typicality Measure for Natural Scene Categorization In: Pattern Recognition Symposium DAGM 2004, Tübingen, Germany, September 2004 5 Annotation Using a Formal Language Describing the meaning of an image is a knowledge representation task use of a knowledge representation language Query: name: class: has-parts: accident p1 name: class: colour: p1 mercedes Image description in database: name: collision371 class: collision has-parts: q1, q2 name: class: colour: q1 mercedes-e-type blue name: class: colour: q2 bus yellow 6 3

Requirements for Formal Annotation Intended semantics: Query specifies class of scenes Retrieval returns all images which contain instances of the query class Basic equirements for representation language: classes vs. instances object-oriented taxonomical relations compositional relations spatial relations 7 Description Logics for Formal Knowledge Representation DLs are a family of knowledge-representation formalisms object-centered, roles and features (binary relations) necessary vs. sufficient attributes inference services subsumption check consistency check classification instance retrieval free benefit from a DL system abstraction default reasoning spatial and temporal reasoning guaranteed correctness, completeness, decidability and complexity properties highly optimized implementations (e.g. RACER) 8 4

Development of Description Logics There exist several commercial and experimental developments of DLs, among them KL-ONE first conception of a DL (1985) CLASSIC commercial implementation by AT&T LOOM experimental system at USC FaCT experimental and commercial system (Horrocks, Manchester) RACER experimental system in Hamburg and Montreal (Haarslev & Moeller) There is active research on DLs: extending the expressivity of concept languages decidability and tractability of inference services integration of predicates over concrete domains (e.g. numbers) highly optimized implementations developing new inference services (e.g. for scene interpretation) 9 Family of Description Logics ALC Complement ALCNF (KRIS) Number restrictions ( n r) ( n r) Features with same-as AL Attribute Language ALCQRIFO (LOOM) Qualified number restrictions ( n r C)( n r C) Role conjunction, Inverse roles Features with same-as, One-of, fills ALCHfR+ (FaCT) role Hierarchies with multiple parents features without same-as transitive Roles ALCNHR+ (RACE) role Hierarchies with multiple parents Number restrictions ( n r) ( n r) transitive Roles ALNFIh (CLASSIC) Number restrictions ( n r) ( n r) Features with same-as, Inverse hierarchies with single inheritance ALC(D) concrete Domains D, P ALCRP(D) Roles defined wrt Predicates ALCQHI R + (RACER) role Hierarchies with multiple parents Qualified number restrictions ( n r C) ( n r C) Inverse roles, transitive Roles, integers and reals 10 5

RACER Concept Language C CN R RN concept term concept name role term role name C -> CN *top* *bottom* (not C) (and C1... Cn) (or C1... Cn) (some R C) (all R C) (at-least n R) (at-most n R) (exactly n R) (at-least n R C) (at-most n R C) (exactly n R C) CDC concept definition (equivalent CN C) concept axioms (implies CN C) (implies C1 C2) (equivalent C1 C2) (disjoint C1... Cn) roles R -> RN (inv RN) concrete-domain concepts AN attribute name CDC -> (a AN) (an AN) (no AN) (min AN integer) (max AN integer) (> aexpr aexpr) (>= aexpr aexpr) (< aexpr aexpr) (<= aexpr aexpr) (= aexpr aexpr) aexpr -> AN real (+ aexpr1 aexpr1*) aexpr1 aexpr1 -> real AN (* real AN) 11 Primitive and Defined Concepts Concept expressions of a DL describe sets of entities within terms of properties (unary relations) and the roles (binary relations). The main building blocks are primitive oder defined concepts. Primitive concepts: concept => satisfied properties and relations Defined concepts: satisfied properties and relations are necessary conditions for an object to belong to a class concept <=> satisfied properties and relations satisfied properties and relations are necessary and sufficient conditions for an object to belong to a classt Primitive concept "person": (implies person (and mammal (some has-gender (or female male)))) Defined concept "parent": (equivalent parent (and person (some has-child person))) 12 6

(signature Example of a TBox :atomic-concepts (person human female male woman man parent mother father grandmother aunt uncle sister brother) :roles ((has-child :parent has-descendant) (has-descendant :transitive t) (has-sibling) (has-sister :parent has-sibling) (has-brother :parent has-sibling) (has-gender :feature t))) (implies *top* (all has-child person)) (implies (some has-child *top*) parent) (implies (some has-sibling *top*) (or brother sister)) (implies *top* (all has-sibling (or sister brother))) (implies *top* (all has-sister (some has-gender female))) (implies *top* (all has-brother (some has-gender male))) Signature of TBox domain and range restrictions for roles (implies person (and human (some has-gender (or female male)))) (disjoint female male) (implies woman (and person (some has-gender female))) (implies man (and person (some has-gender male))) (equivalent parent (and person (some has-child person))) (equivalent mother (and woman parent)) concepts (equivalent father (and man parent)) (equivalent grandmother (and mother (some has-child (some has-child person)))) (equivalent aunt (and woman (some has-sibling parent))) (equivalent uncle (and man (some has-sibling parent))) (equivalent brother (and man (some has-sibling person))) (equivalent sister (and woman (some has-sibling person))) 13 Concept and Role Hierachies Implied by TBox *top* human *r* has-gender! has-sibling has-descendant* person has-sister has-brother has-child man parent woman brother father mother sister *r* universal role! attribute (feature) * transitive role male uncle grandmother aunt female *bottom* 14 7

TBox Inferences A DL system offers several inference services. At the core is a consistency test:? C *bottom* (the empty concept) Example: (and (at-least 1 has-child) (at-most 0 has-child)) *bottom* Consistency checking is the basis for several other inference services: subsumption (implies C1 C2) <=> (and C1 (not C2)) *bottom* classification of a concept expression searches the existing concept hierarchy for the most special concept which subsumes the concept expression 15 ABox of a Description Logic System TBox = terminological knowledge (concepts and roles) ABox = assertional knowledge (facts) An ABox contains: - concept assertions (instance IN C) individual IN is instance of a concept expression C - role assertions (related IN 1 IN 2 RN) individual IN 1 is related to IN 2 by role RN An ABox always refers to a particular TBox. An ABox requires unique names ABox facts are assumed to be incomplete (OWA). OWA = CWA = Open World Assumption (new facts may be added, hence inferences are restricted) Closed World Assumption (no facts may be added) 16 8

ABox Inferences ABox inferences = inferring facts about ABox individuals Typical queries: consistency is ABox consistent? retrieval which individuals satisfy a concept expression? classification what are the most special concept names which describe an individual? ABox consistency checking is in general more complicated than TBox consistency checking ABox consistent <=> there exists a "model" for ABox and TBox All ABox inferences are based on the ABox consistency check. 17 Example of ABox Queries Contents of ABox (instance alice mother) (related alice betty has-child) (related alice charles has-child) (instance betty mother) (related betty doris has-child) (related betty eve has-child) (instance charles brother) (related charles betty has-sibling) (instance charles (at-most 1 has-sibling)) (related doris eve has-sister) (related eve doris has-sister) Questions and answers (individual-instance? doris woman) T (individual-types eve) ((sister) (woman) (person) (human) (*top*)) (individual-fillers alice has-descendant) (doris eve charles betty) (concept-instances sister) (doris betty eve) alice: mother betty: mother hassister haschild haschild hassibling Is doris instance of the concept woman? doris charles: (and brother (at-most 1 hassibling)) haschild haschild eve Of which concept names is eve an instance? What are the descendants of eve? Which instances has the concept sister? 18 9

Abstraction with Description Logics Abstraction = omission of properties or relations, extending a concept, generalization Examples: Superordinate concept name of a concept expression (= concept classification) (and person (some has-size tall)) person Generalization of concept expressions (and (some has-occupation professor) (at-least 3 has-child)) (and (some has-occupation civil-servant) (at-least 1 has-child)) Concept expression which subsumes several individuals 1. classify individuals 2. determine least common subsumer (LCS) - for RACER: trivial solution in terms of (OR C 1... C n ) - for DLs without OR: special abstraction operator LCS 19 Example: Table-top Scene Description TBox (excerpt): (implies plate dish) (implies saucer dish) (implies cup dish) (implies napkin cloth) (equivalent cover (and configuration (exactly 1 has-part plate) (exactly 1 has-part (and saucer (some near plate))) (exactly 1 has-part (and cup (some on saucer))) ABox (excerpt): (instance plate1 plate) (instance saucer1 saucer) (instance saucer2 saucer) (instance cup1 cup) (instance cup2 cup) (instance napkin1 napkin) (instance cover1 cover) (related saucer1 plate1 near) ((related cup1 saucer1 on) (related napkin1 plate1 on) 20 10

Example: Query for Table-top Scene Queries: (concept-instances cover) (cover1) (concept-instances (some on dish)) (cup1 napkin1) (concept-instances (and cloth (some on plate)) (napkin1) (concept-instances (not (some on saucer))) () for OWA - a fact (related (cup2 saucer3)) could be added (cup2) for CWA 21 RACER Query Language Interface language for retrieving patterns from an ABox Basic retrieval command: Example: (retrieve <list-of-objects> <query-body>) (retrieve (?x?y?z) (and (?x plate) (?y saucer) (?z cup) (?x?y near) (?z?y on))) (((?x plate1) (?y saucer1) (?z cup1)) ((?x plate2) (?y saucer2) (?z cup2))) Note: Query language retrieval commands allow to retrieve patterns for which no individuals have been introduced. 22 11

DL-Based Information Retrieval TV assistant selects program items based on conceptual description of user preferences - prototype developed by LKI ARD ZDF RTL SAT.1 20.15 20.15 20.15 20.00 Fußball-WM China heute Galactica Dragonheart 21.45 21.15 21.35 21.00 Sissi Wetten, daß... Braveheart Stirb langsam 2 22.30 22.00 22.45 22.15 Tagesthemen Heute Sexshow Rolling Stones 23.00 22.30 23.30 23.00 The Rock Terminator 2 Speed Alien ARD N3 RTL PRO 7 20.15 20.15 20.15 20.00 Schatzinsel Eiskunstlauf Goldfinger Psycho II 21.45 21.00 21.30 21.00 Lindenstraße Sterbehilfe Dallas Deep Impact 22.30 22.00 22.15 22.15 Tagesthemen Extra 3 Titanic Killerwale 23.00 22.30 23.30 23.00 Armageddon Achterbahn Robocop Arabella user selects examples system proposes program items with similar contents Braveheart Stirb langsam 2 Terminator 2 system determines similarity of contents Action/Horror Kino-Highlights bekannte Schauspieler Filme neueren Datums 23 12