Reasoning with Rules SWRL as Example. Jan Pettersen Nytun, UIA

Size: px
Start display at page:

Download "Reasoning with Rules SWRL as Example. Jan Pettersen Nytun, UIA"

Transcription

1 Reasoning with Rules SWRL as Example Jan Pettersen Nytun, UIA 1

2 JPN, UiA 2

3 What is a rule? Consist of premise and a conclusion. Meaning: In any situation where the premise applies the conclusion must also hold. premise conclusion JPN, UiA 3

4 Agenda Different Types of Reasoning Inductive reasoning Deductive reasoning Abductive reasoning Why rules? The Semantic Web Rule Language (SWRL) SWRL Types of Atoms SWRL Example SWRL Exercise 4

5 Inductive Reasoning From Wikipedia, the free encyclopedia the premises are viewed as supplying strong evidence for the truth of the conclusion. conclusion of a deductive argument is certain, the truth of the conclusion of an inductive argument is probable, based upon the evidence given. premise conclusion Not as strong as for deductive reasoning JPN, UiA 5

6 P S O Inductive Reasoning From Wikipedia, the free encyclopedia the premises of an inductive logical argument indicate some degree of support for the conclusion but do not entail it... derives general principles from specific observations based on observations premise conclusion Likely to be true JPN, UiA 6

7 Inductive Reasoning Example Many observations indicate that humans eventually dies, i.e., humans are mortals. Human(x) Mortal(x) JPN, UiA 7

8 Deductive Reasoning also Called Deductive Logic, Logical Deduction From Wikipedia, the free encyclopedia If all premises are true, and the rules of deductive logic are followed, then the conclusion reached is necessarily true. In inductive reasoning, the conclusion is reached by generalizing or extrapolating from specific cases to general rules, i.e., there is uncertainty. However, induction used in mathematical proofs is actually a form of deductive reasoning. JPN, UiA 8

9 Deductive Reasoning Example All men are mortal. Socrates is a man Therefore, Socrates is mortal. JPN, UiA 9

10 Deductive Reasoning Example in First Order Predicate Logic All men are mortal. Socrates is a man Therefore, Socrates is mortal. x.man(x) Mortal(x) -- All men are mortal Man(Socrates) -- Socrates is a man Man(Socrates) Mortal(Socrates). -- Socrates is mortal JPN, UiA 10

11 From Wikipedia, the free encyclopedia JPN, UiA 11

