Plausible Description Logic Programs for Stream Reasoning
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
Basic Querying with SPARQL
Basic Querying with SPARQL Andrew Weidner Metadata Services Coordinator SPARQL SPARQL SPARQL SPARQL SPARQL Protocol SPARQL SPARQL Protocol And SPARQL SPARQL Protocol And RDF SPARQL SPARQL Protocol And RDF Query SPARQL SPARQL Protocol And RDF Query Language SPARQL SPARQL Protocol And RDF Query Language SPARQL Query SPARQL Query Update SPARQL Query Update - Insert triples SPARQL Query Update - Insert triples - Delete triples SPARQL Query Update - Insert triples - Delete triples - Create graphs SPARQL Query Update - Insert triples - Delete triples - Create graphs - Drop graphs Query RDF Triples Query RDF Triples Triple Store Query RDF Triples Triple Store Data Dump Query RDF Triples Triple Store Data Dump Subject – Predicate – Object Query Subject – Predicate – Object ?s ?p ?o Query Dog HasName Cocoa Subject – Predicate – Object ?s ?p ?o Query Cocoa HasPhoto ------- Subject – Predicate – Object ?s ?p ?o Query HasURL http://bit.ly/1GYVyIX Subject – Predicate – Object ?s ?p ?o Query ?s ?p ?o Query SELECT ?s ?p ?o Query SELECT * ?s ?p ?o Query SELECT * WHERE ?s ?p ?o Query SELECT * WHERE { ?s ?p ?o } Query select * WhErE { ?spiderman ?plays ?oboe } http://deathbattle.wikia.com/wiki/Spider-Man http://www.mmimports.com/wp-content/uploads/2014/04/used-oboe.jpg Query SELECT * WHERE { ?s ?p ?o } Query SELECT * WHERE { ?s ?p ?o } Query SELECT * WHERE { ?s ?p ?o } Query SELECT * WHERE { ?s ?p ?o } LIMIT 10 SELECT * WHERE { ?s ?p ?o } LIMIT 10 http://dbpedia.org/snorql SELECT * WHERE { ?s ?p ?o } LIMIT 10 http://dbpedia.org/snorql SELECT * WHERE { ?s -
Schema.Org As a Description Logic
Schema.org as a Description Logic Andre Hernich1, Carsten Lutz2, Ana Ozaki1 and Frank Wolter1 1University of Liverpool, UK 2University of Bremen, Germany fandre.hernich, anaozaki, [email protected] [email protected] Abstract Patel-Schneider [2014] develops an ontology language for Schema.org with a formal syntax and semantics that, apart Schema.org is an initiative by the major search en- from some details, can be regarded as a fragment of OWL DL. gine providers Bing, Google, Yahoo!, and Yandex that provides a collection of ontologies which web- In this paper, we abstract slightly further and view the masters can use to mark up their pages. Schema.org Schema.org ontology language as a DL, in line with the for- comes without a formal language definition and malization by Patel-Schneider. Thus, what Schema.org calls a without a clear semantics. We formalize the lan- type becomes a concept name and a property becomes a role guage of Schema.org as a Description Logic (DL) name. The main characteristics of the resulting ‘Schema.org and study the complexity of querying data using DL’ are that (i) the language is very restricted, allowing only (unions of) conjunctive queries in the presence of inclusions between concept and role names, domain and range ontologies formulated in this DL (from several per- restrictions, nominals, and datatypes; (ii) ranges and domains spectives). While querying is intractable in general, of roles can be restricted to disjunctions of concept names (pos- we identify various cases in which it is tractable and sibly mixed with datatypes in range restrictions) and nominals where queries are even rewritable into FO queries are used in ‘one-of enumerations’ which also constitute a form or datalog programs. -
Mapping Spatiotemporal Data to RDF: a SPARQL Endpoint for Brussels
International Journal of Geo-Information Article Mapping Spatiotemporal Data to RDF: A SPARQL Endpoint for Brussels Alejandro Vaisman 1, * and Kevin Chentout 2 1 Instituto Tecnológico de Buenos Aires, Buenos Aires 1424, Argentina 2 Sopra Banking Software, Avenue de Tevuren 226, B-1150 Brussels, Belgium * Correspondence: [email protected]; Tel.: +54-11-3457-4864 Received: 20 June 2019; Accepted: 7 August 2019; Published: 10 August 2019 Abstract: This paper describes how a platform for publishing and querying linked open data for the Brussels Capital region in Belgium is built. Data are provided as relational tables or XML documents and are mapped into the RDF data model using R2RML, a standard language that allows defining customized mappings from relational databases to RDF datasets. In this work, data are spatiotemporal in nature; therefore, R2RML must be adapted to allow producing spatiotemporal Linked Open Data.Data generated in this way are used to populate a SPARQL endpoint, where queries are submitted and the result can be displayed on a map. This endpoint is implemented using Strabon, a spatiotemporal RDF triple store built by extending the RDF store Sesame. The first part of the paper describes how R2RML is adapted to allow producing spatial RDF data and to support XML data sources. These techniques are then used to map data about cultural events and public transport in Brussels into RDF. Spatial data are stored in the form of stRDF triples, the format required by Strabon. In addition, the endpoint is enriched with external data obtained from the Linked Open Data Cloud, from sites like DBpedia, Geonames, and LinkedGeoData, to provide context for analysis. -
Validating RDF Data Using Shapes
83 Validating RDF data using Shapes a Jose Emilio Labra Gayo a University of Oviedo, Spain Abstract RDF forms the keystone of the Semantic Web as it enables a simple and powerful knowledge representation graph based data model that can also facilitate integration between heterogeneous sources of information. RDF based applications are usually accompanied with SPARQL stores which enable to efficiently manage and query RDF data. In spite of its well known benefits, the adoption of RDF in practice by web programmers is still lacking and SPARQL stores are usually deployed without proper documentation and quality assurance. However, the producers of RDF data usually know the implicit schema of the data they are generating, but they don't do it traditionally. In the last years, two technologies have been developed to describe and validate RDF content using the term shape: Shape Expressions (ShEx) and Shapes Constraint Language (SHACL). We will present a motivation for their appearance and compare them, as well as some applications and tools that have been developed. Keywords RDF, ShEx, SHACL, Validating, Data quality, Semantic web 1. Introduction In the tutorial we will present an overview of both RDF is a flexible knowledge and describe some challenges and future work [4] representation language based of graphs which has been successfully adopted in semantic web 2. Acknowledgements applications. In this tutorial we will describe two languages that have recently been proposed for This work has been partially funded by the RDF validation: Shape Expressions (ShEx) and Spanish Ministry of Economy, Industry and Shapes Constraint Language (SHACL).ShEx was Competitiveness, project: TIN2017-88877-R proposed as a concise and intuitive language for describing RDF data in 2014 [1]. -
Ontologies and Description Logics
Symbolic and structural models for image understanding Part II: Ontologies and description logics Jamal Atif - Isabelle Bloch - Céline Hudelot IJCAI 2016 1 / 72 J. Atif, I. Bloch, C. Hudelot Image Understanding Outline 1 What is an ontology ? 2 Ontologies for image understanding: overview 3 Description Logics 4 Description Logics for image understanding 5 Conclusion What is an ontology ? What is an ontology ? Example from F. Gandon, WIMMICS Team, INRIA What is the last document that you have read? Documents 3 / 72 J. Atif, I. Bloch, C. Hudelot Image Understanding What is an ontology ? Ontologies: Definition Ontology ethymology: ontos (being, that which is) + logos (science, study, theory) Philosophy Study of the nature of being, becoming and reality. Study of the basic categories of being and their relations. Computer Science Formal representation of a domain of discourse. Explicit specification of a conceptualization [Gruber 95]. Ref: [Guarino 09] 4 / 72 J. Atif, I. Bloch, C. Hudelot Image Understanding What is an ontology ? Ontologies: Definition ontology Formal, explicit (and shared) specification of a conceptualization [Gruber 95, Studer 98] Formal, explicit specification: a formal language is used to refer to the elements of the conceptualization, e.g. description logics Conceptualization: Objects, concepts and other entities and their relationships Concept Relation Denoted by: Denoted by: a name a name a meaning (intensional definition) an intension a set of denoted objects (extensional an extension definition) 5 / 72 J. Atif, I. Bloch, C. Hudelot Image Understanding What is an ontology ? The different types of ontologies According to their expressivity Source : [Uschold 04] 6 / 72 J. Atif, I. Bloch, C. -
Knowledge Representation in Bicategories of Relations
Knowledge Representation in Bicategories of Relations Evan Patterson Department of Statistics, Stanford University Abstract We introduce the relational ontology log, or relational olog, a knowledge representation system based on the category of sets and relations. It is inspired by Spivak and Kent’s olog, a recent categorical framework for knowledge representation. Relational ologs interpolate between ologs and description logic, the dominant formalism for knowledge representation today. In this paper, we investigate relational ologs both for their own sake and to gain insight into the relationship between the algebraic and logical approaches to knowledge representation. On a practical level, we show by example that relational ologs have a friendly and intuitive—yet fully precise—graphical syntax, derived from the string diagrams of monoidal categories. We explain several other useful features of relational ologs not possessed by most description logics, such as a type system and a rich, flexible notion of instance data. In a more theoretical vein, we draw on categorical logic to show how relational ologs can be translated to and from logical theories in a fragment of first-order logic. Although we make extensive use of categorical language, this paper is designed to be self-contained and has considerable expository content. The only prerequisites are knowledge of first-order logic and the rudiments of category theory. 1. Introduction arXiv:1706.00526v2 [cs.AI] 1 Nov 2017 The representation of human knowledge in computable form is among the oldest and most fundamental problems of artificial intelligence. Several recent trends are stimulating continued research in the field of knowledge representation (KR). -
Computational Integrity for Outsourced Execution of SPARQL Queries
Computational integrity for outsourced execution of SPARQL queries Serge Morel Student number: 01407289 Supervisors: Prof. dr. ir. Ruben Verborgh, Dr. ir. Miel Vander Sande Counsellors: Ir. Ruben Taelman, Joachim Van Herwegen Master's dissertation submitted in order to obtain the academic degree of Master of Science in Computer Science Engineering Academic year 2018-2019 Computational integrity for outsourced execution of SPARQL queries Serge Morel Student number: 01407289 Supervisors: Prof. dr. ir. Ruben Verborgh, Dr. ir. Miel Vander Sande Counsellors: Ir. Ruben Taelman, Joachim Van Herwegen Master's dissertation submitted in order to obtain the academic degree of Master of Science in Computer Science Engineering Academic year 2018-2019 iii c Ghent University The author(s) gives (give) permission to make this master dissertation available for consultation and to copy parts of this master dissertation for personal use. In the case of any other use, the copyright terms have to be respected, in particular with regard to the obligation to state expressly the source when quoting results from this master dissertation. August 16, 2019 Acknowledgements The topic of this thesis concerns a rather novel and academic concept. Its research area has incredibly talented people working on a very promising technology. Understanding the core principles behind proof systems proved to be quite difficult, but I am strongly convinced that it is a thing of the future. Just like the often highly-praised artificial intelligence technology, I feel that verifiable computation will become very useful in the future. I would like to thank Joachim Van Herwegen and Ruben Taelman for steering me in the right direction and reviewing my work quickly and intensively. -
THE DATA COMPLEXITY of DESCRIPTION LOGIC ONTOLOGIES in Recent Years, the Use of Ontologies to Access Instance Data Has Become In
THE DATA COMPLEXITY OF DESCRIPTION LOGIC ONTOLOGIES CARSTEN LUTZ AND FRANK WOLTER University of Bremen, Germany e-mail address: [email protected] University of Liverpool e-mail address: [email protected] ABSTRACT. We analyze the data complexity of ontology-mediated querying where the ontologies are formulated in a description logic (DL) of the ALC family and queries are conjunctive queries, positive existential queries, or acyclic conjunctive queries. Our approach is non-uniform in the sense that we aim to understand the complexity of each single ontology instead of for all ontologies for- mulated in a certain language. While doing so, we quantify over the queries and are interested, for example, in the question whether all queries can be evaluated in polynomial time w.r.t. a given on- tology. Our results include a PTIME/CONP-dichotomy for ontologies of depth one in the description logic ALCFI, the same dichotomy for ALC- and ALCI-ontologies of unrestricted depth, and the non-existence of such a dichotomy for ALCF-ontologies. For the latter DL, we additionally show that it is undecidable whether a given ontology admits PTIME query evaluation. We also consider the connection between PTIME query evaluation and rewritability into (monadic) Datalog. 1. INTRODUCTION In recent years, the use of ontologies to access instance data has become increasingly popular [PLC+08, KZ14, BO15]. The general idea is that an ontology provides domain knowledge and an enriched vocabulary for querying, thus serving as an interface between the query and the data, and enabling the derivation of additional facts. In this emerging area, called ontology-mediated querying, it is a central research goal to identify ontology languages for which query evaluation scales to large amounts of instance data. -
Complexity of the Description Logic ALCM
Proceedings, Fifteenth International Conference on Principles of Knowledge Representation and Reasoning (KR 2016) Complexity of the Description Logic ALCM Monica´ Martinez and Edelweis Rohrer Paula Severi Instituto de Computacion,´ Facultad de Ingenier´ıa, Department of Computer Science, Universidad de la Republica,´ Uruguay University of Leicester, England Abstract in ALCM can be used for a knowledge base in ALC. Details of our ExpTime algorithm for ALCM along with In this paper we show that the problem of deciding the consis- proofs of correctness and the complexity result can be found tency of a knowledge base in the Description Logic ALCM is ExpTime-complete. The M stands for meta-modelling as in (Martinez, Rohrer, and Severi 2015). defined by Motz, Rohrer and Severi. To show our main result, we define an ExpTime Tableau algorithm as an extension of 2 A Flexible Meta-modelling Approach an algorithm for ALC by Nguyen and Szalas. A knowledge base in ALCM contains an Mbox besides of a Tbox and an Abox. An Mbox is a set of equalities of the form 1 Introduction a =m A where a is an individual and A is a concept (Motz, The main motivation of the present work is to study the com- Rohrer, and Severi 2015). Figure 1 shows an example of two plexity of meta-modelling as defined in (Motz, Rohrer, and ontologies separated by a horizontal line, where concepts are Severi 2014; 2015). No study of complexity has been done denoted by large ovals and individuals by bullets. The two so far for this approach and we would like to analyse if it ontologies conceptualize the same entities at different lev- increases the complexity of a given description logic. -
Introduction Vocabulary an Excerpt of a Dbpedia Dataset
D2K Master Information Integration Université Paris Saclay Practical session (2): SPARQL Sources: http://liris.cnrs.fr/~pchampin/2015/udos/tuto/#id1 https://www.w3.org/TR/2013/REC-sparql11-query-20130321/ Introduction For this practical session, we will use the DBPedia SPARQL access point, and to access it, we will use the Yasgui online client. By default, Yasgui (http://yasgui.org/) is configured to query DBPedia (http://wiki.dbpedia.org/), which is appropriate for our tutorial, but keep in mind that: - Yasgui is not linked to DBpedia, it can be used with any SPARQL access point; - DBPedia is not related to Yasgui, it can be queried with any SPARQL compliant client (in fact any HTTP client that is not very configurable). Vocabulary An excerpt of a dbpedia dataset The vocabulary of DBPedia is very large, but in this tutorial we will only need the IRIs below. foaf:name Propriété Nom d’une personne (entre autre) dbo:birthDate Propriété Date de naissance d’une personne dbo:birthPlace Propriété Lieu de naissance d’une personne dbo:deathDate Propriété Date de décès d’une personne dbo:deathPlace Propriété Lieu de décès d’une personne dbo:country Propriété Pays auquel un lieu appartient dbo:mayor Propriété Maire d’une ville dbr:Digne-les-Bains Instance La ville de Digne les bains dbr:France Instance La France -1- /!\ Warning: IRIs are case-sensitive. Exercises 1. Display the IRIs of all Dignois of origin (people born in Digne-les-Bains) Graph Pattern Answer: PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX skos: <http://www.w3.org/2004/02/skos/core#> PREFIX dc: <http://purl.org/dc/elements/1.1/> PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> PREFIX db: <http://dbpedia.org/> SELECT * WHERE { ?p dbo:birthPlace dbr:Digne-les-Bains . -
Description Logics
Description Logics Franz Baader1, Ian Horrocks2, and Ulrike Sattler2 1 Institut f¨urTheoretische Informatik, TU Dresden, Germany [email protected] 2 Department of Computer Science, University of Manchester, UK {horrocks,sattler}@cs.man.ac.uk Summary. In this chapter, we explain what description logics are and why they make good ontology languages. In particular, we introduce the description logic SHIQ, which has formed the basis of several well-known ontology languages, in- cluding OWL. We argue that, without the last decade of basic research in description logics, this family of knowledge representation languages could not have played such an important rˆolein this context. Description logic reasoning can be used both during the design phase, in order to improve the quality of ontologies, and in the deployment phase, in order to exploit the rich structure of ontologies and ontology based information. We discuss the extensions to SHIQ that are required for languages such as OWL and, finally, we sketch how novel reasoning services can support building DL knowledge bases. 1 Introduction The aim of this section is to give a brief introduction to description logics, and to argue why they are well-suited as ontology languages. In the remainder of the chapter we will put some flesh on this skeleton by providing more technical details with respect to the theory of description logics, and their relationship to state of the art ontology languages. More detail on these and other matters related to description logics can be found in [6]. Ontologies There have been many attempts to define what constitutes an ontology, per- haps the best known (at least amongst computer scientists) being due to Gruber: “an ontology is an explicit specification of a conceptualisation” [47].3 In this context, a conceptualisation means an abstract model of some aspect of the world, taking the form of a definition of the properties of important 3 This was later elaborated to “a formal specification of a shared conceptualisation” [21]. -
Description Logics—Basics, Applications, and More
Description Logics|Basics, Applications, and More Ian Horrocks Information Management Group University of Manchester, UK Ulrike Sattler Teaching and Research Area for Theoretical Computer Science RWTH Aachen, Germany RWTH Aachen 1 Germany Overview of the Tutorial • History and Basics: Syntax, Semantics, ABoxes, Tboxes, Inference Problems and their interrelationship, and Relationship with other (logical) formalisms • Applications of DLs: ER-diagrams with i.com demo, ontologies, etc. including system demonstration • Reasoning Procedures: simple tableaux and why they work • Reasoning Procedures II: more complex tableaux, non-standard inference prob- lems • Complexity issues • Implementing/Optimising DL systems RWTH Aachen 2 Germany Description Logics • family of logic-based knowledge representation formalisms well-suited for the representation of and reasoning about ➠ terminological knowledge ➠ configurations ➠ ontologies ➠ database schemata { schema design, evolution, and query optimisation { source integration in heterogeneous databases/data warehouses { conceptual modelling of multidimensional aggregation ➠ : : : • descendents of semantics networks, frame-based systems, and KL-ONE • aka terminological KR systems, concept languages, etc. RWTH Aachen 3 Germany Architecture of a Standard DL System Knowledge Base I N Terminology F E I R Father = Man u 9 has child.>... N E T Human = Mammal. u Biped . N E Description C R E F Logic A Concrete Situation S C Y E John:Human u Father S John has child Bill . T . E M RWTH Aachen 4 Germany Introduction