SlideShare a Scribd company logo
1 of 26
Semantic Web in the Fog
of Browsers
Pascal Molli & Hala Skaf-Molli
University of Nantes - LS2N - GDD Team
22 October 2017 - DeSemWeb@ISWC2017
Decentralized Semantic Web
Applications (D-SWAP)?
● Decentralized on which
infrastructure ?
● What do you expect ?
● How to program it ?
● Research Challenges ?
Infrastructure ? Fog of Browsers (FoB)
● FoB: Web Browsers interconnected with
a WebRTC overlay network [1],
collaborating with cloud services...
○Ex: Skype-for-web, Peer5 (P2P CDN),
CRATE (Real-time editor)[2]
● Why ?
○Installation free !
○Can be deployed now on billions of
devices !
○Can interact with end-users and end-
users data in browsers.
[1] Nédelec, B., Molli, P., et al. J. World Wide Web (2017). https://doi.org/10.1007/s11280-017-0478-5
[2] Nédelec B, Molli P, Mostéfaoui A. A scalable sequence encoding for collaborative editing, J. Concurrency
Computat: Pract Exper. 2017;e4108. https://doi.org/10.1002/cpe.4108
Why Writing Decentralized Semantic
Web Applications?
● Reduce significantly the cost of deploying large-scale
semantic web applications
○Users devices run the entire or significant part of the
application.
● Extending the web to access data stored in browsers:
○Personal data, web of things data.
● Improve performance, availability and scalability on client-
side
How to Write and Deploy D-SWAP?
● Simple use-case:
○ People visiting a city have access to point of
interests around them, can rate these points,
and can list top-ranked point of interests…
● Straightforward to write this web application in the
cloud…, but can be costly to host...
● What can be decentralized ? For what benefit ?
Simple Cloud Application...
Should be nearly the same in Fob...
Who are your neighbors ?
Public data ? Do it alone or
with my neighbors ?
Update ! put that on the cloud
? on the FoB ? or just local ?
Query in the FoB between
public data and application
data. Best way to query it ?
The D-SWAP creates its network...
Static code of one
semantic fog
application is here
One Semantic fog
application deployed and
running
Data here
And Data there
We already wrote some Decentralized
Semantic Web Applications
Collaborative Caching for Queries
● Collaborative caching 1
○ Neighborhoods based on
queries similarities
10
c1
c2
c4
c3 c6
c7
c8
c9
c1
c2
c4
c3
c5
c6
c7
c8
c9
HTTP Cache
DrugBankDBpedia
LDF Server
c5
1. P. Folz, H. Skaf-Molli et P. Molli (2016). CyClaDEs: A Decentralized Cache for Triple
Pattern Fragments. 13th Extended Semantic Web Conference, ESWC 2016.
Collaborative Caching for Queries
11
c1
c2
c4
c3 c6
c7
c8
c9
c1
c2
c4
c3
c5
c6
c7
c8
c9
HTTP Cache
DrugBankDBpedia
LDF Server
c5
During query execution :
1) Local cache
2) Neighborhood cache
3) HTTP cache
4) LDF Server
Reduces overhead on the server:
improves data availability
1
2
2
2
3
4
~ 20% neighbors cache hit-rate, whatever the
number of clients, BSBM 1 million of triples
Without collaborative cache With collaborative cache
Queries Load Balancing in FoB
A client C1 has a workload W1 of
queries:
● ET(W1@C)>ET(W1@C1-Cn) ??
● Does balancing workload
among clients improve
performance ?
13
DrugBank
C1
C2
C4
C3
C5
W1(Q1,Q2,Q3)
A. Grall, P. Folz, G. Montoya, H. Skaf-Molli, P. Molli, M. V. Sande, and R. Verborgh. Ladda: SPARQL
Queries in the Fog of Browsers. Demo at 14th Extended Semantic Web Conference, 2017. Springer
ladda-demo.herokuapp.com
https://ladda-demo.herokuapp.com/
Research Challenges
Why is it Hard ?
● Distributed programming !
○Fault-tolerance, consistency, availability, scalability,
security. How to make it simple for developers?
● Distributed programming with web browsers
○WebRTC : no routing, no address; Resources limitations;
Web standards and browser API, Javascript, privacy !
● Which services in the FoB, Which services in the cloud ?
○ Collaboration between FoB and cloud (query, cache, load-
Customized Overlay Networks on FoB
● What is the best topology for a decentralized
semantic web application ?
○ Social, unstructured, DHT, PHT, several
overlays ? Which similarity metrics ?
○ Depends of the application and queries…
● Need a way to declare it for developpers.
Client-Side Data...
● Data placement, Caching, Replication,
Materialization on client side…
● ...but what ? where ? when ?
○ Depends on the chosen topology, queries
and behaviors of participants at run-time...
○ Adaptive strategies required based on the
application and the application monitoring
Decentralized Query Engines
● How to decentralize and optimize query
processing ?
○ Decomposition and subquery allocation within
the fog of browsers
○ Depends of topology and data placement...
○ Should adapt to runtime conditions...
Crowdsourcing with a Fog of Browsers
● D-SWAP applications are in touch with end
users.
○ Users can brings many data
○ But problem of data quality, certainty
● How to decentralize quality issue processing
○ Decentralized curation, aggregation, data
collection ? Decentralized inference ?
Security
● Malicious applications
○ DDOS attack, personal information attack
● Malicious users for one application
○ Attack the application and semantic data…
○ Transform loaded javascript code...
● How browsers security model can be adapted
Incentives
● Why people should participate ?
○ No choice -> the application is built like that ;)
○ Mutual profit -> queries run faster, better
resilience...
○ Privacy protection (no mediation)
○ Pay them -> integrate with distributed ledgers
(running in browsers as nimiq), but proof of
Conclusions
●Fog of browsers: One way to write decentralized
semantic web applications.
● Reduce cost, improve performances, gather
users, access data in browsers.
● Research challenges: many trade-off between
FoB/cloud services: topologies, data placement,
decentralized query processing,decentralized
crowdsourcing, security, incentives.
Semantic Web in the Fog
of Browsers
Pascal Molli & Hala Skaf-Molli
University of Nantes - LS2N - GDD Team
22 October 2017 - DeSemWeb@ISWC2017
26
Data consumer Data providers Scope + -
Link Traversal (⋈,σ,
𝝿)
URI -> RDF whole web,
reachable web
freshness, available performance
Local Sparql server
(⋈,σ,𝝿)
DUMP dump imported in
local server
available,
performance
freshness, web
/ 1 Sparql Endpoint
(⋈,σ,𝝿)
Data in the server freshness availability
performance
Federated query
engine (⋈,σ,𝝿)
Sparql Endpoint
(⋈,σ,𝝿)
Data in servers freshness availability,
performance
Smart client (⋈,𝝿) Light Server (σ) Data in servers freshness,
available, Server-
side scalable
performance
Semantic foB
applications (⋈,𝝿)
Light Server (σ) Data in servers +
Data in smart
clients
freshness,
available,
performance,
Client-side scalable
Security,
incentives
Semantic foB
applications (⋈,𝝿,
σ)
URI -> RDF whole web + data in
smart clients
freshness,
available,
performance
Security,
incentives