12 [ Theories have to be tested and hypotheses answered before the scientific community accepts them as truth. JPN, UiA 12

13 JPN, UiA 13 Abductive Reasoning From Wikipedia, the free encyclopedia Example: The grass is wet; if it rained last night, then it would be unsurprising that the grass is wet. Therefore, by abductive reasoning, the possibility that it rained last night is reasonable. RaindLastNight GrassIsWeet Some other process could have also resulted in a wet grass, such as sprinklers. Consequently, abducing that it rained last night from the observation of wet grass can lead to a false conclusion. SprinklerWasOn GrassIsWeet

14 Abductive Reasoning Continues Inference to the best explanation. Given a true conclusion and a rule, it attempts to select some possible premises that, if true also, can support the conclusion, though not uniquely. RaindLastNight GrassIsWeet SprinklerWasOn GrassIsWeet Can be used to develop a hypothesis, which in turn can be tested by additional reasoning or data. JPN, UiA 14

15 Abductive Reasoning Example ref.: The doctor hears her patients symptoms, including the regular shortness of breath on cold days and when exercising and abduces that the best explanation of these symptoms is that her patient is an asthma sufferer. The scientist observes the test tube and sees the chemical turn purple. She abduces that either there is potassium in the sample or her colleague is playing yet another prank on her. JPN, UiA 15

16 Agenda Different Types of Reasoning Inductive reasoning Deductive reasoning Abductive reasoning Why rules? The Semantic Web Rule Language (SWRL) SWRL Types of Atoms SWRL Example SWRL Exercise 16

17 In some cases we need both Structure and Rules JPN, UiA 17

18 Example of rule using The Semantic Web Rule Language (SWRL): hasparent(?x,?parent) hasbrother(?parent,?uncle) hasuncle(?x,?uncle) Some statements cannot be expressed in OWL. Modeling constructs of OWL not always adequate or most desirable. Knowledge Representation, Part II, JPN, UiA 18

19 Agenda Different Types of Reasoning Inductive reasoning Deductive reasoning Abductive reasoning Why rules? The Semantic Web Rule Language (SWRL) SWRL Types of Atoms SWRL Example SWRL Exercise 19

20 Ref.: The Semantic Web Rule Language (SWRL) An expressive OWL-based rule language. SWRL allows users to write rules that can be expressed in terms of OWL concepts to provide more powerful deductive reasoning capabilities than OWL alone. JPN, UiA 20

21 Ref.: SWRL Rule head body atom ^ atom... atom ^ atom body and head consist of positive conjunctions of atoms (only AND between atoms) Atom p(arg1, arg2,... argn) p is a predicate symbol; arg1, arg2,..., argn are the terms of the expression. JPN, UiA 21

22 Ref.: All variables in SWRL are treated as universally quantified ( ), with their scope limited to a given rule. E.g., given: hasparent(?x,?parent) hasbrother(?parent,?uncle) hasuncle(?x,?uncle) This rule applies for all?x, all?parent and all?uncle. JPN, UiA 22

23 Agenda Different Types of Reasoning Inductive reasoning Deductive reasoning Abductive reasoning Why rules? The Semantic Web Rule Language (SWRL) SWRL Types of Atoms SWRL Example SWRL Exercise 23

24 Ref.: SWRL provides seven types of atoms: Class Atoms Individual Property atoms Data Valued Property atoms Different Individuals atoms Same Individual atoms Built-in atoms Data Range atoms JPN, UiA 24

25 Ref.: Class Atom OWL named class or class expression and a single argument representing an OWL individual Examples: Person(?p) Man(Fred) Man(?p) -> Person(?p) JPN, UiA 25

26 Example of Class Expression (haschild >= 1)(?x) -> Parent(?x) JPN, UiA 26

27 Ref.: Individual Property Atom OWL object property and two arguments representing OWL individuals. Examples: hasbrother(?x,?y) hassibling(fred,?y) Person(?p) ^ hassibling(?p,?s) ^ Man(?s) -> hasbrother(?p,?s) JPN, UiA 27

28 Ref.: Data Valued Property OWL data property and two arguments, the first representing an OWL individual, and the second a data value. Examples: hasage(?x,?age) hasheight(fred,?h) hasage(?x, 232) hasname(?x, "Fred") Person(?p) ^ hascar(?p, true) -> Driver(?p) Person(Fred) ^ hascar(fred, true) -> Driver(Fred) JPN, UiA 28

29 Ref.: Different Individuals Atom Arguments representing OWL individuals. Examples: differentfrom(?x,?y) differentfrom(fred, Joe) Same Individual Atom Arguments representing OWL individuals. Examples: sameas(?x,?y) sameas(fred, Freddy) JPN, UiA 29

30 Ref.: Data Range Atom A datatype name or a set of literals and a single argument representing a data value. Examples: xsd:int(?x) [3, 4, 5](?x)?x is a variable representing a data value. JPN, UiA 30

31 Ref.: Built-In Atom SWRL support user-defined built-ins. A built-in is a predicate that takes one or more arguments and evaluates to true if the arguments satisfy the predicate. SWRL contained many built-ins. Example - Person with an age of greater than 17 is an adult is: : Person(?p) ^ hasage(?p,?age) ^ swrlb:greaterthan(?age, 17) -> Adult(?p) (swrlb is a namespace) JPN, UiA 31

32 Ref.: A rule that uses a core SWRL string built-in to determine if a person's telephone number starts with the international access code "+" can be written as follows: Person(?p) ^ hasnumber(?p,?number) ^ swrlb:startswith(?number, "+") hasinternationalnumber(?p, true) JPN, UiA 32

33 Ref.: Rectangle(?r) ^ haswidthinmeters(?r,?w) ^ hasheightinmeters(?r,?h) ^ swrlb:multiply(?areainsquaremeters,?w,?h) hasareainsquaremeters(?r,?areainsquaremeters) JPN, UiA 33

34 Agenda Different Types of Reasoning Inductive reasoning Deductive reasoning Abductive reasoning Why rules? The Semantic Web Rule Language (SWRL) SWRL Types of Atoms SWRL Example SWRL Exercise 34

35 DL and SWRL has a big overlap Example: If a person is the author of a book then she is a (member of the class) book author. First Order Predicate Logic: x.person(x) y.authorof(x,y) Book(y) Bookauthor(x) Description Logic: Person and authorof some Book SWRL: Person(?x) ^ authorof(?x,?y) ^Book(?y) -> BookAuthor(?x) JPN, UiA 35

36 Example in Protégé JPN, UiA 36

37 :authorof rdf:type owl:objectproperty. :Book rdf:type owl:class. :Person rdf:type owl:class. :BookAuthor rdf:type owl:class ; owl:equivalentclass [ owl:intersectionof ( :Person [ rdf:type owl:restriction ; owl:onproperty :authorof ; owl:somevaluesfrom :Book ] ) ; rdf:type owl:class ]. :adollshouse rdf:type owl:namedindividual, :Book. :ibsen rdf:type owl:namedindividual, :Person ; :authorof :adollshouse, :peergynt. Ontology Used :notanauthorperson rdf:type owl:namedindividual, :Person. :peergynt rdf:type owl:namedindividual, :Book. JPN, UiA 37

38 DL reasoner infer that ibsen is a book author JPN, UiA 38

39 Make SWRL rule in Protégé JPN, UiA 39

40 JPN, UiA 40

41 Transfer SWRL rule to rule engine After pressing JPN, UiA 41

42 Run SWRL rule JPN, UiA 42

43 See result of reasoning JPN, UiA 43

44 JPN, UiA 44 Result of SWRL reasoning

45 Agenda Different Types of Reasoning Inductive reasoning Deductive reasoning Abductive reasoning Why rules? The Semantic Web Rule Language (SWRL) SWRL Types of Atoms SWRL Example SWRL Exercise 45

46 @prefix : owl: rdf: xml: xsd: rdfs: < < rdf:type owl:ontology. ################################################################# # Object Properties ################################################################# ### :contains rdf:type owl:objectproperty. ### :dislikes rdf:type owl:objectproperty. ### :ordered rdf:type owl:objectproperty. ################################################################# # Classes ################################################################# ### :BakedSalmon rdf:type owl:class ; rdfs:subclassof :Dish, [ rdf:type owl:restriction ; owl:onproperty :contains ; owl:somevaluesfrom :SalmonProduct ]. ### :Chickpeas rdf:type owl:class ; rdfs:subclassof :VeggiProduct. ### :Dish rdf:type owl:class. ### :Falafel rdf:type owl:class ; rdfs:subclassof :Dish, [ rdf:type owl:restriction ; owl:onproperty :contains ; owl:somevaluesfrom :Chickpeas ]. Exercise this ontology is given ### :FishProduct rdf:type owl:class ; rdfs:subclassof :Product. ### :Person rdf:type owl:class. ### :Product rdf:type owl:class. ### :SalmonProduct rdf:type owl:class ; rdfs:subclassof :FishProduct. ### :Unhappy rdf:type owl:class. ### :Vegetarian rdf:type owl:class. ### :VeggiProduct rdf:type owl:class ; rdfs:subclassof :Product. ################################################################# # Individuals ################################################################# ### :chickpeas1 rdf:type owl:namedindividual, :Chickpeas. ### :dish1bakedsalmon rdf:type owl:namedindividual, :BakedSalmon ; :contains :salmon1. ### :disk2bakedsalmon rdf:type owl:namedindividual, :BakedSalmon ; :contains :salmon2. ### :disk3falafel rdf:type owl:namedindividual, :Falafel ; :contains :chickpeas1. ### :janenotveggi rdf:type owl:namedindividual, :Person ; :ordered :dish1bakedsalmon. ### :salmon1 rdf:type owl:namedindividual, :SalmonProduct. ### :salmon2 rdf:type owl:namedindividual, :SalmonProduct. ### :tomveggi rdf:type owl:namedindividual, :Person, :Vegetarian ; :ordered :disk2bakedsalmon, :disk3falafel. ### Generated by the OWL API (version ) JPN, UiA 46

47 Ontology loaded into Protégé JPN, UiA 47

48 JPN, UiA 48

49 JPN, UiA 49

50 JPN, UiA 50

51 Even if no rule is specified the inference engine will still do some inferencing: JPN, UiA 51

52 Task 1: Every vegetarian dislikes all fish products. In effect all individuals of type Vegetarian will dislike all individuals of type FishProduct (and all its subclasses). E.g.: JPN, UiA 52

53 Task 1 Solution: (1) Every vegetarian dislikes all fish products. Vegetarian(?x) ^ FishProduct(?y) -> dislikes(?x,?y) JPN, UiA 53

54 Task 2: Anyone who ordered a dish that contains something he or she dislikes is unhappy. JPN, UiA 54

55 Task 2 solution: Anyone who ordered a dish that contains something he or she dislikes is unhappy. JPN, UiA 55

56 Task 3: Everything that can be ordered as a dish actually is a dish. Add the following to test: JPN, UiA 56

57 Task Solution 3: Everything that can be ordered as a dish actually is a dish. JPN, UiA 57

58 References Foundations of Semantic Web Technologies, Pascal Hitzler, Markus Krötzsch, Sebastian Rudolph, Chapman & Hall/CRC, OGRlM/SWRL_Semantic_Web_Rule_Language_powerpoint_ppt_presentation Help SWRL Protégé 5: Jan Pettersen Nytun, UiA, page 58

SWRL Semantic Web Rule Language. Susana R. Novoa UNIK4710

SWRL Semantic Web Rule Language. Susana R. Novoa UNIK4710 SWRL Semantic Web Rule Language Susana R. Novoa UNIK4710 What is SWRL? What is Jess? Installing Jess Creating rules SWRL Rules Atom Types SWRLTab SQWRL SQWRLTab SWRL Resources Overview What is SWRL? SWRL

More information

Knowledge Representation RDF Turtle Namespace

Knowledge Representation RDF Turtle Namespace Knowledge Representation RDF Turtle Namespace Jan Pettersen Nytun, UiA 1 URIs Identify Web Resources Web addresses are the most common URIs, i.e., uniform Resource Locators (URLs). RDF resources are usually

More information

Comparison of Semantic Web serialization syntaxes

Comparison of Semantic Web serialization syntaxes Comparison of Semantic Web serialization syntaxes Tony Mallia Edmond Scientific 7 March 2015 Introduction This is the comparison of serialization syntaxes supported by Protégé. The sample contains two

More information

logic importance logic importance (2) logic importance (3) specializations of logic Horn logic specializations of logic RDF and OWL

logic importance logic importance (2) logic importance (3) specializations of logic Horn logic specializations of logic RDF and OWL logic importance - high-level language for expressing knowledge - high expressive power - well-understood formal semantics - precise notion of logical consequence - systems that can automatically derive

More information

Knowledge Representation VII - IKT507. SPARQL stands for SPARQL Protocol And RDF Query Language

Knowledge Representation VII - IKT507. SPARQL stands for SPARQL Protocol And RDF Query Language Knowledge Representation VII - IKT507 This sentence is false! PARQL stands for PARQL Protocol And RDF Query Language Jan Pettersen Nytun, UiA 1 The emantic Web tack Hierarchy of languages, where each layer

More information

Knowledge Representation. Apache Jena Part II. Jan Pettersen Nytun, UiA

Knowledge Representation. Apache Jena Part II. Jan Pettersen Nytun, UiA Knowledge Representation Apache Jena Part II Jan Pettersen Nytun, UiA 1 P S O This presentation is based on: Jena Ontology API http://jena.apache.org/documentation/ontology/ Jan Pettersen Nytun, UIA, page

More information

1. Introduction to SWRL

1. Introduction to SWRL Introduction to Semantic Web Rule Language - SWRL Bernard ESPINASSE Aix-Marseille Université (AMU Polytech-Marseille Nov. 2017 From OWL to SWRL SWRL rules Examples of use of SWRL rules References Books,

More information

SPARQL: An RDF Query Language

SPARQL: An RDF Query Language SPARQL: An RDF Query Language Wiltrud Kessler Institut für Maschinelle Sprachverarbeitung Universität Stuttgart Semantic Web Winter 2015/16 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike

More information

Lecture 4: Reasoning

Lecture 4: Reasoning Lecture 4: Reasoning TIES4520 Semantic Technologies for Developers Autumn 2017 University of Jyväskylä Khriyenko Oleksiy Two basic types: Reasoning types Rule-based reasoning General rule-based inference

More information

Short notes about OWL 1

Short notes about OWL 1 University of Rome Tor Vergata Short notes about OWL 1 Manuel Fiorelli fiorelli@info.uniroma2.it [1] this presentation is limited to OWL 1 features. A new version of OWL (OWL 2), which adds further features

More information

Semantics. KR4SW Winter 2011 Pascal Hitzler 1

Semantics. KR4SW Winter 2011 Pascal Hitzler 1 Semantics KR4SW Winter 2011 Pascal Hitzler 1 Knowledge Representation for the Semantic Web Winter Quarter 2011 Pascal Hitzler Slides 5 01/20+25/2010 Kno.e.sis Center Wright State University, Dayton, OH

More information

SADI Semantic Web Services

SADI Semantic Web Services SADI Semantic Web Services London, UK 8 December 8 2011 SADI Semantic Web Services Instructor: Luke McCarthy http:// sadiframework.org/training/ 2 Contents 2.1 Introduction to Semantic Web Services 2.1

More information

The ISO D approach

The ISO D approach The ISO 15926 4D approach David Leal, 2016-11-14 With examples of the use of OWL DL inferencing Contents 1. Use of 4D Approach to a stream, as in engineering analysis Instantiation to support inferencing

More information

Knowledge Representation for the Semantic Web

Knowledge Representation for the Semantic Web Knowledge Representation for the Semantic Web Winter Quarter 2012 Pascal Hitzler Slides 2 01/05/2011 Kno.e.sis Center Wright State University, Dayton, OH http://www.knoesis.org/pascal/ KR4SW Winter 2012

More information

Reasoning with the Web Ontology Language (OWL)

Reasoning with the Web Ontology Language (OWL) Reasoning with the Web Ontology Language (OWL) JESSE WEAVER, PH.D. Fundamental & Computational Sciences Directorate, Senior Research Computer Scientist Discovery 2020 Short Course on Semantic Data Analysis

More information

Knowledge Representation for the Semantic Web

Knowledge Representation for the Semantic Web Knowledge Representation for the Semantic Web Winter Quarter 2011 Pascal Hitzler Slides 4 01/13/2010 Kno.e.sis Center Wright State University, Dayton, OH http://www.knoesis.org/pascal/ KR4SW Winter 2011

More information

Appendix B: The LCA ontology (lca.owl)

Appendix B: The LCA ontology (lca.owl) Appendix B: The LCA ontology (lca.owl)

More information

FHIR RDF Sample side by side comparisons

FHIR RDF Sample side by side comparisons 1 2 FHIR RDF Sample side by side comparisons V10 Tony Mallia 12/1/15 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 Contents 1 Datatypes (section

More information

COMBINING X3D WITH SEMANTIC WEB TECHNOLOGIES FOR INTERIOR DESIGN

COMBINING X3D WITH SEMANTIC WEB TECHNOLOGIES FOR INTERIOR DESIGN COMBINING X3D WITH SEMANTIC WEB TECHNOLOGIES FOR INTERIOR DESIGN Konstantinos Kontakis, Malvina Steiakaki, Michael Kalochristianakis, Kostas Kapetanakis and Athanasios G. Malamos Acknowledgements This

More information

Ontology-based Virtual IoT Devices for Edge Computing

Ontology-based Virtual IoT Devices for Edge Computing Ontology-based Virtual IoT Devices for Edge Computing The 8th International Conference on the Internet of Things (IoT 2018) Santa Barbara, California, USA October 15 18, 2018 Kristina Sahlmann, Thomas

More information

Linking Data with RDF

Linking Data with RDF Linking Data with RDF Wiltrud Kessler Institut für Maschinelle Sprachverarbeitung Universität Stuttgart Semantic Web Winter 2014/15 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike

More information

Ontological Modeling: Part 15

Ontological Modeling: Part 15 Ontological Modeling: Part 15 Terry Halpin INTI International University This is the fifteenth article in a series on ontology-based approaches to modeling. The main focus is on popular ontology languages

More information

Web Ontology Language: OWL

Web Ontology Language: OWL Web Ontology Language: OWL Bojan Furlan A Semantic Web Primer, G. Antoniou, F. van Harmelen Requirements for Ontology Languages Ontology languages allow users to write explicit, formal conceptualizations

More information

Table of Contents. iii

Table of Contents. iii Current Web 1 1.1 Current Web History 1 1.2 Current Web Characteristics 2 1.2.1 Current Web Features 2 1.2.2 Current Web Benefits 3 1.2.3. Current Web Applications 3 1.3 Why the Current Web is not Enough

More information

Section 2.4: Arguments with Quantified Statements

Section 2.4: Arguments with Quantified Statements Section 2.4: Arguments with Quantified Statements In this section, we shall generalize the ideas we developed in Section 1.3 to arguments which involve quantified statements. Most of the concepts we shall

More information

Tony Mallia Edmond Scientific

Tony Mallia Edmond Scientific Tony Mallia Edmond Scientific www.edmondsci.com Exchange format W3C defines several formats RDF/XML, OWL/XML, OWL Functional syntax + others. RDF/XML can support OWL. Record (e.g. single FHIR Resource)

More information

Ontological Modeling: Part 7

Ontological Modeling: Part 7 Ontological Modeling: Part 7 Terry Halpin LogicBlox and INTI International University This is the seventh in a series of articles on ontology-based approaches to modeling. The main focus is on popular

More information

Semantic Technologies

Semantic Technologies Semantic Technologies Part 14: Werner Nutt Acknowledgment These slides are based on the Latex version of slides by Markus Krötzsch of TU Dresden W. Nutt Semantic Technologies 2014/2015 (1/66) OWL W. Nutt

More information

An Introduction to the Semantic Web. Jeff Heflin Lehigh University

An Introduction to the Semantic Web. Jeff Heflin Lehigh University An Introduction to the Semantic Web Jeff Heflin Lehigh University The Semantic Web Definition The Semantic Web is not a separate Web but an extension of the current one, in which information is given well-defined

More information

OWL DL / Full Compatability

OWL DL / Full Compatability Peter F. Patel-Schneider, Bell Labs Research Copyright 2007 Bell Labs Model-Theoretic Semantics OWL DL and OWL Full Model Theories Differences Betwen the Two Semantics Forward to OWL 1.1 Model-Theoretic

More information

Chapter 2 AN INTRODUCTION TO THE OWL WEB ONTOLOGY LANGUAGE 1. INTRODUCTION. Jeff Heflin Lehigh University

Chapter 2 AN INTRODUCTION TO THE OWL WEB ONTOLOGY LANGUAGE 1. INTRODUCTION. Jeff Heflin Lehigh University Chapter 2 AN INTRODUCTION TO THE OWL WEB ONTOLOGY LANGUAGE Jeff Heflin Lehigh University Abstract: Key words: 1. INTRODUCTION The OWL Web Ontology Language is an international standard for encoding and

More information

Lecture 4: January 12, 2015

Lecture 4: January 12, 2015 32002: AI (First Order Predicate Logic, Interpretation and Inferences) Spring 2015 Lecturer: K.R. Chowdhary Lecture 4: January 12, 2015 : Professor of CS (VF) Disclaimer: These notes have not been subjected

More information

SPARQL. Part III. Jan Pettersen Nytun, UiA

SPARQL. Part III. Jan Pettersen Nytun, UiA ARQL Part III Jan Pettersen Nytun, UiA 1 Agenda P Example with: - RDER BY - UM Example continues with: - GRUP BY - GRUP BY together with UM Example continues with: - HAVING - BIND - CNCAT New example with:

More information

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES OWL Syntax & Intuition Sebastian Rudolph Dresden, 26 April 2013 Content Overview & XML 9 APR DS2 Hypertableau II 7 JUN DS5 Introduction into RDF 9 APR DS3 Tutorial

More information

SRM UNIVERSITY. : Batch1: TP1102 Batch2: TP406

SRM UNIVERSITY. : Batch1: TP1102 Batch2: TP406 1 SRM UNIVERSITY FACULTY OF ENGINEERING AND TECHNOLOGY SCHOOL OF COMPUTING DEPARTMENT OF COMPUTERSCIENCE AND ENGINEERING COURSE PLAN Course Code Course Title Semester : 15CS424E : SEMANTIC WEB : V Course

More information

Semantic Web Modeling Languages Part I: RDF

Semantic Web Modeling Languages Part I: RDF Semantic Web Modeling Languages Part I: RDF Markus Krötzsch & Sebastian Rudolph ESSLLI 2009 Bordeaux slides available at http://semantic-web-book.org/page/esslli09_lecture Outline A Brief Motivation RDF

More information

THE LOGIC OF QUANTIFIED STATEMENTS

THE LOGIC OF QUANTIFIED STATEMENTS CHAPTER 3 THE LOGIC OF QUANTIFIED STATEMENTS Copyright Cengage Learning. All rights reserved. SECTION 3.4 Arguments with Quantified Statements Copyright Cengage Learning. All rights reserved. Arguments

More information

Description Logic. Eva Mráková,

Description Logic. Eva Mráková, Description Logic Eva Mráková, glum@fi.muni.cz Motivation: ontology individuals/objects/instances ElizabethII Philip Philip, Anne constants in FOPL concepts/classes/types Charles Anne Andrew Edward Male,

More information

Publishing OWL ontologies with Presto

Publishing OWL ontologies with Presto Publishing OWL ontologies with Presto Alexander De Leon 1 and 1,2 1 School of Computer Science 2 Department of Biology Carleton University, 1125 Colonel By Drive, Ottawa, Ontario, K1S5B6 Canada Presented

More information

For return on 19 January 2018 (late submission: 2 February 2018)

For return on 19 January 2018 (late submission: 2 February 2018) Semantic Technologies Autumn 2017 Coursework For return on 19 January 2018 (late submission: 2 February 2018) Electronic submission:.pdf and.owl files only 1. (6%) Consider the following XML document:

More information

An RDF-based Distributed Expert System

An RDF-based Distributed Expert System An RDF-based Distributed Expert System NAPAT PRAPAKORN*, SUPHAMIT CHITTAYASOTHORN** Department of Computer Engineering King Mongkut's Institute of Technology Ladkrabang Faculty of Engineering, Bangkok

More information

Semantic Web Technologies: Web Ontology Language

Semantic Web Technologies: Web Ontology Language Semantic Web Technologies: Web Ontology Language Motivation OWL Formal Semantic OWL Synopsis OWL Programming Introduction XML / XML Schema provides a portable framework for defining a syntax RDF forms

More information

Deep integration of Python with Semantic Web technologies

Deep integration of Python with Semantic Web technologies Deep integration of Python with Semantic Web technologies Marian Babik, Ladislav Hluchy Intelligent and Knowledge Technologies Group Institute of Informatics, SAS Goals of the presentation Brief introduction

More information

Knowledge Representation for the Semantic Web

Knowledge Representation for the Semantic Web Knowledge Representation for the Semantic Web Winter Quarter 2010 Pascal Hitzler Slides 6 02/04/2010 Kno.e.sis Center Wright State University, Dayton, OH http://www.knoesis.org/pascal/ KR4SW Winter 2010

More information

Lecture 7: January 15, 2014

Lecture 7: January 15, 2014 32002: AI (First order Predicate Logic, Syntax and Semantics) Spring 2014 Lecturer: K.R. Chowdhary Lecture 7: January 15, 2014 : Professor of CS (GF) Disclaimer: These notes have not been subjected to

More information

RDF /RDF-S Providing Framework Support to OWL Ontologies

RDF /RDF-S Providing Framework Support to OWL Ontologies RDF /RDF-S Providing Framework Support to OWL Ontologies Rajiv Pandey #, Dr.Sanjay Dwivedi * # Amity Institute of information Technology, Amity University Lucknow,India * Dept.Of Computer Science,BBA University

More information

Deep Integration of Scripting Languages and Semantic Web Technologies

Deep Integration of Scripting Languages and Semantic Web Technologies Deep Integration of Scripting Languages and Semantic Web Technologies Denny Vrandečić Institute AIFB, University of Karlsruhe, Germany denny@aifb.uni-karlsruhe.de Abstract. Python reached out to a wide

More information

Modeling LMF compliant lexica in OWL-DL

Modeling LMF compliant lexica in OWL-DL 19 21 June 11th International conference DIN Deutsches Institut für Normung e. V. Modeling LMF compliant lexica in OWL-DL Malek Lhioui 1, Kais Haddar 1 and Laurent Romary 2 1 : Multimedia, InfoRmation

More information

INF3580 Semantic Technologies Spring 2012

INF3580 Semantic Technologies Spring 2012 INF3580 Semantic Technologies Spring 2012 Lecture 10: OWL, the Web Ontology Language Martin G. Skjæveland 20th March 2012 Department of Informatics University of Oslo Outline Reminder: RDFS 1 Reminder:

More information

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES RDFS Rule-based Reasoning Sebastian Rudolph Dresden, 16 April 2013 Content Overview & XML 9 APR DS2 Hypertableau II 7 JUN DS5 Introduction into RDF 9 APR DS3 Tutorial

More information

Exercise 3.1 (Win-Move Game: Draw Nodes) Consider again the Win-Move-Game. There, WinNodes and LoseNodes have been axiomatized.

Exercise 3.1 (Win-Move Game: Draw Nodes) Consider again the Win-Move-Game. There, WinNodes and LoseNodes have been axiomatized. Semantic Web 12 3. Unit: OWL Exercise 3.1 (Win-Move Game: Draw Nodes) Consider again the Win-Move-Game. There, WinNodes and LoseNodes have been axiomatized. a) Is it possible to characterize DrawNodes

More information

Knowledge Representation for the Semantic Web Lecture 4: Description Logics III

Knowledge Representation for the Semantic Web Lecture 4: Description Logics III Knowledge Representation for the Semantic Web Lecture 4: Description Logics III Daria Stepanova slides based on Reasoning Web 2011 tutorial Foundations of by S. Rudolph Max Planck Institute for Informatics

More information

KDI OWL. Fausto Giunchiglia and Mattia Fumagallli. University of Trento

KDI OWL. Fausto Giunchiglia and Mattia Fumagallli. University of Trento KDI OWL Fausto Giunchiglia and Mattia Fumagallli University of Trento Roadmap Introduction The OWL Full Language OWL DL and OWL lite Exercises 2 Introduction Chapter 1 3 Requirements for Ontology Languages

More information

INF3580/4580 Semantic Technologies Spring 2017

INF3580/4580 Semantic Technologies Spring 2017 INF3580/4580 Semantic Technologies Spring 2017 Lecture 10: OWL, the Web Ontology Language Leif Harald Karlsen 20th March 2017 Department of Informatics University of Oslo Reminders Oblig. 5: First deadline

More information

Contents. G52IWS: The Semantic Web. The Semantic Web. Semantic web elements. Semantic Web technologies. Semantic Web Services

Contents. G52IWS: The Semantic Web. The Semantic Web. Semantic web elements. Semantic Web technologies. Semantic Web Services Contents G52IWS: The Semantic Web Chris Greenhalgh 2007-11-10 Introduction to the Semantic Web Semantic Web technologies Overview RDF OWL Semantic Web Services Concluding comments 1 See Developing Semantic

More information

RuleML and SWRL, Proof and Trust

RuleML and SWRL, Proof and Trust RuleML and SWRL, Proof and Trust Semantic Web F. Abel and D. Krause IVS Semantic Web Group January 17, 2008 1 Solution 1: RuleML Express the following RuleML code as a human-readable First Order Logic

More information

Extending OWL with Finite Automata Constraints

Extending OWL with Finite Automata Constraints San Jose State University SJSU ScholarWorks Master's Projects Master's Theses and Graduate Research Fall 12-2010 Extending OWL with Finite Automata Constraints Jignesh Borisa San Jose State University

More information

Abstract. The report is written in english. Keywords: Linked Data, Clinical Data, Semantic Web, AstraZeneca, RDF, OWL, SPARQL, Jena

Abstract. The report is written in english. Keywords: Linked Data, Clinical Data, Semantic Web, AstraZeneca, RDF, OWL, SPARQL, Jena Abstract The eort to transform and extend data is a growing business in many industries. Proprietary data formats and inconsistent data structures create complexity for machines to understand these formats,

More information

a paradigm for the Introduction to Semantic Web Semantic Web Angelica Lo Duca IIT-CNR Linked Open Data:

a paradigm for the Introduction to Semantic Web Semantic Web Angelica Lo Duca IIT-CNR Linked Open Data: Introduction to Semantic Web Angelica Lo Duca IIT-CNR angelica.loduca@iit.cnr.it Linked Open Data: a paradigm for the Semantic Web Course Outline Introduction to SW Give a structure to data (RDF Data Model)

More information

Schema-Agnostic Query Rewriting in SPARQL 1.1

Schema-Agnostic Query Rewriting in SPARQL 1.1 Fakultät Informatik, Institut Künstliche Intelligenz, Professur Computational Logic Schema-Agnostic Query Rewriting in SPARQL 1.1 Stefan Bischof, Markus Krötzsch, Axel Polleres and Sebastian Rudolph Plain

More information

Semantic Web Ontologies

Semantic Web Ontologies Semantic Web Ontologies CS 431 April 4, 2005 Carl Lagoze Cornell University Acknowledgements: Alun Preece RDF Schemas Declaration of vocabularies classes, properties, and structures defined by a particular

More information

DEVELOPING AN OWL ONTOLOGY FOR E- TOURISM

DEVELOPING AN OWL ONTOLOGY FOR E- TOURISM Chapter 4 DEVELOPING AN OWL ONTOLOGY FOR E- TOURISM Jorge Cardoso Department of Mathematics and Engineering, University of Madeira, 9000-390, Funchal, Portugal jcardoso@uma.pt 1. INTRODUCTION Currently,

More information

OWL Tutorial. LD4P RareMat / ARTFrame Meeting Columbia University January 11-12, 2018

OWL Tutorial. LD4P RareMat / ARTFrame Meeting Columbia University January 11-12, 2018 OWL Tutorial LD4P RareMat / ARTFrame Meeting Columbia University January 11-12, 2018 Outline Goals RDF, RDFS, and OWL Inferencing OWL serializations OWL validation Demo: Building an OWL ontology in Protégé

More information

Building Blocks of Linked Data

Building Blocks of Linked Data Building Blocks of Linked Data Technological foundations Identifiers: URIs Data Model: RDF Terminology and Semantics: RDFS, OWL 23,019,148 People s Republic of China 20,693,000 population located in capital

More information

Semantic Services. Michael Wollowski

Semantic Services. Michael Wollowski Semantic Services Michael Wollowski Overview Motivation Web services RDF RDFS/OWL Inference Seamless web Motivation Consider the future scenario of a wired world described in the next three slides. How

More information

THE PREDICATE CALCULUS

THE PREDICATE CALCULUS 2 THE PREDICATE CALCULUS Slide 2.1 2.0 Introduction 2.1 The Propositional Calculus 2.2 The Predicate Calculus 2.3 Using Inference Rules to Produce Predicate Calculus Expressions 2.4 Application: A Logic-Based

More information

Integrating OWL and Rules: A Syntax Proposal for Nominal Schemas

Integrating OWL and Rules: A Syntax Proposal for Nominal Schemas Integrating OWL and Rules: A Syntax Proposal for Nominal Schemas David Carral Martínez, Adila A. Krisnadhi, Pascal Hitzler Kno.e.sis Center, Wright State University, Dayton OH 45435, USA Abstract. This

More information

Semantic Web. Ontology and OWL. Morteza Amini. Sharif University of Technology Fall 95-96

Semantic Web. Ontology and OWL. Morteza Amini. Sharif University of Technology Fall 95-96 ه عا ی Semantic Web Ontology and OWL Morteza Amini Sharif University of Technology Fall 95-96 Outline Introduction & Definitions Ontology Languages OWL (Ontology Web Language) 2 Outline Introduction &

More information

LINKING BACKGROUND INFORMATION

LINKING BACKGROUND INFORMATION LINKING BACKGROUND INFORMATION INTERLINK D4 Appendix 4, Michel Böhms (TNO) With input from EU V-CON and bsi LDWG OVERVIEW Basic Linking More Background Info on L1/L2/L3 semantic levels Advanced Linking

More information

Web Ontology Language (OWL)

Web Ontology Language (OWL) (OWL) Athens 2012 Mikel Egaña Aranguren 3205 Facultad de Informática Universidad Politécnica de Madrid (UPM) Campus de Montegancedo 28660 Boadilla del Monte Spain http://www.oeg-upm.net megana@fi.upm.es

More information

Lecture 8 OWL: Web Ontology Language

Lecture 8 OWL: Web Ontology Language info-h-509 xml technologies Lecture 8 OWL: Web Ontology Language Stijn Vansummeren February 14, 2017 lecture outline 1 Our story so far 2 Web Ontology Language OWL 3 Reasoning with OWL 1 Part I: Our story

More information

What is the study of logic?

What is the study of logic? Chapter 2: The Representation of Knowledge Expert Systems: Principles and Programming, Fourth Edition What is the study of logic? Logic is the study of making inferences given a set of facts, we attempt

More information

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

OWL 2 Profiles. An Introduction to Lightweight Ontology Languages. Markus Krötzsch University of Oxford. Reasoning Web 2012 University of Oxford Department of Computer Science OWL 2 Profiles An Introduction to Lightweight Ontology Languages Markus Krötzsch University of Oxford Reasoning Web 2012 Remark for the Online Version

More information

BUILDING THE SEMANTIC WEB

BUILDING THE SEMANTIC WEB BUILDING THE SEMANTIC WEB You might have come across the term Semantic Web Applications often, during talks about the future of Web apps. Check out what this is all about There are two aspects to the possible

More information

3. Queries Applied Artificial Intelligence Prof. Dr. Bernhard Humm Faculty of Computer Science Hochschule Darmstadt University of Applied Sciences

3. Queries Applied Artificial Intelligence Prof. Dr. Bernhard Humm Faculty of Computer Science Hochschule Darmstadt University of Applied Sciences 3. Queries Applied Artificial Intelligence Prof. Dr. Bernhard Humm Faculty of Computer Science Hochschule Darmstadt University of Applied Sciences 1 Retrospective Knowledge Representation (1/2) What is

More information

Querying the Semantic Web

Querying the Semantic Web Querying the Semantic Web CSE 595 Semantic Web Instructor: Dr. Paul Fodor Stony Brook University http://www3.cs.stonybrook.edu/~pfodor/courses/cse595.html Lecture Outline SPARQL Infrastructure Basics:

More information

12th ICCRTS. On the Automated Generation of an OWL Ontology based on the Joint C3 Information Exchange Data Model (JC3IEDM)

12th ICCRTS. On the Automated Generation of an OWL Ontology based on the Joint C3 Information Exchange Data Model (JC3IEDM) 12th ICCRTS On the Automated Generation of an OWL Ontology based on the Joint C3 Information Exchange Data Model (JC3IEDM) Christopher J. Matheus and Brian Ulicny VIStology, Inc. Framingham, MA, U.S.A.

More information

Chapter 2 & 3: Representations & Reasoning Systems (2.2)

Chapter 2 & 3: Representations & Reasoning Systems (2.2) Chapter 2 & 3: A Representation & Reasoning System & Using Definite Knowledge Representations & Reasoning Systems (RRS) (2.2) Simplifying Assumptions of the Initial RRS (2.3) Datalog (2.4) Semantics (2.5)

More information

Knowledge Engineering with Semantic Web Technologies

Knowledge Engineering with Semantic Web Technologies This file is licensed under the Creative Commons Attribution-NonCommercial 3.0 (CC BY-NC 3.0) Knowledge Engineering with Semantic Web Technologies Lecture 3 Ontologies and Logic 3.7 Description Logics

More information

Semantic Web. Rules in Semantic Web. Morteza Amini. Sharif University of Technology Fall 94-95

Semantic Web. Rules in Semantic Web. Morteza Amini. Sharif University of Technology Fall 94-95 ه عا ی Semantic Web Rules in Semantic Web Morteza Amini Sharif University of Technology Fall 94-95 Outline Rules and Their Usage in Web RuleML SWRL Existing Rule Engines 2 Outline Rules and Their Usage

More information

OWL 2 Rules (Part 2) Tutorial at ESWC2009 May 31, Pascal Hitzler. AIFB, Universität Karlsruhe (TH) Markus Krötzsch

OWL 2 Rules (Part 2)  Tutorial at ESWC2009 May 31, Pascal Hitzler. AIFB, Universität Karlsruhe (TH) Markus Krötzsch OWL 2 Rules (Part 2) Tutorial at ESWC2009 May 31, 2009 Pascal Hitzler AIFB, Universität Karlsruhe (TH) Markus Krötzsch Sebastian Rudolph http://www.pascal-hitzler.de http://korrekt.org http://www.sebastian-rudolph.de

More information

Describing the P3P base data schema using OWL

Describing the P3P base data schema using OWL Describing the P3P base data schema using OWL Giles Hogben, European Commission, Joint Research Centre, Via Enrico Fermi 1, 21020 VA, Ispra, Italy +39 0332789187 giles.hogben@jrc.it ABSTRACT This paper

More information

Ontological Modeling: Part 2

Ontological Modeling: Part 2 Ontological Modeling: Part 2 Terry Halpin LogicBlox This is the second in a series of articles on ontology-based approaches to modeling. The main focus is on popular ontology languages proposed for the

More information

The Semantic Web RDF, RDF Schema, and OWL (Part 2)

The Semantic Web RDF, RDF Schema, and OWL (Part 2) The Semantic Web RDF, RDF Schema, and OWL (Part 2) Mitchell W. Smith Array BioPharma, Inc. msmith@arraybiopharma.com Page Agenda Part One: RDF RDF/XML Syntax RDF Schema SPARQL Part Two: OWL Ontologies

More information

ISWC 2017 Tutorial: Semantic Data Management in Practice

ISWC 2017 Tutorial: Semantic Data Management in Practice ISWC 2017 Tutorial: Semantic Data Management in Practice Part 1: Introduction Olaf Hartig Linköping University olaf.hartig@liu.se @olafhartig Olivier Curé University of Paris-Est Marne la Vallée olivier.cure@u-pem.fr

More information

Defining Several Ontologies to Enhance the Expressive Power of Queries

Defining Several Ontologies to Enhance the Expressive Power of Queries Defining everal Ontologies to Enhance the Expressive Power of Queries Bich-Liên Doan and Yolaine Bourda Computer cience Dpt. UPELEC, 3 rue Joliot Curie, 91192 Gif-sur-Yvette, France Bich-Lien.Doan@supelec.fr,

More information

The OWL API: An Introduction

The OWL API: An Introduction The OWL API: An Introduction Sean Bechhofer and Nicolas Matentzoglu University of Manchester sean.bechhofer@manchester.ac.uk OWL OWL allows us to describe a domain in terms of: Individuals Particular objects

More information

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

OWL and tractability. Based on slides from Ian Horrocks and Franz Baader. Combining the strengths of UMIST and The Victoria University of Manchester OWL and tractability Based on slides from Ian Horrocks and Franz Baader Where are we? OWL Reasoning DL Extensions Scalability OWL OWL in practice PL/FOL XML RDF(S)/SPARQL Practical Topics Repetition: DL

More information

Semantic Web. Rules in Semantic Web. Morteza Amini. Sharif University of Technology Spring 91-92

Semantic Web. Rules in Semantic Web. Morteza Amini. Sharif University of Technology Spring 91-92 بس م ه تعا ل ی Semantic Web Rules in Semantic Web Morteza Amini Sharif University of Technology Spring 91-92 Outline Rules and Their Usage in Web RuleML SWRL Existing Rule Engines 2 Outline Rules and Their

More information

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES Semantics of RDF(S) Sebastian Rudolph Dresden, 25 April 2014 Content Overview & XML Introduction into RDF RDFS Syntax & Intuition Tutorial 1 RDFS Semantics RDFS

More information

Limitations of the WWW

Limitations of the WWW A Semantic Web Application for the Air Tasking Order (ATO) ICCRTS Jun 13 2005 2:30-3:00 Albert Frantz, Milvio Franco In-house Program Air Force Research Laboratory AFRL/IFSA Rome NY Mentor: Prof. Bart

More information

Forward Chaining Reasoning Tool for Rya

Forward Chaining Reasoning Tool for Rya Forward Chaining Reasoning Tool for Rya Rya Working Group, 6/29/2016 Forward Chaining Reasoning Tool for Rya 6/29/2016 1 / 11 OWL Reasoning OWL (the Web Ontology Language) facilitates rich ontology definition

More information

Semantic Web Rules. - Tools and Languages - Holger Knublauch. Tutorial at Rule ML 2006, Athens, GA

Semantic Web Rules. - Tools and Languages - Holger Knublauch. Tutorial at Rule ML 2006, Athens, GA Semantic Web Rules - Tools and Languages - Tutorial at Rule ML 2006, Athens, GA Holger Knublauch Semantic Web Languages RDF Schema OWL SWRL Jena Rules Language SPARQL RDF Triples are the common foundation

More information

Semantic reasoning for dynamic knowledge bases. Lionel Médini M2IA Knowledge Dynamics 2018

Semantic reasoning for dynamic knowledge bases. Lionel Médini M2IA Knowledge Dynamics 2018 Semantic reasoning for dynamic knowledge bases Lionel Médini M2IA Knowledge Dynamics 2018 1 Outline Summary Logics Semantic Web Languages Reasoning Web-based reasoning techniques Reasoning using SemWeb

More information

Ontological Modeling: Part 11

Ontological Modeling: Part 11 Ontological Modeling: Part 11 Terry Halpin LogicBlox and INTI International University This is the eleventh in a series of articles on ontology-based approaches to modeling. The main focus is on popular

More information

2. Knowledge Representation Applied Artificial Intelligence

2. Knowledge Representation Applied Artificial Intelligence 2. Knowledge Representation Applied Artificial Intelligence Prof. Dr. Bernhard Humm Faculty of Computer Science Hochschule Darmstadt University of Applied Sciences 1 Retrospective Introduction to AI What

More information

Extracting Ontologies from Standards: Experiences and Issues

Extracting Ontologies from Standards: Experiences and Issues Extracting Ontologies from Standards: Experiences and Issues Ken Baclawski, Yuwang Yin, Sumit Purohit College of Computer and Information Science Northeastern University Eric S. Chan Oracle Abstract We

More information

Final Exam. Semantic Web Wiltrud Kessler WS 2014/15. Please do not forget to write your name or initials on every sheet you hand in.

Final Exam. Semantic Web Wiltrud Kessler WS 2014/15. Please do not forget to write your name or initials on every sheet you hand in. Final Exam Semantic Web Wiltrud Kessler WS 2014/15 Notes: Please do not forget to write your name or initials on every sheet you hand in. You may answer the questions in German or English. You may not

More information

Knowledge Representation

Knowledge Representation Knowledge Representation References Rich and Knight, Artificial Intelligence, 2nd ed. McGraw-Hill, 1991 Russell and Norvig, Artificial Intelligence: A modern approach, 2nd ed. Prentice Hall, 2003 Outline

More information

Today: RDF syntax. + conjunctive queries for OWL. KR4SW Winter 2010 Pascal Hitzler 3

Today: RDF syntax. + conjunctive queries for OWL. KR4SW Winter 2010 Pascal Hitzler 3 Today: RDF syntax + conjunctive queries for OWL KR4SW Winter 2010 Pascal Hitzler 3 Today s Session: RDF Schema 1. Motivation 2. Classes and Class Hierarchies 3. Properties and Property Hierarchies 4. Property

More information