Querying Data through Ontologies

Size: px
Start display at page:

Download "Querying Data through Ontologies"

Transcription

1 Querying Data through Ontologies Instructor: Sebastian Link Thanks to Serge Abiteboul, Ioana Manolescu, Philippe Rigaux, Marie-Christine Rousset and Pierre Senellart Web Data Management and Distribution March 26, 2018 Sebastian Link Querying Data through Ontologies March 26, / 64

2 Introduction Outline 1 Introduction The Semantic Web Ontologies and Reasoning Illustration 2 Three ontology languages for the Web 3 Reasoning in Description Logics 4 Querying Data through Ontologies 5 Conclusion Sebastian Link Querying Data through Ontologies March 26, / 64

3 Introduction The Semantic Web The Semantic Web A Web in which the semantics of resources is described annotations give information about a page, explain an expression in a page, etc. Sebastian Link Querying Data through Ontologies March 26, / 64

4 Introduction The Semantic Web The Semantic Web A Web in which the semantics of resources is described annotations give information about a page, explain an expression in a page, etc. A resource is anything that can be referred to by a URI a web page, identified by a URL a fragment of an XML document, identified by an element node of the document, a web service, a thing, an object, a concept, a property, etc. Sebastian Link Querying Data through Ontologies March 26, / 64

5 Introduction The Semantic Web The Semantic Web A Web in which the semantics of resources is described annotations give information about a page, explain an expression in a page, etc. A resource is anything that can be referred to by a URI a web page, identified by a URL a fragment of an XML document, identified by an element node of the document, a web service, a thing, an object, a concept, a property, etc. Semantic annotations are logical assertions that associate resources with some terms in pre-defined ontologies Sebastian Link Querying Data through Ontologies March 26, / 64

6 Introduction Ontologies and Reasoning Ontologies Formal descriptions providing human users with a shared understanding of some given domain A controlled vocabulary Sebastian Link Querying Data through Ontologies March 26, / 64

7 Introduction Ontologies and Reasoning Ontologies Formal descriptions providing human users with a shared understanding of some given domain A controlled vocabulary Formally defined so that it can also be processed by machines Sebastian Link Querying Data through Ontologies March 26, / 64

8 Introduction Ontologies and Reasoning Ontologies Formal descriptions providing human users with a shared understanding of some given domain A controlled vocabulary Formally defined so that it can also be processed by machines Logical semantics empowers machines to reason Sebastian Link Querying Data through Ontologies March 26, / 64

9 Introduction Ontologies and Reasoning Ontologies Formal descriptions providing human users with a shared understanding of some given domain A controlled vocabulary Formally defined so that it can also be processed by machines Logical semantics empowers machines to reason Reasoning is the key for various important tasks in Web data management, in particular to answer queries (over possibly distributed data) Sebastian Link Querying Data through Ontologies March 26, / 64

10 Introduction Ontologies and Reasoning Ontologies Formal descriptions providing human users with a shared understanding of some given domain A controlled vocabulary Formally defined so that it can also be processed by machines Logical semantics empowers machines to reason Reasoning is the key for various important tasks in Web data management, in particular to answer queries (over possibly distributed data) to link objects from different data sources enabling their integration Sebastian Link Querying Data through Ontologies March 26, / 64

11 Introduction Ontologies and Reasoning Ontologies Formal descriptions providing human users with a shared understanding of some given domain A controlled vocabulary Formally defined so that it can also be processed by machines Logical semantics empowers machines to reason Reasoning is the key for various important tasks in Web data management, in particular to answer queries (over possibly distributed data) to link objects from different data sources enabling their integration to detect inconsistencies or redundancies Sebastian Link Querying Data through Ontologies March 26, / 64

12 Introduction Ontologies and Reasoning Ontologies Formal descriptions providing human users with a shared understanding of some given domain A controlled vocabulary Formally defined so that it can also be processed by machines Logical semantics empowers machines to reason Reasoning is the key for various important tasks in Web data management, in particular to answer queries (over possibly distributed data) to link objects from different data sources enabling their integration to detect inconsistencies or redundancies to refine queries with too many answers, or to relax queries with no answer Sebastian Link Querying Data through Ontologies March 26, / 64

13 Introduction Illustration Classes and class hierarchies Backbone of an ontology Sebastian Link Querying Data through Ontologies March 26, / 64

14 Introduction Illustration Classes and class hierarchies Backbone of an ontology AcademicStaff is a Class (A class will be interpreted as a set of objects) Sebastian Link Querying Data through Ontologies March 26, / 64

15 Introduction Illustration Classes and class hierarchies Backbone of an ontology AcademicStaff is a Class (A class will be interpreted as a set of objects) AcademicStaff isa Staff (isa is interpreted as set inclusion) Sebastian Link Querying Data through Ontologies March 26, / 64

16 Introduction Illustration Classes and class hierarchies Backbone of an ontology AcademicStaff is a Class (A class will be interpreted as a set of objects) AcademicStaff isa Staff (isa is interpreted as set inclusion) Faculty Staff Department Student Course AdministrativeStaff AcademicStaff CSDept MathsDept PhysicsDept PhDStudent MasterStudent UndergraduateStudent CSCourse Logic MathCourse Professor Researcher Lecturer Java AI DB Algebra Probabilities Sebastian Link Querying Data through Ontologies March 26, / 64

17 Introduction Illustration Relations Declaration of relations with their signature (Relations will be interpreted as binary relations between objects) Sebastian Link Querying Data through Ontologies March 26, / 64

18 Introduction Illustration Relations Declaration of relations with their signature (Relations will be interpreted as binary relations between objects) TeachesIn(AcademicStaff, Course) if one states that X TeachesIn Y, then X belongs to AcademicStaff and Y to Course, Sebastian Link Querying Data through Ontologies March 26, / 64

19 Introduction Illustration Relations Declaration of relations with their signature (Relations will be interpreted as binary relations between objects) TeachesIn(AcademicStaff, Course) if one states that X TeachesIn Y, then X belongs to AcademicStaff and Y to Course, TeachesTo(AcademicStaff, Student) Sebastian Link Querying Data through Ontologies March 26, / 64

20 Introduction Illustration Relations Declaration of relations with their signature (Relations will be interpreted as binary relations between objects) TeachesIn(AcademicStaff, Course) if one states that X TeachesIn Y, then X belongs to AcademicStaff and Y to Course, TeachesTo(AcademicStaff, Student) Leads(Staff, Department) Sebastian Link Querying Data through Ontologies March 26, / 64

21 Introduction Illustration Instances Classes have instances Dupond is an instance of the class Professor it corresponds to the fact: Professor(Dupond) Sebastian Link Querying Data through Ontologies March 26, / 64

22 Introduction Illustration Instances Classes have instances Dupond is an instance of the class Professor it corresponds to the fact: Professor(Dupond) Relations also have instances (Dupond,CS101) is an instance of the relation TeachesIn it corresponds to the fact: TeachesIn(Dupond,CS101) Sebastian Link Querying Data through Ontologies March 26, / 64

23 Introduction Illustration Instances Classes have instances Dupond is an instance of the class Professor it corresponds to the fact: Professor(Dupond) Relations also have instances (Dupond,CS101) is an instance of the relation TeachesIn it corresponds to the fact: TeachesIn(Dupond,CS101) The instance statements can be seen as (and stored in) a database Sebastian Link Querying Data through Ontologies March 26, / 64

24 Introduction Illustration Ontology = schema + instance Schema The set of class and relation names The signatures of relations and also constraints Constraints are used for two purposes checking data consistency (like dependencies in databases) inferring new facts Sebastian Link Querying Data through Ontologies March 26, / 64

25 Introduction Illustration Ontology = schema + instance Schema The set of class and relation names The signatures of relations and also constraints Constraints are used for two purposes checking data consistency (like dependencies in databases) inferring new facts Instance The set of facts The set of base facts together with the inferred facts should satisfy the constraints Sebastian Link Querying Data through Ontologies March 26, / 64

26 Introduction Illustration Ontology = schema + instance Schema The set of class and relation names The signatures of relations and also constraints Constraints are used for two purposes checking data consistency (like dependencies in databases) inferring new facts Instance The set of facts The set of base facts together with the inferred facts should satisfy the constraints Ontology (i.e., Knowledge Base) = Schema + Instance Sebastian Link Querying Data through Ontologies March 26, / 64

27 Three ontology languages for the Web Outline 1 Introduction 2 Three ontology languages for the Web 3 Reasoning in Description Logics 4 Querying Data through Ontologies 5 Conclusion Sebastian Link Querying Data through Ontologies March 26, / 64

28 Three ontology languages for the Web Three ontology languages for the Web RDF: a very simple ontology language Sebastian Link Querying Data through Ontologies March 26, / 64

29 Three ontology languages for the Web Three ontology languages for the Web RDF: a very simple ontology language RDFS: Schema for RDF Can be used to define more expressive ontologies Sebastian Link Querying Data through Ontologies March 26, / 64

30 Three ontology languages for the Web Three ontology languages for the Web RDF: a very simple ontology language RDFS: Schema for RDF Can be used to define more expressive ontologies OWL: a much more expressive ontology language Sebastian Link Querying Data through Ontologies March 26, / 64

31 Three ontology languages for the Web Three ontology languages for the Web RDF: a very simple ontology language RDFS: Schema for RDF Can be used to define more expressive ontologies OWL: a much more expressive ontology language We present them in brief We will further introduce a family of ontology languages: Description logics Sebastian Link Querying Data through Ontologies March 26, / 64