More Related Content

Similar to Semantic Web in the Fog of Browsers

Building Construction Project Summary
Building Construction Project SummaryBuilding Construction Project Summary
Building Construction Project Summary
Michelle Madero
 
The Neo4j Data Platform for Today & Tomorrow.pdf
The Neo4j Data Platform for Today & Tomorrow.pdfThe Neo4j Data Platform for Today & Tomorrow.pdf
The Neo4j Data Platform for Today & Tomorrow.pdf
Neo4j
 

Similar to Semantic Web in the Fog of Browsers (20)

Improve your Tech Quotient
Improve your Tech QuotientImprove your Tech Quotient
Improve your Tech Quotient
 
2016 open-source-network-softwarization
2016 open-source-network-softwarization2016 open-source-network-softwarization
2016 open-source-network-softwarization
 
2016 open-source-network-softwarization
2016 open-source-network-softwarization2016 open-source-network-softwarization
2016 open-source-network-softwarization
 
Latest trends in information technology
Latest trends in information technologyLatest trends in information technology
Latest trends in information technology
 
20191210 NDLI KEDL2019 Building the dutch digital heritage network
20191210 NDLI KEDL2019 Building the dutch digital heritage network20191210 NDLI KEDL2019 Building the dutch digital heritage network
20191210 NDLI KEDL2019 Building the dutch digital heritage network
 
