SlideShare a Scribd company logo
1 of 40
Download to read offline
Prof. Dr. Thomas Schwotzer
                   Computer Science / Mobile Applications
                       thomas.schwotzer@fhtw-berlin.de




      Shark Framework
(Building Context Aware P2P
        Applications)

        work in progress
TOC

• Knowledge
• Knowledge Exchange
• A model of Knowledge Exchange Process
  (Shark)
• A knowledge exchanging software engine
  (Shark Engine / Shark Framework)
• Examples
• Status
• Summary
Boring....
• Some of your might know Shark
   – 2001 – 2006 TU Berlin:
      • How to apply Semantics to Mobile World
      • Mobile Shared Knowledge
      • 1st paper 2002, several technology studies, some
         open source projects started
      • 2006 PhD
      • work stopped
• Other scientists know such situations :-(
• Since April 2008 relaunch
   – still an issue
   – ocean of time, enthusiastic people/students
Message

• Shark Framework will be finished
• Will be maintained
    – at least in the next 28 years
•   This isn't and won't be my project
•   Shark stands for Shared Knowledge
•   Let's share it
•   Open Source with LGPL (sourceforge)
•   www.sharksystem.net
Knowledge

• AI / Knowledge Representation:
  – An ontology is / contains / comprises
    knowledge
  – A Topic Map is knowledge
  – Knowledge can be stored in a Topic Map
  – set of facts (e.g. represented by PROLOG)
• Definition by structure
Knowledge (2)

• Knowledge Management
  – Knowledge is something that helps people to
    perform a task / to solve a problem
  – Process oriented view on knowledge
  – BTW: subject isn't anything!
     • Somebody must be interested in it!
       No intelligent life -no subjects.
• Implications:
  – A document can be knowledge for person A
    but just (electronic) paper for B , e.g.
     • due to lack of background knowledge
     • can't read the format no PDF reader available
Knowledge (3)

• Implications:
  – A document can be knowledge for person A
    but just (electronic) paper for B , e.g.
     • due to lack of background knowledge
     • can't read the format no PDF reader available
     • can't understand the spoken, programming,
       description or whatever language
Knowledge (4)

• Is a document D knowledge?
   – If it helps a person A in a given situation – yes
      D is knowledge for A in this situation
   – If not: D is no knowledge
• It depends on the context
   – issuer, receiver, current situation (in its broadest
      possible sense)
Knowledge in Topic Maps

• Information resources can be knowledge
   – Can contain descriptions that help
• An association of Topics can be knowledge
   – Can help to find relations or IR
• Topics
   – Can be knowledge
     if representing subjects that help
   – Can be context
     and help to find knowledge
Is knowledge true?

• With given definition – it's impossible to
  decide
• No objective independent instance which
  could decide
• Semantic networks (e.g. Topic Maps)
  represent meanings / statements of the
  authors
• Known concept: Reification
Knowledge – a picture


        Context
                           Person




      Information



Statement
                      Knowledge Particle
                      = Statement + Issuer
Knowledge Exchange - Example

        2 „That's what I mean“            „1… that's interesting“

3 „I have some documents about it. W ant to have look?“
                                                  4 „Please.“




              Mobile Person                     Mobile Person

                                                5 „Sounds good. Thanks!
                                                                      “
Steps

• Negotiation
  – Who has information about what topics
  – Who is interested and allowed to send/receive
    information
  – Implicitly: take context into account
  – Leads to an exchange context
• Knowledge Exchange
Different to Knowledge Retrieval

• Simple query doesn't produce knowledge
• Full text search on e.g. “music”
• semantic search (e.g. by TMQL) not
  fundamentally better
• Context is not described explicitly
  – Background knowledge
  – Situation
  – ...
Knowledge Exchange Process
         potential sender                                                                   potential receiver


                                           KB                                     KB


           remote identity                                                                    remote identity

                     +                                                                                  +

          remote interests                                      Assimilation                 remote interests

                     +                         Extraction                                               +

         sending interests                                                                 receiving interests

                     +                                                                                  +
                                                        Knowledge
        environment                        =                                               environment
                                                         Particle
        (eavesdropping, ..)                                                                (eavesdropping, ..)
* I confess: The term assimilation is stolen from the Borg in Star Trek. Hope they'll never find out.
Extraction / Assimilation

• Extraction
  – Process creates a knowledge
  – wants receiver to integrate this knowledge
  – A sender can
     • lie
     • isn't an expert
• Assimilation
  – Process that integrates (parts) of received
    knowledge
Knowledge Exchange Protocol (KEP)

• Interest
   – exposes topics of which knowledge is welcome
• Offer
   – exposes topics of which knowledge can be sent
• Accept
   – sent from a receiver to a dedicated sender
   – sents a number of topics
• Insert
   – sent from a sender to a dedicated receiver
   – Knowledge particle
KEP Example 1

Peer   Musik / *                                              Musik / *   Peer
 S                                                                         R


                   Establish connection / Identifying

                                 interest(musik)

                                 offer(musik)

                                 accept(musik)


              extract(R, Musik);
                          insert(KnowledgeParticle kp)

                                                assimilate(S, kp);
KEP Example 2 (mobile leaflet)

Peer   Musik / *                                             Musik / *   Peer
 S                                                                        R


                   Establish connection / Identifying

                                 interest(musik)

               extract(R, Musik);
                          insert(KnowledgeParticle kp)

                                              assimilate(S, kp);
KEP Example 3 (hide interests)

Peer   Musik / *                                            Musik / *   Peer
 S                                                                       R


                   Establish connection / Identifying

                                 accept(*)

               extract(R, Musik);
                          insert(KnowledgeParticle kp)

                                               assimilate(S, kp);
Shark Data Model (in UML, sketch)


      Topic       1..*                  Peer

                                    1

         1..*
                             *
    Information          Interest
Shark Data Model (as TM)

                    Type               Peer          Peer
           Topic1                       A             B

                            Type
                                       Remote Peer
Topic2                                                  Peer
                    Topic                            Anonymous


                                       Sending
                                       Receiving
                                       Interest


                              T represents
                            a special interest
Shark Peer

• Software
• Implements extraction and assimilation
• Implements KEP
• Manages Knowledge Ports which store
  interests
• Process
    – Observes environment
    – If remote peer is detected:
    – run KEP (in defined flavour)
Autonomy

• Exchanges knowledge only based on rules
  described in KPs
• Rules can be changed locally – no
  interaction with any server required
Flow of knowledge
Alice                                     Bruce
                                I agree
                  new idea



          I think
                     Alice                        I think
                                                            Bruce


              author                              author
                                                            Alice




Externalization
Collaboration
                                        M-TM-P

       M-TM-P   M-TM-P       M-TM-P



                                        M-TM-P
                       company /
                    institute working

                     (trusts its TM
                        experts)
Topic Maps
expert



                                             member /
                                             employees
Knowledge Flow Management
                                        M-TM-P
                                                         TM
       M-TM-P   M-TM-P       M-TM-P

         TM                      TM

                                        M-TM-P
                       company /
                    institute working                    TM

                     (trusts its TM
                        experts)
Topic Maps
expert



                                             member /
                                             employees
Implicit ontology expansion

                Music/*/*                    Music/*/*
   Music


       HipHop
                            Music


MP3
                                    HipHop
File



                            MP3
                            File
Individuals KB = patchwork




M-?-P
Architecture


                       Knowledge Ports / KEP

                     Network
Knowledge Base                              Protocol
                    Environment
                                                             Sensors
      TM         Service                               BT
FS          TM             Security   TCP      UDP
     J2ME         Mng                                L2CAP
Some classes

  Environment           KnowledgeBase          Peer




SimpleEnvironment                          KnowledgePort
                       fs.KnowledgeBase
// single thread


                           inMemo.
                           KnowledgeBase

                    tinyTIM.
                    KnowledgeBase
Code sample

KnowledgeBase = new tinyTIM.KnowledgeBase();
Environment env = new SimpleEnvironment();
Peer myPeer = new Peer(kb, env);
Context any = new Context(Context.ANY);
RemotePeer rPeer = new
  RemotePeer(RemotePeer.ANONYMOUS)
myPeer.createIKP(any, any, rPeer);
Code sample - result

   myPeer
             */*/*




                 single threaded
tinyTIM            TCP based
                   environment
Mobile Communities



                      Mobile




               Find peers/people with
               similar interests and exchange
               knowledge/information


Mobile Phone
Location Based Services




   Mobile
                                  Mobile




                        Hotspot


Send information to passer-by              Mobile
Collaboration / Semantic Grid


                                     PC


   Mobile




                              PC


Exchange documents, rumours, links
Work in progress

• Implementation started April, 2008
• Shark-FW-Core exists
• KEP exists, used exchange format
   – compressed proprietary format
   – Topic Maps
• Protocols
   – TCP, UDP work
   – BT Prototyp
• Knowledge Bases
   – Filesystem – Prototyp
   – tinyTIM – implementation has begun
Next steps / priority list

• Applications
  – Collaboration platform
  – Mobile Community Application
• Knowledge Base
  – J2ME
    (revive the TM4J2ME project (sourceforge)
  – Jena-FW (RDF) (I'll be a traitor, sorry!!)
• Protocols
  – Stable Bluetooth implementation
  – HTTP
Distributed evolutionary Ontologies

• Knowledge can be
  – Information resources
  – Topics and Associations
• A P2P Knowledge Exchange can lead to
  changes in Topic Maps
• Kind of evolutionary process
  – Any receiver can accept or drop changes
  – “survival of the fittest concepts”
  – Might lead to a drift and groups of peers
    sharing same / similar ontologies
Summary

• Shark model describes the process of
  knowledge exchange
• Shark Framework implements this model
• basis for number of applications
• Buzzwords for Shark Applications
  – Semantic Grid Applications
    more specific mobile Topic Grid Apps
  – context aware P2P Apps

More Related Content

Viewers also liked

Automated Focus Extraction for Question Answering over Topic Maps
Automated Focus Extraction for Question Answering over Topic MapsAutomated Focus Extraction for Question Answering over Topic Maps
Automated Focus Extraction for Question Answering over Topic Mapstmra
 
Everything is Subjective
Everything is SubjectiveEverything is Subjective
Everything is Subjectivetmra
 
Metaphor-centric Computing
Metaphor-centric ComputingMetaphor-centric Computing
Metaphor-centric Computingtmra
 
Hatana - Virtual Topic Map Merging
Hatana - Virtual Topic Map MergingHatana - Virtual Topic Map Merging
Hatana - Virtual Topic Map Mergingtmra
 
Presentation Japanese1 A
Presentation Japanese1 APresentation Japanese1 A
Presentation Japanese1 AShelly Longoria
 
Zimbio Nov 11, 2008 Key Equities Index Ends 700 Points In Red
Zimbio Nov 11, 2008 Key Equities Index Ends 700 Points In RedZimbio Nov 11, 2008 Key Equities Index Ends 700 Points In Red
Zimbio Nov 11, 2008 Key Equities Index Ends 700 Points In RedJagannadham Thunuguntla
 
HIER SIND YP-S3 BILDER!
HIER SIND YP-S3 BILDER!HIER SIND YP-S3 BILDER!
HIER SIND YP-S3 BILDER!marco678
 
Estudio Y Analisis Del Problema De Investigacion De Mercados
Estudio Y Analisis Del Problema De Investigacion De MercadosEstudio Y Analisis Del Problema De Investigacion De Mercados
Estudio Y Analisis Del Problema De Investigacion De Mercadoslorenamontoya
 

Viewers also liked (12)

Automated Focus Extraction for Question Answering over Topic Maps
Automated Focus Extraction for Question Answering over Topic MapsAutomated Focus Extraction for Question Answering over Topic Maps
Automated Focus Extraction for Question Answering over Topic Maps
 
Everything is Subjective
Everything is SubjectiveEverything is Subjective
Everything is Subjective
 
Metaphor-centric Computing
Metaphor-centric ComputingMetaphor-centric Computing
Metaphor-centric Computing
 
Hatana - Virtual Topic Map Merging
Hatana - Virtual Topic Map MergingHatana - Virtual Topic Map Merging
Hatana - Virtual Topic Map Merging
 
Presentation Japanese1 A
Presentation Japanese1 APresentation Japanese1 A
Presentation Japanese1 A
 
Zimbio Nov 11, 2008 Key Equities Index Ends 700 Points In Red
Zimbio Nov 11, 2008 Key Equities Index Ends 700 Points In RedZimbio Nov 11, 2008 Key Equities Index Ends 700 Points In Red
Zimbio Nov 11, 2008 Key Equities Index Ends 700 Points In Red
 
El Agua
El AguaEl Agua
El Agua
 
No resuelve
No resuelveNo resuelve
No resuelve
 
1112
11121112
1112
 
ATIX01
 ATIX01 ATIX01
ATIX01
 
HIER SIND YP-S3 BILDER!
HIER SIND YP-S3 BILDER!HIER SIND YP-S3 BILDER!
HIER SIND YP-S3 BILDER!
 
Estudio Y Analisis Del Problema De Investigacion De Mercados
Estudio Y Analisis Del Problema De Investigacion De MercadosEstudio Y Analisis Del Problema De Investigacion De Mercados
Estudio Y Analisis Del Problema De Investigacion De Mercados
 

More from tmra

Topic Maps for improved access to and use of content in relational databases ...
Topic Maps for improved access to and use of content in relational databases ...Topic Maps for improved access to and use of content in relational databases ...
Topic Maps for improved access to and use of content in relational databases ...tmra
 
External Schema for Topic Map Database
External Schema for Topic Map DatabaseExternal Schema for Topic Map Database
External Schema for Topic Map Databasetmra
 
Weber 2010 brn
Weber 2010 brnWeber 2010 brn
Weber 2010 brntmra
 
Subject Headings make information to be topic maps
Subject Headings make information to be topic mapsSubject Headings make information to be topic maps
Subject Headings make information to be topic mapstmra
 
Inquiry Optimization Technique for a Topic Map Database
Inquiry Optimization Technique for a Topic Map DatabaseInquiry Optimization Technique for a Topic Map Database
Inquiry Optimization Technique for a Topic Map Databasetmra
 
Topic Merge Scenarios for Knowledge Federation
Topic Merge Scenarios for Knowledge FederationTopic Merge Scenarios for Knowledge Federation
Topic Merge Scenarios for Knowledge Federationtmra
 
JavaScript Topic Maps in server environments
JavaScript Topic Maps in server environmentsJavaScript Topic Maps in server environments
JavaScript Topic Maps in server environmentstmra
 
Modelling IMS QTI with Topic Maps
Modelling IMS QTI with Topic MapsModelling IMS QTI with Topic Maps
Modelling IMS QTI with Topic Mapstmra
 
Designing a gui_description_language_with_topic_maps
Designing a gui_description_language_with_topic_mapsDesigning a gui_description_language_with_topic_maps
Designing a gui_description_language_with_topic_mapstmra
 
Maiana - The social Topic Maps explorer
Maiana - The social Topic Maps explorerMaiana - The social Topic Maps explorer
Maiana - The social Topic Maps explorertmra
 
Tmra2010 matsuuraposter
Tmra2010 matsuuraposterTmra2010 matsuuraposter
Tmra2010 matsuurapostertmra
 
Automatic semantic interpretation of unstructured data for knowledge management
Automatic semantic interpretation of unstructured data for knowledge managementAutomatic semantic interpretation of unstructured data for knowledge management
Automatic semantic interpretation of unstructured data for knowledge managementtmra
 
Putting topic maps to rest.tmra2010
Putting topic maps to rest.tmra2010Putting topic maps to rest.tmra2010
Putting topic maps to rest.tmra2010tmra
 
Presentation final
Presentation finalPresentation final
Presentation finaltmra
 
Evaluation of Instances Asset in a Topic Maps-Based Ontology
Evaluation of Instances Asset in a Topic Maps-Based OntologyEvaluation of Instances Asset in a Topic Maps-Based Ontology
Evaluation of Instances Asset in a Topic Maps-Based Ontologytmra
 
Defining Domain-Specific Facets for Topic Maps With TMQL Path Expressions
Defining Domain-Specific Facets for Topic Maps With TMQL Path ExpressionsDefining Domain-Specific Facets for Topic Maps With TMQL Path Expressions
Defining Domain-Specific Facets for Topic Maps With TMQL Path Expressionstmra
 
Mappe1
Mappe1Mappe1
Mappe1tmra
 
Et Tu, Brute? Topic Maps and Discourse Semantics
Et Tu, Brute? Topic Maps and Discourse SemanticsEt Tu, Brute? Topic Maps and Discourse Semantics
Et Tu, Brute? Topic Maps and Discourse Semanticstmra
 
A PHP library for Ontopia-CMS Integration
A PHP library for Ontopia-CMS IntegrationA PHP library for Ontopia-CMS Integration
A PHP library for Ontopia-CMS Integrationtmra
 
Live Integration Framework
Live Integration FrameworkLive Integration Framework
Live Integration Frameworktmra
 

More from tmra (20)

Topic Maps for improved access to and use of content in relational databases ...
Topic Maps for improved access to and use of content in relational databases ...Topic Maps for improved access to and use of content in relational databases ...
Topic Maps for improved access to and use of content in relational databases ...
 
External Schema for Topic Map Database
External Schema for Topic Map DatabaseExternal Schema for Topic Map Database
External Schema for Topic Map Database
 
Weber 2010 brn
Weber 2010 brnWeber 2010 brn
Weber 2010 brn
 
Subject Headings make information to be topic maps
Subject Headings make information to be topic mapsSubject Headings make information to be topic maps
Subject Headings make information to be topic maps
 
Inquiry Optimization Technique for a Topic Map Database
Inquiry Optimization Technique for a Topic Map DatabaseInquiry Optimization Technique for a Topic Map Database
Inquiry Optimization Technique for a Topic Map Database
 
Topic Merge Scenarios for Knowledge Federation
Topic Merge Scenarios for Knowledge FederationTopic Merge Scenarios for Knowledge Federation
Topic Merge Scenarios for Knowledge Federation
 
JavaScript Topic Maps in server environments
JavaScript Topic Maps in server environmentsJavaScript Topic Maps in server environments
JavaScript Topic Maps in server environments
 
Modelling IMS QTI with Topic Maps
Modelling IMS QTI with Topic MapsModelling IMS QTI with Topic Maps
Modelling IMS QTI with Topic Maps
 
Designing a gui_description_language_with_topic_maps
Designing a gui_description_language_with_topic_mapsDesigning a gui_description_language_with_topic_maps
Designing a gui_description_language_with_topic_maps
 
Maiana - The social Topic Maps explorer
Maiana - The social Topic Maps explorerMaiana - The social Topic Maps explorer
Maiana - The social Topic Maps explorer
 
Tmra2010 matsuuraposter
Tmra2010 matsuuraposterTmra2010 matsuuraposter
Tmra2010 matsuuraposter
 
Automatic semantic interpretation of unstructured data for knowledge management
Automatic semantic interpretation of unstructured data for knowledge managementAutomatic semantic interpretation of unstructured data for knowledge management
Automatic semantic interpretation of unstructured data for knowledge management
 
Putting topic maps to rest.tmra2010
Putting topic maps to rest.tmra2010Putting topic maps to rest.tmra2010
Putting topic maps to rest.tmra2010
 
Presentation final
Presentation finalPresentation final
Presentation final
 
Evaluation of Instances Asset in a Topic Maps-Based Ontology
Evaluation of Instances Asset in a Topic Maps-Based OntologyEvaluation of Instances Asset in a Topic Maps-Based Ontology
Evaluation of Instances Asset in a Topic Maps-Based Ontology
 
Defining Domain-Specific Facets for Topic Maps With TMQL Path Expressions
Defining Domain-Specific Facets for Topic Maps With TMQL Path ExpressionsDefining Domain-Specific Facets for Topic Maps With TMQL Path Expressions
Defining Domain-Specific Facets for Topic Maps With TMQL Path Expressions
 
Mappe1
Mappe1Mappe1
Mappe1
 
Et Tu, Brute? Topic Maps and Discourse Semantics
Et Tu, Brute? Topic Maps and Discourse SemanticsEt Tu, Brute? Topic Maps and Discourse Semantics
Et Tu, Brute? Topic Maps and Discourse Semantics
 
A PHP library for Ontopia-CMS Integration
A PHP library for Ontopia-CMS IntegrationA PHP library for Ontopia-CMS Integration
A PHP library for Ontopia-CMS Integration
 
Live Integration Framework
Live Integration FrameworkLive Integration Framework
Live Integration Framework
 

Recently uploaded

Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
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
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
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
 
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
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
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
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
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
 
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
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 

Recently uploaded (20)

Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
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
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
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
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
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
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
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
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 

Building Context Aware P2P Systems with the Shark Framework

  • 1. Prof. Dr. Thomas Schwotzer Computer Science / Mobile Applications thomas.schwotzer@fhtw-berlin.de Shark Framework (Building Context Aware P2P Applications) work in progress
  • 2. TOC • Knowledge • Knowledge Exchange • A model of Knowledge Exchange Process (Shark) • A knowledge exchanging software engine (Shark Engine / Shark Framework) • Examples • Status • Summary
  • 3. Boring.... • Some of your might know Shark – 2001 – 2006 TU Berlin: • How to apply Semantics to Mobile World • Mobile Shared Knowledge • 1st paper 2002, several technology studies, some open source projects started • 2006 PhD • work stopped • Other scientists know such situations :-( • Since April 2008 relaunch – still an issue – ocean of time, enthusiastic people/students
  • 4. Message • Shark Framework will be finished • Will be maintained – at least in the next 28 years • This isn't and won't be my project • Shark stands for Shared Knowledge • Let's share it • Open Source with LGPL (sourceforge) • www.sharksystem.net
  • 5. Knowledge • AI / Knowledge Representation: – An ontology is / contains / comprises knowledge – A Topic Map is knowledge – Knowledge can be stored in a Topic Map – set of facts (e.g. represented by PROLOG) • Definition by structure
  • 6. Knowledge (2) • Knowledge Management – Knowledge is something that helps people to perform a task / to solve a problem – Process oriented view on knowledge – BTW: subject isn't anything! • Somebody must be interested in it! No intelligent life -no subjects. • Implications: – A document can be knowledge for person A but just (electronic) paper for B , e.g. • due to lack of background knowledge • can't read the format no PDF reader available
  • 7. Knowledge (3) • Implications: – A document can be knowledge for person A but just (electronic) paper for B , e.g. • due to lack of background knowledge • can't read the format no PDF reader available • can't understand the spoken, programming, description or whatever language
  • 8. Knowledge (4) • Is a document D knowledge? – If it helps a person A in a given situation – yes D is knowledge for A in this situation – If not: D is no knowledge • It depends on the context – issuer, receiver, current situation (in its broadest possible sense)
  • 9. Knowledge in Topic Maps • Information resources can be knowledge – Can contain descriptions that help • An association of Topics can be knowledge – Can help to find relations or IR • Topics – Can be knowledge if representing subjects that help – Can be context and help to find knowledge
  • 10. Is knowledge true? • With given definition – it's impossible to decide • No objective independent instance which could decide • Semantic networks (e.g. Topic Maps) represent meanings / statements of the authors • Known concept: Reification
  • 11. Knowledge – a picture Context Person Information Statement Knowledge Particle = Statement + Issuer
  • 12. Knowledge Exchange - Example 2 „That's what I mean“ „1… that's interesting“ 3 „I have some documents about it. W ant to have look?“ 4 „Please.“ Mobile Person Mobile Person 5 „Sounds good. Thanks! “
  • 13. Steps • Negotiation – Who has information about what topics – Who is interested and allowed to send/receive information – Implicitly: take context into account – Leads to an exchange context • Knowledge Exchange
  • 14. Different to Knowledge Retrieval • Simple query doesn't produce knowledge • Full text search on e.g. “music” • semantic search (e.g. by TMQL) not fundamentally better • Context is not described explicitly – Background knowledge – Situation – ...
  • 15. Knowledge Exchange Process potential sender potential receiver KB KB remote identity remote identity + + remote interests Assimilation remote interests + Extraction + sending interests receiving interests + + Knowledge environment = environment Particle (eavesdropping, ..) (eavesdropping, ..) * I confess: The term assimilation is stolen from the Borg in Star Trek. Hope they'll never find out.
  • 16. Extraction / Assimilation • Extraction – Process creates a knowledge – wants receiver to integrate this knowledge – A sender can • lie • isn't an expert • Assimilation – Process that integrates (parts) of received knowledge
  • 17. Knowledge Exchange Protocol (KEP) • Interest – exposes topics of which knowledge is welcome • Offer – exposes topics of which knowledge can be sent • Accept – sent from a receiver to a dedicated sender – sents a number of topics • Insert – sent from a sender to a dedicated receiver – Knowledge particle
  • 18. KEP Example 1 Peer Musik / * Musik / * Peer S R Establish connection / Identifying interest(musik) offer(musik) accept(musik) extract(R, Musik); insert(KnowledgeParticle kp) assimilate(S, kp);
  • 19. KEP Example 2 (mobile leaflet) Peer Musik / * Musik / * Peer S R Establish connection / Identifying interest(musik) extract(R, Musik); insert(KnowledgeParticle kp) assimilate(S, kp);
  • 20. KEP Example 3 (hide interests) Peer Musik / * Musik / * Peer S R Establish connection / Identifying accept(*) extract(R, Musik); insert(KnowledgeParticle kp) assimilate(S, kp);
  • 21. Shark Data Model (in UML, sketch) Topic 1..* Peer 1 1..* * Information Interest
  • 22. Shark Data Model (as TM) Type Peer Peer Topic1 A B Type Remote Peer Topic2 Peer Topic Anonymous Sending Receiving Interest T represents a special interest
  • 23. Shark Peer • Software • Implements extraction and assimilation • Implements KEP • Manages Knowledge Ports which store interests • Process – Observes environment – If remote peer is detected: – run KEP (in defined flavour)
  • 24. Autonomy • Exchanges knowledge only based on rules described in KPs • Rules can be changed locally – no interaction with any server required
  • 25. Flow of knowledge Alice Bruce I agree new idea I think Alice I think Bruce author author Alice Externalization
  • 26. Collaboration M-TM-P M-TM-P M-TM-P M-TM-P M-TM-P company / institute working (trusts its TM experts) Topic Maps expert member / employees
  • 27. Knowledge Flow Management M-TM-P TM M-TM-P M-TM-P M-TM-P TM TM M-TM-P company / institute working TM (trusts its TM experts) Topic Maps expert member / employees
  • 28. Implicit ontology expansion Music/*/* Music/*/* Music HipHop Music MP3 HipHop File MP3 File
  • 29. Individuals KB = patchwork M-?-P
  • 30. Architecture Knowledge Ports / KEP Network Knowledge Base Protocol Environment Sensors TM Service BT FS TM Security TCP UDP J2ME Mng L2CAP
  • 31. Some classes Environment KnowledgeBase Peer SimpleEnvironment KnowledgePort fs.KnowledgeBase // single thread inMemo. KnowledgeBase tinyTIM. KnowledgeBase
  • 32. Code sample KnowledgeBase = new tinyTIM.KnowledgeBase(); Environment env = new SimpleEnvironment(); Peer myPeer = new Peer(kb, env); Context any = new Context(Context.ANY); RemotePeer rPeer = new RemotePeer(RemotePeer.ANONYMOUS) myPeer.createIKP(any, any, rPeer);
  • 33. Code sample - result myPeer */*/* single threaded tinyTIM TCP based environment
  • 34. Mobile Communities Mobile Find peers/people with similar interests and exchange knowledge/information Mobile Phone
  • 35. Location Based Services Mobile Mobile Hotspot Send information to passer-by Mobile
  • 36. Collaboration / Semantic Grid PC Mobile PC Exchange documents, rumours, links
  • 37. Work in progress • Implementation started April, 2008 • Shark-FW-Core exists • KEP exists, used exchange format – compressed proprietary format – Topic Maps • Protocols – TCP, UDP work – BT Prototyp • Knowledge Bases – Filesystem – Prototyp – tinyTIM – implementation has begun
  • 38. Next steps / priority list • Applications – Collaboration platform – Mobile Community Application • Knowledge Base – J2ME (revive the TM4J2ME project (sourceforge) – Jena-FW (RDF) (I'll be a traitor, sorry!!) • Protocols – Stable Bluetooth implementation – HTTP
  • 39. Distributed evolutionary Ontologies • Knowledge can be – Information resources – Topics and Associations • A P2P Knowledge Exchange can lead to changes in Topic Maps • Kind of evolutionary process – Any receiver can accept or drop changes – “survival of the fittest concepts” – Might lead to a drift and groups of peers sharing same / similar ontologies
  • 40. Summary • Shark model describes the process of knowledge exchange • Shark Framework implements this model • basis for number of applications • Buzzwords for Shark Applications – Semantic Grid Applications more specific mobile Topic Grid Apps – context aware P2P Apps