32 Three ontology languages for the Web RDF: Resource Description Framework RDF facts are triplets :Dupond :Leads :InfoDept :Dupond :TeachesIn :UE111 :Dupond :TeachesTo :Pierre :Pierre :EnrolledIn :InfoDept :Pierre :RegisteredTo :UE111 :UE111 :OfferedBy :InfoDept Sebastian Link Querying Data through Ontologies March 26, / 64

33 Three ontology languages for the Web RDF: Resource Description Framework RDF facts are triplets :Dupond :Leads :InfoDept :Dupond :TeachesIn :UE111 :Dupond :TeachesTo :Pierre :Pierre :EnrolledIn :InfoDept :Pierre :RegisteredTo :UE111 :UE111 :OfferedBy :InfoDept Linked open data: publish open data sets on the Web By September 2011, more than 31 billions RDF triplets Sebastian Link Querying Data through Ontologies March 26, / 64

34 Three ontology languages for the Web Linked Open Data Cloud Sebastian Link Querying Data through Ontologies March 26, / 64

35 Three ontology languages for the Web RDF graph A set of RDF facts defines a set of relations between objects an RDF graph where the nodes are objects: :InfoDept :Leads :EnrolledIn :Dupond :TeachesTo :Pierre :OfferedBy :RegisteredTo :TeachesIn UE111 Sebastian Link Querying Data through Ontologies March 26, / 64

36 Three ontology languages for the Web RDF semantics A triplet s P o is interpreted in first-order logic (FOL) as a fact P(s, o) Sebastian Link Querying Data through Ontologies March 26, / 64

37 Three ontology languages for the Web RDF semantics A triplet s P o is interpreted in first-order logic (FOL) as a fact P(s, o) Example: Leads(Dupond, InfoDept) TeachesIn(Dupond, UE111) TeachesTo(Dupond,Pierre) EnrolledIn(Pierre, InfoDept) RegisteredTo(Pierre, UE111) OfferedBy(UE111, InfoDept) Sebastian Link Querying Data through Ontologies March 26, / 64

38 RDFS: RDF Schema Three ontology languages for the Web Not detailed here: the schema in RDF is super simplistic Sebastian Link Querying Data through Ontologies March 26, / 64

39 RDFS: RDF Schema Three ontology languages for the Web Not detailed here: the schema in RDF is super simplistic An RDF Schema defines the schema of a more expressive ontology Sebastian Link Querying Data through Ontologies March 26, / 64

40 Three ontology languages for the Web RDF Schema Do net get confused: RDFS can use RDF as syntax, i.e., RDFS statements can be themselves expressed as RDF triplets using some specific properties and objects used as RDFS keywords with a particular meaning. Sebastian Link Querying Data through Ontologies March 26, / 64

41 Three ontology languages for the Web RDF Schema Do net get confused: RDFS can use RDF as syntax, i.e., RDFS statements can be themselves expressed as RDF triplets using some specific properties and objects used as RDFS keywords with a particular meaning. Declaration of classes and subclass relationships Staff rdf:type rdfs:class Java rdfs:subclassof CSCourse Sebastian Link Querying Data through Ontologies March 26, / 64

42 Three ontology languages for the Web RDF Schema Do net get confused: RDFS can use RDF as syntax, i.e., RDFS statements can be themselves expressed as RDF triplets using some specific properties and objects used as RDFS keywords with a particular meaning. Declaration of classes and subclass relationships Staff rdf:type rdfs:class Java rdfs:subclassof CSCourse Declaration of instances (beyond the pure schema) Dupond rdf:type AcademicStaff Sebastian Link Querying Data through Ontologies March 26, / 64

43 RDF Schema - continued Three ontology languages for the Web Declaration of relations (properties in RDFS terminology) RegisteredTo rdf:type rdfs:property Sebastian Link Querying Data through Ontologies March 26, / 64

44 RDF Schema - continued Three ontology languages for the Web Declaration of relations (properties in RDFS terminology) RegisteredTo rdf:type rdfs:property Declaration of subproperty relationships LateRegisteredTo rdfs:subpropertyof RegisteredTo Sebastian Link Querying Data through Ontologies March 26, / 64

45 RDF Schema - continued Three ontology languages for the Web Declaration of relations (properties in RDFS terminology) RegisteredTo rdf:type rdfs:property Declaration of subproperty relationships LateRegisteredTo rdfs:subpropertyof RegisteredTo Declaration of domain and range restrictions for predicates TeachesIn rdfs:domain AcademicStaff TeachesIn rdfs:range Course TeachesIn( AcademicStaff, Course) Sebastian Link Querying Data through Ontologies March 26, / 64

46 RDFS logical semantics Three ontology languages for the Web RDF and RDFS statements FOL translation DL notation i rdf:type C C(i) i : C or C(i) Ignore for now DL column This is just a notation We will come back to it to discuss Description logics

47 RDFS logical semantics Three ontology languages for the Web RDF and RDFS statements FOL translation DL notation i rdf:type C C(i) i : C or C(i) i P j P(i,j) i P j or P(i,j) Ignore for now DL column This is just a notation We will come back to it to discuss Description logics

48 RDFS logical semantics Three ontology languages for the Web RDF and RDFS statements FOL translation DL notation i rdf:type C C(i) i : C or C(i) i P j P(i,j) i P j or P(i,j) C rdfs:subclassof D X (C(X) D(X)) C D Ignore for now DL column This is just a notation We will come back to it to discuss Description logics

49 RDFS logical semantics Three ontology languages for the Web RDF and RDFS statements FOL translation DL notation i rdf:type C C(i) i : C or C(i) i P j P(i,j) i P j or P(i,j) C rdfs:subclassof D X (C(X) D(X)) C D P rdfs:subpropertyof R X Y (P(X,Y ) R(X,Y )) P R Ignore for now DL column This is just a notation We will come back to it to discuss Description logics

50 RDFS logical semantics Three ontology languages for the Web RDF and RDFS statements FOL translation DL notation i rdf:type C C(i) i : C or C(i) i P j P(i,j) i P j or P(i,j) C rdfs:subclassof D X (C(X) D(X)) C D P rdfs:subpropertyof R X Y (P(X,Y ) R(X,Y )) P R P rdfs:domain C X Y (P(X,Y ) C(X)) P C Ignore for now DL column This is just a notation We will come back to it to discuss Description logics

51 RDFS logical semantics Three ontology languages for the Web RDF and RDFS statements FOL translation DL notation i rdf:type C C(i) i : C or C(i) i P j P(i,j) i P j or P(i,j) C rdfs:subclassof D X (C(X) D(X)) C D P rdfs:subpropertyof R X Y (P(X,Y ) R(X,Y )) P R P rdfs:domain C X Y (P(X,Y ) C(X)) P C P rdfs:range D X Y (P(X,Y ) D(Y )) P D Ignore for now DL column This is just a notation We will come back to it to discuss Description logics Sebastian Link Querying Data through Ontologies March 26, / 64

52 Three ontology languages for the Web OWL: Web Ontology Language OWL extends RDFS with the possibility to express additional constraints Sebastian Link Querying Data through Ontologies March 26, / 64

53 Three ontology languages for the Web OWL: Web Ontology Language OWL extends RDFS with the possibility to express additional constraints Main OWL constructs Disjointness between classes Constraints of functionality and symmetry on predicates Intentional class definitions Class union and intersection Sebastian Link Querying Data through Ontologies March 26, / 64

54 Three ontology languages for the Web OWL: Web Ontology Language OWL extends RDFS with the possibility to express additional constraints Main OWL constructs Disjointness between classes Constraints of functionality and symmetry on predicates Intentional class definitions Class union and intersection We will see these are all expressible in Description logics Sebastian Link Querying Data through Ontologies March 26, / 64

55 Three ontology languages for the Web OWL constructs Ignore again the DL column Disjointness between classes: OWL notation FOL translation DL notation C owl:disjointwith D X (C(X) D(X)) C D Sebastian Link Querying Data through Ontologies March 26, / 64

56 Three ontology languages for the Web OWL constructs Ignore again the DL column Disjointness between classes: OWL notation FOL translation DL notation C owl:disjointwith D X (C(X) D(X)) C D Constraints of functionality and symmetry on predicates: OWL notation FOL translation DL notation P rdf:type X Y Z (funct P) owl:functionalproperty (P(X,Y ) P(X,Z) Y = Z) or P ( 1P)

57 Three ontology languages for the Web OWL constructs Ignore again the DL column Disjointness between classes: OWL notation FOL translation DL notation C owl:disjointwith D X (C(X) D(X)) C D Constraints of functionality and symmetry on predicates: OWL notation FOL translation DL notation P rdf:type X Y Z (funct P) owl:functionalproperty (P(X,Y ) P(X,Z) Y = Z) or P ( 1P) P rdf:type X Y Z (funct P ) owl:inversefunctionalproperty (P(X,Y ) P(Z,Y ) X = Z) or P ( 1P )

58 Three ontology languages for the Web OWL constructs Ignore again the DL column Disjointness between classes: OWL notation FOL translation DL notation C owl:disjointwith D X (C(X) D(X)) C D Constraints of functionality and symmetry on predicates: OWL notation FOL translation DL notation P rdf:type X Y Z (funct P) owl:functionalproperty (P(X,Y ) P(X,Z) Y = Z) or P ( 1P) P rdf:type X Y Z (funct P ) owl:inversefunctionalproperty (P(X,Y ) P(Z,Y ) X = Z) or P ( 1P ) P owl:inverseof Q X Y (P(X,Y ) Q(Y,X)) P Q

