SlideShare ist ein Scribd-Unternehmen logo
1 von 49
Downloaden Sie, um offline zu lesen
Einführung in Topic Maps




                    Topic Maps Query Language
                                Session 2




         Sven Krosse M. Sc.
         Topic Maps Lab an der Universität Leipzig
         krosse@informatik.uni-leipzig.de



  topicmapslab.de
Einführung in Topic Maps
Agenda
 1. Navigationskonzept II
 2. Path-Language – Draft 2010 ( kurzer Einblick )




  topicmapslab.de
Einführung in Topic Maps




                   Sprachbestandteile
                      Navigationskonzept




 topicmapslab.de
Einführung in Topic Maps
Navigationskonzept
 ●   basiert auf dem Proxy-Konzept des TMRM
 ●   Modell der Topic Map als abstrakter bidirektionaler Graph
 ●   Definition von 12 Achsen ( +2 NCL )




     topicmapslab.de
                                                                 4
Einführung in Topic Maps
Navigationskonzept - Syntax
   DIRECTION ::= '<<' | '>>'


   AXIS-NAME ::= 'item' | 'indicators' | 'locators' | 'traverse' |
                 'players' | 'roles' | 'types' | 'reifier' | 'atomify' |
                 'characteristics' | 'supertypes' | 'scope'


   STEP ::= DIRECTION AXIS-NAME [ TOPIC-REF ]




  topicmapslab.de
                                                                           5
Einführung in Topic Maps
Achse - indicators
 ●   keine optionalen Typen
 ●   vorwärts: alle Subject-Identifier eines Topics
 ●   rückwärts: Adressierung eines Topics mittels Subject-Identifier




     topicmapslab.de
                                                                       6
Einführung in Topic Maps
Achse - indicators


        http://en.wikipedia.org/wiki/Puccini >> indicators




        “http://en.wikipedia.org/wiki/Puccini” << indicators




  topicmapslab.de
                                                               7
Einführung in Topic Maps
Achse - locators
 ●   keine optionalen Typen
 ●   vorwärts: alle Subject-Locator eines Topics
 ●   rückwärts: Adressierung eines Topics mittels Subject-Locator




     topicmapslab.de
                                                                    8
Einführung in Topic Maps
Achse - locators


        http://en.wikipedia.org/wiki/Puccini >> locators




        “http://en.wikipedia.org/wiki/Puccini” << locators




  topicmapslab.de
                                                             9
Einführung in Topic Maps
Achse - item
 ●   keine optionalen Typen
 ●   ohne Pluralisierung!
                       → items

 ●   vorwärts: alle Item-Identifier eines Topics
 ●   rückwärts: Adressierung eines Topics mittels Item-Identifier




     topicmapslab.de
                                                                    10
Einführung in Topic Maps
Achse - item


        http://en.wikipedia.org/wiki/Puccini >> item




        “http://en.wikipedia.org/wiki/Puccini” << item




  topicmapslab.de
                                                         11
Einführung in Topic Maps
Achse - types
 ●   keine optionalen Typen
 ●   vorwärts: alle Typen eines Topics oder der Typ eines Topic Maps
     Konstruktes
 ●   rückwärts: alle Instanzen eines Topic Typs


 ●   NCL:     instances – Achse
      ●   vorwärts: alle Instanzen eines Topics Typs
      ●   rückwärts: alle Typen einer Topics oder der Typ eines Topic
          Maps Konstruktes

     topicmapslab.de
                                                                        12
Einführung in Topic Maps
Achse - types


        http://en.wikipedia.org/wiki/Puccini >> types
        http://en.wikipedia.org/wiki/Puccini << instances



        http://psi.ontopia.net/music/composer << types
        http://psi.ontopia.net/music/composer >> instances



  topicmapslab.de
                                                             13
Einführung in Topic Maps
Achse - supertypes
 ●   keine optionalen Typen
 ●   vorwärts: alle Super-Typen eines Topic Typs
 ●   rückwärts: alle Sub-Typen eines Topic Typs


 ●   NCL:     subtypes – Achse
      ●   vorwärts: alle Sub-Typen eines Topic Typs
      ●   rückwärts: alle Super-Typen eines Topic Typs



     topicmapslab.de
                                                         14
