Geospatial Information with Description Logics, OWL, and Rules

Similar documents
Pellet: A Practical OWL-DL Reasoner

Semantic Variability Modeling for Multi-staged Service Composition

! " # The Logic of Descriptions. Logics for Data and Knowledge Representation. Terminology. Overview. Three Basic Features. Some History on DLs

Completing Description Logic Knowledge Bases using Formal Concept Analysis

Robust Module-based Data Management

Formalization of the CRM: Initial Thoughts

Data Validation with OWL Integrity Constraints

Exploring Incremental Reasoning Approaches Based on Module Extraction

Matching Semantic Service Descriptions with Local Closed-World Reasoning

Chapter 17 Using OWL in Data Integration

Semantic Web OWL. Acknowledgements to Pascal Hitzler, York Sure. Steffen Staab ISWeb Lecture Semantic Web (1)

Developing a Web-Based Application using OWL and SWRL

Defining a benchmark suite for evaluating the import of OWL Lite ontologies

Draft Martin Doerr ICS-FORTH, Heraklion, Crete Oct 4, 2001

CSC 742 Database Management Systems

The Semantic Web Rule Language. Martin O Connor Stanford Center for Biomedical Informatics Research, Stanford University

A Description Logic Primer

A Review and Comparison of Rule Languages and Rule-based Inference Engines for the Semantic Web

Knowledge Representation for the Semantic Web

The use of Semantic Web Technologies in Spatial Decision Support Systems

Aikaterini Marazopoulou

University of Ostrava. Reasoning in Description Logic with Semantic Tableau Binary Trees

CLIPS-OWL: A Framework for Providing Object-Oriented Extensional Ontology Queries in A Production Rule Engine

A Semantic Dissimilarity Measure for Concept Descriptions in Ontological Knowledge Bases

Matching Patient Records to Clinical Trials Using Ontologies

Deliverable D6.2 Transformation System Configuration Techniques

Ampersand and the Semantic Web

JOURNAL OF COMPUTER SCIENCE AND ENGINEERING

Fuzzy-DL Reasoning over Unknown Fuzzy Degrees

A Framework and Architecture for Quality Assessment in Data Integration

I. INTRODUCTION NOESIS ONTOLOGIES SEMANTICS AND ANNOTATION

Semantics and Ontology of Logistic Cloud Services*

TECHNIQUES FOR OPTIMIZING THE RELATIONSHIP BETWEEN DATA STORAGE SPACE AND DATA RETRIEVAL TIME FOR LARGE DATABASES

Use of OWL and SWRL for Semantic Relational Database Translation

Rules, RIF and RuleML

THE DESCRIPTION LOGIC HANDBOOK: Theory, implementation, and applications

Chapter 8 The Enhanced Entity- Relationship (EER) Model

RDF y SPARQL: Dos componentes básicos para la Web de datos

A Semantic Model for Multimodal Data Mining in Healthcare Information Systems

Optimizing Description Logic Subsumption

Ontology-Based Semantic Modeling of Safety Management Knowledge

INTRODUCTORY SET THEORY

Logical and categorical methods in data transformation (TransLoCaTe)

Sydney OWL Syntax - towards a Controlled Natural Language Syntax for OWL 1.1

A Semantic Web Knowledge Base System that Supports Large Scale Data Integration

Introduction to PostGIS

Vector storage and access; algorithms in GIS. This is lecture 6

An Ontology-based e-learning System for Network Security

SPARQL: Un Lenguaje de Consulta para la Web

The Ontological Approach for SIEM Data Repository

Software Modeling and Verification

The Even More Irresistible SROIQ

Situation Recognition for Service Management Systems Using OWL 2 Reasoners

A generic approach for data integration using RDF, OWL and XML

Core Enterprise Services, SOA, and Semantic Technologies: Supporting Semantic Interoperability

How To Create A Role Based Access Control System For Context Aware Environments

Logic and Reasoning in the Semantic Web (part I RDF/RDFS)

TOWARDS AN AUTOMATED HEALING OF 3D URBAN MODELS

The Foundational Model of Anatomy in OWL: experience and perspectives

Ontological Modeling: Part 6

Performance Analysis, Data Sharing, Tools Integration: New Approach based on Ontology

o-minimality and Uniformity in n 1 Graphs

Testing LTL Formula Translation into Büchi Automata

GIS Data in ArcGIS. Pay Attention to Data!!!

Transcription:

Reasoning Web 2012 Summer School Geospatial Information with Description Logics, OWL, and Rules Presenter: Charalampos Nikolaou Dept. of Informatics and Telecommunications National and Kapodistrian University of Athens

Outline Geospatial information with description logics and OWL OWL reasoners with geospatial capabilities Geospatial information with SWRL rules 2