59 Three ontology languages for the Web OWL constructs Ignore again the DL column Disjointness between classes: OWL notation FOL translation DL notation C owl:disjointwith D X (C(X) D(X)) C D Constraints of functionality and symmetry on predicates: OWL notation FOL translation DL notation P rdf:type X Y Z (funct P) owl:functionalproperty (P(X,Y ) P(X,Z) Y = Z) or P ( 1P) P rdf:type X Y Z (funct P ) owl:inversefunctionalproperty (P(X,Y ) P(Z,Y ) X = Z) or P ( 1P ) P owl:inverseof Q X Y (P(X,Y ) Q(Y,X)) P Q X Y (P(X,Y ) P(Y,X)) P rdf:type P P owl:symmetricproperty Sebastian Link Querying Data through Ontologies March 26, / 64

60 Three ontology languages for the Web Definition of intentional classes in OWL Goal: express complex constraints such as departments can be led only by professors only professors or lecturers may teach to undergraduate students professors teach in at least 2 and in at most 3 courses Sebastian Link Querying Data through Ontologies March 26, / 64

61 Three ontology languages for the Web Definition of intentional classes in OWL Goal: express complex constraints such as departments can be led only by professors only professors or lecturers may teach to undergraduate students professors teach in at least 2 and in at most 3 courses The keyword owl:restriction is used in association with a blank node class, and some specific restriction properties: owl:somevaluesfrom owl:allvaluesfrom owl:mincardinality owl:maxcardinality Sebastian Link Querying Data through Ontologies March 26, / 64

62 Three ontology languages for the Web OWL Semantics OWL notation FOL translation DL notation _a owl:onproperty P _a owl:allvaluesfrom C Y (P(X, Y ) C(Y )) P.C

63 Three ontology languages for the Web OWL Semantics OWL notation FOL translation DL notation _a owl:onproperty P _a owl:allvaluesfrom C Y (P(X, Y ) C(Y )) P.C _a owl:onproperty P _a owl:somevaluesfrom C Y (P(X, Y ) C(Y )) P.C

64 Three ontology languages for the Web OWL Semantics OWL notation FOL translation DL notation _a owl:onproperty P _a owl:allvaluesfrom C Y (P(X, Y ) C(Y )) P.C _a owl:onproperty P _a owl:somevaluesfrom C Y (P(X, Y ) C(Y )) P.C _a owl:onproperty P _a owl:mincardinality n Y 1... Y n (P(X,Y 1 )... P(X,Y n ) ( n P) i,j [1..n],i =j(y i = Y j ))

65 Three ontology languages for the Web OWL Semantics OWL notation FOL translation DL notation _a owl:onproperty P _a owl:allvaluesfrom C Y (P(X, Y ) C(Y )) P.C _a owl:onproperty P _a owl:somevaluesfrom C Y (P(X, Y ) C(Y )) P.C _a owl:onproperty P _a owl:mincardinality n Y 1... Y n (P(X,Y 1 )... P(X,Y n ) ( n P) i,j [1..n],i =j(y i = Y j )) _a owl:maxcardinality n Y 1... Y n Y n+1 (P(X,Y 1 )... P(X,Y n ) ( n P) P(X,Y n+1 ) i,j [1..n+1],i =j(y i = Y j )) Sebastian Link Querying Data through Ontologies March 26, / 64

66 Three ontology languages for the Web Unnamed new classes by example Departments can be led only by professors Sebastian Link Querying Data through Ontologies March 26, / 64

67 Three ontology languages for the Web Unnamed new classes by example Departments can be led only by professors Recall Leads(Staff,Department), and declare inverse: LedBy owl : inverseof Lead Sebastian Link Querying Data through Ontologies March 26, / 64

68 Three ontology languages for the Web Unnamed new classes by example Departments can be led only by professors Recall Leads(Staff,Department), and declare inverse: LedBy owl : inverseof Lead Define the set of objects that are led by professors _a rdfs:subclassof owl:restriction _a owl:onproperty LedBy _a owl:allvaluesfrom Professor Sebastian Link Querying Data through Ontologies March 26, / 64

69 Three ontology languages for the Web Unnamed new classes by example Departments can be led only by professors Recall Leads(Staff,Department), and declare inverse: LedBy owl : inverseof Lead Define the set of objects that are led by professors _a rdfs:subclassof owl:restriction _a owl:onproperty LedBy _a owl:allvaluesfrom Professor Now specify that all departments are led by professors Department rdfs:subclassof _a Sebastian Link Querying Data through Ontologies March 26, / 64

70 Three ontology languages for the Web Union and intersection of classes by example Only professors or lecturers may teach to undergraduate students Sebastian Link Querying Data through Ontologies March 26, / 64

71 Three ontology languages for the Web Union and intersection of classes by example Only professors or lecturers may teach to undergraduate students _a rdfs:subclassof owl:restriction _a owl:onproperty TeachesTo _a owl:somevaluesfrom Undergrad _b owl:unionof (Professor, Lecturer) _a rdfs:subclassof _b Sebastian Link Querying Data through Ontologies March 26, / 64

72 Three ontology languages for the Web Union and intersection of classes by example Only professors or lecturers may teach to undergraduate students _a rdfs:subclassof owl:restriction _a owl:onproperty TeachesTo _a owl:somevaluesfrom Undergrad _b owl:unionof (Professor, Lecturer) _a rdfs:subclassof _b This corresponds to an inclusion axiom in Description Logic: TeachesTo.UndergraduateStudent Professor Lecturer Sebastian Link Querying Data through Ontologies March 26, / 64

73 Three ontology languages for the Web Union and intersection of classes by example Only professors or lecturers may teach to undergraduate students _a rdfs:subclassof owl:restriction _a owl:onproperty TeachesTo _a owl:somevaluesfrom Undergrad _b owl:unionof (Professor, Lecturer) _a rdfs:subclassof _b This corresponds to an inclusion axiom in Description Logic: TeachesTo.UndergraduateStudent Professor Lecturer owl:equivalentclass corresponds to double inclusion: MathStudent Student RegisteredTo.MathCourse Sebastian Link Querying Data through Ontologies March 26, / 64

74 Three ontology languages for the Web Cardinality constraints by example Professors teach in at least 2 and in at most 3 courses Sebastian Link Querying Data through Ontologies March 26, / 64

75 Three ontology languages for the Web Cardinality constraints by example Professors teach in at least 2 and in at most 3 courses Define the set of objects who teach in 2-3 courses _a rdfs:subclassof owl:restriction _a owl:onproperty TeachesIn _a owl:mincardinality 2 _a owl:maxcardinality 3 Sebastian Link Querying Data through Ontologies March 26, / 64

76 Three ontology languages for the Web Cardinality constraints by example Professors teach in at least 2 and in at most 3 courses Define the set of objects who teach in 2-3 courses _a rdfs:subclassof owl:restriction _a owl:onproperty TeachesIn _a owl:mincardinality 2 _a owl:maxcardinality 3 Now specify that professors belong to this restriction class Professor rdfs:subclassof _a Sebastian Link Querying Data through Ontologies March 26, / 64

77 Reasoning in Description Logics Outline 1 Introduction 2 Three ontology languages for the Web 3 Reasoning in Description Logics ALC Polynomial DLs 4 Querying Data through Ontologies 5 Conclusion Sebastian Link Querying Data through Ontologies March 26, / 64

78 Reasoning in Description Logics Description Logics Philosophy: isolate decidable fragments of first-order logic allowing reasoning on complex logical axioms over unary and binary predicates These fragments are called Description Logics Sebastian Link Querying Data through Ontologies March 26, / 64

79 Reasoning in Description Logics Description Logics Philosophy: isolate decidable fragments of first-order logic allowing reasoning on complex logical axioms over unary and binary predicates These fragments are called Description Logics The DL jargon: the classes are called concepts the properties are called roles the ontology (the knowledge base) = Tbox + Abox the schema is called the Tbox the instance is called the Abox Sebastian Link Querying Data through Ontologies March 26, / 64

80 Reasoning in Description Logics The DL family Few constructs: atomic concepts and roles, inverse of roles, unqualified restriction on roles, restricted negation Revisit RDFS checking out the DL column If you don t like the syntax: neither do I Sebastian Link Querying Data through Ontologies March 26, / 64

81 Semantics of main conctructs Reasoning in Description Logics I(C 1 C 2 ) = I(C 1 ) I(C 2 ) Sebastian Link Querying Data through Ontologies March 26, / 64

82 Semantics of main conctructs Reasoning in Description Logics I(C 1 C 2 ) = I(C 1 ) I(C 2 ) I( R.C) = {o 1 o 2 [(o 1,o 2 ) I(R) o 2 I(C)]} Sebastian Link Querying Data through Ontologies March 26, / 64

83 Semantics of main conctructs Reasoning in Description Logics I(C 1 C 2 ) = I(C 1 ) I(C 2 ) I( R.C) = {o 1 o 2 [(o 1,o 2 ) I(R) o 2 I(C)]} I( R.C) = {o 1 o 2.[(o 1,o 2 ) I(R) o 2 I(C)]} Sebastian Link Querying Data through Ontologies March 26, / 64

