SlideShare a Scribd company logo
1




               Putting Topic Maps to
                       REST

 David Damen, Maria Patrickson




Putting Topic Maps to REST         September 30th 2010
2




                             What did we want?
  •   Remote access:
       – Manipulate topic maps
       – Manipulate topics
       – Search

  •   RESTful




Putting Topic Maps to REST                       September 30th 2010
3




                             What is out there?
  •   TMRAP:
       – Part of Ontopia
       – Limited in functionality
       – Not exactly RESTful

  •   Topincs:
       – Better in functionality, but not entirely

  •   TMIP:
       – Built on top of path expression Topic Maps query language
       – Complicated



Putting Topic Maps to REST                                           September 30th 2010
4




                      Resources      Representations


                                  REST


                 Self-descriptive
                                         HATEOAS
                   messages


Putting Topic Maps to REST                         September 30th 2010
5




                                  HATEOAS
  •   Hypermedia As The Engine Of Application State

       – RESTful webapp should be modelled as a state machine

       – Client transitions from state to state

       – Representations contain valid state transitions




Putting Topic Maps to REST                                      September 30th 2010
6




                 HATEOAS – online book store


                                Add payment
  • Book 1                       information   • Shipping
  • Book 2                   • Credit card       method
  • Book 3                   • Address         • Gift options
                                                    Confirm
           Fill basket
                                                     order



Putting Topic Maps to REST                           September 30th 2010
7




                               REST




                              Topic
                               Maps
                              engine     Tropics


                             Community
                              support




Putting Topic Maps to REST                         September 30th 2010
8




                             Tropics – resources
  •   Topic Maps

  •   Topics

  •   Associations

  •   Query results



      IRIs as item identifiers
      IRIs as occurrences in a navigation ontology


Putting Topic Maps to REST                           September 30th 2010
9




                             Tropics – identifying resources


  • /topics/earth

  • /topics/earth?ti=/topicmaps/astronomy

  • /topics/earth?ti=/groups/space




Putting Topic Maps To REST                                     September 30th 2010
10




                       Tropics – representations
  •   As a Topic Map:
       – XTM 2.0/2.1
       – CXTM
       – JTM

  •   Other formats can support most (but not all) resources:
       – CTM
       – LTM




Putting Topic Maps to REST                                      September 30th 2010
11




                             Tropics – messages
  •   HTTP:
       – GET
       – PUT
       – POST
       – DELETE




Putting Topic Maps to REST                        September 30th 2010
12




                             Tropics - HATEOAS
  •   Application state in a Topic Maps engine?



  •   What is a Topic Maps engine is used for?




Putting Topic Maps to REST                        September 30th 2010
13




                             Tropics - HATEOAS
  •   Information extraction:
       – Querying
       – Navigation

  •   Application state for a Topic Maps engine:
       – The piece of information retrieved

  •   State transition for a Topic Maps engine client:
       – Traversal from one piece of information to the next
       – Querying
       – Administrative functions



Putting Topic Maps to REST                                     September 30th 2010
14




                        Knowledge navigation – example
          Celestial
           Body


                                                           Planet                   Sattelite

        Planet               Star

                                                                    Mars

                                                                                       ATLAS
              Mars

                                                   Earth

Earth                                                         picture
                                    Sun

           weight                         weight


Putting Topic Maps to REST                                                 September 30th 2010
15




        Knowledge navigation – intra Topic Map navigation
          Celestial
           Body


                                                           Planet                   Sattelite

        Planet               Star

                                                                    Mars

                                                                                       ATLAS
              Mars

                                                   Earth

Earth                                                         picture
                                    Sun

           weight                         weight


Putting Topic Maps to REST                                                 September 30th 2010
16




        Knowledge navigation – extra Topic Map navigation
          Celestial
           Body


                                                           Planet                   Sattelite

        Planet               Star

                                                                    Mars

                                                                                       ATLAS
              Mars

                                                   Earth

Earth                                                         picture
                                    Sun

           weight                         weight


Putting Topic Maps to REST                                                 September 30th 2010
17




    Knowledge navigation – merged Topic Map navigation
          Celestial                       Earth
           Body
                                                     weight
                                                     picture           Planet                   Sattelite

        Planet               Star

                                                                                Mars

                                                                                                   ATLAS
              Mars

                                                               Earth