Geospatial information with DLs and OWL Three main approaches: 1. Use a DL as it is 2. Define a spatial DL (concrete domain approach) 3. Hybrid: OWL + Spatial ABox 3

Use a DL as it is 4

Use a DL as it is Use OWL-DL Regions are represented by concepts Points are represented by individuals RCC-8 relations among regions expressed by DL axioms Translation of PO(X, Y) as TBox X Y Z 1 Z 3 Z 2 ABox 5

Use a DL as it is Use OWL-DL Discussion Impractical when implemented in a reasoner [Stocker-Sirin, OWLED 09] Unnatural modeling? Can we generalize the approach? For example, can we define the concept of a dream house as one that is located inside a forest? How do we express disjunctions of RCC-8 relations (indefinite information)? 7

Define a spatial DL (concrete domain approach) 11

Concrete domains Reason about specific domains (real numbers, time intervals, spatial regions) Formalization of a concrete domain using a first-order theory From roles to features: associate an individual to a value from a concrete domain Notation: 12

Concrete domains Examples: Reals with order ( ) Domain: the set of real numbers Predicates: < interpreted by the less-than relation Allen s Interval Calculus Domain: the set of time intervals Predicates: Allen s basic interval relations (before, starts, etc.) and Boolean combinations of them RCC-8 Calculus Domain: the set of non-empty, regular closed subsets of Predicates: basic RCC-8 relations (EQ, PO, etc.) and Boolean combinations of them 13

Concrete domains TBox Concept equivalences/inclusions can include features and concrete domain predicates ABox Assertions can associate an individual to values from a concrete domain 14

Concrete domains Two state of the art approaches : with RCC-8 calculus as the concrete domain extension of model-theoretic semantics of ω-admissibility property tableau-based technique 15

Concrete domains Two state of the art approaches : with RCC-8 calculus as the concrete domain extension of model-theoretic semantics of ω-admissibility property tableau-based technique domain : DL-Lite with RCC-8 calculus as the concrete extension of model-theoretic semantics of DL-Lite FOL-rewritability for unions of conjunctive queries 16

An Example DreamHouse One that is located inside a pine forest and borders a lake 17

An Example DreamHouse One that is located inside a pine forest and borders a lake 18

An Example DreamHouse One that is located inside a pine forest and borders a lake 19

An Example DreamHouse One that is located inside a pine forest and borders a lake 20

An Example DreamHouse One that is located inside a pine forest and borders a lake 21

An Example (classification) ABox 22

An Example (classification) ABox Question: Is individual h a DreamHouse? 23

An Example (classification) ABox Question: Is individual h a DreamHouse? Answer: Yes. 24

An Example (classification) ABox Question: Is individual h a DreamHouse? Answer: Yes. Why? 25

An Example (classification) ABox 26

An Example (classification) ABox 27

An Example (classification) ABox 28

An Example (classification) ABox 29

Hybrid: OWL + Spatial ABox 30

Hybrid: OWL + Spatial ABox General architecture KB DL TBox ABox DL Reasoning 31

Hybrid: OWL + Spatial ABox General architecture KB DL TBox ABox DL Reasoning 32

Hybrid: OWL + Spatial ABox General architecture KB DL TBox ABox Spatial ABox DL Reasoning Spatial Reasoning 33

Hybrid: OWL + Spatial ABox 1. Grutter et al. 2. Reasoner RacerPro (DL/OWL + Spatial ABox) 3. Reasoner PelletSpatial (DL/OWL + Spatial ABox) 34

Hybrid: OWL + Spatial ABox [Grütter et al., ISWC 08] Domain Knowledge (TBox) Introduction of roles (e.g., partiallyoverlaps) for RCC relations (e.g., PO) spatiallyrelated: top role for topological relations Role inclusion axioms for RCC relations Assertions (ABox) Assertion of the connectswith relation, connectswith(a, b), between two regions (individuals) 35

Hybrid: OWL + Spatial ABox RCCBox [Grütter et al., ISWC 08] Definition of RCC relations based on the connectswith relation Axioms for composition tables of RCC Predicate C(x, y) corresponds to role connectswith(x, y) in ABox 36

Hybrid: OWL + Spatial ABox Application [Grütter et al., ISWC 08] 1. Input: a set of geometries (polygons in ) 2. Compute assertions of the form connectswith(a, b) 3. Update ABox with new spatial relations according to definitions in RCCBox 1. Should DC(a, b) be inferred in RCCBox, then 2. the role assertion disconnectedwith(a, b) is inserted in ABox 4. Check spatial consistency of ABox using path consistency on the RCC network constructed from the spatial role assertions of the ABox 38