84 Semantics of main conctructs Reasoning in Description Logics I(C 1 C 2 ) = I(C 1 ) I(C 2 ) I( R.C) = {o 1 o 2 [(o 1,o 2 ) I(R) o 2 I(C)]} I( R.C) = {o 1 o 2.[(o 1,o 2 ) I(R) o 2 I(C)]} I( C) = I \ I(C) Sebastian Link Querying Data through Ontologies March 26, / 64

85 Semantics of main conctructs Reasoning in Description Logics I(C 1 C 2 ) = I(C 1 ) I(C 2 ) I( R.C) = {o 1 o 2 [(o 1,o 2 ) I(R) o 2 I(C)]} I( R.C) = {o 1 o 2.[(o 1,o 2 ) I(R) o 2 I(C)]} I( C) = I \ I(C) I(R ) = {(o 2,o 1 ) (o 1,o 2 ) I(R)} Sebastian Link Querying Data through Ontologies March 26, / 64

86 Reasoning in Description Logics Defining a particular description logic Choose how to construct complex concepts and roles starting from atomic concepts and roles Professor Lecturer (those who are either professor or lecturer) Sebastian Link Querying Data through Ontologies March 26, / 64

87 Reasoning in Description Logics Defining a particular description logic Choose how to construct complex concepts and roles starting from atomic concepts and roles Professor Lecturer (those who are either professor or lecturer) Choose the constraints you want to consider Sebastian Link Querying Data through Ontologies March 26, / 64

88 Reasoning in Description Logics Defining a particular description logic Choose how to construct complex concepts and roles starting from atomic concepts and roles Professor Lecturer (those who are either professor or lecturer) Choose the constraints you want to consider The complexity of the logic depends on these choices Sebastian Link Querying Data through Ontologies March 26, / 64

89 Reasoning in Description Logics Reasoning problems studied in DL Satisfiability checking: Given a DL knowledge base K = T,A, is K satisfiable? Sebastian Link Querying Data through Ontologies March 26, / 64

90 Reasoning in Description Logics Reasoning problems studied in DL Satisfiability checking: Given a DL knowledge base K = T,A, is K satisfiable? Subsumption checking: Given a Tbox T and two concept expressions C and D, does T = C D? Sebastian Link Querying Data through Ontologies March 26, / 64

91 Reasoning in Description Logics Reasoning problems studied in DL Satisfiability checking: Given a DL knowledge base K = T,A, is K satisfiable? Subsumption checking: Given a Tbox T and two concept expressions C and D, does T = C D? Instance checking: Given a DL knowledge base K = T,A, an individual e and a concept expression C, does K = C(e)? Sebastian Link Querying Data through Ontologies March 26, / 64

92 Reasoning in Description Logics Reasoning problems studied in DL Satisfiability checking: Given a DL knowledge base K = T,A, is K satisfiable? Subsumption checking: Given a Tbox T and two concept expressions C and D, does T = C D? Instance checking: Given a DL knowledge base K = T,A, an individual e and a concept expression C, does K = C(e)? Query answering: Given a DL knowledge base K = T,A, and a concept expression C, finds the set of individuals e such that K = C(e)? Sebastian Link Querying Data through Ontologies March 26, / 64

93 Reasoning in Description Logics Remarks For DLs with full negation: instance checking and subsumption checking can be reduced to (un)satisfiability checking T = C D T,{(C D)(a)} is unsatisfiable. T,A = C(e) T,A { C(e)} is unsatisfiable. Sebastian Link Querying Data through Ontologies March 26, / 64

94 Reasoning in Description Logics Remarks For DLs with full negation: instance checking and subsumption checking can be reduced to (un)satisfiability checking T = C D T,{(C D)(a)} is unsatisfiable. T,A = C(e) T,A { C(e)} is unsatisfiable. For DLs without negation: instance checking can be reduced to subsumption checking by computing the most specific concept satisfied by an individual in the Abox (denoted msc(a, e)) T,A = C(e) T = msc(a,e) C Sebastian Link Querying Data through Ontologies March 26, / 64

95 Reasoning in Description Logics Remarks For DLs with full negation: instance checking and subsumption checking can be reduced to (un)satisfiability checking T = C D T,{(C D)(a)} is unsatisfiable. T,A = C(e) T,A { C(e)} is unsatisfiable. For DLs without negation: instance checking can be reduced to subsumption checking by computing the most specific concept satisfied by an individual in the Abox (denoted msc(a, e)) T,A = C(e) T = msc(a,e) C the most specific concept of e in A (denoted by msc(a,e)) is the concept expression D in the given DL such that for every concept C in the given DL, A = C(e) implies D C Sebastian Link Querying Data through Ontologies March 26, / 64

96 Reasoning in Description Logics ALC ALC: the prototypical DL (standard) An ALC Abox is made of a set of facts of the form C(a) and R(a,b) where a and b are individuals, R is an atomic role and C is a possibly complex concept Sebastian Link Querying Data through Ontologies March 26, / 64

97 Reasoning in Description Logics ALC ALC: the prototypical DL (standard) An ALC Abox is made of a set of facts of the form C(a) and R(a,b) where a and b are individuals, R is an atomic role and C is a possibly complex concept ALC constructs: conjunction C 1 C 2, existential restriction R.C Y (R(X,Y ) C(Y )) negation C. Sebastian Link Querying Data through Ontologies March 26, / 64

98 Reasoning in Description Logics ALC ALC: the prototypical DL (standard) An ALC Abox is made of a set of facts of the form C(a) and R(a,b) where a and b are individuals, R is an atomic role and C is a possibly complex concept ALC constructs: conjunction C 1 C 2, existential restriction R.C Y (R(X,Y ) C(Y )) negation C. As a result, ALC also contains de facto: disjunctions C 1 C 2 ( ( C 1 C 2 )), value restrictions ( R.C ( R. C)), ( A A) and ( A A). Sebastian Link Querying Data through Ontologies March 26, / 64

99 Reasoning in Description Logics ALC ALC - continued An ALC Tbox may contain inclusion constraints between concepts and roles MathCourse Course LateRegisteredTo RegisteredTo Sebastian Link Querying Data through Ontologies March 26, / 64

100 Reasoning in Description Logics ALC ALC - continued An ALC Tbox may contain inclusion constraints between concepts and roles MathCourse Course LateRegisteredTo RegisteredTo An ALC Tbox may contain General Concept Inclusions (GCIs): TeachesTo.UndergraduateStudent Professor Lecturer Sebastian Link Querying Data through Ontologies March 26, / 64

101 Reasoning in Description Logics ALC Tableau method Reasoning is based on tableau calculus - a classical method in logic for checking satisfiability Extensively used in Description logics for implementing reasoners Sebastian Link Querying Data through Ontologies March 26, / 64

102 Reasoning in Description Logics ALC Tableau method Reasoning is based on tableau calculus - a classical method in logic for checking satisfiability Extensively used in Description logics for implementing reasoners Technique Get rid of the Tbox by recursively unfolding the concept definitions Transform the resulting Abox so that negations apply only to atomic concepts Try to construct a model or raise a contradiction Sebastian Link Querying Data through Ontologies March 26, / 64

103 Reasoning in Description Logics ALC Tableau method Reasoning is based on tableau calculus - a classical method in logic for checking satisfiability Extensively used in Description logics for implementing reasoners Technique Get rid of the Tbox by recursively unfolding the concept definitions Transform the resulting Abox so that negations apply only to atomic concepts Try to construct a model or raise a contradiction We illustrate the technique with a simple example without GCIs In general, much more involved Sebastian Link Querying Data through Ontologies March 26, / 64

104 Reasoning in Description Logics ALC Tableau method For satisfiability checking of a DL knowledge base T,A T = {C1 A B, C 2 R.A, C 3 R.B, C 4 R. C 1 } A = {C2 (a),c 3 (a),c 4 (a)} Sebastian Link Querying Data through Ontologies March 26, / 64

105 Reasoning in Description Logics ALC Tableau method For satisfiability checking of a DL knowledge base T,A T = {C1 A B, C 2 R.A, C 3 R.B, C 4 R. C 1 } A = {C2 (a),c 3 (a),c 4 (a)} Get rid of the Tbox, by recursively unfolding the concept definitions: A = {( R.A)(a),( R.B)(a),( R. (A B))(a)} T,A Sebastian Link Querying Data through Ontologies March 26, / 64

106 Reasoning in Description Logics ALC Tableau method For satisfiability checking of a DL knowledge base T,A T = {C1 A B, C 2 R.A, C 3 R.B, C 4 R. C 1 } A = {C2 (a),c 3 (a),c 4 (a)} Get rid of the Tbox, by recursively unfolding the concept definitions: A = {( R.A)(a),( R.B)(a),( R. (A B))(a)} T,A Transform the concepts expressions in A into negation normal form A = {( R.A)(a),( R.B)(a),( R.( A B))(a)} Sebastian Link Querying Data through Ontologies March 26, / 64

107 Reasoning in Description Logics ALC Tableau method For satisfiability checking of a DL knowledge base T,A T = {C1 A B, C 2 R.A, C 3 R.B, C 4 R. C 1 } A = {C2 (a),c 3 (a),c 4 (a)} Get rid of the Tbox, by recursively unfolding the concept definitions: A = {( R.A)(a),( R.B)(a),( R. (A B))(a)} T,A Transform the concepts expressions in A into negation normal form A = {( R.A)(a),( R.B)(a),( R.( A B))(a)} Apply tableau rules to extend the resulting Abox until no rule applies anymore: From an extended Abox which is complete (no rule applies) and clash-free (no obvious contradiction), a so-called canonical interpretation can be built, which is a model of the initial Abox. Sebastian Link Querying Data through Ontologies March 26, / 64

