SlideShare a Scribd company logo
1 of 15
Download to read offline
Math. Sem. Wikis    OpenMath      Author/Navigate/Present   SWiM       Rendering Notations    Related    Conclusion




   Mathematical Semantic Markup in a Wiki: the Roles of
                 Symbols and Notations
                        3rd Semantic Wiki Workshop, ESWC 2008


                                            Christoph Lange

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

             Digital Enterprise Research Institute, National University of Ireland, Galway


                                               June 2, 2008



    Ch. Lange (Jacobs University/DERI)               Mathematical Semantic Markup in a Wiki        June 2, 2008   1
Math. Sem. Wikis    OpenMath      Author/Navigate/Present   SWiM       Rendering Notations    Related    Conclusion



Overview



        Mathematical notation is surprisingly ambiguous and diverse. It’s
        hard to make the semantics of a mathematical formula explicit.
        Semantic markup is a well-established solution – but not yet on the
        social semantic web!
        We’ve made OpenMath markup usable in a semantic wiki
        . . . and gain as a benefit an improved editing of definitions of
        symbols and their notation.




    Ch. Lange (Jacobs University/DERI)               Mathematical Semantic Markup in a Wiki        June 2, 2008   2
Math. Sem. Wikis    OpenMath      Author/Navigate/Present   SWiM       Rendering Notations    Related    Conclusion



Making Mathematical Wikis more Semantic


Why mathematics?
        foundational science for science, technology, and engineering
What does a wiki need to support mathematics semantically?
         A
        LTEX formulæ often supported, e. g. in Wikipedia or PlanetMath
        What does O(n2 + n) mean? – How many meanings can you
        identify?




    Ch. Lange (Jacobs University/DERI)               Mathematical Semantic Markup in a Wiki        June 2, 2008   3
Math. Sem. Wikis    OpenMath      Author/Navigate/Present   SWiM       Rendering Notations    Related    Conclusion



Making Mathematical Wikis more Semantic


Why mathematics?
        foundational science for science, technology, and engineering
What does a wiki need to support mathematics semantically?
         A
        LTEX formulæ often supported, e. g. in Wikipedia or PlanetMath
        What does O(n2 + n) mean? – How many meanings can you
        identify?
           1   O times n2 + n
           2   function O applied to n2 + n
           3   Landau symbol: the set of all integer functions not growing faster than
               n2 + n
        (3) is obvious?! – Let’s make it obvious!



    Ch. Lange (Jacobs University/DERI)               Mathematical Semantic Markup in a Wiki        June 2, 2008   3
Math. Sem. Wikis    OpenMath      Author/Navigate/Present   SWiM       Rendering Notations    Related    Conclusion



Content Dictionaries


How to make explicit that O is a function set constructor?
        Define a vocabulary of mathematical symbols (cf. RDFS), a Content
        Dictionary (CD)
        E. g. a “function set” CD; agents can unambiguously refer to
        http://math-vocabulary.org/function-sets#Landau_O
        Formal CDs themselves contain mathematical formulæ, using
        previously defined symbols
        They are mathematical documents ⇒ make them collaboratively
        editable, too!




    Ch. Lange (Jacobs University/DERI)               Mathematical Semantic Markup in a Wiki        June 2, 2008   4
Math. Sem. Wikis    OpenMath      Author/Navigate/Present   SWiM       Rendering Notations    Related    Conclusion



Semantic Markup with OpenMath

        OpenMath expresses the logical structure of a formula:
        Sublanguage for Content Dictionaries:
               symbol name (→ URI)
               informal description
               additional properties (e. g. formal definition, axioms)
               examples
               other metadata (Dublin Core etc.)
               human-readable notations (more about this later)
        Applications:
               modular ontologies for data exchange between computer algebra
               systems or automated theorem provers (→ following talk)
               Multilingual publishing
               Adaptive learning applications
               Web formula search engines
        OpenMath 3 to be aligned with MathML3 (W3C)

    Ch. Lange (Jacobs University/DERI)               Mathematical Semantic Markup in a Wiki        June 2, 2008   5
Math. Sem. Wikis    OpenMath      Author/Navigate/Present   SWiM       Rendering Notations    Related    Conclusion



A Daunting Example

