SlideShare a Scribd company logo
1 of 72
TOPIC MAPS RUN FROM XML
                and is coming back with Flowers




Benjamin Bock
TOPIC MAPS RUN FROM XML
     and is coming back with Flowers

             Benjamin Bock
TOPIC MAPS RUN FROM XML
                and is coming back with Flowers




Benjamin Bock
www.topicmapslab.de


  TOPIC MAPS RUN FROM XML
                 and is coming back with Flowers




Benjamin Bock
TOPIC MAPS RUN FROM XML
                and is coming back with Flowers




Benjamin Bock
TOPIC MAPS RUN FROM XML
                and is coming back with Flowers

                             @bnjmnbck



Benjamin Bock
TOPIC MAPS RUN FROM XML
                and is coming back with Flowers

                             @benjaminbock



Benjamin Bock
TOPIC MAPS RUN FROM XML
                and is coming back with Flowers

                             @bnjmnbck



Benjamin Bock
<HISTORY/>
<HYTIME/>
<HYTIME/>


• ISO/IEC10744:1992 Hypermedia/Time-based Structuring
 Language

• based   on and extending SGML

• voluminous: 450+   pages
XML TOPIC MAPS 1.0
XML TOPIC MAPS 1.0


• „Transition“   to XML

• Broke compatibility by changing almost all element and
 attribute names

• more    concise, more generic
TOPIC MAPS RUN
STANDARD APPLICATION
    MODEL (SAM)
TOPIC MAPS REFERENCE
   MODEL (TMRM)
TOPIC MAPS REFERENCE
   MODEL (TMRM)
TOPIC MAPS DATA MODEL
TOPIC MAPS DATA MODEL


• NOXML

• like   DOM for the specific model from XTM

• Integration   model (i.e. merging)
TOPIC MAPS DATA MODEL


• NOXML

• like   DOM for the specific model from XTM

• Integration   model (i.e. merging)
SUBJECT CENTRIC MODELING
SUBJECT CENTRIC MODELING



                  "real" world
SUBJECT CENTRIC MODELING



                  "real" world

                    model
SUBJECT CENTRIC MODELING



                               "real" world

     has name Leipzig            model

     has name Lipsia
      has name Lipsk (in pl)
SUBJECT CENTRIC MODELING



                               "real" world

     has name Leipzig            model

     has name Lipsia
      has name Lipsk (in pl)
         was founded 1165
SUBJECT CENTRIC MODELING



                               "real" world

     has name Leipzig            model

     has name Lipsia
      has name Lipsk (in pl)
         was founded 1165
SUBJECT CENTRIC MODELING



                                           "real" world

     has name Leipzig                         model

     has name Lipsia
      has name Lipsk (in pl)
                               has name Clara Wieck
         was founded 1165
SUBJECT CENTRIC MODELING



                                           "real" world

     has name Leipzig                         model

     has name Lipsia
      has name Lipsk (in pl)
                               has name Clara Wieck
         was founded 1165
SUBJECT CENTRIC MODELING



                                           "real" world

     has name Leipzig                         model

     has name Lipsia
      has name Lipsk (in pl)
                               has name Clara Wieck
         was founded 1165
SUBJECT CENTRIC MODELING



                                           "real" world

     has name Leipzig                         model

     has name Lipsia
      has name Lipsk (in pl)
                               has name Clara Wieck
         was founded 1165
SUBJECT CENTRIC MODELING



                                                     "real" world

          has name Leipzig                              model

         has name Lipsia
          has name Lipsk (in pl)
                                         has name Clara Wieck
             was founded 1165



      has name Lipsko (in cs)
    has webseite http://www.leipzig.de
SUBJECT CENTRIC MODELING



                                                      "real" world

         has name Leipzig                                model

        has name Lipsia
         has name Lipsk (in pl)
                                          has name Clara Wieck
            was founded 1165
       has name Lipsko (in cs)
     has webseite http://www.leipzig.de
TOPIC MAPS INTRODUCTION
TOPIC MAPS INTRODUCTION
TOPIC MAPS INTRODUCTION


              Leipzig


       name
TOPIC MAPS INTRODUCTION

                          Lipsia
                variant


              Leipzig


       name
TOPIC MAPS INTRODUCTION

                            Lipsia
                variant


              Leipzig
                                             pl

       name               Lipsk      scope
TOPIC MAPS INTRODUCTION

                              Lipsia
                  variant


               Leipzig
                                                       pl

       name                 Lipsk          scope


                                                   foundation

              occurrence            1165    type