108 Reasoning in Description Logics ALC Tableau rules for ALC The -rule: Condition: A contains (C D)(a) but not both C(a) and D(a) Action: add A = A {C(a),D(a)} Sebastian Link Querying Data through Ontologies March 26, / 64

109 Reasoning in Description Logics ALC Tableau rules for ALC The -rule: Condition: A contains (C D)(a) but not both C(a) and D(a) Action: add A = A {C(a),D(a)} The -rule: Condition: A contains (C D)(a) but neither C(a) nor D(a) Action: add A = A {C(a)} and A = A {D(a)} Sebastian Link Querying Data through Ontologies March 26, / 64

110 Reasoning in Description Logics ALC Tableau rules for ALC The -rule: Condition: A contains (C D)(a) but not both C(a) and D(a) Action: add A = A {C(a),D(a)} The -rule: Condition: A contains (C D)(a) but neither C(a) nor D(a) Action: add A = A {C(a)} and A = A {D(a)} The -rule: Condition: A contains ( R.C)(a) but there is no c such that {R(a,c),C(c)} A Action: add A = A {R(a,b),C(b)} where b is a new individual name Sebastian Link Querying Data through Ontologies March 26, / 64

111 Reasoning in Description Logics ALC Tableau rules for ALC The -rule: Condition: A contains (C D)(a) but not both C(a) and D(a) Action: add A = A {C(a),D(a)} The -rule: Condition: A contains (C D)(a) but neither C(a) nor D(a) Action: add A = A {C(a)} and A = A {D(a)} The -rule: Condition: A contains ( R.C)(a) but there is no c such that {R(a,c),C(c)} A Action: add A = A {R(a,b),C(b)} where b is a new individual name The -rule: Condition: A contains ( R.C)(a) and R(a, b) but not C(b) Action: add A = A {C(b)} Sebastian Link Querying Data through Ontologies March 26, / 64

112 Reasoning in Description Logics ALC Illustration on the example The result of the application of the tableau method to A = {( R.A)(a),( R.B)(a),( R.( A B))(a)} gives the following Aboxes: A 1 = A { } Sebastian Link Querying Data through Ontologies March 26, / 64

113 Reasoning in Description Logics ALC Illustration on the example The result of the application of the tableau method to A = {( R.A)(a),( R.B)(a),( R.( A B))(a)} gives the following Aboxes: A 1 = A { } Sebastian Link Querying Data through Ontologies March 26, / 64

114 Reasoning in Description Logics ALC Illustration on the example The result of the application of the tableau method to A = {( R.A)(a),( R.B)(a),( R.( A B))(a)} gives the following Aboxes: A 1 = A {R(a,b), A(b) } Sebastian Link Querying Data through Ontologies March 26, / 64

115 Reasoning in Description Logics ALC Illustration on the example The result of the application of the tableau method to A = {( R.A)(a),( R.B)(a),( R.( A B))(a)} gives the following Aboxes: A 1 = A {R(a,b), A(b) } Sebastian Link Querying Data through Ontologies March 26, / 64

116 Reasoning in Description Logics ALC Illustration on the example The result of the application of the tableau method to A = {( R.A)(a),( R.B)(a),( R.( A B))(a)} gives the following Aboxes: A 1 = A {R(a,b), A(b),B(b), } Sebastian Link Querying Data through Ontologies March 26, / 64

117 Reasoning in Description Logics ALC Illustration on the example The result of the application of the tableau method to A = {( R.A)(a),( R.B)(a),( R.( A B))(a)} gives the following Aboxes: A 1 = A {R(a,b), A(b),B(b), } Sebastian Link Querying Data through Ontologies March 26, / 64

118 Reasoning in Description Logics ALC Illustration on the example The result of the application of the tableau method to A = {( R.A)(a),( R.B)(a),( R.( A B))(a)} gives the following Aboxes: A 1 = A {R(a,b), A(b),B(b), A(b) } A 2 = A {R(a,b),A(b), B(b), B(b) } Sebastian Link Querying Data through Ontologies March 26, / 64

119 Reasoning in Description Logics ALC Illustration on the example The result of the application of the tableau method to A = {( R.A)(a),( R.B)(a),( R.( A B))(a)} gives the following Aboxes: A 1 = A {R(a,b), A(b),B(b), A(b) } A 2 = A {R(a,b),A(b), B(b), B(b) } They both contain a clash: A (and the equivalent original knowledge base) is correctly decided unsatisfiable by the algorithm Sebastian Link Querying Data through Ontologies March 26, / 64

120 Reasoning in Description Logics ALC Complexity The tableau method shows that the satisfiability of ALC knowledge bases is decidable but with a complexity that may be exponential because of the disjunction construct and the associated -rule. Sebastian Link Querying Data through Ontologies March 26, / 64

121 Reasoning in Description Logics ALC Complexity The tableau method shows that the satisfiability of ALC knowledge bases is decidable but with a complexity that may be exponential because of the disjunction construct and the associated -rule. Satisfiability checking in ALC (and thus also subsumption and instance checking) is in fact EXPTIME-complete and therefore not in PTIME Sebastian Link Querying Data through Ontologies March 26, / 64

122 Reasoning in Description Logics ALC Complexity The tableau method shows that the satisfiability of ALC knowledge bases is decidable but with a complexity that may be exponential because of the disjunction construct and the associated -rule. Satisfiability checking in ALC (and thus also subsumption and instance checking) is in fact EXPTIME-complete and therefore not in PTIME Additional constructs like those in the fragment OWL DL of OWL do not change the complexity class of reasoning (which remains EXPTIME-complete) Sebastian Link Querying Data through Ontologies March 26, / 64

123 Reasoning in Description Logics ALC Complexity The tableau method shows that the satisfiability of ALC knowledge bases is decidable but with a complexity that may be exponential because of the disjunction construct and the associated -rule. Satisfiability checking in ALC (and thus also subsumption and instance checking) is in fact EXPTIME-complete and therefore not in PTIME Additional constructs like those in the fragment OWL DL of OWL do not change the complexity class of reasoning (which remains EXPTIME-complete) OWL Full is undecidable Sebastian Link Querying Data through Ontologies March 26, / 64

124 Reasoning in Description Logics Polynomial DLs DLs for which reasoning is polynomial FL: conjunction C 1 C 2, value restrictions R.C and unqualified existential restriction R For Tboxes without GCIs, subsumption checking is polynomial For Tboxes with (even simple) GCIs,subsumption checking is co-np complete Sebastian Link Querying Data through Ontologies March 26, / 64

125 Reasoning in Description Logics Polynomial DLs DLs for which reasoning is polynomial FL: conjunction C 1 C 2, value restrictions R.C and unqualified existential restriction R For Tboxes without GCIs, subsumption checking is polynomial For Tboxes with (even simple) GCIs,subsumption checking is co-np complete EL: conjunctions C 1 C 2 and existential restrictions R.C Subsumption checking in E L is polynomial even for general Tboxes. Sebastian Link Querying Data through Ontologies March 26, / 64

126 Reasoning in Description Logics Polynomial DLs DLs for which reasoning is polynomial FL: conjunction C 1 C 2, value restrictions R.C and unqualified existential restriction R For Tboxes without GCIs, subsumption checking is polynomial For Tboxes with (even simple) GCIs,subsumption checking is co-np complete EL: conjunctions C 1 C 2 and existential restrictions R.C Subsumption checking in E L is polynomial even for general Tboxes. FLE: conjunction C 1 C 2, value restrictions R.C, and existential restrictions R.C Subsumption checking in F LE is NP-complete Sebastian Link Querying Data through Ontologies March 26, / 64

127 Reasoning in Description Logics Polynomial DLs DLs for which reasoning is polynomial FL: conjunction C 1 C 2, value restrictions R.C and unqualified existential restriction R For Tboxes without GCIs, subsumption checking is polynomial For Tboxes with (even simple) GCIs,subsumption checking is co-np complete EL: conjunctions C 1 C 2 and existential restrictions R.C Subsumption checking in E L is polynomial even for general Tboxes. FLE: conjunction C 1 C 2, value restrictions R.C, and existential restrictions R.C Subsumption checking in F LE is NP-complete Other reasoning problems for FL, EL and FLE: Satisfiability checking is trivial Instance checking can be reduced to subsumption checking via mscs Sebastian Link Querying Data through Ontologies March 26, / 64

128 Reasoning in Description Logics Polynomial DLs DLs for which reasoning is polynomial FL: conjunction C 1 C 2, value restrictions R.C and unqualified existential restriction R For Tboxes without GCIs, subsumption checking is polynomial For Tboxes with (even simple) GCIs,subsumption checking is co-np complete EL: conjunctions C 1 C 2 and existential restrictions R.C Subsumption checking in E L is polynomial even for general Tboxes. FLE: conjunction C 1 C 2, value restrictions R.C, and existential restrictions R.C Subsumption checking in F LE is NP-complete Other reasoning problems for FL, EL and FLE: Satisfiability checking is trivial Instance checking can be reduced to subsumption checking via mscs The DL-LITE family: a good trade-off, specially designed for guaranteeing query answering through ontologies to be polynomial in data complexity Sebastian Link Querying Data through Ontologies March 26, / 64

129 Querying Data through Ontologies Outline 1 Introduction 2 Three ontology languages for the Web 3 Reasoning in Description Logics 4 Querying Data through Ontologies Querying using RDFS Querying using DL-LITE Complexity 5 Conclusion Sebastian Link Querying Data through Ontologies March 26, / 64