The reasoner RacerPro Description Logic: Spatial Extension: the ABox is associated to a spatial representation layer (RCC substrate) RCC substrate: offers representation and querying facilities for RCC networks Features Representation of indefinite information: disjunctions of RCC relations can be used between two individuals Consistency checking of RCC networks [Möller et al.] [Wessel-Möller, JAPLL 09] Available from http://www.racer-systems.com/products/racerpro/ Querying of asserted and entailed RCC relations using the query language nrql 39

RacerPro: ABox Reasoning Spatial regions: a, b, and c Region a contains b (rcc-related a b ((:ntppi :tppi))) a bx Region a is disjoint with c (rcc-related a c (:dc)) a bx c 40

RacerPro: ABox Reasoning Spatial regions: a, b, and c Region a contains b (rcc-related a b ((:ntppi :tppi))) a bx Region a is disjoint with c (rcc-related a c (:dc)) a bx (?) Which regions are disjoint? c 41

RacerPro: ABox Reasoning Spatial regions: a, b, and c Region a contains b (rcc-related a b ((:ntppi :tppi))) a bx Region a is disjoint with c (rcc-related a c (:dc)) a bx?(retrieve (?x?y) (and (?x?y :dc))) c 42

RacerPro: ABox Reasoning Spatial regions: a, b, and c Region a contains b (rcc-related a b ((:ntppi :tppi))) a bx Region a is disjoint with c (rcc-related a c (:dc)) a bx?(retrieve (?x?y) (and (?x?y :dc))) c (a, c) and (c, b) 43

Dream House (definition) DreamHouse One that is located inside a pine forest and borders a lake 44

Dream House (definition) DreamHouse One that is located inside a pine forest and borders a lake (implies DreamHouse (and (all hasforest PineForest) (all haslake Lake))) 45

Dream House (definition) DreamHouse One that is located inside a pine forest and borders a lake? (implies DreamHouse (and (all hasforest PineForest) (all haslake Lake))) 46

Dream House (ABox reasoning) ABox 47

Dream House (ABox reasoning) ABox Question: What are the houses that are threatened? 48

Dream House (ABox reasoning) ABox Question: What are the houses that are threatened? Answer: House h. 49

Dream House (ABox reasoning) ABox Question: What are the houses that are threatened? Answer: House h. Why? 50

Dream House (ABox reasoning) 51

Dream House (ABox reasoning) NTPP 52

Dream House (ABox reasoning) EC NTPP 53

Dream House (ABox reasoning) EC NTPP NTPP 54

Dream House (ABox reasoning) EC NTPP NTPP Composition of edge (v h, v n ) and (v n, v f ) 55

Dream House (ABox reasoning) EC NTPP NTPP Composition of edge (v h, v n ) and (v n, v f ) 56

Dream House (ABox reasoning) EC NTPP PO, TPP, NTPP NTPP 57

Dream House (ABox reasoning) EC NTPP PO, TPP, NTPP NTPP 58

The reasoner PelletSpatial Description Logic: OWL 2 ( ) Spatial Extension: Separate ABox for spatial data [Stocker-Sirin, OWLED 09] Spatial ABox: Topological relations are managed as a basic RCC-8 network (a single relation between two nodes) Features Representation of definite information only Consistency checking of basic RCC-8 networks (path consistency) Querying of asserted and entailed basic RCC-8 relations using a subset of SPARQL (BGPs and operator AND) Available from http://clarkparsia.com/pellet/spatial 59

SWRL Rules 60

Geospatial information with SWRL rules [Batsakis et al., RuleML 11] Extension of OWL for the representation of qualitative and quantitative spatial information (SOWL) RCC-8 Directional relations (e.g., East, North-West), and Distance relations (e.g., 3Km away from Vienna ) 61

Geospatial information with SWRL rules Modeling Footprint [Batsakis et al., RuleML 11] Ymax Point Line Polyline MBR Ymin Xmax X Y Xmin Location Legend Reg2 WestOf Reg1 subclass property class instance datatype 3 DistanceReg1- Reg2 62

Geospatial information with SWRL rules [Batsakis et al., RuleML 11] Spatial assertions RCC-8 relations between two regions Directional relations between two regions Distance relations between two regions Geometry of regions (in subclasses of Footprint) 63

Geospatial information with SWRL rules Implementation of the previous framework using OWL 1. OWL 2 property axioms for expressing inverse, symmetry, and transitivity for spatial relations [Batsakis et al., RuleML 11] 64

Geospatial information with SWRL rules Implementation of the previous framework using OWL 1. OWL 2 property axioms for expressing inverse, symmetry, and transitivity for spatial relations 2. SWRL rules to encode composition of spatial relations [Batsakis et al., RuleML 11] compute the intersection of two sets of spatial relations check spatial consistency (using Pellet) 65