Building Construction Project Summary
Building Construction Project SummaryBuilding Construction Project Summary
Building Construction Project Summary
 
12 Reasons to Choose NodeJS for Product Development.pdf
12 Reasons to Choose NodeJS for Product Development.pdf12 Reasons to Choose NodeJS for Product Development.pdf
12 Reasons to Choose NodeJS for Product Development.pdf
 
Microservices as an evolutionary architecture: lessons learned
Microservices as an evolutionary architecture: lessons learnedMicroservices as an evolutionary architecture: lessons learned
Microservices as an evolutionary architecture: lessons learned
 
ZCloud Consensus on Hardware for Distributed Systems
ZCloud Consensus on Hardware for Distributed SystemsZCloud Consensus on Hardware for Distributed Systems
ZCloud Consensus on Hardware for Distributed Systems
 
Kristiaan De Roeck at UX Antwerp Meetup - 30 January 2018
Kristiaan De Roeck at UX Antwerp Meetup - 30 January 2018Kristiaan De Roeck at UX Antwerp Meetup - 30 January 2018
Kristiaan De Roeck at UX Antwerp Meetup - 30 January 2018
 
KEDL DBpedia 2019
KEDL DBpedia  2019KEDL DBpedia  2019
KEDL DBpedia 2019
 
Working with Hybrid Clouds and Data Architectures
Working with Hybrid Clouds and Data ArchitecturesWorking with Hybrid Clouds and Data Architectures
Working with Hybrid Clouds and Data Architectures
 
What are some misconceptions about node js
What are some misconceptions about node jsWhat are some misconceptions about node js
What are some misconceptions about node js
 
Cloud computing: Legal and ethical issues in library and information services
Cloud computing: Legal and ethical issues in library and information servicesCloud computing: Legal and ethical issues in library and information services
Cloud computing: Legal and ethical issues in library and information services
 
[Christopher Ngo] Intro DevOPS XP Day 2015
[Christopher Ngo] Intro DevOPS XP Day 2015[Christopher Ngo] Intro DevOPS XP Day 2015
[Christopher Ngo] Intro DevOPS XP Day 2015
 
Beware the monolith
Beware the monolithBeware the monolith
Beware the monolith
 
Cloud computing application for water resources based on open source software...
Cloud computing application for water resources based on open source software...Cloud computing application for water resources based on open source software...
Cloud computing application for water resources based on open source software...
 
RTI/Cisco response to the Software Defined Networks (SDN) OMG RFI
RTI/Cisco response to the Software Defined Networks (SDN) OMG RFIRTI/Cisco response to the Software Defined Networks (SDN) OMG RFI
RTI/Cisco response to the Software Defined Networks (SDN) OMG RFI
 
The Neo4j Data Platform for Today & Tomorrow.pdf
The Neo4j Data Platform for Today & Tomorrow.pdfThe Neo4j Data Platform for Today & Tomorrow.pdf
The Neo4j Data Platform for Today & Tomorrow.pdf
 
full stack interview questions.pdf
full stack interview questions.pdffull stack interview questions.pdf
full stack interview questions.pdf
 

Recently uploaded

Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdf
PirithiRaju
 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOST
Sérgio Sacani
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
PirithiRaju
 
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
PirithiRaju
 

Recently uploaded (20)

Botany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questionsBotany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questions
 
Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdf
 
VIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C PVIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C P
 
Isotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoIsotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on Io
 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOST
 
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 60009654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
 
GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)
 
GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)
 
Forensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdfForensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdf
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
 
Chemistry 4th semester series (krishna).pdf
Chemistry 4th semester series (krishna).pdfChemistry 4th semester series (krishna).pdf
Chemistry 4th semester series (krishna).pdf
 
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptxUnlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
 
Zoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdfZoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdf
 
Natural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsNatural Polymer Based Nanomaterials
Natural Polymer Based Nanomaterials
 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
 
CELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdfCELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdf
 
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticsPulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
 
Green chemistry and Sustainable development.pptx
Green chemistry  and Sustainable development.pptxGreen chemistry  and Sustainable development.pptx
Green chemistry and Sustainable development.pptx
 
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
 

Semantic Web in the Fog of Browsers

  • 1. Semantic Web in the Fog of Browsers Pascal Molli & Hala Skaf-Molli University of Nantes - LS2N - GDD Team 22 October 2017 - DeSemWeb@ISWC2017
  • 2. Decentralized Semantic Web Applications (D-SWAP)? ● Decentralized on which infrastructure ? ● What do you expect ? ● How to program it ? ● Research Challenges ?
  • 3. Infrastructure ? Fog of Browsers (FoB) ● FoB: Web Browsers interconnected with a WebRTC overlay network [1], collaborating with cloud services... ○Ex: Skype-for-web, Peer5 (P2P CDN), CRATE (Real-time editor)[2] ● Why ? ○Installation free ! ○Can be deployed now on billions of devices ! ○Can interact with end-users and end- users data in browsers. [1] Nédelec, B., Molli, P., et al. J. World Wide Web (2017). https://doi.org/10.1007/s11280-017-0478-5 [2] Nédelec B, Molli P, Mostéfaoui A. A scalable sequence encoding for collaborative editing, J. Concurrency Computat: Pract Exper. 2017;e4108. https://doi.org/10.1002/cpe.4108
  • 4. Why Writing Decentralized Semantic Web Applications? ● Reduce significantly the cost of deploying large-scale semantic web applications ○Users devices run the entire or significant part of the application. ● Extending the web to access data stored in browsers: ○Personal data, web of things data. ● Improve performance, availability and scalability on client- side
  • 5. How to Write and Deploy D-SWAP? ● Simple use-case: ○ People visiting a city have access to point of interests around them, can rate these points, and can list top-ranked point of interests… ● Straightforward to write this web application in the cloud…, but can be costly to host... ● What can be decentralized ? For what benefit ?
  • 7. Should be nearly the same in Fob... Who are your neighbors ? Public data ? Do it alone or with my neighbors ? Update ! put that on the cloud ? on the FoB ? or just local ? Query in the FoB between public data and application data. Best way to query it ?
  • 8. The D-SWAP creates its network... Static code of one semantic fog application is here One Semantic fog application deployed and running Data here And Data there
  • 9. We already wrote some Decentralized Semantic Web Applications
  • 10. Collaborative Caching for Queries ● Collaborative caching 1 ○ Neighborhoods based on queries similarities 10 c1 c2 c4 c3 c6 c7 c8 c9 c1 c2 c4 c3 c5 c6 c7 c8 c9 HTTP Cache DrugBankDBpedia LDF Server c5 1. P. Folz, H. Skaf-Molli et P. Molli (2016). CyClaDEs: A Decentralized Cache for Triple Pattern Fragments. 13th Extended Semantic Web Conference, ESWC 2016.
  • 11. Collaborative Caching for Queries 11 c1 c2 c4 c3 c6 c7 c8 c9 c1 c2 c4 c3 c5 c6 c7 c8 c9 HTTP Cache DrugBankDBpedia LDF Server c5 During query execution : 1) Local cache 2) Neighborhood cache 3) HTTP cache 4) LDF Server Reduces overhead on the server: improves data availability 1 2 2 2 3 4
  • 12. ~ 20% neighbors cache hit-rate, whatever the number of clients, BSBM 1 million of triples Without collaborative cache With collaborative cache
  • 13. Queries Load Balancing in FoB A client C1 has a workload W1 of queries: ● ET(W1@C)>ET(W1@C1-Cn) ?? ● Does balancing workload among clients improve performance ? 13 DrugBank C1 C2 C4 C3 C5 W1(Q1,Q2,Q3) A. Grall, P. Folz, G. Montoya, H. Skaf-Molli, P. Molli, M. V. Sande, and R. Verborgh. Ladda: SPARQL Queries in the Fog of Browsers. Demo at 14th Extended Semantic Web Conference, 2017. Springer
  • 15.
  • 17. Why is it Hard ? ● Distributed programming ! ○Fault-tolerance, consistency, availability, scalability, security. How to make it simple for developers? ● Distributed programming with web browsers ○WebRTC : no routing, no address; Resources limitations; Web standards and browser API, Javascript, privacy ! ● Which services in the FoB, Which services in the cloud ? ○ Collaboration between FoB and cloud (query, cache, load-
  • 18. Customized Overlay Networks on FoB ● What is the best topology for a decentralized semantic web application ? ○ Social, unstructured, DHT, PHT, several overlays ? Which similarity metrics ? ○ Depends of the application and queries… ● Need a way to declare it for developpers.
  • 19. Client-Side Data... ● Data placement, Caching, Replication, Materialization on client side… ● ...but what ? where ? when ? ○ Depends on the chosen topology, queries and behaviors of participants at run-time... ○ Adaptive strategies required based on the application and the application monitoring
  • 20. Decentralized Query Engines ● How to decentralize and optimize query processing ? ○ Decomposition and subquery allocation within the fog of browsers ○ Depends of topology and data placement... ○ Should adapt to runtime conditions...
  • 21. Crowdsourcing with a Fog of Browsers ● D-SWAP applications are in touch with end users. ○ Users can brings many data ○ But problem of data quality, certainty ● How to decentralize quality issue processing ○ Decentralized curation, aggregation, data collection ? Decentralized inference ?
  • 22. Security ● Malicious applications ○ DDOS attack, personal information attack ● Malicious users for one application ○ Attack the application and semantic data… ○ Transform loaded javascript code... ● How browsers security model can be adapted
  • 23. Incentives ● Why people should participate ? ○ No choice -> the application is built like that ;) ○ Mutual profit -> queries run faster, better resilience... ○ Privacy protection (no mediation) ○ Pay them -> integrate with distributed ledgers (running in browsers as nimiq), but proof of
  • 24. Conclusions ●Fog of browsers: One way to write decentralized semantic web applications. ● Reduce cost, improve performances, gather users, access data in browsers. ● Research challenges: many trade-off between FoB/cloud services: topologies, data placement, decentralized query processing,decentralized crowdsourcing, security, incentives.
  • 25. Semantic Web in the Fog of Browsers Pascal Molli & Hala Skaf-Molli University of Nantes - LS2N - GDD Team 22 October 2017 - DeSemWeb@ISWC2017
  • 26. 26 Data consumer Data providers Scope + - Link Traversal (⋈,σ, 𝝿) URI -> RDF whole web, reachable web freshness, available performance Local Sparql server (⋈,σ,𝝿) DUMP dump imported in local server available, performance freshness, web / 1 Sparql Endpoint (⋈,σ,𝝿) Data in the server freshness availability performance Federated query engine (⋈,σ,𝝿) Sparql Endpoint (⋈,σ,𝝿) Data in servers freshness availability, performance Smart client (⋈,𝝿) Light Server (σ) Data in servers freshness, available, Server- side scalable performance Semantic foB applications (⋈,𝝿) Light Server (σ) Data in servers + Data in smart clients freshness, available, performance, Client-side scalable Security, incentives Semantic foB applications (⋈,𝝿, σ) URI -> RDF whole web + data in smart clients freshness, available, performance Security, incentives

Editor's Notes

  1. Two overlay networks of browsers for building neighborhoods and handle dynamicity
  2. First we wanted to see the impact of number of client on hir-rate On the left we have the experiment without cyclades and the right with cyclades The x axis is the number of client, the y axis is the percentage of calls Green represent calls answered locally, orange calls answered in the neighborhood and yellow calls answered in the server Without cyclades we can see that the number of calls answer locally is not impact by the number of clients With cyclades we can see that almost half of the calls previously handle by the server is now handle by the neighbourhood