130 Querying Data through Ontologies Querying using RDFS Querying using RDFS RDFS statements can be used to infer new triples Example Base fact ResponsibleOf (durand, ue111) Sebastian Link Querying Data through Ontologies March 26, / 64

131 Querying Data through Ontologies Querying using RDFS Querying using RDFS RDFS statements can be used to infer new triples Example Base fact ResponsibleOf (durand, ue111) Use the statement ResponsibleOf rdfs:domain Professor i.e., the logical rule: ResponsibleOf (X,Y ) Professor(X) With substitution {X/durand, Y/ue111} Infer fact Professor(durand) Sebastian Link Querying Data through Ontologies March 26, / 64

132 Querying Data through Ontologies Querying using RDFS Querying using RDFS RDFS statements can be used to infer new triples Example Base fact ResponsibleOf (durand, ue111) Use the statement ResponsibleOf rdfs:domain Professor i.e., the logical rule: ResponsibleOf (X,Y ) Professor(X) With substitution {X/durand, Y/ue111} Infer fact Professor(durand) Use the statement Professor rdfs:subclassof AcademicStaff i.e., the rule Professor(X) AcademicStaff (X) With substitution {X/durand} Infer fact AcademicStaff (durand) etc. Sebastian Link Querying Data through Ontologies March 26, / 64

133 Querying Data through Ontologies Querying using RDFS The saturation algorithm Keep inferring new facts until a fix-point is reached Note: Only polynomially many facts can be added PTIME Sebastian Link Querying Data through Ontologies March 26, / 64

134 Querying Data through Ontologies Querying using RDFS RDFS ontology expressed in different notations RDFS notation DL notation FOL notation AcademicStaff rdfs:subclassof Staff AcademicStaff Staff AcademicStaff (X) Staff (X) Professor rdfs:subclassof AcademicStaff Professor AcademicStaff Professor(X) AcademicStaff (X) Lecturer rdfs:subclassof AcademicStaff Lecturer AcademicStaff Lecturer(X) AcademicStaff (X) PhDStudent rdfs:subclassof Lecturer PhDStudent Lecturer PhDStudent(X) Lecturer(X) PhDStudent rdfs:subclassof Student PhDStudent Student PhDStudent(X) Student(X) TeachesIn rdfs:domain AcademicStaff TeachesIn AcademicStaff TeachesIn(X, Y ) AcademicStaff (X) TeachesIn rdfs:range Course TeachesIn Course TeachesIn(X,Y ) Course(Y ) ResponsibleOf rdfs:domain Professor ResponsibleOf Professor ResponsibleOf (X, Y ) Professor(X) ResponsibleOf rdfs:range Course ResponsibleOf Course ResponsibleOf (X,Y ) Course(Y ) TeachesTo rdfs:domain AcademicStaff TeachesTo AcademicStaff TeachesTo(X, Y ) AcademicStaff (X) TeachesTo rdfs:range Student TeachesTo Student TeachesTo(X,Y ) Student(Y ) Leads rdfs:domain AdminStaff Leads AdminStaff Leads(X, Y ) AdminStaff (X) Leads rdfs:range Dept Leads Dept Leads(X,Y ) Dept(Y ) RegisteredIn rdfs:domain Student RegisteredIn Student RegisteredIn(X, Y ) Student(X) RegisteredIn rdfs:range Course RegisteredIn Course RegisteredIn(X,Y ) Course(Y ) ResponsibleOf rdfs:subpropertyof TeachesIn ResponsibleOf TeachesIn ResponsibleOf (X, Y ) TeachesIn(X, Y ) Sebastian Link Querying Data through Ontologies March 26, / 64

Ontologies - Querying Data through Ontologies

Ontologies - Querying Data through Ontologies Ontologies - Querying Data through Ontologies Serge Abiteboul Ioana Manolescu Philippe Rigaux Marie-Christine Rousset Pierre Senellart Web Data Management and Distribution http://webdam.inria.fr/textbook

More information

Semantic Web. MPRI : Web Data Management. Antoine Amarilli Friday, January 11th 1/29

Semantic Web. MPRI : Web Data Management. Antoine Amarilli Friday, January 11th 1/29 Semantic Web MPRI 2.26.2: Web Data Management Antoine Amarilli Friday, January 11th 1/29 Motivation Information on the Web is not structured 2/29 Motivation Information on the Web is not structured This

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

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

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

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

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

OWL 2 Syntax and Semantics Sebastian Rudolph

OWL 2 Syntax and Semantics Sebastian Rudolph FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES OWL 2 Syntax and Semantics Sebastian Rudolph OWL OWL Agenda Recap OWL & Overview OWL 2 The Description Logic SROIQ Inferencing with SROIQ OWL 2 DL OWL 2 Profiles

More information

H1 Spring B. Programmers need to learn the SOAP schema so as to offer and use Web services.

H1 Spring B. Programmers need to learn the SOAP schema so as to offer and use Web services. 1. (24 points) Identify all of the following statements that are true about the basics of services. A. If you know that two parties implement SOAP, then you can safely conclude they will interoperate at

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

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

RELATIONAL REPRESENTATION OF ALN KNOWLEDGE BASES

RELATIONAL REPRESENTATION OF ALN KNOWLEDGE BASES RELATIONAL REPRESENTATION OF ALN KNOWLEDGE BASES Thomas Studer ABSTRACT The retrieval problem for a knowledge base O and a concept C is to find all individuals a such that O entails C(a). We describe a

More information

Semantic Web Test

Semantic Web Test Semantic Web Test 24.01.2017 Group 1 No. A B C D 1 X X X 2 X X 3 X X 4 X X 5 X X 6 X X X X 7 X X 8 X X 9 X X X 10 X X X 11 X 12 X X X 13 X X 14 X X 15 X X 16 X X 17 X 18 X X 19 X 20 X X 1. Which statements

More information

Week 4. COMP62342 Sean Bechhofer, Uli Sattler

Week 4. COMP62342 Sean Bechhofer, Uli Sattler Week 4 COMP62342 Sean Bechhofer, Uli Sattler sean.bechhofer@manchester.ac.uk, uli.sattler@manchester.ac.uk Today Some clarifications from last week s coursework More on reasoning: extension of the tableau

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

Appendix 1. Description Logic Terminology

Appendix 1. Description Logic Terminology Appendix 1 Description Logic Terminology Franz Baader Abstract The purpose of this appendix is to introduce (in a compact manner) the syntax and semantics of the most prominent DLs occurring in this handbook.

More information

Reasoning on Web Data Semantics

Reasoning on Web Data Semantics Reasoning on Web Data Semantics Oui. Peut-on préciser l'heure et le lieu? Merci Marie-Christine Rousset Université de Grenoble (UJF) et Institut Universitaire de France Amicalement Marie-Christine 1 Evolution

More information

Ontologies, OWL, OWL profiles

Ontologies, OWL, OWL profiles Knowledge Representation and Semantic Technologies Ontologies, OWL, OWL profiles Riccardo Rosati Corso di Laurea Magistrale in Ingegneria Informatica Sapienza Università di Roma 2013/2014 The Semantic

More information

Appendix 1. Description Logic Terminology

Appendix 1. Description Logic Terminology Appendix 1 Description Logic Terminology Franz Baader Abstract The purpose of this appendix is to introduce (in a compact manner) the syntax and semantics of the most prominent DLs occurring in this handbook.

More information

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

l A family of logic based KR formalisms l Distinguished by: l Decidable fragments of FOL l Closely related to Propositional Modal & Dynamic Logics What Are Description Logics? Description Logics l A family of logic based KR formalisms Descendants of semantic networks and KL-ONE Describe domain in terms of concepts (classes), roles (relationships)

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

Nonstandard Inferences in Description Logics

Nonstandard Inferences in Description Logics Nonstandard Inferences in Description Logics Franz Baader Theoretical Computer Science Germany Short introduction to Description Logics Application in chemical process engineering Non-standard inferences

More information

Semantic Web Technologies Web Ontology Language (OWL) Part II. Heiko Paulheim

Semantic Web Technologies Web Ontology Language (OWL) Part II. Heiko Paulheim Semantic Web Technologies Web Ontology Language (OWL) Part II Previously on Semantic Web Technologies We have got to know OWL, a more powerful ontology language than RDFS Simple ontologies and some reasoning

More information

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES OWL 2 Syntax and Semantics Markus Krötzsch Dresden, 16 May 2014 Content Overview & XML Introduction into RDF RDFS Syntax & Intuition Tutorial 1 RDFS Semantics RDFS

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

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

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

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

Maurizio Lenzerini. Dipartimento di Ingegneria Informatica Automatica e Gestionale Antonio Ruberti

Maurizio Lenzerini. Dipartimento di Ingegneria Informatica Automatica e Gestionale Antonio Ruberti Query rewriting for ontology-based (big) data access Maurizio Lenzerini Dipartimento di Ingegneria Informatica Automatica e Gestionale Antonio Ruberti Global scientific data infrastructures: The findability

More information

Making BioPAX SPARQL