Geospatial information with SWRL rules Implementation of the previous framework using OWL 1. OWL 2 property axioms for expressing inverse, symmetry, and transitivity for spatial relations 2. SWRL rules to encode composition of spatial relations [Batsakis et al., RuleML 11] compute the intersection of two sets of spatial relations check spatial consistency (using Pellet) 66

Geospatial information with SWRL rules Implementation of the previous framework using OWL 1. OWL 2 property axioms for expressing inverse, symmetry, and transitivity for spatial relations 2. SWRL rules to encode composition of spatial relations denotes disjunction of relations DC and EC compute the intersection of two sets of spatial relations [Batsakis et al., RuleML 11] check spatial consistency (using Pellet) 67

Geospatial information with SWRL rules Implementation of the previous framework using OWL 1. OWL 2 property axioms for expressing inverse, symmetry, and transitivity for spatial relations 2. SWRL rules to encode composition of spatial relations denotes disjunction of relations DC and EC compute the intersection of two sets of spatial relations [Batsakis et al., RuleML 11] check spatial consistency (using Pellet) 68

Geospatial information with SWRL rules Implementation of the previous framework using OWL 1. OWL 2 property axioms for expressing inverse, symmetry, and transitivity for spatial relations 2. SWRL rules to encode composition of spatial relations denotes disjunction of relations DC and EC compute the intersection of two sets of spatial relations [Batsakis et al., RuleML 11] check spatial consistency (using Pellet) 69

Geospatial information with SWRL rules Implementation of the previous framework using OWL 1. OWL 2 property axioms for expressing inverse, symmetry, and transitivity for spatial relations 2. SWRL rules to encode composition of spatial relations denotes disjunction of relations DC and EC compute the intersection of two sets of spatial relations [Batsakis et al., RuleML 11] check spatial consistency (using Pellet) Current relation between regions x and y 70

Geospatial information with SWRL rules Implementation of the previous framework using OWL 1. OWL 2 property axioms for expressing inverse, symmetry, and transitivity for spatial relations 2. SWRL rules to encode composition of spatial relations denotes disjunction of relations DC and EC compute the intersection of two sets of spatial relations [Batsakis et al., RuleML 11] check spatial consistency (using Pellet) Current relation between regions x and y Composition of R j with R k 71

Geospatial information with SWRL rules Implementation of the previous framework using OWL 1. OWL 2 property axioms for expressing inverse, symmetry, and transitivity for spatial relations 2. SWRL rules to encode composition of spatial relations denotes disjunction of relations DC and EC compute the intersection of two sets of spatial relations [Batsakis et al., RuleML 11] check spatial consistency (using Pellet) New relation between x and y Composition of R j with R k Current relation between regions x and y 72

Geospatial information with SWRL rules [Batsakis et al., RuleML 11] Implementation of SOWL is available at http://www.intelligence.tuc.gr/prototypes.php 73

Conclusions We talked about Geospatial information with description logics and OWL OWL reasoners with geospatial capabilities Geospatial information with SWRL rules Next topic: conclusions, questions, discussion 75

Bibliography [Katz et al., OWLED 05] Yarden Katz, Bernardo Cuenca Grau: Representing Qualitative Spatial Information in OWL-DL. OWLED 2005 [Lutz-Milicic, JAR 07] Carsten Lutz, Maja Milicic: A Tableau Algorithm for Description Logics with Concrete Domains and General TBoxes. J. Autom. Reasoning (JAR) 38(1-3):227-259 (2007) [Özçep-Möller, DL 12] Özgür L. Özçep, Ralf Möller: Combining DL-Lite with Spatial Calculi for Feasible Geo-thematic Query Answering. Description Logics 2012 [Grütter et al., ISWC 08] Rolf Grütter, Thomas Scharrenbach, Bettina Bauer-Messmer: Improving an RCC-Derived Geospatial Approximation by OWL Axioms. International Semantic Web Conference 2008:293-306 76

Bibliography [Wessel-Möller, JAPLL 09] Michael Wessel, Ralf Möller: Flexible software architectures for ontology-based information systems. J. Applied Logic (JAPLL) 7(1): 75-99 (2009) [Stocker-Sirin, OWLED 09] Markus Stocker, Evren Sirin: PelletSpatial: A Hybrid RCC-8 and RDF/ OWL Reasoning and Query Engine. OWLED 2009 [Batsakis-Petrakis, RuleML 11] Sotiris Batsakis, Euripides G. M. Petrakis: SOWL: A Framework for Handling Spatio-temporal Information in OWL 2.0. RuleML Europe 2011:242-249 77