TOPIC MAPS INTRODUCTION

                                Lipsia
                    variant


                 Leipzig
                                                                 pl

       name                   Lipsk                 scope


                                                             foundation

                occurrence            1165           type


                                                              website

              occurrence              http://www.
                                      leipzig.de/     type
TOPIC MAPS INTRODUCTION



   Leipzig       C. Wieck
TOPIC MAPS INTRODUCTION

             Birth




   Leipzig                  C. Wieck



              association
TOPIC MAPS INTRODUCTION

                                Birth
      Birth place



   Leipzig          role type                  C. Wieck



    role player     ass. role    association
TOPIC MAPS INTRODUCTION

                                Birth
      Birth place                              Born person



   Leipzig          role type                          C. Wieck



    role player     ass. role    association
TOPIC MAPS DATA MODEL
<SOME XML="TO"
KEEP="YOU“>EXCITED
      </SOME>
TOPIC MAPS DATA MODEL
TOPIC MAPS DATA MODEL
TOPIC MAPS DATA MODEL
DATA MODEL: HIERARCHY
DATA MODEL: HIERARCHY
DATA MODEL: TOPIC MAP
DATA MODEL: TOPIC
DATA MODEL: ASSOCIATION
XTM: XML TOPIC MAPS 2.0

topic = element topic { id,

                 (itemIdentity | subjectLocator | subjectIdentifier)*,

                 instanceOf?, (name | occurrence)* }

name = element name { reifiable, type?, scope?, value, variant* }

association = element association { reifiable, type, scope?, role+ }

role = element role { reifiable, type, topicRef }
XTM: XML TOPIC MAPS 2.0

•   <?xml version='1.0'?>
    <topicMap version='2.0' xmlns='http://www.topicmaps.org/xtm/'>
    <topic id='t1'><itemIdentity href='urn:/base#a'/></topic>
    <topic id='t2'><subjectIdentifier href='http://psi.topicmaps.org/
    iso13250/model/type-instance'/></topic> [...]
    <association>
    <type><topicRef href='#t2'/></type>
    <role><type><topicRef href='#t3'/></type><topicRef href='#t1'/></
    role>
    <role><type><topicRef href='#t5'/></type><topicRef href='#t4'/></
    role>
    </association></topicMap>
TOPIC MAPS STANDARDS
TOPIC MAPS QUERY
LANGUAGE (TMQL)
TOPIC MAPS QUERY
               LANGUAGE (TMQL)

•3   Styles:

 • Path   expressions, similar to XPath

 • Select: similar   to SQL

 • FLWOR: For-Let-Where-Order-Return, similar   to XQuery
PATH STYLE
PATH STYLE



// Person [ . / shoesize > 42 ] / name
PATH STYLE



Person >> instances [ . >> characteristics shoesize > 42 ] >>
characteristics name
SELECT STYLE



select $p / name, $p / shoesize
where
     $p isa person
    & $p / shoesize > 42
FLWOR STYLE


for $p in // Person
  where
     $p / shoesize > 42
  return
     ( $p / name, $p / shoesize )
FLWOR STYLE

RETURN
<people>{
for $p in // Person
  where $p / shoesize > 42
  return <person>
              <name>{$p / name}</name>
              <shoesize>{$p / shoesize}</shoesize>
          </person>
}</people>
IDEAS



• SAX   / DOM interface for output

• Integration   of XML data into TM (using XPath)
MAIANA
Social Topic Mapping
TRY IT
http://maiana.topicmapslab.de/
CHECK IT OUT


• http://code.google.com/p/tmql/    (Code in Java, APL 2.0)

• http://tmql4j.topicmapslab.de/   (Documentation)

• http://rubygems.org/gems/rtm-tmql     (Adapter for JRuby)
RTM-TMQL: FIRST STEPS

• Download     + Install JRuby from http://jruby.org

• sudo    jgem install rtm-tmql rtm-ontopia

• jirb

• require   'rtm-tmql'

• con    = RTM.connect

• tm     = con.from_xtm("some_topic_map.xtm")
RTM-TMQL: FIRST STEPS



• tm.tmql("//   Person / name")
SEE YOU



• Topic   Maps 2010, Oslo, April 14-15. http://topicmaps.com/

• TMRA     2010, Leipzig, Sept 29-Oct 1. http://tmra.de/
THANKS

More Related Content

Recently uploaded

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Recently uploaded (20)

CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 

Featured

Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 

Topic Maps run from XML and is coming back with Flowers

Editor's Notes