1
Ontology Engineering for the Semantic Web
COMP60421 Sean Bechhofer and Bijan Parsia University of Manchester
1 Monday, 12 November 2012
Ontology Engineering for the Semantic Web COMP60421 Sean Bechhofer - - PowerPoint PPT Presentation
Ontology Engineering for the Semantic Web COMP60421 Sean Bechhofer and Bijan Parsia University of Manchester 1 Monday, 12 November 2012 1 Organisational COMP60421 is taught by: 1.Bijan Parsia and 2.Sean Bechhofer Prerequisites :
1
COMP60421 Sean Bechhofer and Bijan Parsia University of Manchester
1 Monday, 12 November 2012
2
2 Monday, 12 November 2012
– Patrick Koopmann – Nico Matentzoglu
exercises, in particular Protégé 4:
3
3 Monday, 12 November 2012
4
4 Monday, 12 November 2012
– always retain a copy of your work elsewhere! – backup!
– we might even help with questions
– #uom #comp60421
– work is generally due one week after assignment i.e., Fridays at 9am – work that is late: marked 0, no late submission – if your overall coursework mark < 50% due to missed deadlines, – you can submit some designated, additional coursework in reading week – to help bring your coursework mark up to max. 50%
5
5 Monday, 12 November 2012
Each week, we give you several pieces of coursework:
– to ensure you grasp the basic concepts Along with other tasks that may be :
– to appreciate the numerous ways in which things can be done – to get your hands dirty
– about an average blog post – to make you think & practice writing (project!)
– a programming task – in Java, OPPL, XSLT, etc. ➡ 40 marks per week
6
6 Monday, 12 November 2012
Plagiarism and Malpractice Test
do so before you submit any coursework (assignment or assessment)
7
7 Monday, 12 November 2012
8
the course web page
– are enthusiastic about your subject – go and find out about stuff you don’t know yet
8 Monday, 12 November 2012
COMP60421 Sean Bechhofer University of Manchester sean.bechhofer@manchester.ac.uk
9
9 Monday, 12 November 2012
2
10 Monday, 12 November 2012
– Participant in W3C WebOnt WG that defined the
– Developer of OilEd, the WonderWeb OWL API and other DL/OWL tools – Editor of W3C’s SKOS Recommendation – Somewhere between “neat” and “scruffy”
– Participant in W3C OWL WG, defined OWL 2. – Organiser of OWLEd series of workshops – Developer of SWOOP & Pellet – So neat he’s scruffy
11
11 Monday, 12 November 2012
12 Monday, 12 November 2012
WWW2006 Edinburgh, Scotland The eleventh international world wide web conference 23rd--26th May Edinburgh International Conference Centre Who should attend and who will you meet? No other event draws the breadth… Look Who’s Talking Richard Granger reviews the revamping of the NHS IT programme Look Who’s Talking VeriSign's pincipal scientist, Dr Phillip Hallam-Baker, goes phishing... Registration opens with special offer tickets Professor Wendy Hall has announced the opening of registration for the 15th annual World Wide Web Conference 2006…
13 Monday, 12 November 2012
WWW2002 The eleventh internatio nal wo rld wide webco n Sherato n waikiki ho tel Ho no lulu, hawaii, USA 7-11 may 2002 1 lo catio n 5 days learn interact Registered participants co ming fro m australia, canada, chile denmark, franc e, germany, ghana, ho ng ko ng, india, i reland, italy, japan, malta, new zealand , the netherlands, no rway, singapo re, swit zerland, the united kingdo m, the united s tates, vietnam, zaire Register no w On the 7th May Ho no lulu will pro vide the b ackdro p o f the eleventh internatio nal wo rl d wide web co nference. This prestigio us ev ent Speakers co nfirmed Tim berners-lee Tim is the well kno wn invento r o f the Web,…
14 Monday, 12 November 2012
<name>WWW2002 The eleventh internatio nal wo rld wide webco n</ name> <date>7-11 may 2002</date> <location>Sherato n waikiki ho tel Ho no lulu, hawaii, USA</location> <introduction>Register no w On the 7th May Ho no lulu will pro vide the bac kdro p o f the eleventh internatio nal wo rld wi de web co nference. This prestigio us event Speakers co nfirmed</introduction> <speaker>Tim berners-lee <bio>Tim is the well kno wn invento r o f the Web, </bio>… </speaker> <speaker>Tim berners-lee <bio>Tim is the well kno wn invento r o f the Web, </bio>… </speaker> <registration>Registered participants co ming fro m australia, canada, chile denmark, france, germany, ghana, ho ng ko ng, india, irelan d, italy, japan, malta, new zealand, the netherlands, no rway, singapo re, switzerland, the united kingdo m, the united states, vietn am, zaire<registration>
15 Monday, 12 November 2012
<conf>WWW2002 The eleventh internatio nal wo rld wide webco n<c
<date>7-11 may 2002</date> <place>Sherato n waikiki ho tel Ho no lulu, hawaii, USA<place> <introduction>Register no w On the 7th May Ho no lulu will pro vide the bac kdro p o f the eleventh internatio nal wo rld wi de web co nference. This prestigio us event Speakers co nfirmed</introduction> <speaker>Tim berners-lee <bio>Tim is the well kno wn invento r o f the Web, </bio>… </speaker> <speaker>Tim berners-lee <bio>Tim is the well kno wn invento r o f the Web, </bio>… </speaker> <registration>Registered participants co ming fro m australia, canada, chile denmark, france, germany, ghana, ho ng ko ng, india, irelan d, italy, japan, malta, new zealand, the netherlands, no rway, singapo re, switzerland, the united kingdo m, the united states, vietn am, zaire<registration>
16 Monday, 12 November 2012
<co nf>WWW2002 The eleventh internatio nal wo rld wide webco n< co nf> <date>7-11 may 2002</date> <place>Sherato n waikiki ho tel Ho no lulu, hawaii, USA<place> <intro ductio n>Register no w On the 7th May Ho no lulu will pro vide the bac kdro p o f the eleventh internatio nal wo rld wi de web co nference. This prestigio us event Speakers co nfirmed</intro ductio n> <speaker>Tim berners-lee <bio >Tim is the well kno wn invento r o f the Web ,</bio >… </speaker> <speaker>Tim berners-lee <bio >Tim is the well kno wn invento r o f the Web ,</bio >… </speaker> <registratio n>Registered participants co ming f ro m australia, canada, chile denmark, france, germany, ghana, ho ng ko ng, india, irelan d, italy, japan, malta, new zealand, the netherlands, no rway, singapo re, switzerland, the united kingdo m, the united states, vietn am, zaire<registratio n>
17 Monday, 12 November 2012
– E.g., Dublin Core for annotation of library/bibliographic information
– Problems with this approach
– Ontologies provide a vocabulary of terms – New terms can be formed by combining existing ones
– Meaning (semantics) of such terms is formally specified
18 Monday, 12 November 2012
cloth types using a simple propositional logic knowledge base.
19
19 Monday, 12 November 2012
threads.
different weaves.
– The pattern in which warps and wefts cross – Relative sizes of threads – Relative spacing of threads – Colours of threads
20
20 Monday, 12 November 2012
regular fashion
21
21 Monday, 12 November 2012
more than one weft – Known as “floats”
22
22 Monday, 12 November 2012
23
23 Monday, 12 November 2012
are described.
– If a piece of cloth has alternating warp, then it’s a plain weave.
– If a piece of cloth has floats and a warp offset of 1, then it’s a twill weave.
24 Monday, 12 November 2012
different kinds of cloth through recognising the individual characteristics.
characteristics – diagonalTexture – floatGTSink – colouredWarp – whiteFill
25
25 Monday, 12 November 2012
used and the number of facts), this really is an example of Knowledge Representation. – The rules represent some knowledge about cloth -- objects in the real world – Together they form a knowledge base – The knowledge base along with some deductive framework allow us to make inferences (which we hope reflect the characteristics/behaviour of the real world
26
26 Monday, 12 November 2012
– http://groups.csail.mit.edu/medg/ftp/psz/k-rep.html
– That is, a representation
– of the world
– and our knowledge of it
– that is accessible to programs
– and usable
27
27 Monday, 12 November 2012
are (usually) external
– Reasoning operates on the surrogate rather than the things
– Bicycles, cats, dogs, proteins – Actions, processes, beliefs
28
28 Monday, 12 November 2012
intended to represent? – Semantics
– What’s there? – What’s missing?
– Necessarily abstractions – Simplifying assumptions will be present
– Only guarantees that the reasoning is not the source of the error.
29
29 Monday, 12 November 2012
world and how to see it.
– Necessarily so because of the imperfection of representation
– Representational languages carry meaning – Data structures may be used to implement representations – Semantic Nets vs. graphs
30
30 Monday, 12 November 2012
– Deduction
– What can be inferred
– What should be inferred
31
31 Monday, 12 November 2012
– The representation management system is a component in a larger system – If the representation management system is inefficient, programmers will compensate
– People need prosthetics to work well with them
32
32 Monday, 12 November 2012
– express things about the world; – tell the machine about the world; – tell one another about the world
– How general is it? – How precise is it? – Is the expressiveness adequate?
– How easy is it? vs. can we?
33
33 Monday, 12 November 2012
– Resources marked-up with descriptions of their content. No good unless everyone speaks the same language;
– Provide shared and common vocabularies of a domain, so search engines, agents, authors and users can communicate. No good unless everyone means the same thing;
– Provide a shared and common understanding of a domain that can be communicated across people and applications, and will play a major role in supporting information exchange and discovery.
34
34 Monday, 12 November 2012
conceptualisation of objects in a domain of interest
in interpreting those terms
characteristics – Introduce the possibility of using inference to help in management and deployment of the knowledge.
35
35 Monday, 12 November 2012
36
– But we are necessarily building logical systems
– We don’t really understand them
engineering artefacts – At best approximations of our real concepts and conceptualisations (ontologies)
36 Monday, 12 November 2012
37
starts getting religious, remember… – It is only a representation!
important guide
– But there are consequences to different ways
– and better or worse ways for a given purposes – The test of an engineering artefact is whether it is fit for purpose
37 Monday, 12 November 2012
38 Catalogue Terms/ glossary Thesauri Informal is-a Formal is-a Frames Value Restrictions Expressive Logics
38 Monday, 12 November 2012
– Associating metadata with resources
– Integrating information sources
– Reasoning over the information we have. – Could be light-weight (taxonomy) – Could be heavy-weight (logic-style)
39
39 Monday, 12 November 2012
– Metadata annotations that describe content/function of web accessible resources
– “Formal specification” is accessible to machines
– Need to agree common syntax before we can share semantics – Syntactic web based on standards such as HTTP and HTML Make web resources more accessible to automated processes
40
40 Monday, 12 November 2012
– These languages are then used to support the representation and use of metadata.
semantic information needed for the Semantic Web – XML – RDF – RDF(S) – OWL – …
41
OWL Integration RDF(S) RDF XML Annotation Integration Inference
41 Monday, 12 November 2012
– People do it too easily; People are not logicians
– “All tractable languages are useless; all useful languages are intractable”
– The problem has been about for 3000 years
42
42 Monday, 12 November 2012
– Fit for purpose? (and what does that mean?) – Extensible? – Flexible? – Maintainable?
– Knowledge acquisition – Ontology patterns – Normalisation – Upper level ontologies
43
43 Monday, 12 November 2012
44
44 Monday, 12 November 2012
tools and services to help users: – Design and maintain high quality ontologies, e.g.: § Meaningful — all named classes can have instances § Correct — captured intuitions of domain experts § Minimally redundant — no unintended synonyms § Richly axiomatised — (sufficiently) detailed descriptions – Store (large numbers) of instances of ontology classes, e.g.: § Annotations from web pages – Answer queries over ontology classes and instances, e.g.: § Find more general/specific classes § Retrieve annotations/pages matching a given description – Integrate and align multiple ontologies
45 Monday, 12 November 2012
domains in terms of classes, properties and individuals
Ontology Language for the Web.
inference over DL Knowledge bases. – Tableaux based reasoning techniques – Highly optimised implementations
knowledge engineering.
46 Monday, 12 November 2012
– Labels, annotations
– Why did a particular consequence or inference occur?
– OntoClean
47
47 Monday, 12 November 2012
– What’s different about the Semantic Web?
– Billions of pages/resources out there – Acquiring knowledge is hard – Dealing with knowledge is hard (complexity)
– No centralised control – Many different users with different perspectives – Conflicting viewpoints
– Different representations, formats, viewpoints.
48
48 Monday, 12 November 2012
– Views of the world change – Again multiple viewpoints impact here
– Who do I believe? – Who should I believe? – What mechanisms are there to restrict the use of knowledge?
– Am I allowing others to make inferences about me or my data?
– How do I manage reference to non-information resources?
49
49 Monday, 12 November 2012
50
50 Monday, 12 November 2012
51 Monday, 12 November 2012
– Sort of
52 Monday, 12 November 2012
53 Monday, 12 November 2012
54 Monday, 12 November 2012
55 Monday, 12 November 2012
56 Monday, 12 November 2012
57 Monday, 12 November 2012
58 Monday, 12 November 2012
59 Monday, 12 November 2012
– Author, date last modified, rights, etc. – Other versions
60 Monday, 12 November 2012
prefixDeclaration := 'Prefix' '(' prefixName '=' fullIRI ')' Ontology := 'Ontology' '(' [ ontologyIRI [ versionIRI ] ] directlyImportsDocuments
axioms ')'
versionIRI := IRI directlyImportsDocuments := { 'Import' '(' IRI ')' } axioms := { Axiom }
61 Monday, 12 November 2012
Ontology(<http://www.example.com/ontology1> Import(<http://www.example.com/ontology2> ) Annotation( <http://www.w3.org/2000/01/rdf-schema#label> "An example" ) SubClassOf( <http://www.example.com/ontology1#Child> <http://www.w3.org/2002/07/owl#Thing> ) ) Ontology: <http://www.example.com/ontology1> Import: <http://www.example.com/ontology2> Annotations: <http://www.w3.org/2000/01/rdf-schema#label> "An example" AnnotationProperty: <http://www.w3.org/2000/01/rdf-schema#label> Class: owl:Thing Class: <http://www.example.com/ontology1#Child> SubClassOf: <http://www.w3.org/2002/07/owl#Thing>
62 Monday, 12 November 2012
Ontology(<http://www.example.com/ontology2> SubClassOf( <http://www.example.com/ontology1#Adult> <http://www.w3.org/2002/07/owl#Thing> ) ) Ontology: <http://www.example.com/ontology2> Class: owl:Thing Class: <http://www.example.com/ontology1#Adult> SubClassOf: <http://www.w3.org/2002/07/owl#Thing>
63 Monday, 12 November 2012
Prefix(owl:=<http://www.w3.org/2002/07/owl#>) Prefix(:=<http://www.example.com/ontology2#>) Ontology(<http://www.example.com/ontology2> SubClassOf(:Adult owl:Thing) ) Prefix: owl: <http://www.w3.org/2002/07/owl#> Ontology: <http://www.example.com/ontology2> Class: owl:Thing Class: <http://www.example.com/ontology2#Adult> SubClassOf:
64 Monday, 12 November 2012
SubClassOf( :Child owl:Thing) SubClassOf( :Adult owl:Thing )
65 Monday, 12 November 2012
66 Monday, 12 November 2012
67 Monday, 12 November 2012
68 Monday, 12 November 2012
69 Monday, 12 November 2012
70 Monday, 12 November 2012
71 Monday, 12 November 2012
72 Monday, 12 November 2012
73 Monday, 12 November 2012
74 Monday, 12 November 2012
75 Monday, 12 November 2012
76 Monday, 12 November 2012
77 Monday, 12 November 2012
78 Monday, 12 November 2012
79 Monday, 12 November 2012
80 Monday, 12 November 2012
81 Monday, 12 November 2012
82 Monday, 12 November 2012
83 Monday, 12 November 2012
84 Monday, 12 November 2012
85 Monday, 12 November 2012
86 Monday, 12 November 2012
87 Monday, 12 November 2012
88 Monday, 12 November 2012
89 Monday, 12 November 2012
90 Monday, 12 November 2012
91 Monday, 12 November 2012
92 Monday, 12 November 2012
93 Monday, 12 November 2012
94 Monday, 12 November 2012
95 Monday, 12 November 2012
96 Monday, 12 November 2012
97 Monday, 12 November 2012
98 Monday, 12 November 2012
99 Monday, 12 November 2012
100 Monday, 12 November 2012
*http://en.wikipedia.org/wiki/Automobile
101 Monday, 12 November 2012
102 Monday, 12 November 2012
103 Monday, 12 November 2012
104 Monday, 12 November 2012
105 Monday, 12 November 2012
106 Monday, 12 November 2012
107 Monday, 12 November 2012
Class: Wheel Class: Vehicle Class: Engine Class: Person Class: MotorVehicle EquivalentTo: Vehicle and (hasPart some Engine) ObjectProperty: hasPart Characteristics: Transitive ObjectProperty: transports Class: Car EquivalentTo: Automobile, Autocar, Car EquivalentTo: Vehicle that (hasPart some Wheel) and (hasPart some Engine) and (transports some Person)
108 Monday, 12 November 2012
109 Monday, 12 November 2012
110 Monday, 12 November 2012
111 Monday, 12 November 2012
112
112 Monday, 12 November 2012
– Though not always in the way we want!
113
113 Monday, 12 November 2012
114
114 Monday, 12 November 2012
– I.e., it’s there by hard to access
– E.g., the language
– Though they maybe able to acquire or generate it
115
115 Monday, 12 November 2012
– Though they may be convertible
116
116 Monday, 12 November 2012
117
117 Monday, 12 November 2012
118
118 Monday, 12 November 2012
119
119 Monday, 12 November 2012
– Self or shadowing
120
120 Monday, 12 November 2012
– Pedantic refinement
– are used for capturing the way people compare and order concepts, and can lead to the revelation of knowledge about classes, properties and priorities
– such as laddering are used to build taxonomies or other hierarchical structures such as goal trees and decision networks.
– involve the construction of grids indicating such things as problems encountered against possible solutions.
– are techniques that either limit the time and/or information available to the expert when performing tasks. For instance, the twenty-questions technique provides an efficient way of accessing the key information in a domain in a prioritised order.
121
121 Monday, 12 November 2012
122
122 Monday, 12 November 2012
– Carnivores, herbivores and omnivores
– A bit of basic anatomy » legs, wings, fins? skin, feathers, fur?
– (read the book!)
123
123 Monday, 12 November 2012
124
124 Monday, 12 November 2012
125
125 Monday, 12 November 2012
– Documents – Manuals – Web resources – Interviews with Expert
126
126 Monday, 12 November 2012
– New concepts! New card!
127
127 Monday, 12 November 2012
128
128 Monday, 12 November 2012
129
129 Monday, 12 November 2012
130
130 Monday, 12 November 2012
– Hierarchy of categorized, normalized terms (with notes!)
131
131 Monday, 12 November 2012
– Carnivores, herbivores and omnivores
– A bit of basic anatomy » legs, wings, fins? skin, feathers, fur?
– (read the book!)
132
132 Monday, 12 November 2012
133
133 Monday, 12 November 2012
– As a new term!
– Another new term!
– From person to person – From perspective to perspective – From round to round
134
134 Monday, 12 November 2012
135
135 Monday, 12 November 2012
136
136 Monday, 12 November 2012
– “Is it an animal?” “Is it a vegetable?” “Is it a mineral?”
137 Living Thing Animal Plant
“Is it an animal?” “Is it a plant?”
137 Monday, 12 November 2012
138
138 Monday, 12 November 2012
– Cat – Dog – Cow – Person
– Trout – Goldfish – Shark
139
139 Monday, 12 November 2012
– actions, processes, …
140
140 Monday, 12 November 2012
– For “Living thing” we might just have a list of subclasses
141
141 Monday, 12 November 2012
142
142 Monday, 12 November 2012
143
143 Monday, 12 November 2012
144
144 Monday, 12 November 2012
145
145 Monday, 12 November 2012
– Depending on which it is!
– If it is so according to your elicitation – If so, add a comment given your (English) definition
146
146 Monday, 12 November 2012
– (And disjointness or equivalences if you like) » (and even property subsumption, etc.) – But only atomic ones!
– Comments!
147
147 Monday, 12 November 2012