Einführung in Topic Maps
Achse - supertypes


        http://psi.ontopia.net/music/composer >> supertypes
        http://psi.ontopia.net/music/composer << subtypes



        http://psi.ontopia.net/music/musician << supertypes
        http://psi.ontopia.net/music/musician >> subtypes



  topicmapslab.de
                                                              15
Einführung in Topic Maps
TMQL – Typhierarchie

                                 A


           D                 B           C


                    E                F            G


               e1       e2                   g1       g2



  topicmapslab.de
                                                           16
Einführung in Topic Maps
TMQL – Typhierarchie

                                  A


           D                 B                C


                    E                 F                G


               e1       e2                        g1       g2

                    TMQL-Query:       e1 >> types

  topicmapslab.de
                                                                17
Einführung in Topic Maps
TMQL – Typhierarchie

                                  A


           D                 B               C


                    E                 F                 G


               e1       e2                       g1         g2

                    TMQL-Query:       E >> supertypes

  topicmapslab.de
                                                                 18
Einführung in Topic Maps
TMQL – Typhierarchie

                                  A


           D                 B                C


                    E                 F                G


               e1       e2                        g1       g2

                    TMQL-Query:       A >> instances

  topicmapslab.de
                                                                19
Einführung in Topic Maps
Achse - characteristics
 ●   vorwärts: alle Eigenschaften eines Topics


 ●   rückwärts: das Topic mit der Eigenschaft


 ●   vordefinierte Typen
      ●   alle Name tm:name
      ●   alle Occurrences tm:occurrence



     topicmapslab.de
                                                 20
Einführung in Topic Maps
Achse - characteristics

             http://en.wikipedia.org/wiki/Puccini
                         >> characteristics

              http://en.wikipedia.org/wiki/Puccini
                          >> characteristics tm:name

              http://en.wikipedia.org/wiki/Puccini
                          >> characteristics tm:occurrence




  topicmapslab.de
                                                             21
Einführung in Topic Maps
TMQL – characteristics axis

                             Name 1        t


                             Name 2        g


                    e1


                            Occurrence 1       t


                            Occurrence 2       g




  topicmapslab.de
                                                   22
Einführung in Topic Maps
TMQL – characteristics axis

                              Name 1             t


                              Name 2            g


                    e1


                             Occurrence 1            t


                             Occurrence 2            g


               TMQL-Query:           e1 >> characteristics g



  topicmapslab.de
                                                               23
Einführung in Topic Maps
Achse - atomify
 ●   vorwärts: Literal des konkreten Objektes
      ●   unterstützt Names, Occurrences und Locators


 ●   rückwärts: Locator, Name oder Occurrence mit dem Literal
      ●   Mehrdeutigkeit möglich




     topicmapslab.de
                                                                24
Einführung in Topic Maps
Achse - atomify


           http://en.wikipedia.org/wiki/Puccini
                       >> characteristics >> atomify



              “Puccini” << atomify << characteristics




  topicmapslab.de
                                                        25
Einführung in Topic Maps
Achse - players
 ●   vorwärts: alle Spieler einer Assoziation
      ●   auch von Topic Typ einer Assoziation aus
      ●   optionaler Typ = Rollentyp


 ●   rückwärts: alle Assoziation mit dem Spieler
      ●   optionaler Typ = Rollentyp




     topicmapslab.de
                                                     26
Einführung in Topic Maps
Achse - players



       http://psi.ontopia.net/music/composed-by >> players



           http://en.wikipedia.org/wiki/Puccini << players




  topicmapslab.de
                                                             27
Einführung in Topic Maps
Achse - roles
 ●   vorwärts: alle Rollentypen einer Assoziation
      ●   auch von Topic Typ einer Assoziation aus


 ●   rückwärts: alle Assoziation mit dem Rollentyp
      ●   optionaler Typ = Assoziationstyp




     topicmapslab.de
                                                     28
Einführung in Topic Maps
Achse - roles



       http://psi.ontopia.net/music/composed-by >> roles



           http://psi.ontopia.net/literature/work << roles




  topicmapslab.de
                                                             29
