Axioms & Templates: Distinctions & Transformations amongst Ontologies, Frames, & Information Models or OWL, UML, and Frames Axioms & Templates: Distinctions.

Slides:



Advertisements
Similar presentations
Ontology-Based Computing Kenneth Baclawski Northeastern University and Jarg.
Advertisements

Three-Step Database Design
Charting the Potential of Description Logic for the Generation of Referring Expression SELLC, Guangzhou, Dec Yuan Ren, Kees van Deemter and Jeff.
Ontologies and Databases Ian Horrocks Information Systems Group Oxford University Computing Laboratory.
Artificial Intelligence Description Logics - Background and Motivation for DL Relation between DL and FOPL (extensional Semantics) Example.
An Introduction to Description Logics
April 15, 2004SPIE1 Association in Level 2 Fusion Mieczyslaw M. Kokar Christopher J. Matheus Jerzy A. Letkowski Kenneth Baclawski Paul Kogut.
1 A Description Logic with Concrete Domains CS848 presentation Presenter: Yongjuan Zou.
Knowledge Representation
Of 27 lecture 7: owl - introduction. of 27 ece 627, winter ‘132 OWL a glimpse OWL – Web Ontology Language describes classes, properties and relations.
1 Ontology Language Comparisons doug foxvog 16 September 2004.
Building and Analyzing Social Networks Web Data and Semantics in Social Network Applications Dr. Bhavani Thuraisingham February 15, 2013.
Outline Recap Knowledge Representation I Textbook: Chapters 6, 7, 9 and 10.
PR-OWL: A Framework for Probabilistic Ontologies by Paulo C. G. COSTA, Kathryn B. LASKEY George Mason University presented by Thomas Packer 1PR-OWL.
Chapter 8: Web Ontology Language (OWL) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley, 2005.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 8 The Enhanced Entity- Relationship (EER) Model.
Annotating Documents for the Semantic Web Using Data-Extraction Ontologies Dissertation Proposal Yihong Ding.
Semantics For the Semantic Web: The Implicit, the Formal and The Powerful Amit Sheth, Cartic Ramakrishnan, Christopher Thomas CS751 Spring 2005 Presenter:
The Semantic Web Week 12 Term 1 Recap Lee McCluskey, room 2/07 Department of Computing And Mathematical Sciences Module Website:
From SHIQ and RDF to OWL: The Making of a Web Ontology Language
GO Ontology Editing Workshop: Using Protege and OWL Hinxton Jan 2012.
Business Domain Modelling Principles Theory and Practice HYPERCUBE Ltd 7 CURTAIN RD, LONDON EC2A 3LT Mike Bennett, Hypercube Ltd.
Semantic Web Technologies Lecture # 2 Faculty of Computer Science, IBA.
Reasoning the FMA Ontologies with TrOWL Jeff Z. Pan, Yuan Ren, Nophadol Jekjantuk, and Jhonatan Garcia University of Aberdeen, UK ORE2013.
Ontology Alignment/Matching Prafulla Palwe. Agenda ► Introduction  Being serious about the semantic web  Living with heterogeneity  Heterogeneity problem.
Ontology Development Kenneth Baclawski Northeastern University Harvard Medical School.
The Relational Model. Review Why use a DBMS? OS provides RAM and disk.
An Introduction to Description Logics. What Are Description Logics? A family of logic based Knowledge Representation formalisms –Descendants of semantic.
Protege OWL Plugin Short Tutorial. OWL Usage The world wide web is a natural application area of ontologies, because ontologies could be used to describe.
Artificial Intelligence 4. Knowledge Representation Course V231 Department of Computing Imperial College, London © Simon Colton.
Ming Fang 6/12/2009. Outlines  Classical logics  Introduction to DL  Syntax of DL  Semantics of DL  KR in DL  Reasoning in DL  Applications.
Building an Ontology of Semantic Web Techniques Utilizing RDF Schema and OWL 2.0 in Protégé 4.0 Presented by: Naveed Javed Nimat Umar Syed.
Michael Eckert1CS590SW: Web Ontology Language (OWL) Web Ontology Language (OWL) CS590SW: Semantic Web (Winter Quarter 2003) Presentation: Michael Eckert.
LDK R Logics for Data and Knowledge Representation ClassL (part 3): Reasoning with an ABox 1.
Temporal Reasoning and Planning in Medicine Frame-Based Representations and Description Logics Yuval Shahar, M.D., Ph.D.
An Introduction to Description Logics (chapter 2 of DLHB)
Advanced topics in software engineering (Semantic web)
Semantic web course – Computer Engineering Department – Sharif Univ. of Technology – Fall Knowledge Representation Semantic Web - Fall 2005 Computer.
Object Oriented Multi-Database Systems An Overview of Chapters 4 and 5.
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lecture 5, Jan 23 th, 2003 Lotzi Bölöni.
Ontology-Based Computing Kenneth Baclawski Northeastern University and Jarg.
SKOS. Ontologies Metadata –Resources marked-up with descriptions of their content. No good unless everyone speaks the same language; Terminologies –Provide.
OilEd An Introduction to OilEd Sean Bechhofer. Topics we will discuss Basic OilEd use –Defining Classes, Properties and Individuals in an Ontology –This.
Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:
DL Overview Second Pass Ming Fang 06/19/2009. Outlines  Description Languages  Knowledge Representation in DL  Logical Inference in DL.
Knowledge Representation. Keywordsquick way for agents to locate potentially useful information Thesaurimore structured approach than keywords, arranging.
© University of Manchester Creative Commons Attribution-NonCommercial 3.0 unported 3.0 license Lexically Suggest, Logically Define: QA of Qualifiers &
Of 38 lecture 6: rdf – axiomatic semantics and query.
Description Logics Dr. Alexandra I. Cristea. Description Logics Description Logics allow formal concept definitions that can be reasoned about to be expressed.
ece 627 intelligent web: ontology and beyond
Ontology domain & modeling extensions. Modeling enhancements: overview Enhancements: – Increased expressivity in ontology – Increased expressivity in.
Charting the Potential of Description Logic for the Generation of Referring Expression SELLC, Guangzhou, Dec Yuan Ren, Kees van Deemter and Jeff.
Ontologies for Terminologies, Knowledge Representation & Software: Benefits & Gaps (“Don’t make the tea”) (Only a part of Knowledge Representation) Alan.
Enable Semantic Interoperability for Decision Support and Risk Management Presented by Dr. David Li Key Contributors: Dr. Ruixin Yang and Dr. John Qu.
Of 29 lecture 15: description logic - introduction.
Ontology Technology applied to Catalogues Paul Kopp.
Artificial Intelligence Knowledge Representation.
Ccs.  Ontologies are used to capture knowledge about some domain of interest. ◦ An ontology describes the concepts in the domain and also the relationships.
1 Modeling Formalism (Modeling Language Foundations) System Modeling Assessment & Roadmap Working Group Meeting – SE DSIG Reston – March, 2016 Yves BERNARD.
OWL (Ontology Web Language and Applications) Maw-Sheng Horng Department of Mathematics and Information Education National Taipei University of Education.
n-ary relations OWL modeling problem when n≥3
ece 720 intelligent web: ontology and beyond
Lecture 2 The Relational Model
Where does one end and the other start?
ece 720 intelligent web: ontology and beyond
Ontology-Based Approaches to Data Integration
Ontologies and Databases
Description Logics.
Deniz Beser A Fundamental Tradeoff in Knowledge Representation and Reasoning Hector J. Levesque and Ronald J. Brachman.
Presentation transcript:

Axioms & Templates: Distinctions & Transformations amongst Ontologies, Frames, & Information Models or OWL, UML, and Frames Axioms & Templates: Distinctions & Transformations amongst Ontologies, Frames, & Information Models or OWL, UML, and Frames Alan Rector

2 Common Questions: ►How do I convert between UML and OWL? Frames & OWL? ►How do I determine which properties go with which classes? The “Sanctioning” problem ►“Can I use OWL as a richer schema for databases?” Or to enhance / check database schemas ►How do I say “may” or “typically” in OWL? ►How do I manage defaults and exceptions in OWL? ►Why is it so hard for people to switch from frames to OWL ►Why do people still use frames? Why switch to OWL? ►How do I get back to what was easy in 1985? ►

Why I use OWL (for the record) ►Composite concepts and definitions ►Left_leg ≡ Leg & has_laterality value left ►Inferred subsumption hierarchy ►Maintain parallel hierarchies ►Propagate definitions consistently ►Validation & error detection ►Difficult, but less difficult than with totally asserted hierarchy ►Basis for Natural Language Generation of Labels ►From definitions ►Because it is a standard – and I live in that community 3

The role of ontologies ►Ontology ?=? Knowledge Representation ►Is OWL/DLs a general KR language? ►Need KR languages be based on logic and axioms? ►Should they be? ►Can they be? ►How to select a technology for an application? 4

One approach: Refactor the problem Key Distinctions ►Ontology vs background knowledge vs information model ►Axiom-based vs Template-based representations ►Class expressions vs Queries in OWL/DLs ►Models of the domain vs Models of Information about that domain 5 Illustrate starting with UML and OWL; Then discuss frames