<CDDefinition>
  <Name>sin</Name>
  <Description>The sine function on real numbers</Description>
  <CMP>The sine function is defined in terms of the exponential function as
   sin x = 1 (e ix − e −ix ).</CMP>
           2
  <FMP>
    <OMOBJ xmlns="http://www.openmath.org/OpenMath"
      version="2.0" cdbase="http://www.openmath.org/cd">
       <OMA><OMS cd="relation1" name="eq"/>
         <OMA><OMS name="sin" cd="transc1"/>
           <OMV name="x"/></OMA>
         <OMA><OMS name="divide" cd="arith1"/>
           <OMA><OMS name="minus" cd="arith1"/>
              <OMA><OMS name="exp" cd="transc1"/>
                  <OMA><OMS name="times" cd="arith1"/>
                    <OMS name="i" cd="nums1"/>
                    <OMV name="x"/></OMA></OMA>
              <OMA><OMS name="exp" cd="transc1"/>
                  <OMA><OMS name="times" cd="arith1"/>
                    <OMA><OMS name="unary_minus" cd="arith1"/>
                      <OMS name="i" cd="nums1"/></OMA>
                    <OMV name="x"/></OMA></OMA></OMA>
           <OMA><OMS name="times" cd="arith1"/>
              <OMI>2</OMI>
              <OMS name="i" cd="nums1"/></OMA></OMA></OMA></OMOBJ></FMP>
</CDDefinition>




    Ch. Lange (Jacobs University/DERI)               Mathematical Semantic Markup in a Wiki        June 2, 2008   6
Math. Sem. Wikis    OpenMath      Author/Navigate/Present   SWiM       Rendering Notations    Related    Conclusion



Authoring, Presentation, and Navigation

        Semantic markup is hard to read and write ⇒ need authoring
        support, both for instances (formulæ) and vocabularies (CDs)
                                                                     A
        Rendering semantic markup (e. g. to Presentation MathML or LTEX):
        need notation definitions
               map symbols or patterns to fragments of presentation markup
               (MathML or TEX)
               recursively apply mappings for arguments of operators
        There is not the one single notation for a symbol: notations change!
                            √
               time: Rx        x (16th century)
                       n     k     n
          language: k = Cn = Ck
                      domain, style, level of sophistication, . . .
        Editor must reflect such changes!
        Editor should link rendered symbols to their definitions

    Ch. Lange (Jacobs University/DERI)               Mathematical Semantic Markup in a Wiki        June 2, 2008   7
Math. Sem. Wikis    OpenMath      Author/Navigate/Present   SWiM       Rendering Notations    Related    Conclusion



The Semantic Wiki SWiM

        SWiM = IkeWiki [Schaffert] + MathML/OpenMath/OMDoc
        Knowledge representation “one page = one RDF resource” works
        well, but requires small pages (Discuss!)
        Page granularity found suitable for OpenMath: symbol definitions,
        formal/informal properties, examples, per-symbol and notation
        definitions
        OpenMath specification is different, considers a whole CD (mostly
        > 10 symbols) one “review unit”
        SWiM preserves compatibility by splitting documents into xi:included
        fragments on import
        Editor: semi-WYSIWYG, tabled XML structures, visual formula editor
        being integrated


    Ch. Lange (Jacobs University/DERI)               Mathematical Semantic Markup in a Wiki        June 2, 2008   8
Math. Sem. Wikis    OpenMath      Author/Navigate/Present   SWiM       Rendering Notations    Related    Conclusion



The Semantic Wiki SWiM




    Ch. Lange (Jacobs University/DERI)               Mathematical Semantic Markup in a Wiki        June 2, 2008   9
Math. Sem. Wikis    OpenMath      Author/Navigate/Present      SWiM      Rendering Notations   Related    Conclusion



Making CDs Semantic with an Ontology
The OpenMath CD language has a well-defined semantics, but not in
terms of the semantic web
    We developed an ontology for relevant structures and relationships in
    OpenMath CDs (e. g. “CD includes symbol definition”, “formula uses
    symbol”)
    On saving or importing, we extract RDF from OpenMath
<CD xml:id="sample">                                        <#sample>
  <CDName>sample</CDName>                                     rdf:type omo:ContentDictionary ;
  <CDDate>2008-03-05</CDDate>                                 dc:identifier "sample" ;
  <CDStatus>private</CDStatus>                  →             dc:date 2008-03-05 ;
  <Description>A sample CD</Description>                      omo:status "private" ;
  <xi:include href="url/of/CDDefinition"/>                    dc:description "A sample CD" ;
</CD>                                                         omo:containsSymbolDefinition <url/of/CDDefinition> .


Put this RDF into a Jena triple store; currently used for:
    incoming/outgoing links, grouped by property
    graphical RDF browser
    assistance in manual annotation
    inline SPARQL queries
    Ch. Lange (Jacobs University/DERI)               Mathematical Semantic Markup in a Wiki         June 2, 2008   10