Making BioPAX SPARQL Making BioPAX SPARQL hands on... start a terminal create a directory jena_workspace, move into that directory download jena.jar (http://tinyurl.com/3vlp7rw) download biopax data (http://www.biopax.org/junk/homosapiens.nt

More information

ORM and Description Logic. Dr. Mustafa Jarrar. STARLab, Vrije Universiteit Brussel, Introduction (Why this tutorial)

ORM and Description Logic. Dr. Mustafa Jarrar. STARLab, Vrije Universiteit Brussel, Introduction (Why this tutorial) Web Information Systems Course University of Hasselt, Belgium April 19, 2007 ORM and Description Logic Dr. Mustafa Jarrar mjarrar@vub.ac.be STARLab, Vrije Universiteit Brussel, Outline Introduction (Why

More information

Racer - An Inference Engine for the Semantic Web

Racer - An Inference Engine for the Semantic Web Racer - An Inference Engine for the Semantic Web Concordia University Department of Computer Science and Software Enineering http://www.cse.concordia.ca/~haarslev/ Collaboration with: Ralf Möller, Hamburg

More information

DL-Lite: Tractable Description Logics for Ontologies

DL-Lite: Tractable Description Logics for Ontologies DL-Lite: Tractable Description Logics for Ontologies Diego Calvanese 1, Giuseppe De Giacomo 2, Domenico Lembo 2, Maurizio Lenzerini 2, Riccardo Rosati 2 1 Faculty of Computer Science Free University of

More information

Knowledge Representation and Ontologies

Knowledge Representation and Ontologies Knowledge Representation and Ontologies Stephan Grimm 1 Knowledge Representation Knowledge representation and reasoning aims at designing computer systems that reason about a machine-interpretable representation

More information

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

Ontologies and OWL. Riccardo Rosati. Knowledge Representation and Semantic Technologies Knowledge Representation and Semantic Technologies Ontologies and OWL Riccardo Rosati Corso di Laurea Magistrale in Ingegneria Informatica Sapienza Università di Roma 2016/2017 The Semantic Web Tower Ontologies

More information

Description Logics and OWL

Description Logics and OWL Description Logics and OWL Based on slides from Ian Horrocks University of Manchester (now in Oxford) Where are we? OWL Reasoning DL Extensions Scalability OWL OWL in practice PL/FOL XML RDF(S)/SPARQL

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

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

CC LA WEB DE DATOS PRIMAVERA Lecture 4: Web Ontology Language (I) Aidan Hogan CC6202-1 LA WEB DE DATOS PRIMAVERA 2015 Lecture 4: Web Ontology Language (I) Aidan Hogan aidhog@gmail.com PREVIOUSLY ON LA WEB DE DATOS (1) Data, (2) Rules/Ontologies, (3) Query, RDF: Resource Description

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

Database Optimization Techniques for Semantic Queries

Database Optimization Techniques for Semantic Queries Database Optimization Techniques for Semantic Queries Ioana Manolescu INRIA, France ioana.manolescu@inria.fr, http://pages.saclay.inria.fr/ioana.manolescu https://team.inria.fr/oak SEBD 2015, Gaeta I.

More information

ARISTOTLE UNIVERSITY OF THESSALONIKI. Department of Computer Science. Technical Report

ARISTOTLE UNIVERSITY OF THESSALONIKI. Department of Computer Science. Technical Report ARISTOTLE UNIVERSITY OF THESSALONIKI Department of Computer Science Technical Report Populating Object-Oriented Rule Engines with the Extensional Knowledge of OWL DL Reasoners Georgios Meditskos and Nick

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

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

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

Formalising the Semantic Web. (These slides have been written by Axel Polleres, WU Vienna)

Formalising the Semantic Web. (These slides have been written by Axel Polleres, WU Vienna) Formalising the Semantic Web (These slides have been written by Axel Polleres, WU Vienna) The Semantics of RDF graphs Consider the following RDF data (written in Turtle): @prefix rdfs: .

More information

AI Fundamentals: Knowledge Representation and Reasoning. Maria Simi

AI Fundamentals: Knowledge Representation and Reasoning. Maria Simi AI Fundamentals: Knowledge Representation and Reasoning Maria Simi Description logics LESSON 6: SYNTAX AND SEMANTICS, DECISION PROBLEMS, INFERENCE Categories and objects [AIMA, Cap 12] Most of the reasoning

More information

Toward Analytics for RDF Graphs

Toward Analytics for RDF Graphs Toward Analytics for RDF Graphs Ioana Manolescu INRIA and Ecole Polytechnique, France ioana.manolescu@inria.fr http://pages.saclay.inria.fr/ioana.manolescu Joint work with D. Bursztyn, S. Cebiric (Inria),

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

RDF Schema. Mario Arrigoni Neri

RDF Schema. Mario Arrigoni Neri RDF Schema Mario Arrigoni Neri Semantic heterogeneity Standardization: commitment on common shared markup If no existing application If market-leaders can define de-facto standards Translation: create

More information

Unit 2 RDF Formal Semantics in Detail

Unit 2 RDF Formal Semantics in Detail Unit 2 RDF Formal Semantics in Detail Axel Polleres Siemens AG Österreich VU 184.729 Semantic Web Technologies A. Polleres VU 184.729 1/41 Where are we? Last time we learnt: Basic ideas about RDF and how

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

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

Main topics: Presenter: Introduction to OWL Protégé, an ontology editor OWL 2 Semantic reasoner Summary TDT OWL 1 TDT4215 Web Intelligence Main topics: Introduction to Web Ontology Language (OWL) Presenter: Stein L. Tomassen 2 Outline Introduction to OWL Protégé, an ontology editor OWL 2 Semantic reasoner Summary

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

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

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

Ontologies and the Web Ontology Language OWL

Ontologies and the Web Ontology Language OWL Chapter 7 Ontologies and the Web Ontology Language OWL vocabularies can be defined by RDFS not so much stronger than the ER Model or UML (even weaker: no cardinalities) not only a conceptual model, but

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

Description Logic: A Formal Foundation for Ontology Languages and Tools

Description Logic: A Formal Foundation for Ontology Languages and Tools Description Logic: A Formal Foundation for Ontology Languages and Tools Part 2: Tools Ian Horrocks Information Systems Group Oxford University Computing Laboratory Contents

More information

The Seman)c Web. Serge Abiteboul INRIA Saclay, Collège de France, ENS Cachan 3/28/12 1

The Seman)c Web. Serge Abiteboul INRIA Saclay, Collège de France, ENS Cachan 3/28/12 1 The Seman)c Web Serge Abiteboul INRIA Saclay, Collège de France, ENS Cachan 3/28/12 1 Organiza)on Introduc)on Ontologies Querying ontologies Integra)ng data sources 3/28/12 2 Introduc)on 3/28/12 3 The

More information

Get my pizza right: Repairing missing is-a relations in ALC ontologies

Get my pizza right: Repairing missing is-a relations in ALC ontologies Get my pizza right: Repairing missing is-a relations in ALC ontologies Patrick Lambrix, Zlatan Dragisic and Valentina Ivanova Linköping University Sweden 1 Introduction Developing ontologies is not an

More information

OWL 2 Profiles. An Introduction to Lightweight Ontology Languages. Маркус Крёч (Markus Krötzsch) University of Oxford. KESW Summer School 2012

OWL 2 Profiles. An Introduction to Lightweight Ontology Languages. Маркус Крёч (Markus Krötzsch) University of Oxford. KESW Summer School 2012 University of Oxford Department of Computer Science OWL 2 Profiles An Introduction to Lightweight Ontology Languages Маркус Крёч (Markus Krötzsch) University of Oxford KESW Summer School 2012 Remark for

More information

OWL-based reasoning with retractable inference

OWL-based reasoning with retractable inference OWL-based reasoning with retractable inference Carlo Jelmini and Stéphane Marchand-Maillet Viper Group CVML University of Geneva 1211 Geneva 4 Switzerland {jelmini, marchand}@cui.unige.ch Abstract As a

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

SEMANTIC WEB AND COMPARATIVE ANALYSIS OF INFERENCE ENGINES

SEMANTIC WEB AND COMPARATIVE ANALYSIS OF INFERENCE ENGINES SEMANTIC WEB AND COMPARATIVE ANALYSIS OF INFERENCE ENGINES Ms. Neha Dalwadi 1, Prof. Bhaumik Nagar 2, Prof. Ashwin Makwana 1 1 Computer Engineering, Chandubhai S Patel Institute of Technology Changa, Dist.

More information

Reasoning and Query Answering in Description Logics

Reasoning and Query Answering in Description Logics Reasoning and Query Answering in Description Logics Magdalena Ortiz Vienna University of Technology AMW School, 20 May 2013 1/117 Reasoning and Querying in DLs 1. Motivation Ontologies An ontology is a

More information

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

Logic and Reasoning in the Semantic Web (part I RDF/RDFS) Logic and Reasoning in the Semantic Web (part I RDF/RDFS) Fulvio Corno, Laura Farinetti Politecnico di Torino Dipartimento di Automatica e Informatica e-lite Research Group http://elite.polito.it Outline

More information

Semantic Web in Depth: Web Ontology Language (OWL) Dr Nicholas Gibbins 32/3019

Semantic Web in Depth: Web Ontology Language (OWL) Dr Nicholas Gibbins 32/3019 Semantic Web in Depth: Web Ontology Language (OWL) Dr Nicholas Gibbins 32/3019 nmg@ecs.soton.ac.uk Introducing OWL For many, RDF Schema is a sufficiently expressive ontology language However, there are

More information

COMP718: Ontologies and Knowledge Bases

COMP718: Ontologies and Knowledge Bases 1/35 COMP718: Ontologies and Knowledge Bases Lecture 9: Ontology/Conceptual Model based Data Access Maria Keet email: keet@ukzn.ac.za home: http://www.meteck.org School of Mathematics, Statistics, and

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