Ontology vs background knowledge base vs Information model New look at an old architecture: 6

What is an ontology? ►Is it the same as a knowledge base? ►“Conceptualisation of a domain” imprecise If it means everything it means nothing ►Original philosophical meaning: the study of what there is ►Useful KR interpretation: Ontology (narrow sense) The definitions and essential properties of the entities that can be represented What is necessarily true ‣ “by definition” ‣ As universal/essential characteristics -Representable in logic statements beginning ∀ x. … Corresponds to subset of OWL/DL T-Box 7

Examples Universal Knowledge ►Pneumonia is a lung disease ►Rashs are located on the skin ►Penicillin is an antibiotic Contingent Knowledge ►Pneumonia may be caused by bacteria. ►Meningitis may cause a rash (Rash is a symptom of Meningitis) ►Penicillins may be used to treat Bacterial Meningitis 8

Ontology (Narrow Sense) ►Universally qualified statements about the domain: true in all possible models/worlds ►OWL/DL statements are a subset of such statements in F2 B subClassOf A ∀ x. B(x) ➔ A(x) B subClassOf p some C ∀ x. B(x)  ∃ y. C(y) ⋀ p(x,y) B EquivalentTo A & p some C ∀ x. B(x) ↔ A ⋀ ∃ y. C(y) ⋀ p(x,y) B EquivalentTo A & p value c ∀ x. B(x) ↔ A ⋀ ) ⋀ p(x,c) ►Examples All pneumonias are lung disease; Pneumonia is defined as an Inflammation localised to the lung … ►Excludes “contingent” knowledge: True of given world “may”, “typically”, “probably”, “with probability X”, … ►FOL approximations beginning ∃ ►FOL approximations that are ground clauses p(a,b) Almost all of a DL A-Box 9

Axioms vs Templates Axioms ►Axioms from which to draw inferences ►Definitions and necessary truths (Universal knowledge) ►Monotonic, open world, negation as unsatisfiability ►Composite concepts ►Strictly first order ►Metaclasses impossible (or kluged) ►Restrict what may be said ►What may not be said ►Global ►Inferred existence, underspecificaton ►“John has a sister” ►Classification inferred & asserted ►Built in two steps ►assertion + reasoning (“compiled”) ►Validation delayed to reasoning-time Templates ►Data structures to be queried. ►Statements, universal & contingent (undistinguished) ►Non-monotonic (usually), closed world, negation as failure ►Primitve concepts only ►Higher order ►Metaclasses essential to representation ►Permit new things to be said ►What may be said (“sanctioning”) ►Local (to class & descendants) ►Explicit existence (+ skolemization) ►“John’s sister is Mary” ►Classification asserted only ►Built in one step (“interpreted”) ►Validation immediate 10

Domain Knowledge vs Information Domain Knowledge Model ►About the domain ►True or false or uncertain ►Open, at least in parts ►Inferred existence “Has no body temperature” makes no sense ►Repesesnts our understanding of a domain ►Variables range over domain entities Information Model ►About the informaiton structures ►Entered or missing ►Closed ►Expliicit existence “Missing entry for body temperature” makes sense ►Specifies structures to hold information motivated by that understanding ►Variables range over data structures & symbols 11

Axioms vs templates, Knowledge vs Data schemas 12 AxiomsTemplates KnowledgeOWL, Logics, Conceptual Graphs (existential logic ) GRAIL axioms Frames, Conceptual Graphs (cannonical graphs) GRAIL sanctions Data schemasOCL constraints on UML UML, Archetypes, XML, …

Three possible reconciliations ►Hybrid models ►Represent ontology(narrow sense) in OWL and use for values in UML/Frames ►Represent Templates in OWL or OWL in Templates ►Tried representing OWL in templates in Protégé 3 problematic ►Explore representing templates in OWL Illustrates issues clearly Practical set of transformations and limitations So far explored only with toy examples – needs tooling for larger scale work ►Treat OWL as having dual semantics ►Axioms + queries & annotations for templates ►Works in HOBO ontology programming environment 13

Example: What cause pneumonia? ►UML: ►Disorder entries must be linked to one or more agent entries by the CausedBy association ‣ NB: All UML associations are linked implicitly to a class ►Also, any agent can be linked to any number of disorders – the association can be traced in both directions ►The agent is mandatory for Disorder; Disorder is optional for agent An exception will be raised for missing agents ►Obvious OWL: Property: CausedBy domain Disorder; range Agent Class: Disorder subClassOf causedBy some Agent ►All disorders are caused by some agent (even if we don’t know which) ►Trace in one direction only – & does not generalise easily to other multiplicities ►An agent will be inferred to exist whenever a disorder exists ►Domain/range constraints axioms for inference rather than constraints ‣ What properties apply to Disorder hard to determine 14