Earth                                                                     picture
                                    Sun

           weight                           weight


Putting Topic Maps to REST                                                             September 30th 2010
18




                 Tropics – navigation ontology




Putting Topic Maps to REST                   September 30th 2010
19




              Tropics – example – Earth Topic
                                Create
                                Topic
                                                                  Parameter

             Planet


                                 Link
                                                                      query

             Earth
                                                                              alias
                                                                                            query
                      weight   Search the                                     alias
                                                                                              q
                                engine
                                                                              data
                                                                              type        Xsd:string
                                            uri
                                                  http://.../search

                                      method
                                                       GET


Putting Topic Maps to REST                                                            September 30th 2010
20




                             Tropics – Is HATEOAS worth it?


  •   Open question…




Putting Topic Maps To REST                                    September 30th 2010
21




                 Tropics – proposed URI space
  •   /topicmaps/{id}
  •   /groups/{id}
  •   /topics/{id}
  •   /associations/{id}
  •   /search

  •   Query/filter parameters
  •   Versioning

  => More detailed info in the API definition at http://j.mp/tropics-api




Putting Topic Maps to REST                                           September 30th 2010
22




                         Tropics – current status
  •   /topicmaps             –   GET
  •   /topicmaps/{id}        –   GET, PUT
  •   /groups/all            –   GET
  •   /topics                –   GET (only ‘has-type’)
  •   /topics/{id}           -   GET
  •   /search                -   GET (supports ‘tolog’)

  •   (Will be) part of Ontopia Sandbox
  •   Open for participation!




Putting Topic Maps to REST                                September 30th 2010
23




                             Acknowledgement
  •   Tropics:
            • David Damen
            • Maria Patriksson




           This work has received funding from the European Commission through the
           Seventh Framework Programme (FP7/2007-2013) under the Space Theme, under
           grant agreement n◦218815 within the ULISSE Project (USOCs KnowLedge
           Integration and Dissemination for Space Science Experimentation).




Putting Topic Maps to REST                                            September 30th 2010
24




                                  Questions?



                             Thank you for your time!




Putting Topic Maps to REST                              September 30th 2010

More Related Content

PDF
ILOA Galaxy Forum Europe 2013 - solar system exploration - hajime yano
PDF
Dennon.clardy
PDF
Google Earth User Guide
PPTX
National Data Standardization: A Place for Topic Maps?
PDF
A PHP library for Ontopia-CMS Integration
PDF
Paraconsistent Reasoning in Ontopedia
PDF
Topic Maps Web Service: Case Examples and General Structure
PDF
Dense Topic Maps
ILOA Galaxy Forum Europe 2013 - solar system exploration - hajime yano
Dennon.clardy
Google Earth User Guide
National Data Standardization: A Place for Topic Maps?
A PHP library for Ontopia-CMS Integration
Paraconsistent Reasoning in Ontopedia
Topic Maps Web Service: Case Examples and General Structure
Dense Topic Maps

Viewers also liked (20)

PPT
Real-time Generation of Topic Maps from Speech Streams
PDF
Topic Maps in ‘Not working on the web shock!’
PPTX
Building and Integrating Competitive Intelligence Reports Using the Topic Map...
PDF
TM/XML - Representing Topic Maps in XML
PPT
What is a subject?
PDF
Temporal Qualification in Topic Maps
PDF
Why not scoping Subject Identifiers?
PDF
Connecting Topincs - Using transclusion to connect proxy spaces
PDF
XML Holland 2008
PPT
ActiveTM - A Topic Maps - Object Mapper
PDF
Semantic Mashups with Wandora
PDF
Live Integration Framework
PDF
Et Tu, Brute? Topic Maps and Discourse Semantics
PDF
Presentation final
PPT
Evaluation of Instances Asset in a Topic Maps-Based Ontology
PDF
Hatana tmra 2010
XLSX
Mappe1
PDF
Designing a GUI Description Language with Topic Maps
PDF
Topic Maps for improved access to and use of content in relational databases ...
PPT
TMCL and OWL
Real-time Generation of Topic Maps from Speech Streams
Topic Maps in ‘Not working on the web shock!’
Building and Integrating Competitive Intelligence Reports Using the Topic Map...
TM/XML - Representing Topic Maps in XML
What is a subject?
Temporal Qualification in Topic Maps
Why not scoping Subject Identifiers?
Connecting Topincs - Using transclusion to connect proxy spaces
XML Holland 2008
ActiveTM - A Topic Maps - Object Mapper
Semantic Mashups with Wandora
Live Integration Framework
Et Tu, Brute? Topic Maps and Discourse Semantics
Presentation final
Evaluation of Instances Asset in a Topic Maps-Based Ontology
Hatana tmra 2010
Mappe1
Designing a GUI Description Language with Topic Maps
Topic Maps for improved access to and use of content in relational databases ...
TMCL and OWL
Ad