Math. Sem. Wikis    OpenMath      Author/Navigate/Present   SWiM       Rendering Notations    Related    Conclusion



Defining Notations for Symbols


        Notation definitions map patterns of semantic markup to fragments
        of presentation markup, apply rules recursively
                                      √
        e. g. @(arith1#root, arg, n) n arg (actually written in XML)
        link notation definition → symbol definition in RDF:
        <#ntn-root> omo:rendersSymbol <url/of/arith1/root> .
        What if an editor changes this?
           1   identify the change: XML diff
           2   identify documents affected by the change: query RDF graph for all
               resources using the symbol in a formula – and for all resources that
               xi:include the former




    Ch. Lange (Jacobs University/DERI)               Mathematical Semantic Markup in a Wiki        June 2, 2008   11
Math. Sem. Wikis     OpenMath     Author/Navigate/Present   SWiM       Rendering Notations      Related      Conclusion



Determining the Effect of Changing a Notation Definition

                       1    SELECT DISTINCT ?page WHERE {
                       2      <changed-ntn-def> omo:rendersSymbol ?sym .
                       3      { ?page omo:usesSymbol ?sym } UNION
                       4      { ?exOrFMP omo:usesSymbol ?sym .
                       5        { ?page omo:contains ?exOrFMP } UNION
                       6        { ?page omo:contains ?symDef .
                       7          ?symDef omo:contains ?exOrFMP } } }




                                                       fmp
                                                       fmp
                                                        fmp
                    renders-    usesSymbol (3,4)                    contains (5,7)
                   Symbol (2)                                                                 contains (6)
  notDef                        sym                                        symDef
                                                                           symDef
                                                                            symDef                             cd
                                                                                                               cd
                                                                                                                cd
                                 usesSymbol (3,4)
                                                                    contains (5,7)
                                                        ex
                                                        ex
                                                         ex


    Ch. Lange (Jacobs University/DERI)               Mathematical Semantic Markup in a Wiki           June 2, 2008   12
Math. Sem. Wikis    OpenMath      Author/Navigate/Present   SWiM       Rendering Notations    Related    Conclusion



Related Work

                                                                  A
        Mathematical wikis: not as semantic as SWiM, mostly using LTEX
        Collaborative ontology editors: OntoWiki (but more record-like
        structures)
        Other editors for notation definitions: PlatΩ/TEXmacs , also
        reacts on changes, but not for web collaboration
        Rendering a formula is evaluating a (simple) inline query – a
        common feature in semantic wikis: “Find the notation definitions of
        the symbols used in the formula, present the results by rendering the
        formula.” (Discuss!)
        MONET OpenMath ontology for web service descriptions: one
        concept per standard symbol, e. g. arith1#root, but no CD
        structures


    Ch. Lange (Jacobs University/DERI)               Mathematical Semantic Markup in a Wiki        June 2, 2008   13
Math. Sem. Wikis    OpenMath      Author/Navigate/Present   SWiM       Rendering Notations    Related    Conclusion



Conclusion and Outlook
Conclusion:
        Showed how semantic markup makes a semantic wiki aware of
        mathematics
        Integrated OpenMath into the semantic wiki SWiM:
           1   chose appropriate page granularity
           2   modeled ontology representing markup structures
           3   extracted relevant markup structures to RDF
        Used the semantics: Updates of notation definitions, navigation
Outlook (Discuss!):
        More complex reasoning tasks (transitive “CD uses CD” relationship):
        how to compute? Rules?
        Make domain knowledge available in semantic web compatible
        ontology (e. g. OWL-DL):
        DifferentiableFunction ContinuousFunction
    Ch. Lange (Jacobs University/DERI)               Mathematical Semantic Markup in a Wiki        June 2, 2008   14

More Related Content

Similar to Mathematical Semantic Markup in a Wiki: the Roles of Symbols and Notations

SWiM – A Semantic Wiki for Mathematical Knowledge Management
SWiM – A Semantic Wiki for Mathematical Knowledge ManagementSWiM – A Semantic Wiki for Mathematical Knowledge Management
SWiM – A Semantic Wiki for Mathematical Knowledge ManagementChristoph Lange
 
SWiM – A wiki for collaborating on mathematical ontologies
SWiM – A wiki for collaborating on mathematical ontologiesSWiM – A wiki for collaborating on mathematical ontologies
SWiM – A wiki for collaborating on mathematical ontologiesChristoph Lange
 
Data integration with a façade. The case of knowledge graph construction.
Data integration with a façade. The case of knowledge graph construction.Data integration with a façade. The case of knowledge graph construction.
Data integration with a façade. The case of knowledge graph construction.Enrico Daga
 
wiki.openmath.org – how it works, how you can participate
wiki.openmath.org – how it works, how you can participatewiki.openmath.org – how it works, how you can participate
wiki.openmath.org – how it works, how you can participateChristoph Lange
 
TEDDY - Thesaurus Editor: Design and Definition Yarn
TEDDY - Thesaurus Editor: Design and Definition YarnTEDDY - Thesaurus Editor: Design and Definition Yarn
TEDDY - Thesaurus Editor: Design and Definition YarnClaudiu Mihăilă
 
Towards a Semantic Wiki for Science
Towards a Semantic Wiki for ScienceTowards a Semantic Wiki for Science
Towards a Semantic Wiki for ScienceChristoph Lange
 
Wiki dev nlp
Wiki dev nlpWiki dev nlp
Wiki dev nlpICSM 2010
 
An integrated approach to discover tag semantics
An integrated approach to discover tag semanticsAn integrated approach to discover tag semantics
An integrated approach to discover tag semanticsDavide Eynard
 
How to make mathematical eContent travel well
How to make mathematical eContent travel wellHow to make mathematical eContent travel well
How to make mathematical eContent travel wellOlga Caprotti
 
Porting terminologies to the Semantic Web
Porting terminologies to the Semantic WebPorting terminologies to the Semantic Web
Porting terminologies to the Semantic WebBernard Vatant
 
Multimedia Data Navigation and the Semantic Web (SemTech 2006)
Multimedia Data Navigation and the Semantic Web (SemTech 2006)Multimedia Data Navigation and the Semantic Web (SemTech 2006)
Multimedia Data Navigation and the Semantic Web (SemTech 2006)Bradley Allen
 
An Annotation Framework For The Semantic Web
An Annotation Framework For The Semantic WebAn Annotation Framework For The Semantic Web
An Annotation Framework For The Semantic WebAndrea Porter
 
Gremlin: A Graph-Based Programming Language
Gremlin: A Graph-Based Programming LanguageGremlin: A Graph-Based Programming Language
Gremlin: A Graph-Based Programming LanguageMarko Rodriguez
 
Expressive Query Answering For Semantic Wikis
Expressive Query Answering For  Semantic WikisExpressive Query Answering For  Semantic Wikis
Expressive Query Answering For Semantic WikisJie Bao
 
Unlocking the Semantics of Multimedia Presentations in the Web with the Multi...
Unlocking the Semantics of Multimedia Presentations in the Web with the Multi...Unlocking the Semantics of Multimedia Presentations in the Web with the Multi...
Unlocking the Semantics of Multimedia Presentations in the Web with the Multi...Carsten Saathoff
 
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
 
BL Demo Day - July2011 - (9) IMPACT Interoperability and Evaluation Framework
BL Demo Day - July2011 - (9) IMPACT Interoperability and Evaluation FrameworkBL Demo Day - July2011 - (9) IMPACT Interoperability and Evaluation Framework
BL Demo Day - July2011 - (9) IMPACT Interoperability and Evaluation FrameworkIMPACT Centre of Competence
 
Encoding and Designing for the Swift Poems Project
Encoding and Designing for the Swift Poems ProjectEncoding and Designing for the Swift Poems Project
Encoding and Designing for the Swift Poems ProjectJames Griffin
 

Similar to Mathematical Semantic Markup in a Wiki: the Roles of Symbols and Notations (20)

SWiM – A Semantic Wiki for Mathematical Knowledge Management
SWiM – A Semantic Wiki for Mathematical Knowledge ManagementSWiM – A Semantic Wiki for Mathematical Knowledge Management
SWiM – A Semantic Wiki for Mathematical Knowledge Management
 
SWiM – A wiki for collaborating on mathematical ontologies
SWiM – A wiki for collaborating on mathematical ontologiesSWiM – A wiki for collaborating on mathematical ontologies
SWiM – A wiki for collaborating on mathematical ontologies
 
Data integration with a façade. The case of knowledge graph construction.
Data integration with a façade. The case of knowledge graph construction.Data integration with a façade. The case of knowledge graph construction.
Data integration with a façade. The case of knowledge graph construction.
 
wiki.openmath.org – how it works, how you can participate
wiki.openmath.org – how it works, how you can participatewiki.openmath.org – how it works, how you can participate
wiki.openmath.org – how it works, how you can participate
 
TEDDY - Thesaurus Editor: Design and Definition Yarn
TEDDY - Thesaurus Editor: Design and Definition YarnTEDDY - Thesaurus Editor: Design and Definition Yarn
TEDDY - Thesaurus Editor: Design and Definition Yarn
 
Towards a Semantic Wiki for Science
Towards a Semantic Wiki for ScienceTowards a Semantic Wiki for Science
Towards a Semantic Wiki for Science
 
20110728 datalift-rpi-troy
20110728 datalift-rpi-troy20110728 datalift-rpi-troy
20110728 datalift-rpi-troy
 
Wiki dev nlp
Wiki dev nlpWiki dev nlp
Wiki dev nlp
 
An integrated approach to discover tag semantics
An integrated approach to discover tag semanticsAn integrated approach to discover tag semantics
An integrated approach to discover tag semantics
 
How to make mathematical eContent travel well
How to make mathematical eContent travel wellHow to make mathematical eContent travel well
How to make mathematical eContent travel well
 
Porting terminologies to the Semantic Web
Porting terminologies to the Semantic WebPorting terminologies to the Semantic Web
Porting terminologies to the Semantic Web
 
Multimedia Data Navigation and the Semantic Web (SemTech 2006)
Multimedia Data Navigation and the Semantic Web (SemTech 2006)Multimedia Data Navigation and the Semantic Web (SemTech 2006)
Multimedia Data Navigation and the Semantic Web (SemTech 2006)
 
Probabilistic content models,
Probabilistic content models,Probabilistic content models,
Probabilistic content models,
 
An Annotation Framework For The Semantic Web
An Annotation Framework For The Semantic WebAn Annotation Framework For The Semantic Web
An Annotation Framework For The Semantic Web
 
Gremlin: A Graph-Based Programming Language
Gremlin: A Graph-Based Programming LanguageGremlin: A Graph-Based Programming Language
Gremlin: A Graph-Based Programming Language
 
Expressive Query Answering For Semantic Wikis
Expressive Query Answering For  Semantic WikisExpressive Query Answering For  Semantic Wikis
Expressive Query Answering For Semantic Wikis
 
Unlocking the Semantics of Multimedia Presentations in the Web with the Multi...
Unlocking the Semantics of Multimedia Presentations in the Web with the Multi...Unlocking the Semantics of Multimedia Presentations in the Web with the Multi...
Unlocking the Semantics of Multimedia Presentations in the Web with the Multi...
 
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 ...
 
BL Demo Day - July2011 - (9) IMPACT Interoperability and Evaluation Framework
BL Demo Day - July2011 - (9) IMPACT Interoperability and Evaluation FrameworkBL Demo Day - July2011 - (9) IMPACT Interoperability and Evaluation Framework
BL Demo Day - July2011 - (9) IMPACT Interoperability and Evaluation Framework
 
Encoding and Designing for the Swift Poems Project
Encoding and Designing for the Swift Poems ProjectEncoding and Designing for the Swift Poems Project
Encoding and Designing for the Swift Poems Project
 

More from Christoph Lange

Faire Datenökonomie für Wirtschaft, Wissenschaft und Gesellschaft: Was brauch...
Faire Datenökonomie für Wirtschaft, Wissenschaft und Gesellschaft: Was brauch...Faire Datenökonomie für Wirtschaft, Wissenschaft und Gesellschaft: Was brauch...
Faire Datenökonomie für Wirtschaft, Wissenschaft und Gesellschaft: Was brauch...Christoph Lange
 
Research Careers in Applied Computer Science
Research Careers in Applied Computer ScienceResearch Careers in Applied Computer Science
Research Careers in Applied Computer ScienceChristoph 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
 
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
 
sTeX+ – a System for Flexible Formalization of Linked Data
sTeX+ – a System for Flexible Formalization of Linked DatasTeX+ – a System for Flexible Formalization of Linked Data
sTeX+ – a System for Flexible Formalization of Linked DataChristoph Lange
 
Krextor – An Extensible Framework for Contributing Content Math to the Web of...
Krextor – An Extensible Framework for Contributing Content Math to the Web of...Krextor – An Extensible Framework for Contributing Content Math to the Web of...
Krextor – An Extensible Framework for Contributing Content Math to the Web of...Christoph Lange
 
Mathematical Semantics of Statistical Data
Mathematical Semantics of Statistical DataMathematical Semantics of Statistical Data
Mathematical Semantics of Statistical DataChristoph Lange
 
Enabling Collaboration on Semiformal Mathematical Knowledge by Semantic Web I...
Enabling Collaboration on Semiformal Mathematical Knowledge by Semantic Web I...Enabling Collaboration on Semiformal Mathematical Knowledge by Semantic Web I...
Enabling Collaboration on Semiformal Mathematical Knowledge by Semantic Web I...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
 

More from Christoph Lange (20)

Faire Datenökonomie für Wirtschaft, Wissenschaft und Gesellschaft: Was brauch...
Faire Datenökonomie für Wirtschaft, Wissenschaft und Gesellschaft: Was brauch...Faire Datenökonomie für Wirtschaft, Wissenschaft und Gesellschaft: Was brauch...
Faire Datenökonomie für Wirtschaft, Wissenschaft und Gesellschaft: Was brauch...
 
Research Careers in Applied Computer Science
Research Careers in Applied Computer ScienceResearch Careers in Applied Computer Science
Research Careers in Applied Computer Science
 
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
 
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
 
sTeX+ – a System for Flexible Formalization of Linked Data
sTeX+ – a System for Flexible Formalization of Linked DatasTeX+ – a System for Flexible Formalization of Linked Data
sTeX+ – a System for Flexible Formalization of Linked Data
 
Krextor – An Extensible Framework for Contributing Content Math to the Web of...
Krextor – An Extensible Framework for Contributing Content Math to the Web of...Krextor – An Extensible Framework for Contributing Content Math to the Web of...
Krextor – An Extensible Framework for Contributing Content Math to the Web of...
 
Mathematical Semantics of Statistical Data
Mathematical Semantics of Statistical DataMathematical Semantics of Statistical Data
Mathematical Semantics of Statistical Data
 
Enabling Collaboration on Semiformal Mathematical Knowledge by Semantic Web I...
Enabling Collaboration on Semiformal Mathematical Knowledge by Semantic Web I...Enabling Collaboration on Semiformal Mathematical Knowledge by Semantic Web I...
Enabling Collaboration on Semiformal Mathematical Knowledge by Semantic Web I...
 
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...
 

Recently uploaded

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
 
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
 
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
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
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
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
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
 
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
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
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
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
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
 
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
 

Recently uploaded (20)

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
 
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
 
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
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
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...
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
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
 
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
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
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
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
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...
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 

Mathematical Semantic Markup in a Wiki: the Roles of Symbols and Notations

  • 1. Math. Sem. Wikis OpenMath Author/Navigate/Present SWiM Rendering Notations Related Conclusion Mathematical Semantic Markup in a Wiki: the Roles of Symbols and Notations 3rd Semantic Wiki Workshop, ESWC 2008 Christoph Lange Jacobs University, Bremen, Germany KWARC – Knowledge Adaptation and Reasoning for Content Digital Enterprise Research Institute, National University of Ireland, Galway June 2, 2008 Ch. Lange (Jacobs University/DERI) Mathematical Semantic Markup in a Wiki June 2, 2008 1
  • 2. Math. Sem. Wikis OpenMath Author/Navigate/Present SWiM Rendering Notations Related Conclusion Overview Mathematical notation is surprisingly ambiguous and diverse. It’s hard to make the semantics of a mathematical formula explicit. Semantic markup is a well-established solution – but not yet on the social semantic web! We’ve made OpenMath markup usable in a semantic wiki . . . and gain as a benefit an improved editing of definitions of symbols and their notation. Ch. Lange (Jacobs University/DERI) Mathematical Semantic Markup in a Wiki June 2, 2008 2
  • 3. Math. Sem. Wikis OpenMath Author/Navigate/Present SWiM Rendering Notations Related Conclusion Making Mathematical Wikis more Semantic Why mathematics? foundational science for science, technology, and engineering What does a wiki need to support mathematics semantically? A LTEX formulæ often supported, e. g. in Wikipedia or PlanetMath What does O(n2 + n) mean? – How many meanings can you identify? Ch. Lange (Jacobs University/DERI) Mathematical Semantic Markup in a Wiki June 2, 2008 3
  • 4. Math. Sem. Wikis OpenMath Author/Navigate/Present SWiM Rendering Notations Related Conclusion Making Mathematical Wikis more Semantic Why mathematics? foundational science for science, technology, and engineering What does a wiki need to support mathematics semantically? A LTEX formulæ often supported, e. g. in Wikipedia or PlanetMath What does O(n2 + n) mean? – How many meanings can you identify? 1 O times n2 + n 2 function O applied to n2 + n 3 Landau symbol: the set of all integer functions not growing faster than n2 + n (3) is obvious?! – Let’s make it obvious! Ch. Lange (Jacobs University/DERI) Mathematical Semantic Markup in a Wiki June 2, 2008 3
  • 5. Math. Sem. Wikis OpenMath Author/Navigate/Present SWiM Rendering Notations Related Conclusion Content Dictionaries How to make explicit that O is a function set constructor? Define a vocabulary of mathematical symbols (cf. RDFS), a Content Dictionary (CD) E. g. a “function set” CD; agents can unambiguously refer to http://math-vocabulary.org/function-sets#Landau_O Formal CDs themselves contain mathematical formulæ, using previously defined symbols They are mathematical documents ⇒ make them collaboratively editable, too! Ch. Lange (Jacobs University/DERI) Mathematical Semantic Markup in a Wiki June 2, 2008 4
  • 6. Math. Sem. Wikis OpenMath Author/Navigate/Present SWiM Rendering Notations Related Conclusion Semantic Markup with OpenMath OpenMath expresses the logical structure of a formula: Sublanguage for Content Dictionaries: symbol name (→ URI) informal description additional properties (e. g. formal definition, axioms) examples other metadata (Dublin Core etc.) human-readable notations (more about this later) Applications: modular ontologies for data exchange between computer algebra systems or automated theorem provers (→ following talk) Multilingual publishing Adaptive learning applications Web formula search engines OpenMath 3 to be aligned with MathML3 (W3C) Ch. Lange (Jacobs University/DERI) Mathematical Semantic Markup in a Wiki June 2, 2008 5
  • 7. Math. Sem. Wikis OpenMath Author/Navigate/Present SWiM Rendering Notations Related Conclusion A Daunting Example <CDDefinition> <Name>sin</Name> <Description>The sine function on real numbers</Description> <CMP>The sine function is defined in terms of the exponential function as sin x = 1 (e ix − e −ix ).</CMP> 2 <FMP> <OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0" cdbase="http://www.openmath.org/cd"> <OMA><OMS cd="relation1" name="eq"/> <OMA><OMS name="sin" cd="transc1"/> <OMV name="x"/></OMA> <OMA><OMS name="divide" cd="arith1"/> <OMA><OMS name="minus" cd="arith1"/> <OMA><OMS name="exp" cd="transc1"/> <OMA><OMS name="times" cd="arith1"/> <OMS name="i" cd="nums1"/> <OMV name="x"/></OMA></OMA> <OMA><OMS name="exp" cd="transc1"/> <OMA><OMS name="times" cd="arith1"/> <OMA><OMS name="unary_minus" cd="arith1"/> <OMS name="i" cd="nums1"/></OMA> <OMV name="x"/></OMA></OMA></OMA> <OMA><OMS name="times" cd="arith1"/> <OMI>2</OMI> <OMS name="i" cd="nums1"/></OMA></OMA></OMA></OMOBJ></FMP> </CDDefinition> Ch. Lange (Jacobs University/DERI) Mathematical Semantic Markup in a Wiki June 2, 2008 6
  • 8. Math. Sem. Wikis OpenMath Author/Navigate/Present SWiM Rendering Notations Related Conclusion Authoring, Presentation, and Navigation Semantic markup is hard to read and write ⇒ need authoring support, both for instances (formulæ) and vocabularies (CDs) A Rendering semantic markup (e. g. to Presentation MathML or LTEX): need notation definitions map symbols or patterns to fragments of presentation markup (MathML or TEX) recursively apply mappings for arguments of operators There is not the one single notation for a symbol: notations change! √ time: Rx x (16th century) n k n language: k = Cn = Ck domain, style, level of sophistication, . . . Editor must reflect such changes! Editor should link rendered symbols to their definitions Ch. Lange (Jacobs University/DERI) Mathematical Semantic Markup in a Wiki June 2, 2008 7
  • 9. Math. Sem. Wikis OpenMath Author/Navigate/Present SWiM Rendering Notations Related Conclusion The Semantic Wiki SWiM SWiM = IkeWiki [Schaffert] + MathML/OpenMath/OMDoc Knowledge representation “one page = one RDF resource” works well, but requires small pages (Discuss!) Page granularity found suitable for OpenMath: symbol definitions, formal/informal properties, examples, per-symbol and notation definitions OpenMath specification is different, considers a whole CD (mostly > 10 symbols) one “review unit” SWiM preserves compatibility by splitting documents into xi:included fragments on import Editor: semi-WYSIWYG, tabled XML structures, visual formula editor being integrated Ch. Lange (Jacobs University/DERI) Mathematical Semantic Markup in a Wiki June 2, 2008 8
  • 10. Math. Sem. Wikis OpenMath Author/Navigate/Present SWiM Rendering Notations Related Conclusion The Semantic Wiki SWiM Ch. Lange (Jacobs University/DERI) Mathematical Semantic Markup in a Wiki June 2, 2008 9
  • 11. Math. Sem. Wikis OpenMath Author/Navigate/Present SWiM Rendering Notations Related Conclusion Making CDs Semantic with an Ontology The OpenMath CD language has a well-defined semantics, but not in terms of the semantic web We developed an ontology for relevant structures and relationships in OpenMath CDs (e. g. “CD includes symbol definition”, “formula uses symbol”) On saving or importing, we extract RDF from OpenMath <CD xml:id="sample"> <#sample> <CDName>sample</CDName> rdf:type omo:ContentDictionary ; <CDDate>2008-03-05</CDDate> dc:identifier "sample" ; <CDStatus>private</CDStatus> → dc:date 2008-03-05 ; <Description>A sample CD</Description> omo:status "private" ; <xi:include href="url/of/CDDefinition"/> dc:description "A sample CD" ; </CD> omo:containsSymbolDefinition <url/of/CDDefinition> . Put this RDF into a Jena triple store; currently used for: incoming/outgoing links, grouped by property graphical RDF browser assistance in manual annotation inline SPARQL queries Ch. Lange (Jacobs University/DERI) Mathematical Semantic Markup in a Wiki June 2, 2008 10
  • 12. Math. Sem. Wikis OpenMath Author/Navigate/Present SWiM Rendering Notations Related Conclusion Defining Notations for Symbols Notation definitions map patterns of semantic markup to fragments of presentation markup, apply rules recursively √ e. g. @(arith1#root, arg, n) n arg (actually written in XML) link notation definition → symbol definition in RDF: <#ntn-root> omo:rendersSymbol <url/of/arith1/root> . What if an editor changes this? 1 identify the change: XML diff 2 identify documents affected by the change: query RDF graph for all resources using the symbol in a formula – and for all resources that xi:include the former Ch. Lange (Jacobs University/DERI) Mathematical Semantic Markup in a Wiki June 2, 2008 11
  • 13. Math. Sem. Wikis OpenMath Author/Navigate/Present SWiM Rendering Notations Related Conclusion Determining the Effect of Changing a Notation Definition 1 SELECT DISTINCT ?page WHERE { 2 <changed-ntn-def> omo:rendersSymbol ?sym . 3 { ?page omo:usesSymbol ?sym } UNION 4 { ?exOrFMP omo:usesSymbol ?sym . 5 { ?page omo:contains ?exOrFMP } UNION 6 { ?page omo:contains ?symDef . 7 ?symDef omo:contains ?exOrFMP } } } fmp fmp fmp renders- usesSymbol (3,4) contains (5,7) Symbol (2) contains (6) notDef sym symDef symDef symDef cd cd cd usesSymbol (3,4) contains (5,7) ex ex ex Ch. Lange (Jacobs University/DERI) Mathematical Semantic Markup in a Wiki June 2, 2008 12
  • 14. Math. Sem. Wikis OpenMath Author/Navigate/Present SWiM Rendering Notations Related Conclusion Related Work A Mathematical wikis: not as semantic as SWiM, mostly using LTEX Collaborative ontology editors: OntoWiki (but more record-like structures) Other editors for notation definitions: PlatΩ/TEXmacs , also reacts on changes, but not for web collaboration Rendering a formula is evaluating a (simple) inline query – a common feature in semantic wikis: “Find the notation definitions of the symbols used in the formula, present the results by rendering the formula.” (Discuss!) MONET OpenMath ontology for web service descriptions: one concept per standard symbol, e. g. arith1#root, but no CD structures Ch. Lange (Jacobs University/DERI) Mathematical Semantic Markup in a Wiki June 2, 2008 13
  • 15. Math. Sem. Wikis OpenMath Author/Navigate/Present SWiM Rendering Notations Related Conclusion Conclusion and Outlook Conclusion: Showed how semantic markup makes a semantic wiki aware of mathematics Integrated OpenMath into the semantic wiki SWiM: 1 chose appropriate page granularity 2 modeled ontology representing markup structures 3 extracted relevant markup structures to RDF Used the semantics: Updates of notation definitions, navigation Outlook (Discuss!): More complex reasoning tasks (transitive “CD uses CD” relationship): how to compute? Rules? Make domain knowledge available in semantic web compatible ontology (e. g. OWL-DL): DifferentiableFunction ContinuousFunction Ch. Lange (Jacobs University/DERI) Mathematical Semantic Markup in a Wiki June 2, 2008 14