Einführung in Topic Maps
Achse - traverse
 ●   vorwärts: alle verketteten Spieler
      ●   Verkettung über eine Assoziation zwischen zwei Topics
      ●   optionaler Typ = Assoziationstyp


 ●   rückwärts: alle verketteten Assoziation
      ●   Verkettung über gemeinsamen Spieler
      ●   optionaler Typ = Typ des Spielers



     topicmapslab.de
                                                                  30
Einführung in Topic Maps
Achse - traverse



       http://psi.ontopia.net/music/composed-by << traverse



           http://en.wikipedia.org/wiki/Puccini >> traverse




  topicmapslab.de
                                                              31
Einführung in Topic Maps
TMQL – association axes




                    r1   a1   r2        r3   a2   r4



          p1                       p2                  p3




  topicmapslab.de
                                                            32
Einführung in Topic Maps
TMQL – association axes




                    r1   a1      r2            r3      a2     r4



          p1                            p2                           p3



       TMQL-Query:            p2 << players >> roles [ . >> players == p2 ]



  topicmapslab.de
                                                                              33
Einführung in Topic Maps
TMQL – association axes




                    r1   a1    r2            r3     a2   r4



          p1                        p2                        p3



                     TMQL-Query:         a1 >> players



  topicmapslab.de
                                                                   34
Einführung in Topic Maps
TMQL – association axes




                    r1   a1    r2            r3     a2    r4



          p1                        p2                         p3



                     TMQL-Query:         p2 >> traverse



  topicmapslab.de
                                                                    35
Einführung in Topic Maps
Achse - scope
 ●   kein optionaler Typ


 ●   vorwärts: alle Themes eines Konstrukts


 ●   rückwärts: alle Konstrukte im Scope mit der Theme




     topicmapslab.de
                                                         36
Einführung in Topic Maps
Achse - scope



       http://psi.ontopia.net/music/composed-by >> scope



           http://psi.ontopia.net/opera/web << scope




  topicmapslab.de
                                                           37
Einführung in Topic Maps
Achse - reifier
 ●   kein optionaler Typ


 ●   vorwärts: der Reifier des Konstrukts


 ●   rückwärts: das reifizierte Element




     topicmapslab.de
                                            38
Einführung in Topic Maps
Achse - reifier



        http://psi.ontopia.net/music/composed-by >> reifier



            http://psi.ontopia.net/opera/web << reifier




   topicmapslab.de
                                                              39
Einführung in Topic Maps




                   Sprachbestandteile
                        Draft 2010




 topicmapslab.de
Einführung in Topic Maps
Draft 2010
 ●   nur Path-Expression
 ●   Änderungen
      ●   ähnliches Navigationskonzept mit veränderter Syntax
      ●   Achsenrichtung entfernt
      ●   zusätzliche Achsen
      ●   Entfernen einiger Achsen
      ●   Syntax noch näher an XPath
      ●   Standardachsen für jeden Konstrukt-Typ (Achsen optional)


     topicmapslab.de
                                                                     41
Einführung in Topic Maps
Draft 2010
 ●   Syntax
     pathstep → '/' pathspec filter *
     pathspec → axis '::' anyref | axis '::' | anyref | assocpattern
     filter       → boolfilter | scopefilter
     assocpattern → anyref '(' anyref '->' anyref ')'




     topicmapslab.de
                                                                       42
Einführung in Topic Maps
Draft 2010
 ●   Typ-Instanz-Achsen
         type, direct-type, instance, direct-instance
 ●   Supertyp-Subtyp-Achsen
         supertype, direct-supertype, subtype, direct-subtype
 ●   Identifier-Achsen
         subject-identifier, subject-locator, item-identifier




     topicmapslab.de
                                                                43
Einführung in Topic Maps
Draft 2010
 ●   Assoziationsachsen
         role, player
 ●   Eigenschaften
         name, occurrence, variant, value, datatype
 ●   Topic-Map-Achsen
         topic, association




     topicmapslab.de
                                                      44
Einführung in Topic Maps
Draft 2010
 ●   Sonstige Achsen
         parent, scope, reifier




     topicmapslab.de
                                  45