Logical reconstruction of RDF and ontology languages

Logical reconstruction of RDF and ontology languages Logical reconstruction of RDF and ontology languages Jos de Bruijn 1, Enrico Franconi 2, and Sergio Tessaris 2 1 Digital Enterprise Research Institute, University of Innsbruck, Austria jos.debruijn@deri.org

More information

Explaining Subsumption in ALEHF R + TBoxes

Explaining Subsumption in ALEHF R + TBoxes Explaining Subsumption in ALEHF R + TBoxes Thorsten Liebig and Michael Halfmann University of Ulm, D-89069 Ulm, Germany liebig@informatik.uni-ulm.de michael.halfmann@informatik.uni-ulm.de Abstract This

More information

TMCL and OWL. Lars Marius Garshol. Bouvet, Oslo, Norway

TMCL and OWL. Lars Marius Garshol. Bouvet, Oslo, Norway TMCL and OWL Lars Marius Garshol Bouvet, Oslo, Norway larsga@bouvet.no Abstract. This paper compares the Topic Maps schema language TMCL with the corresponding RDF technologies RDFS/OWL, and describes

More information

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

LTCS Report. Concept Descriptions with Set Constraints and Cardinality Constraints. Franz Baader. LTCS-Report 17-02 Technische Universität Dresden Institute for Theoretical Computer Science Chair for Automata Theory LTCS Report Concept Descriptions with Set Constraints and Cardinality Constraints Franz Baader LTCS-Report

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

Chronos: A Tool for Handling Temporal Ontologies

Chronos: A Tool for Handling Temporal Ontologies Chronos: A Tool for Handling Temporal Ontologies in Protégé Alexandros Preventis Department of Electronics and Computer Engineering Technical University of Crete Dissertation Thesis Committee: Euripides

More information

Genea: Schema-Aware Mapping of Ontologies into Relational Databases

Genea: Schema-Aware Mapping of Ontologies into Relational Databases Genea: Schema-Aware Mapping of Ontologies into Relational Databases Tim Kraska Uwe Röhm University of Sydney School of Information Technologies Sydney, NSW 2006, Australia mail@tim-kraska.de roehm@it.usyd.edu.au

More information

Mandatory exercises. INF3580/4580 Semantic Technologies Spring 2017 Lecture 12: OWL: Loose Ends. Outline. Make it simple!

Mandatory exercises. INF3580/4580 Semantic Technologies Spring 2017 Lecture 12: OWL: Loose Ends. Outline. Make it simple! Mandatory exercises INF3580/4580 Semantic Technologies Spring 2017 Lecture 12: OWL: Loose Ends Ernesto Jiménez-Ruiz 3rd April 2017 Oblig 6 published after lecture. First attempt by April 25th. Second attempt

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

Description Logics as Ontology Languages for Semantic Webs

Description Logics as Ontology Languages for Semantic Webs Description Logics as Ontology Languages for Semantic Webs Franz Baader, Ian Horrocks, and Ulrike Sattler Presented by:- Somya Gupta(10305011) Akshat Malu (10305012) Swapnil Ghuge (10305907) Presentation

More information

ONTOLOGY QUERY LANGUAGES FOR THE SEMANTIC WEB: A PERFORMANCE EVALUATION ZHIJUN ZHANG. (Under the Direction of John.A.

ONTOLOGY QUERY LANGUAGES FOR THE SEMANTIC WEB: A PERFORMANCE EVALUATION ZHIJUN ZHANG. (Under the Direction of John.A. ONTOLOGY QUERY LANGUAGES FOR THE SEMANTIC WEB: A PERFORMANCE EVALUATION by ZHIJUN ZHANG (Under the Direction of John.A.Miller) ABSTRACT Ontology languages and corresponding query languages play key roles

More information

The Logic of the Semantic Web. Enrico Franconi Free University of Bozen-Bolzano, Italy

The Logic of the Semantic Web. Enrico Franconi Free University of Bozen-Bolzano, Italy The Logic of the Semantic Web Enrico Franconi Free University of Bozen-Bolzano, Italy What is this talk about 2 What is this talk about A sort of tutorial of RDF, the core semantic web knowledge representation

More information

Reasoning on Data: Challenges and Applications

Reasoning on Data: Challenges and Applications Reasoning on Data: Challenges and Applications Marie-Christine Rousset Laboratoire d Informatique de Grenoble Université Grenoble Alpes & Institut Universitaire de France 1 Data are everywhere multi-form,

More information

Converting Instance Checking to Subsumption: A Rethink for Object Queries over Practical Ontologies

Converting Instance Checking to Subsumption: A Rethink for Object Queries over Practical Ontologies International Journal of Intelligence Science, 2015, 5, 44-62 Published Online January 2015 in SciRes. http://www.scirp.org/journal/ijis http://dx.id.org/10.4236/ijis.2015.51005 Converting Instance Checking

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

jcel: A Modular Rule-based Reasoner

jcel: A Modular Rule-based Reasoner jcel: A Modular Rule-based Reasoner Julian Mendez Theoretical Computer Science, TU Dresden, Germany mendez@tcs.inf.tu-dresden.de Abstract. jcel is a reasoner for the description logic EL + that uses a

More information

RDF AND SPARQL. Part III: Semantics of RDF(S) Dresden, August Sebastian Rudolph ICCL Summer School

RDF AND SPARQL. Part III: Semantics of RDF(S) Dresden, August Sebastian Rudolph ICCL Summer School RDF AND SPARQL Part III: Semantics of RDF(S) Sebastian Rudolph ICCL Summer School Dresden, August 2013 Agenda 1 Motivation and Considerations 2 Simple Entailment 3 RDF Entailment 4 RDFS Entailment 5 Downsides

More information

Helmi Ben Hmida Hannover University, Germany

Helmi Ben Hmida Hannover University, Germany Helmi Ben Hmida Hannover University, Germany 1 Summarizing the Problem: Computers don t understand Meaning My mouse is broken. I need a new one 2 The Semantic Web Vision the idea of having data on the

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

Survey of Temporal Knowledge Representation. (Second Exam)

Survey of Temporal Knowledge Representation. (Second Exam) Survey of Temporal Knowledge Representation (Second Exam) Sami Al-Dhaheri The Graduate Center, CUNY Department of Computer Science June 20, 2016 Abstract Knowledge Representation (KR) is a subfield within

More information

Web Ontology Language: OWL

Web Ontology Language: OWL Web Ontology Language: OWL Grigoris Antoniou Frank van Harmelen 1 Lecture Outline 1. Basic Ideas of OWL 2. The OWL Language 3. Examples 4. The OWL Namespace 5. Future Extensions 2 Requirements for Ontology

More information

On the Scalability of Description Logic Instance Retrieval

On the Scalability of Description Logic Instance Retrieval On the Scalability of Description Logic Instance Retrieval V. Haarslev 1, R. Moeller 2, M. Wessel 2 1 Concordia University, Montreal 2 Hamburg University of Technology (TUHH) 1 Supported by EU Project

More information

Lecture 1: Conjunctive Queries

Lecture 1: Conjunctive Queries CS 784: Foundations of Data Management Spring 2017 Instructor: Paris Koutris Lecture 1: Conjunctive Queries A database schema R is a set of relations: we will typically use the symbols R, S, T,... to denote

More information

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

OWL a glimpse. OWL a glimpse (2) requirements for ontology languages. requirements for ontology languages OWL a glimpse OWL Web Ontology Language describes classes, properties and relations among conceptual objects lecture 7: owl - introduction of#27# ece#720,#winter# 12# 2# of#27# OWL a glimpse (2) requirements

More information

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES Semantics of RDF(S) Sebastian Rudolph Dresden, 16 April 2013 Agenda 1 Motivation and Considerations 2 Simple Entailment 3 RDF Entailment 4 RDFS Entailment 5 Downsides

More information

Ontological Modeling: Part 14

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

More information

Intelligent Agents. Pınar Yolum Utrecht University. Spring 2018 Pınar Yolum

Intelligent Agents. Pınar Yolum Utrecht University. Spring 2018 Pınar Yolum Intelligent Agents Pınar Yolum p.yolum@uu.nl Utrecht University Spring 2018 Pınar Yolum Web Ontology Language Spring 2018 Pınar Yolum Based largely on Dean Allemang; James Hendler, Semantic Web for the

More information

RDF Data Management: Reasoning on Web Data

RDF Data Management: Reasoning on Web Data RDF Data Management: Reasoning on Web Data Damian Bursztyn 1,2, François Goasdoué 3,1, Ioana Manolescu 1,2, Alexandra Roatiş 1,2 1 INRIA 2 Université Paris Sud 3 Université Rennes 1 France ioana.manolescu@inria.fr,

More information

Description Logics and Disjunctive Datalog The Story so Far

Description Logics and Disjunctive Datalog The Story so Far Description Logics and Disjunctive Datalog The Story so Far Ullrich Hustadt University of Liverpool Liverpool, UK U.Hustadt@csc.liv.ac.uk Boris Motik Forschungszentrum Informatik Karlsruhe, Germany motik@fzi.de

More information

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

Simplified Approach for Representing Part-Whole Relations in OWL-DL Ontologies Simplified Approach for Representing Part-Whole Relations in OWL-DL Ontologies Pace University IEEE BigDataSecurity, 2015 Aug. 24, 2015 Outline Ontology and Knowledge Representation 1 Ontology and Knowledge

More information