Alternative OWL: Model the template Make Associations classes ►UML: ►Alt OWL: Property to functional Property fromfunctional Class DomainEntity Class Association ➞ to some DomainEntity & from some DomainEntity key(to, from) Class CausedBy ➞ Association Class Disorder ➞ DomainEntity & inv(from) some (CausedBy & to some Agent) ►Similar meaning but: ‣ Schema symmetrical – generalises naturally to all multiplicities ‣ Easy to retrieve the associatons relevant to any DomainEntity ‣ Has direct transformation to/from original for cases where possible ► 15

Issues: ►key declaration: ►OWL 2 construct so that each Association instance links exactly one pair of DomainEntities – analogous to prohibiting duplicate rows in a database. ►Multiplicities always associated with DomainEntities, never the association itelf ►Gain ►Agents may cause Disorders Natural extension to other uses of “may” Natural representation of contingent knowledge ►Ability to say other things about association – e.g. strength, time, etc. ►DL expressions for Association to or from any DomainEntity ►Lose ►Transitive relations and property paths (& other property characteristics except functional and inverseFunctional ►Still ►Domain and range are axioms rather than constraints 16 Alt OWL: Property to functional Property from functional Class DomainEntity Class Association ➞ to some DomainEntity & from some Domain key(to, from) Class CausedBy ➞ Association Class Disorder ➞ DomainEntity & inv(from) some (CausedBy & to some Agent)

Comparison to frames ►For “association” substitute “slot” ►Almost identical structure ►Gain for frames… ►Composition and inferred classification ►Clear criteria to distinguish “ontology (narrow sense)” Axioms with DomainEntities on left-hand side ►But still … ►No metadata or meta classes except by punning or annotation ►Domain & range constraints behave as axioms Inference when reasoning rather than constraints when entering ►Loss to OWL ►Transitivity and property paths, etc. Powerful additions to inferences 17

Restoring transitivity and property paths Extensions via preprocessing ►Domain and range ►Replace with Motik style constraints Limited support in current classifiers but easy in preprocessing ►Transitivity and property paths ►Specialise to, from & Association for each property ►Define a bridging property ►Filter out Associations from query results 18 to_CausedByfrom_CausedBy causedBy CausedByDisorderAgent ►Property paths almost work, but queries would include CausedBy class ►Restrict by transformations, e.g. ►(causedBy some X) ➼ (DomainEntity & causedBy some X)

In more detail ►Properties to_causedBy ➞ to; from_caused_by ➞ from ; causedByT ➞ bridgingProp, causedByT transitive ►property_path: inv(to_caused_by) o from_caused_by ➞ causedBy ►Enforce: CausedBy ➞ to some C ➼ CausedBy ➞ to_causedBy some C ➞ from some C ➼ CausedBy ➞ from_causedBy some C ►Enforce: causedByT some C ➼ DomainEntity & causedByT some C 19 to_CausedByfrom_CausedBy causedByT CausedByDisorderAgent

Metaknowledge & Metaclasses ►Use in frames ►Define templates OWL: Dealt with by Axiomization ►Annotations OWL: Annotation properties suffice ►Higher order statements ‣ Classes as values – “books about lions” ‣ Statements about classes – “Lion is an endangered species” OWL: No fully satisfactory solution ‣ Work arounds using Puns &additional post processing ‣ Work arounds using annotation properties & additional post-processing ‣ Proposed “rich annotations” & layered OWL -Neither made it into OWL 2 recommendation 20

Defaults & Exceptions ►Set of “nearest” existential restrictions or annotations ►“Touretzky distance” ►Set usually a singleton in a well consructed ontology Example Tourezky distance measure t_nearest(p,E) almost always a singleton 21 p some V1 ← F A B ➔ p some V2 C E D t_nearest(p,E) = { V2}

Other possible extensions ►Knowledge about associations ►Strength, uncertainties Extension to link to Bayesian probabilities a challenge for research ►Evidence / provenance ►Typicality Links to exceptions 22

Summary: Beware of Differences ►Fundamental distinctions ►Axioms & templates ►Ontology (narrow sense) & Contingent knowledge ►Advantages of each ►Axioms – Composition and Classification - ontologies ►Templates – Contingent knowledge and data structures, Higher order (meta) knowledge ►One possible reconciliation & compromise ►Alternative OWL with reified properties & enforced transformations Gains but expressivity looses other Basis for further extensions and expressivity May sacrifice completeness ►Practical experiments & more theoretocal studies needed ►Specialised environments & tools 23