Einführung in Topic Maps
Draft 2010
 ●   Beispiel
     / topic::composer / composed-by ( composer -> work )




     topicmapslab.de
                                                            46
Einführung in Topic Maps
Draft 2010
 ●   Beispiel
     / topic::composer / composed-by ( composer -> work )


                       alle Topics vom Typ composer




     topicmapslab.de
                                                            47
Einführung in Topic Maps
Draft 2010
 ●   Beispiel
     / topic::composer / composed-by ( composer -> work )



                                          alle Rollenspieler




     topicmapslab.de
                                                               48
Einführung in Topic Maps




                       ENDE




 topicmapslab.de

Weitere ähnliche Inhalte

Mehr von Lutz Maicher

TMQL tutorial - part 6
TMQL tutorial - part 6TMQL tutorial - part 6
TMQL tutorial - part 6Lutz Maicher
 
Topic Maps In The eHumanities
Topic Maps In The eHumanitiesTopic Maps In The eHumanities
Topic Maps In The eHumanitiesLutz Maicher
 
Medieninformatik und Topic Maps
Medieninformatik und Topic MapsMedieninformatik und Topic Maps
Medieninformatik und Topic MapsLutz Maicher
 
The Impact Of Semantic Handshakes
The Impact Of Semantic HandshakesThe Impact Of Semantic Handshakes
The Impact Of Semantic HandshakesLutz Maicher
 
Topic Maps Portals
Topic Maps PortalsTopic Maps Portals
Topic Maps PortalsLutz Maicher
 
Argumentation Trails and Topic Maps
Argumentation Trails and Topic MapsArgumentation Trails and Topic Maps
Argumentation Trails and Topic MapsLutz Maicher
 
Tutorial Introduction to Topic Maps
Tutorial Introduction to Topic MapsTutorial Introduction to Topic Maps
Tutorial Introduction to Topic MapsLutz Maicher
 
Topic Maps Lab and its portal at the Topic Maps User Conference 2009
Topic Maps Lab and its portal at the Topic Maps User Conference 2009Topic Maps Lab and its portal at the Topic Maps User Conference 2009
Topic Maps Lab and its portal at the Topic Maps User Conference 2009Lutz Maicher
 
Musica migrans - Topic Maps portal about the migration paths of Eastern Europ...
Musica migrans - Topic Maps portal about the migration paths of Eastern Europ...Musica migrans - Topic Maps portal about the migration paths of Eastern Europ...
Musica migrans - Topic Maps portal about the migration paths of Eastern Europ...Lutz Maicher
 
Einführung in Musica migrans
Einführung in Musica migransEinführung in Musica migrans
Einführung in Musica migransLutz Maicher
 
Dissertationsverteidigung "Autonome Topic Maps"
Dissertationsverteidigung "Autonome Topic Maps"Dissertationsverteidigung "Autonome Topic Maps"
Dissertationsverteidigung "Autonome Topic Maps"Lutz Maicher
 

Mehr von Lutz Maicher (13)

TMQL tutorial - part 6
TMQL tutorial - part 6TMQL tutorial - part 6
TMQL tutorial - part 6
 
Maiana
MaianaMaiana
Maiana
 
Topic Maps In The eHumanities
Topic Maps In The eHumanitiesTopic Maps In The eHumanities
Topic Maps In The eHumanities
 
Musica migrans
Musica migransMusica migrans
Musica migrans
 
Medieninformatik und Topic Maps
Medieninformatik und Topic MapsMedieninformatik und Topic Maps
Medieninformatik und Topic Maps
 
The Impact Of Semantic Handshakes
The Impact Of Semantic HandshakesThe Impact Of Semantic Handshakes
The Impact Of Semantic Handshakes
 
Topic Maps Portals
Topic Maps PortalsTopic Maps Portals
Topic Maps Portals
 
Argumentation Trails and Topic Maps
Argumentation Trails and Topic MapsArgumentation Trails and Topic Maps
Argumentation Trails and Topic Maps
 
Tutorial Introduction to Topic Maps
Tutorial Introduction to Topic MapsTutorial Introduction to Topic Maps
Tutorial Introduction to Topic Maps
 
