SlideShare ist ein Scribd-Unternehmen logo
1 von 19
Downloaden Sie, um offline zu lesen
Motivation                 OMDoc for Ontologies                 Evaluation                 Metadata                   Conclusion




                          A Mathematical Approach to
                     Ontology Authoring and Documentation
                                                       FGWM 2009


                                 Christoph Lange and Michael Kohlhase

                                            Jacobs University, Bremen, Germany
                             KWARC – Knowledge Adaptation and Reasoning for Content


                                                 September 22, 2009




Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009      1/19
Motivation                 OMDoc for Ontologies                 Evaluation                 Metadata                   Conclusion


  Overview


           Shortcomings of OWL (Web Ontology Language) w. r. t.
           documentation:
                   limited expressivity
                   poor modularity
                   no full integrated documentation
           Those problems (and solutions!) are known from other fields:
                   MKM (Mathematical Knowledge Management)
                   Software Engineering (program comprehension, software
                   documentation, UML, literate programming)
           ⇒ improve ontology engineering that way!
           Concretely: engineer OWL ontologies in our mathematical markup
           language OMDoc



Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009      2/19
Motivation                 OMDoc for Ontologies                 Evaluation                 Metadata                   Conclusion


  Semantic Web Ontologies




           Semantic Web: the web of data and intelligent agents
           Ontology (there): formalization of a shared conceptualization
           mostly implemented in decidable FOL subsets
           Web Ontology Language (OWL): description logic
           not just decidable, but also tractable sublogics of OWL




Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009      3/19
Motivation                 OMDoc for Ontologies                 Evaluation                 Metadata                   Conclusion


  Lack of Expressivity


   What if the world is more complex than your logic?
       1   dumb the model down to the logic used (e. g. DOLCE in OWL)
       2   add informal documentation of how things actually are

   Example
   Example from FOAF (Friend-of-a-Friend): foaf:membershipClass
   “All foaf:members of this foaf:Group have to be instances of the class C”
   Too complex for OWL ⇒ specified in lengthy, ambiguous natural language
   (targets: authors and developers)

   Problem is not just lack of expressivity, but also lack of modularity, and of
   integrated documentation in general.


Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009      4/19
Motivation                 OMDoc for Ontologies                 Evaluation                 Metadata                   Conclusion


  Correspondences . . .


     OMDoc/MKM                     OWL/Ontology                                What is it?
     Symbols                       Entities (classes, prop-                    “atoms”
                                   erties, individuals)
     Statements                    Axioms/Rules                                state (= define or assert)
                                                                               properties of symbols
     Theories                      Ontologies                                  collections of related
                                                                               symbols/statements
                                                                               their “deductive closure”
                                                                               often modularized




Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009      5/19
Motivation                 OMDoc for Ontologies                 Evaluation                 Metadata                   Conclusion


  . . . and Differences
   Expressivity:
       OMDoc: logically uncommitted, can implement any logic as theory
                    heterogeneity
          OWL: at most SROIQ (a DL), or subsets
   Modularity:
       OMDoc: theory morphisms (symbol/formula mappings), parametric
                 theories
          OWL: import complete ontologies, and import them literally (rarely
                 used)
   Documentation support:
       OMDoc: literate programming; documentation in any granularity
          OWL: attach strings to entities and ontologies
                 OWL 2: also axioms
                 more? – in theory (reification, named graphs, XML literals,
                 RDFa), but not in practice
Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009      6/19
Motivation                 OMDoc for Ontologies                 Evaluation                 Metadata                   Conclusion


  OMDoc as a Semantic Web Ontology Language


   Prerequisites are satisfied: URIs as identifiers, any logical foundation can be
   formalized
   Plan:
       1   model OWL and its foundations RDFS and RDF (we go this way for
           compatibility!) as OMDoc theories
       2   introduce import syntax and semantics for referencing semantic web
           ontologies from OMDoc
       3   translate ontologies from OMDoc to the RDF syntax of OWL (to reuse
           existing reasoners), and back




Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009      7/19
Motivation                 OMDoc for Ontologies                 Evaluation                 Metadata                   Conclusion


  1. Knowledge Representation


           implemented OMDoc theories for RDF, RDFS, and OWL, which declare
           all of their symbols
           most elementar representation: RDF triples = predicate(subject, object)
           axioms
           syntactic sugar for frequently used constructs:
                   individuals that are instances of classes: use OMDoc’s typing syntax
                   Michael Person
                   compound types for properties:
                   knows ObjectProperty(Person → Person)
                   more to come (subclasses, subproperties, . . . )
           can distinguish between declared and inferred knowledge
           (definition/axiom vs. theorem; “provenance”), can model proofs


Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009      8/19
Motivation                 OMDoc for Ontologies                 Evaluation                 Metadata                   Conclusion


  Example
   A well-known DL axiom: Student = Person ≥ 1 enrolledIn
   <theory name= " u n i v e r s i t y " >
     <imports from= " owl . omdoc# owl " / > <imports from= " f o a f . omdoc# f o a f " / >
     <omtext type= " i n t r o d u c t i o n " ><CMP> F o r our o n t o l o g y , we f i r s t i m p o r t
         FOAF and then i n t r o d u c e t h e c o n c ep t o f a s t u d e n t . . . . < /CMP>< / omtext>
     <symbol name= " S t u d e n t " x m l : i d = " s t u d e n t . sym " >
         <metadata>
            <meta p r o p e r t y = " d c : d e s c r i p t i o n " >A s t u d e n t < / meta>< / metadata>
         <type system= " owl " >
            <OMOBJ xmlns= " h t t p : / /www. openmath . org / OpenMath " >
                 <OMS cd= " owl " name= " C l a s s " / >< / OMOBJ>< / type>
     < / symbol>
     < d e f i n i t i o n f o r = " # s t u d e n t . sym " type= " s i m p l e " >
         <CMP>A s t u d e n t i s a p e r s o n who i s e n r o l l e d a t l e a s t once . < /CMP>
         <OMOBJ xmlns= " h t t p : / /www. openmath . org / OpenMath " >
            <OMA><OMS cd= " owl " name= " i n t e r s e c t i o n O f " / >
                       <OMS cd= " f o a f " name= " P e r s o n " / >
                       <OMA><OMS cd= " owl " name= " R e s t r i c t i o n " / >
                               <OMS cd= " u n i v e r s i t y " name= " e n r o l l e d I n " / >
                               <OMA><OMS cd= " owl " name= " m i n C a r d i n a l i t y " / >
                                         <OMI>1< / OMI>< /OMA>< /OMA>< /OMA>< / OMOBJ>
     < / d e f i n i t i o n >< / theory>

Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009      9/19
Motivation                 OMDoc for Ontologies                 Evaluation                 Metadata                   Conclusion


  Example (nicer)




Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009      10/19
Motivation                 OMDoc for Ontologies                 Evaluation                 Metadata                   Conclusion


  2. Connecting OMDoc and Semantic Web URIs


          OMDoc: theory graph URI → theory name → symbol name
   Semantic Web: namespace URI → local name (like XML)
   Writing ontologies from scratch in OMDoc → no problem                                          !
   But how to reimplement or reference existing semantic web ontologies?
   <theory name= " f o a f " >
       <metadata>
           < ! −− mapping from theory t o namespace U R I −−>
           < l i n k r e l = " odo:semWebBase " h r e f = " h t t p : / / xmlns . com / f o a f / 0 . 1 / " / >
       < / metadata>
   < / theory>

   Simplest migration path: start with this mapping only, OMDocify the whole
   rest later


Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009      11/19
Motivation                 OMDoc for Ontologies                 Evaluation                 Metadata                   Conclusion


  3. Compatibility to Reasoners etc.
   Efficient DL reasoners and other ontology tools (e. g. visualization) don’t
   support OMDoc – be compatible with them
         extended our Krextor XML→RDF extraction framework to
         OMDoc→OWL; implemented OWL/RDF→OMDoc (bootstrap editing)
         formally specified (in OMDoc, of course ) how our syntactic sugar
         breaks down to RDF
   <file:.../uni.omdoc?university>
           rdf:type owl:Ontology ;
           owl:imports foaf: .
   <file:.../uni.omdoc?university?Student>
           rdf:type owl:Class ;
           owl:equivalentClass _:d24e43 .
   _:d24e43
           owl:intersectionOf _:collection-d24e44 .
   _:collection-d24e44
           rdf:first foaf:Person ;
           rdf:rest _:collection-d24e44-1 .
   _:collection-d24e44-1
           rdf:first _:d24e47 ;
           rdf:rest rdf:nil .
   _:d24e47
           rdf:type owl:Restriction ;
           owl:onProperty <file:.../uni.omdoc?university?enrolledIn> ;
           owl:minCardinality "1"^^xsd:nonNegativeInteger .

Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009      12/19
Motivation                 OMDoc for Ontologies                 Evaluation                 Metadata                   Conclusion


  Presenting Documentation

   OMDoc has an elaborate adaptive presentation framework (JOMDoc,
   http://jomdoc.omdoc.org) – use it
           define notations for our logical symbols
           many context-dependent alternatives possible, compare
           Student = Person ≥ 1 enrolledIn to Manchester syntax:
            C l a s s : Student
                E q u i v a l e n t T o : P e r s o n t h a t e n r o l l e d I n min 1

           Output contains interlinked presentation and semantic markup
           (“parallel markup”; preserves semantic structure)
           can use that for interactive navigation, e. g. definition lookup (“what
           does mean again?” → JOBAD,
           http://jomdoc.omdoc.org/wiki/AI-Mashup)


Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009      13/19
Motivation                 OMDoc for Ontologies                 Evaluation                 Metadata                   Conclusion


  FOAF Rewritten and Presented in OMDoc




Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009      14/19
Motivation                 OMDoc for Ontologies                 Evaluation                 Metadata                   Conclusion


  Evaluation: FOAF reimplemented in OMDoc

       1   FOAF references other ontologies without importing them. More
           support with OMDoc.
       2   Could turn all source code <!-- comments --> (e. g. section
           headers) into proper documentation and document structure
       3   Some comments attached to individual axioms – no problem with
           OMDoc’s literate programming
       4   Better handling of inverse properties, e. g. foaf:maker = foaf:made−
           Define one direction, infer the other (and more facts about the inverse)
       5   non-OWL semantics of foaf:membershipClass expressed in FOL
       6   some relations to imported entities not stated properly (foaf:maker vs.
           dc:creator) – solved by views
       7   FOAF’s documentation contains completely informal sections – we
           could seamlessly integrate them with the formal part

Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009      15/19
Motivation                 OMDoc for Ontologies                 Evaluation                 Metadata                   Conclusion


  Scalable Metadata for Technical Specifications


   Metadata not only needed for documenting ontologies, but also for
   technical specifications (e. g. revision logs), digital libraries, etc.
    OMDoc 1.2                                OMDoc 1.6
    custom XML syntax                        using RDFa, old syntax for com-
                                             patibility
    from statements upwards                  also inside formulæ
    few vocabularies hard-coded (DC, can use any URI-based vocabulary
    CC, plus ad hoc extensions)
    not extensible                           can even define new vocabularies
                                             in OMDoc
    formal semantics not clear               rely on metadata ontologies



Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009      16/19
Motivation                 OMDoc for Ontologies                 Evaluation                 Metadata                   Conclusion


  Challenges and Future Work

           High expressivity and good documentation ⇒ extremely verbose.
           Need good editor support. Plan: extend OMDoc-aware semantic wiki
           SWiM for ontologies, “invade” [Collaborative] Protégé and word
           processors
           Ontology documentation approaches:
                   add documentation to existing ontologies
                   formalize informal documents into ontologies
                   collaborative development
           Mathematically define syntactic macros (and β-reduce them when
           generating OWL) – no longer limited to OWL’s syntactic sugar
           Do the same for other ontology languages
           Evaluate with industry-scale ontologies


Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009      17/19
Motivation                 OMDoc for Ontologies                 Evaluation                 Metadata                   Conclusion


  FOAF made interactive using OMDoc and JOBAD




Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009      18/19
Motivation                 OMDoc for Ontologies                 Evaluation                 Metadata                   Conclusion


  Conclusion



           We apply technology from (MK)M for M(KM).
           Ontology engineering can benefit from better documentation (and
           more explicit modularity/heterogeneity)
           Scalable metadata approach for any semantic markup
           (What semantic markup do you use?)

                                    See our poster and discuss!




Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009      19/19

Weitere ähnliche Inhalte

Mehr von Christoph Lange

OSCOSS: Opening Scholarly Communication in Social Sciences
OSCOSS: Opening Scholarly Communication in Social SciencesOSCOSS: Opening Scholarly Communication in Social Sciences
OSCOSS: Opening Scholarly Communication in Social SciencesChristoph Lange
 
WDAqua ITN – Answering Questions using Web Data
WDAqua ITN – Answering Questions using Web DataWDAqua ITN – Answering Questions using Web Data
WDAqua ITN – Answering Questions using Web DataChristoph Lange
 
Machine Support for Interacting with Scientific Publications Improving Inform...
Machine Support for Interacting with Scientific Publications Improving Inform...Machine Support for Interacting with Scientific Publications Improving Inform...
Machine Support for Interacting with Scientific Publications Improving Inform...Christoph Lange
 
Interlinking Data and Knowledge in Enterprises, Research and Society with Lin...
Interlinking Data and Knowledge in Enterprises, Research and Society with Lin...Interlinking Data and Knowledge in Enterprises, Research and Society with Lin...
Interlinking Data and Knowledge in Enterprises, Research and Society with Lin...Christoph Lange
 
Linked Open (Geo)Data and the Distributed Ontology Language – a perfect match
Linked Open (Geo)Data and the Distributed Ontology Language – a perfect matchLinked Open (Geo)Data and the Distributed Ontology Language – a perfect match
Linked Open (Geo)Data and the Distributed Ontology Language – a perfect matchChristoph Lange
 
Linking Big Data to Rich Process Descriptions
Linking Big Data to Rich Process DescriptionsLinking Big Data to Rich Process Descriptions
Linking Big Data to Rich Process DescriptionsChristoph Lange
 
The Distributed Ontology Language (DOL): Use Cases, Syntax, and Extensibility
The Distributed Ontology Language (DOL): Use Cases, Syntax, and ExtensibilityThe Distributed Ontology Language (DOL): Use Cases, Syntax, and Extensibility
The Distributed Ontology Language (DOL): Use Cases, Syntax, and ExtensibilityChristoph Lange
 
Bringing Mathematics To the Web of Data: the Case of the Mathematics Subject ...
Bringing Mathematics To the Web of Data: the Case of the Mathematics Subject ...Bringing Mathematics To the Web of Data: the Case of the Mathematics Subject ...
Bringing Mathematics To the Web of Data: the Case of the Mathematics Subject ...Christoph Lange
 
Semantic Web Technology: The Key to Making Scientific Information Systems Social
Semantic Web Technology: The Key to Making Scientific Information Systems SocialSemantic Web Technology: The Key to Making Scientific Information Systems Social
Semantic Web Technology: The Key to Making Scientific Information Systems SocialChristoph Lange
 
TCP – zuverlässiger Ende-zu-Ende-Datenstrom
TCP – zuverlässiger Ende-zu-Ende-DatenstromTCP – zuverlässiger Ende-zu-Ende-Datenstrom
TCP – zuverlässiger Ende-zu-Ende-DatenstromChristoph Lange
 
Making Heterogeneous Ontologies Interoperable Through Standardisation
Making Heterogeneous Ontologies Interoperable Through StandardisationMaking Heterogeneous Ontologies Interoperable Through Standardisation
Making Heterogeneous Ontologies Interoperable Through StandardisationChristoph Lange
 
Previewing OWL Changes and Refactorings Using a Flexible XML Database
Previewing OWL Changes and Refactorings Using a Flexible XML DatabasePreviewing OWL Changes and Refactorings Using a Flexible XML Database
Previewing OWL Changes and Refactorings Using a Flexible XML DatabaseChristoph Lange
 
JOBAD – Interactive Mathematical Documents
JOBAD – Interactive Mathematical DocumentsJOBAD – Interactive Mathematical Documents
JOBAD – Interactive Mathematical DocumentsChristoph Lange
 
Publishing Math Lecture Notes as Linked Data
Publishing Math Lecture Notes as Linked DataPublishing Math Lecture Notes as Linked Data
Publishing Math Lecture Notes as Linked DataChristoph Lange
 
Ontology Integration and Interoperability (OntoIOp) – Part 1: The Distributed...
Ontology Integration and Interoperability (OntoIOp) – Part 1: The Distributed...Ontology Integration and Interoperability (OntoIOp) – Part 1: The Distributed...
Ontology Integration and Interoperability (OntoIOp) – Part 1: The Distributed...Christoph Lange
 
Ontology Integration and Interoperability (OntoIOp) – Part 1: The Distributed...
Ontology Integration and Interoperability (OntoIOp) – Part 1: The Distributed...Ontology Integration and Interoperability (OntoIOp) – Part 1: The Distributed...
Ontology Integration and Interoperability (OntoIOp) – Part 1: The Distributed...Christoph Lange
 
Processing and Publishing Content Math with JOMDoc and JOBAD
Processing and Publishing Content Math with JOMDoc and JOBADProcessing and Publishing Content Math with JOMDoc and JOBAD
Processing and Publishing Content Math with JOMDoc and JOBADChristoph Lange
 
TNTBase – a Versioned Database for XML (Mathematical) Documents
TNTBase – a Versioned Database for XML (Mathematical) DocumentsTNTBase – a Versioned Database for XML (Mathematical) Documents
TNTBase – a Versioned Database for XML (Mathematical) DocumentsChristoph Lange
 
A Mathematical Approach to Ontology Authoring and Documentation
A Mathematical Approach to Ontology Authoring and DocumentationA Mathematical Approach to Ontology Authoring and Documentation
A Mathematical Approach to Ontology Authoring and DocumentationChristoph Lange
 
Web-2.0-Forschung der KWARC-Gruppe
Web-2.0-Forschung der KWARC-GruppeWeb-2.0-Forschung der KWARC-Gruppe
Web-2.0-Forschung der KWARC-GruppeChristoph Lange
 

Mehr von Christoph Lange (20)

OSCOSS: Opening Scholarly Communication in Social Sciences
OSCOSS: Opening Scholarly Communication in Social SciencesOSCOSS: Opening Scholarly Communication in Social Sciences
OSCOSS: Opening Scholarly Communication in Social Sciences
 
WDAqua ITN – Answering Questions using Web Data
WDAqua ITN – Answering Questions using Web DataWDAqua ITN – Answering Questions using Web Data
WDAqua ITN – Answering Questions using Web Data
 
Machine Support for Interacting with Scientific Publications Improving Inform...
Machine Support for Interacting with Scientific Publications Improving Inform...Machine Support for Interacting with Scientific Publications Improving Inform...
Machine Support for Interacting with Scientific Publications Improving Inform...
 
Interlinking Data and Knowledge in Enterprises, Research and Society with Lin...
Interlinking Data and Knowledge in Enterprises, Research and Society with Lin...Interlinking Data and Knowledge in Enterprises, Research and Society with Lin...
Interlinking Data and Knowledge in Enterprises, Research and Society with Lin...
 
Linked Open (Geo)Data and the Distributed Ontology Language – a perfect match
Linked Open (Geo)Data and the Distributed Ontology Language – a perfect matchLinked Open (Geo)Data and the Distributed Ontology Language – a perfect match
Linked Open (Geo)Data and the Distributed Ontology Language – a perfect match
 
Linking Big Data to Rich Process Descriptions
Linking Big Data to Rich Process DescriptionsLinking Big Data to Rich Process Descriptions
Linking Big Data to Rich Process Descriptions
 
The Distributed Ontology Language (DOL): Use Cases, Syntax, and Extensibility
The Distributed Ontology Language (DOL): Use Cases, Syntax, and ExtensibilityThe Distributed Ontology Language (DOL): Use Cases, Syntax, and Extensibility
The Distributed Ontology Language (DOL): Use Cases, Syntax, and Extensibility
 
Bringing Mathematics To the Web of Data: the Case of the Mathematics Subject ...
Bringing Mathematics To the Web of Data: the Case of the Mathematics Subject ...Bringing Mathematics To the Web of Data: the Case of the Mathematics Subject ...
Bringing Mathematics To the Web of Data: the Case of the Mathematics Subject ...
 
Semantic Web Technology: The Key to Making Scientific Information Systems Social
Semantic Web Technology: The Key to Making Scientific Information Systems SocialSemantic Web Technology: The Key to Making Scientific Information Systems Social
Semantic Web Technology: The Key to Making Scientific Information Systems Social
 
TCP – zuverlässiger Ende-zu-Ende-Datenstrom
TCP – zuverlässiger Ende-zu-Ende-DatenstromTCP – zuverlässiger Ende-zu-Ende-Datenstrom
TCP – zuverlässiger Ende-zu-Ende-Datenstrom
 
Making Heterogeneous Ontologies Interoperable Through Standardisation
Making Heterogeneous Ontologies Interoperable Through StandardisationMaking Heterogeneous Ontologies Interoperable Through Standardisation
Making Heterogeneous Ontologies Interoperable Through Standardisation
 
Previewing OWL Changes and Refactorings Using a Flexible XML Database
Previewing OWL Changes and Refactorings Using a Flexible XML DatabasePreviewing OWL Changes and Refactorings Using a Flexible XML Database
Previewing OWL Changes and Refactorings Using a Flexible XML Database
 
JOBAD – Interactive Mathematical Documents
JOBAD – Interactive Mathematical DocumentsJOBAD – Interactive Mathematical Documents
JOBAD – Interactive Mathematical Documents
 
Publishing Math Lecture Notes as Linked Data
Publishing Math Lecture Notes as Linked DataPublishing Math Lecture Notes as Linked Data
Publishing Math Lecture Notes as Linked Data
 
Ontology Integration and Interoperability (OntoIOp) – Part 1: The Distributed...
Ontology Integration and Interoperability (OntoIOp) – Part 1: The Distributed...Ontology Integration and Interoperability (OntoIOp) – Part 1: The Distributed...
Ontology Integration and Interoperability (OntoIOp) – Part 1: The Distributed...
 
Ontology Integration and Interoperability (OntoIOp) – Part 1: The Distributed...
Ontology Integration and Interoperability (OntoIOp) – Part 1: The Distributed...Ontology Integration and Interoperability (OntoIOp) – Part 1: The Distributed...
Ontology Integration and Interoperability (OntoIOp) – Part 1: The Distributed...
 
Processing and Publishing Content Math with JOMDoc and JOBAD
Processing and Publishing Content Math with JOMDoc and JOBADProcessing and Publishing Content Math with JOMDoc and JOBAD
Processing and Publishing Content Math with JOMDoc and JOBAD
 
TNTBase – a Versioned Database for XML (Mathematical) Documents
TNTBase – a Versioned Database for XML (Mathematical) DocumentsTNTBase – a Versioned Database for XML (Mathematical) Documents
TNTBase – a Versioned Database for XML (Mathematical) Documents
 
A Mathematical Approach to Ontology Authoring and Documentation
A Mathematical Approach to Ontology Authoring and DocumentationA Mathematical Approach to Ontology Authoring and Documentation
A Mathematical Approach to Ontology Authoring and Documentation
 
Web-2.0-Forschung der KWARC-Gruppe
Web-2.0-Forschung der KWARC-GruppeWeb-2.0-Forschung der KWARC-Gruppe
Web-2.0-Forschung der KWARC-Gruppe
 

Kürzlich hochgeladen

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 

Kürzlich hochgeladen (20)

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 

A Mathematical Approach to Ontology Authoring and Documentation

  • 1. Motivation OMDoc for Ontologies Evaluation Metadata Conclusion A Mathematical Approach to Ontology Authoring and Documentation FGWM 2009 Christoph Lange and Michael Kohlhase Jacobs University, Bremen, Germany KWARC – Knowledge Adaptation and Reasoning for Content September 22, 2009 Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009 1/19
  • 2. Motivation OMDoc for Ontologies Evaluation Metadata Conclusion Overview Shortcomings of OWL (Web Ontology Language) w. r. t. documentation: limited expressivity poor modularity no full integrated documentation Those problems (and solutions!) are known from other fields: MKM (Mathematical Knowledge Management) Software Engineering (program comprehension, software documentation, UML, literate programming) ⇒ improve ontology engineering that way! Concretely: engineer OWL ontologies in our mathematical markup language OMDoc Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009 2/19
  • 3. Motivation OMDoc for Ontologies Evaluation Metadata Conclusion Semantic Web Ontologies Semantic Web: the web of data and intelligent agents Ontology (there): formalization of a shared conceptualization mostly implemented in decidable FOL subsets Web Ontology Language (OWL): description logic not just decidable, but also tractable sublogics of OWL Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009 3/19
  • 4. Motivation OMDoc for Ontologies Evaluation Metadata Conclusion Lack of Expressivity What if the world is more complex than your logic? 1 dumb the model down to the logic used (e. g. DOLCE in OWL) 2 add informal documentation of how things actually are Example Example from FOAF (Friend-of-a-Friend): foaf:membershipClass “All foaf:members of this foaf:Group have to be instances of the class C” Too complex for OWL ⇒ specified in lengthy, ambiguous natural language (targets: authors and developers) Problem is not just lack of expressivity, but also lack of modularity, and of integrated documentation in general. Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009 4/19
  • 5. Motivation OMDoc for Ontologies Evaluation Metadata Conclusion Correspondences . . . OMDoc/MKM OWL/Ontology What is it? Symbols Entities (classes, prop- “atoms” erties, individuals) Statements Axioms/Rules state (= define or assert) properties of symbols Theories Ontologies collections of related symbols/statements their “deductive closure” often modularized Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009 5/19
  • 6. Motivation OMDoc for Ontologies Evaluation Metadata Conclusion . . . and Differences Expressivity: OMDoc: logically uncommitted, can implement any logic as theory heterogeneity OWL: at most SROIQ (a DL), or subsets Modularity: OMDoc: theory morphisms (symbol/formula mappings), parametric theories OWL: import complete ontologies, and import them literally (rarely used) Documentation support: OMDoc: literate programming; documentation in any granularity OWL: attach strings to entities and ontologies OWL 2: also axioms more? – in theory (reification, named graphs, XML literals, RDFa), but not in practice Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009 6/19
  • 7. Motivation OMDoc for Ontologies Evaluation Metadata Conclusion OMDoc as a Semantic Web Ontology Language Prerequisites are satisfied: URIs as identifiers, any logical foundation can be formalized Plan: 1 model OWL and its foundations RDFS and RDF (we go this way for compatibility!) as OMDoc theories 2 introduce import syntax and semantics for referencing semantic web ontologies from OMDoc 3 translate ontologies from OMDoc to the RDF syntax of OWL (to reuse existing reasoners), and back Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009 7/19
  • 8. Motivation OMDoc for Ontologies Evaluation Metadata Conclusion 1. Knowledge Representation implemented OMDoc theories for RDF, RDFS, and OWL, which declare all of their symbols most elementar representation: RDF triples = predicate(subject, object) axioms syntactic sugar for frequently used constructs: individuals that are instances of classes: use OMDoc’s typing syntax Michael Person compound types for properties: knows ObjectProperty(Person → Person) more to come (subclasses, subproperties, . . . ) can distinguish between declared and inferred knowledge (definition/axiom vs. theorem; “provenance”), can model proofs Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009 8/19
  • 9. Motivation OMDoc for Ontologies Evaluation Metadata Conclusion Example A well-known DL axiom: Student = Person ≥ 1 enrolledIn <theory name= " u n i v e r s i t y " > <imports from= " owl . omdoc# owl " / > <imports from= " f o a f . omdoc# f o a f " / > <omtext type= " i n t r o d u c t i o n " ><CMP> F o r our o n t o l o g y , we f i r s t i m p o r t FOAF and then i n t r o d u c e t h e c o n c ep t o f a s t u d e n t . . . . < /CMP>< / omtext> <symbol name= " S t u d e n t " x m l : i d = " s t u d e n t . sym " > <metadata> <meta p r o p e r t y = " d c : d e s c r i p t i o n " >A s t u d e n t < / meta>< / metadata> <type system= " owl " > <OMOBJ xmlns= " h t t p : / /www. openmath . org / OpenMath " > <OMS cd= " owl " name= " C l a s s " / >< / OMOBJ>< / type> < / symbol> < d e f i n i t i o n f o r = " # s t u d e n t . sym " type= " s i m p l e " > <CMP>A s t u d e n t i s a p e r s o n who i s e n r o l l e d a t l e a s t once . < /CMP> <OMOBJ xmlns= " h t t p : / /www. openmath . org / OpenMath " > <OMA><OMS cd= " owl " name= " i n t e r s e c t i o n O f " / > <OMS cd= " f o a f " name= " P e r s o n " / > <OMA><OMS cd= " owl " name= " R e s t r i c t i o n " / > <OMS cd= " u n i v e r s i t y " name= " e n r o l l e d I n " / > <OMA><OMS cd= " owl " name= " m i n C a r d i n a l i t y " / > <OMI>1< / OMI>< /OMA>< /OMA>< /OMA>< / OMOBJ> < / d e f i n i t i o n >< / theory> Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009 9/19
  • 10. Motivation OMDoc for Ontologies Evaluation Metadata Conclusion Example (nicer) Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009 10/19
  • 11. Motivation OMDoc for Ontologies Evaluation Metadata Conclusion 2. Connecting OMDoc and Semantic Web URIs OMDoc: theory graph URI → theory name → symbol name Semantic Web: namespace URI → local name (like XML) Writing ontologies from scratch in OMDoc → no problem ! But how to reimplement or reference existing semantic web ontologies? <theory name= " f o a f " > <metadata> < ! −− mapping from theory t o namespace U R I −−> < l i n k r e l = " odo:semWebBase " h r e f = " h t t p : / / xmlns . com / f o a f / 0 . 1 / " / > < / metadata> < / theory> Simplest migration path: start with this mapping only, OMDocify the whole rest later Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009 11/19
  • 12. Motivation OMDoc for Ontologies Evaluation Metadata Conclusion 3. Compatibility to Reasoners etc. Efficient DL reasoners and other ontology tools (e. g. visualization) don’t support OMDoc – be compatible with them extended our Krextor XML→RDF extraction framework to OMDoc→OWL; implemented OWL/RDF→OMDoc (bootstrap editing) formally specified (in OMDoc, of course ) how our syntactic sugar breaks down to RDF <file:.../uni.omdoc?university> rdf:type owl:Ontology ; owl:imports foaf: . <file:.../uni.omdoc?university?Student> rdf:type owl:Class ; owl:equivalentClass _:d24e43 . _:d24e43 owl:intersectionOf _:collection-d24e44 . _:collection-d24e44 rdf:first foaf:Person ; rdf:rest _:collection-d24e44-1 . _:collection-d24e44-1 rdf:first _:d24e47 ; rdf:rest rdf:nil . _:d24e47 rdf:type owl:Restriction ; owl:onProperty <file:.../uni.omdoc?university?enrolledIn> ; owl:minCardinality "1"^^xsd:nonNegativeInteger . Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009 12/19
  • 13. Motivation OMDoc for Ontologies Evaluation Metadata Conclusion Presenting Documentation OMDoc has an elaborate adaptive presentation framework (JOMDoc, http://jomdoc.omdoc.org) – use it define notations for our logical symbols many context-dependent alternatives possible, compare Student = Person ≥ 1 enrolledIn to Manchester syntax: C l a s s : Student E q u i v a l e n t T o : P e r s o n t h a t e n r o l l e d I n min 1 Output contains interlinked presentation and semantic markup (“parallel markup”; preserves semantic structure) can use that for interactive navigation, e. g. definition lookup (“what does mean again?” → JOBAD, http://jomdoc.omdoc.org/wiki/AI-Mashup) Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009 13/19
  • 14. Motivation OMDoc for Ontologies Evaluation Metadata Conclusion FOAF Rewritten and Presented in OMDoc Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009 14/19
  • 15. Motivation OMDoc for Ontologies Evaluation Metadata Conclusion Evaluation: FOAF reimplemented in OMDoc 1 FOAF references other ontologies without importing them. More support with OMDoc. 2 Could turn all source code <!-- comments --> (e. g. section headers) into proper documentation and document structure 3 Some comments attached to individual axioms – no problem with OMDoc’s literate programming 4 Better handling of inverse properties, e. g. foaf:maker = foaf:made− Define one direction, infer the other (and more facts about the inverse) 5 non-OWL semantics of foaf:membershipClass expressed in FOL 6 some relations to imported entities not stated properly (foaf:maker vs. dc:creator) – solved by views 7 FOAF’s documentation contains completely informal sections – we could seamlessly integrate them with the formal part Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009 15/19
  • 16. Motivation OMDoc for Ontologies Evaluation Metadata Conclusion Scalable Metadata for Technical Specifications Metadata not only needed for documenting ontologies, but also for technical specifications (e. g. revision logs), digital libraries, etc. OMDoc 1.2 OMDoc 1.6 custom XML syntax using RDFa, old syntax for com- patibility from statements upwards also inside formulæ few vocabularies hard-coded (DC, can use any URI-based vocabulary CC, plus ad hoc extensions) not extensible can even define new vocabularies in OMDoc formal semantics not clear rely on metadata ontologies Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009 16/19
  • 17. Motivation OMDoc for Ontologies Evaluation Metadata Conclusion Challenges and Future Work High expressivity and good documentation ⇒ extremely verbose. Need good editor support. Plan: extend OMDoc-aware semantic wiki SWiM for ontologies, “invade” [Collaborative] Protégé and word processors Ontology documentation approaches: add documentation to existing ontologies formalize informal documents into ontologies collaborative development Mathematically define syntactic macros (and β-reduce them when generating OWL) – no longer limited to OWL’s syntactic sugar Do the same for other ontology languages Evaluate with industry-scale ontologies Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009 17/19
  • 18. Motivation OMDoc for Ontologies Evaluation Metadata Conclusion FOAF made interactive using OMDoc and JOBAD Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009 18/19
  • 19. Motivation OMDoc for Ontologies Evaluation Metadata Conclusion Conclusion We apply technology from (MK)M for M(KM). Ontology engineering can benefit from better documentation (and more explicit modularity/heterogeneity) Scalable metadata approach for any semantic markup (What semantic markup do you use?) See our poster and discuss! Lange/Kohlhase (Jacobs University) A Mathematical Approach to Ontology Authoring and Documentation September 22, 2009 19/19