More from tmra (20)

PDF
External Schema for Topic Map Database
PDF
Weber 2010 brn
PDF
Subject Headings make information to be topic maps
PDF
Inquiry Optimization Technique for a Topic Map Database
PDF
Topic Merge Scenarios for Knowledge Federation
PDF
JavaScript Topic Maps in server environments
PDF
Modelling IMS QTI with Topic Maps
PDF
Hatana - Virtual Topic Map Merging
PDF
Designing a gui_description_language_with_topic_maps
PDF
Maiana - The social Topic Maps explorer
PDF
Tmra2010 matsuuraposter
PDF
Automatic semantic interpretation of unstructured data for knowledge management
PDF
Defining Domain-Specific Facets for Topic Maps With TMQL Path Expressions
PPTX
AToM2 – a ”web database” with Topic Maps roots
PPTX
Motto of TMRA 2010
PDF
Visual Rendering of Topic Maps Fragments
PDF
TMBrowse Protocol
PPTX
Inferred Classification
PDF
Identifying Attributes
PPTX
Event based modelling
External Schema for Topic Map Database
Weber 2010 brn
Subject Headings make information to be topic maps
Inquiry Optimization Technique for a Topic Map Database
Topic Merge Scenarios for Knowledge Federation
JavaScript Topic Maps in server environments
Modelling IMS QTI with Topic Maps
Hatana - Virtual Topic Map Merging
Designing a gui_description_language_with_topic_maps
Maiana - The social Topic Maps explorer
Tmra2010 matsuuraposter
Automatic semantic interpretation of unstructured data for knowledge management
Defining Domain-Specific Facets for Topic Maps With TMQL Path Expressions
AToM2 – a ”web database” with Topic Maps roots
Motto of TMRA 2010
Visual Rendering of Topic Maps Fragments
TMBrowse Protocol
Inferred Classification
Identifying Attributes
Event based modelling
Ad

Recently uploaded (20)

PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Computing-Curriculum for Schools in Ghana
PDF
A systematic review of self-coping strategies used by university students to ...
PPTX
master seminar digital applications in india
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PDF
01-Introduction-to-Information-Management.pdf
PDF
Complications of Minimal Access Surgery at WLH
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Classroom Observation Tools for Teachers
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Lesson notes of climatology university.
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Computing-Curriculum for Schools in Ghana
A systematic review of self-coping strategies used by university students to ...
master seminar digital applications in india
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
01-Introduction-to-Information-Management.pdf
Complications of Minimal Access Surgery at WLH
O5-L3 Freight Transport Ops (International) V1.pdf
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Anesthesia in Laparoscopic Surgery in India
Supply Chain Operations Speaking Notes -ICLT Program
Classroom Observation Tools for Teachers
Microbial diseases, their pathogenesis and prophylaxis
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Lesson notes of climatology university.
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf

Putting topic maps to rest.tmra2010

  • 1. 1 Putting Topic Maps to REST David Damen, Maria Patrickson Putting Topic Maps to REST September 30th 2010
  • 2. 2 What did we want? • Remote access: – Manipulate topic maps – Manipulate topics – Search • RESTful Putting Topic Maps to REST September 30th 2010
  • 3. 3 What is out there? • TMRAP: – Part of Ontopia – Limited in functionality – Not exactly RESTful • Topincs: – Better in functionality, but not entirely • TMIP: – Built on top of path expression Topic Maps query language – Complicated Putting Topic Maps to REST September 30th 2010
  • 4. 4 Resources Representations REST Self-descriptive HATEOAS messages Putting Topic Maps to REST September 30th 2010
  • 5. 5 HATEOAS • Hypermedia As The Engine Of Application State – RESTful webapp should be modelled as a state machine – Client transitions from state to state – Representations contain valid state transitions Putting Topic Maps to REST September 30th 2010
  • 6. 6 HATEOAS – online book store Add payment • Book 1 information • Shipping • Book 2 • Credit card method • Book 3 • Address • Gift options Confirm Fill basket order Putting Topic Maps to REST September 30th 2010
  • 7. 7 REST Topic Maps engine Tropics Community support Putting Topic Maps to REST September 30th 2010
  • 8. 8 Tropics – resources • Topic Maps • Topics • Associations • Query results IRIs as item identifiers IRIs as occurrences in a navigation ontology Putting Topic Maps to REST September 30th 2010
  • 9. 9 Tropics – identifying resources • /topics/earth • /topics/earth?ti=/topicmaps/astronomy • /topics/earth?ti=/groups/space Putting Topic Maps To REST September 30th 2010
  • 10. 10 Tropics – representations • As a Topic Map: – XTM 2.0/2.1 – CXTM – JTM • Other formats can support most (but not all) resources: – CTM – LTM Putting Topic Maps to REST September 30th 2010
  • 11. 11 Tropics – messages • HTTP: – GET – PUT – POST – DELETE Putting Topic Maps to REST September 30th 2010
  • 12. 12 Tropics - HATEOAS • Application state in a Topic Maps engine? • What is a Topic Maps engine is used for? Putting Topic Maps to REST September 30th 2010
  • 13. 13 Tropics - HATEOAS • Information extraction: – Querying – Navigation • Application state for a Topic Maps engine: – The piece of information retrieved • State transition for a Topic Maps engine client: – Traversal from one piece of information to the next – Querying – Administrative functions Putting Topic Maps to REST September 30th 2010
  • 14. 14 Knowledge navigation – example Celestial Body Planet Sattelite Planet Star Mars ATLAS Mars Earth Earth picture Sun weight weight Putting Topic Maps to REST September 30th 2010
  • 15. 15 Knowledge navigation – intra Topic Map navigation Celestial Body Planet Sattelite Planet Star Mars ATLAS Mars Earth Earth picture Sun weight weight Putting Topic Maps to REST September 30th 2010
  • 16. 16 Knowledge navigation – extra Topic Map navigation Celestial Body Planet Sattelite Planet Star Mars ATLAS Mars Earth Earth picture Sun weight weight Putting Topic Maps to REST September 30th 2010
  • 17. 17 Knowledge navigation – merged Topic Map navigation Celestial Earth Body weight picture Planet Sattelite Planet Star Mars ATLAS Mars Earth Earth picture Sun weight weight Putting Topic Maps to REST September 30th 2010
  • 18. 18 Tropics – navigation ontology Putting Topic Maps to REST September 30th 2010
  • 19. 19 Tropics – example – Earth Topic Create Topic Parameter Planet Link query Earth alias query weight Search the alias q engine data type Xsd:string uri http://.../search method GET Putting Topic Maps to REST September 30th 2010
  • 20. 20 Tropics – Is HATEOAS worth it? • Open question… Putting Topic Maps To REST September 30th 2010
  • 21. 21 Tropics – proposed URI space • /topicmaps/{id} • /groups/{id} • /topics/{id} • /associations/{id} • /search • Query/filter parameters • Versioning => More detailed info in the API definition at http://j.mp/tropics-api Putting Topic Maps to REST September 30th 2010
  • 22. 22 Tropics – current status • /topicmaps – GET • /topicmaps/{id} – GET, PUT • /groups/all – GET • /topics – GET (only ‘has-type’) • /topics/{id} - GET • /search - GET (supports ‘tolog’) • (Will be) part of Ontopia Sandbox • Open for participation! Putting Topic Maps to REST September 30th 2010
  • 23. 23 Acknowledgement • Tropics: • David Damen • Maria Patriksson This work has received funding from the European Commission through the Seventh Framework Programme (FP7/2007-2013) under the Space Theme, under grant agreement n◦218815 within the ULISSE Project (USOCs KnowLedge Integration and Dissemination for Space Science Experimentation). Putting Topic Maps to REST September 30th 2010
  • 24. 24 Questions? Thank you for your time! Putting Topic Maps to REST September 30th 2010