Topic Maps Lab and its portal at the Topic Maps User Conference 2009
Topic Maps Lab and its portal at the Topic Maps User Conference 2009Topic Maps Lab and its portal at the Topic Maps User Conference 2009
Topic Maps Lab and its portal at the Topic Maps User Conference 2009
 
Musica migrans - Topic Maps portal about the migration paths of Eastern Europ...
Musica migrans - Topic Maps portal about the migration paths of Eastern Europ...Musica migrans - Topic Maps portal about the migration paths of Eastern Europ...
Musica migrans - Topic Maps portal about the migration paths of Eastern Europ...
 
Einführung in Musica migrans
Einführung in Musica migransEinführung in Musica migrans
Einführung in Musica migrans
 
Dissertationsverteidigung "Autonome Topic Maps"
Dissertationsverteidigung "Autonome Topic Maps"Dissertationsverteidigung "Autonome Topic Maps"
Dissertationsverteidigung "Autonome Topic Maps"
 

TMQL tutorial - part 2

  • 1. Einführung in Topic Maps Topic Maps Query Language Session 2 Sven Krosse M. Sc. Topic Maps Lab an der Universität Leipzig krosse@informatik.uni-leipzig.de topicmapslab.de
  • 2. Einführung in Topic Maps Agenda 1. Navigationskonzept II 2. Path-Language – Draft 2010 ( kurzer Einblick ) topicmapslab.de
  • 3. Einführung in Topic Maps Sprachbestandteile Navigationskonzept topicmapslab.de
  • 4. Einführung in Topic Maps Navigationskonzept ● basiert auf dem Proxy-Konzept des TMRM ● Modell der Topic Map als abstrakter bidirektionaler Graph ● Definition von 12 Achsen ( +2 NCL ) topicmapslab.de 4
  • 5. Einführung in Topic Maps Navigationskonzept - Syntax DIRECTION ::= '<<' | '>>' AXIS-NAME ::= 'item' | 'indicators' | 'locators' | 'traverse' | 'players' | 'roles' | 'types' | 'reifier' | 'atomify' | 'characteristics' | 'supertypes' | 'scope' STEP ::= DIRECTION AXIS-NAME [ TOPIC-REF ] topicmapslab.de 5
  • 6. Einführung in Topic Maps Achse - indicators ● keine optionalen Typen ● vorwärts: alle Subject-Identifier eines Topics ● rückwärts: Adressierung eines Topics mittels Subject-Identifier topicmapslab.de 6
  • 7. Einführung in Topic Maps Achse - indicators http://en.wikipedia.org/wiki/Puccini >> indicators “http://en.wikipedia.org/wiki/Puccini” << indicators topicmapslab.de 7
  • 8. Einführung in Topic Maps Achse - locators ● keine optionalen Typen ● vorwärts: alle Subject-Locator eines Topics ● rückwärts: Adressierung eines Topics mittels Subject-Locator topicmapslab.de 8
  • 9. Einführung in Topic Maps Achse - locators http://en.wikipedia.org/wiki/Puccini >> locators “http://en.wikipedia.org/wiki/Puccini” << locators topicmapslab.de 9
  • 10. Einführung in Topic Maps Achse - item ● keine optionalen Typen ● ohne Pluralisierung! → items ● vorwärts: alle Item-Identifier eines Topics ● rückwärts: Adressierung eines Topics mittels Item-Identifier topicmapslab.de 10
  • 11. Einführung in Topic Maps Achse - item http://en.wikipedia.org/wiki/Puccini >> item “http://en.wikipedia.org/wiki/Puccini” << item topicmapslab.de 11
  • 12. Einführung in Topic Maps Achse - types ● keine optionalen Typen ● vorwärts: alle Typen eines Topics oder der Typ eines Topic Maps Konstruktes ● rückwärts: alle Instanzen eines Topic Typs ● NCL: instances – Achse ● vorwärts: alle Instanzen eines Topics Typs ● rückwärts: alle Typen einer Topics oder der Typ eines Topic Maps Konstruktes topicmapslab.de 12
  • 13. Einführung in Topic Maps Achse - types http://en.wikipedia.org/wiki/Puccini >> types http://en.wikipedia.org/wiki/Puccini << instances http://psi.ontopia.net/music/composer << types http://psi.ontopia.net/music/composer >> instances topicmapslab.de 13
  • 14. Einführung in Topic Maps Achse - supertypes ● keine optionalen Typen ● vorwärts: alle Super-Typen eines Topic Typs ● rückwärts: alle Sub-Typen eines Topic Typs ● NCL: subtypes – Achse ● vorwärts: alle Sub-Typen eines Topic Typs ● rückwärts: alle Super-Typen eines Topic Typs topicmapslab.de 14
  • 15. Einführung in Topic Maps Achse - supertypes http://psi.ontopia.net/music/composer >> supertypes http://psi.ontopia.net/music/composer << subtypes http://psi.ontopia.net/music/musician << supertypes http://psi.ontopia.net/music/musician >> subtypes topicmapslab.de 15
  • 16. Einführung in Topic Maps TMQL – Typhierarchie A D B C E F G e1 e2 g1 g2 topicmapslab.de 16
  • 17. Einführung in Topic Maps TMQL – Typhierarchie A D B C E F G e1 e2 g1 g2 TMQL-Query: e1 >> types topicmapslab.de 17
  • 18. Einführung in Topic Maps TMQL – Typhierarchie A D B C E F G e1 e2 g1 g2 TMQL-Query: E >> supertypes topicmapslab.de 18
  • 19. Einführung in Topic Maps TMQL – Typhierarchie A D B C E F G e1 e2 g1 g2 TMQL-Query: A >> instances topicmapslab.de 19
  • 20. Einführung in Topic Maps Achse - characteristics ● vorwärts: alle Eigenschaften eines Topics ● rückwärts: das Topic mit der Eigenschaft ● vordefinierte Typen ● alle Name tm:name ● alle Occurrences tm:occurrence topicmapslab.de 20
  • 21. Einführung in Topic Maps Achse - characteristics http://en.wikipedia.org/wiki/Puccini >> characteristics http://en.wikipedia.org/wiki/Puccini >> characteristics tm:name http://en.wikipedia.org/wiki/Puccini >> characteristics tm:occurrence topicmapslab.de 21
  • 22. Einführung in Topic Maps TMQL – characteristics axis Name 1 t Name 2 g e1 Occurrence 1 t Occurrence 2 g topicmapslab.de 22
  • 23. Einführung in Topic Maps TMQL – characteristics axis Name 1 t Name 2 g e1 Occurrence 1 t Occurrence 2 g TMQL-Query: e1 >> characteristics g topicmapslab.de 23
  • 24. Einführung in Topic Maps Achse - atomify ● vorwärts: Literal des konkreten Objektes ● unterstützt Names, Occurrences und Locators ● rückwärts: Locator, Name oder Occurrence mit dem Literal ● Mehrdeutigkeit möglich topicmapslab.de 24
  • 25. Einführung in Topic Maps Achse - atomify http://en.wikipedia.org/wiki/Puccini >> characteristics >> atomify “Puccini” << atomify << characteristics topicmapslab.de 25
  • 26. Einführung in Topic Maps Achse - players ● vorwärts: alle Spieler einer Assoziation ● auch von Topic Typ einer Assoziation aus ● optionaler Typ = Rollentyp ● rückwärts: alle Assoziation mit dem Spieler ● optionaler Typ = Rollentyp topicmapslab.de 26
  • 27. Einführung in Topic Maps Achse - players http://psi.ontopia.net/music/composed-by >> players http://en.wikipedia.org/wiki/Puccini << players topicmapslab.de 27
  • 28. Einführung in Topic Maps Achse - roles ● vorwärts: alle Rollentypen einer Assoziation ● auch von Topic Typ einer Assoziation aus ● rückwärts: alle Assoziation mit dem Rollentyp ● optionaler Typ = Assoziationstyp topicmapslab.de 28
  • 29. Einführung in Topic Maps Achse - roles http://psi.ontopia.net/music/composed-by >> roles http://psi.ontopia.net/literature/work << roles topicmapslab.de 29
  • 30. Einführung in Topic Maps Achse - traverse ● vorwärts: alle verketteten Spieler ● Verkettung über eine Assoziation zwischen zwei Topics ● optionaler Typ = Assoziationstyp ● rückwärts: alle verketteten Assoziation ● Verkettung über gemeinsamen Spieler ● optionaler Typ = Typ des Spielers topicmapslab.de 30
  • 31. Einführung in Topic Maps Achse - traverse http://psi.ontopia.net/music/composed-by << traverse http://en.wikipedia.org/wiki/Puccini >> traverse topicmapslab.de 31
  • 32. Einführung in Topic Maps TMQL – association axes r1 a1 r2 r3 a2 r4 p1 p2 p3 topicmapslab.de 32
  • 33. Einführung in Topic Maps TMQL – association axes r1 a1 r2 r3 a2 r4 p1 p2 p3 TMQL-Query: p2 << players >> roles [ . >> players == p2 ] topicmapslab.de 33
  • 34. Einführung in Topic Maps TMQL – association axes r1 a1 r2 r3 a2 r4 p1 p2 p3 TMQL-Query: a1 >> players topicmapslab.de 34
  • 35. Einführung in Topic Maps TMQL – association axes r1 a1 r2 r3 a2 r4 p1 p2 p3 TMQL-Query: p2 >> traverse topicmapslab.de 35
  • 36. Einführung in Topic Maps Achse - scope ● kein optionaler Typ ● vorwärts: alle Themes eines Konstrukts ● rückwärts: alle Konstrukte im Scope mit der Theme topicmapslab.de 36
  • 37. Einführung in Topic Maps Achse - scope http://psi.ontopia.net/music/composed-by >> scope http://psi.ontopia.net/opera/web << scope topicmapslab.de 37
  • 38. Einführung in Topic Maps Achse - reifier ● kein optionaler Typ ● vorwärts: der Reifier des Konstrukts ● rückwärts: das reifizierte Element topicmapslab.de 38
  • 39. Einführung in Topic Maps Achse - reifier http://psi.ontopia.net/music/composed-by >> reifier http://psi.ontopia.net/opera/web << reifier topicmapslab.de 39
  • 40. Einführung in Topic Maps Sprachbestandteile Draft 2010 topicmapslab.de
  • 41. Einführung in Topic Maps Draft 2010 ● nur Path-Expression ● Änderungen ● ähnliches Navigationskonzept mit veränderter Syntax ● Achsenrichtung entfernt ● zusätzliche Achsen ● Entfernen einiger Achsen ● Syntax noch näher an XPath ● Standardachsen für jeden Konstrukt-Typ (Achsen optional) topicmapslab.de 41
  • 42. Einführung in Topic Maps Draft 2010 ● Syntax pathstep → '/' pathspec filter * pathspec → axis '::' anyref | axis '::' | anyref | assocpattern filter → boolfilter | scopefilter assocpattern → anyref '(' anyref '->' anyref ')' topicmapslab.de 42
  • 43. Einführung in Topic Maps Draft 2010 ● Typ-Instanz-Achsen type, direct-type, instance, direct-instance ● Supertyp-Subtyp-Achsen supertype, direct-supertype, subtype, direct-subtype ● Identifier-Achsen subject-identifier, subject-locator, item-identifier topicmapslab.de 43
  • 44. Einführung in Topic Maps Draft 2010 ● Assoziationsachsen role, player ● Eigenschaften name, occurrence, variant, value, datatype ● Topic-Map-Achsen topic, association topicmapslab.de 44
  • 45. Einführung in Topic Maps Draft 2010 ● Sonstige Achsen parent, scope, reifier topicmapslab.de 45
  • 46. Einführung in Topic Maps Draft 2010 ● Beispiel / topic::composer / composed-by ( composer -> work ) topicmapslab.de 46
  • 47. Einführung in Topic Maps Draft 2010 ● Beispiel / topic::composer / composed-by ( composer -> work ) alle Topics vom Typ composer topicmapslab.de 47
  • 48. Einführung in Topic Maps Draft 2010 ● Beispiel / topic::composer / composed-by ( composer -> work ) alle Rollenspieler topicmapslab.de 48
  • 49. Einführung in Topic Maps ENDE topicmapslab.de