SlideShare a Scribd company logo
1 of 47
Download to read offline
Strategies for Integrating
Semantic and Blockchain
Technologies
DONE BY:
Héctor E. Ugarte R.
Msc. Computer Science
Motivation
Problem definition
 Blockchain-based platforms as the original Web, still require
interconnected data and meaning.
 Bitcoin: around 215,000 daily transactions.
 Ethereum: around 57,000 daily transactions.
 Existing Supply chain systems are not doing an optimal job,
Blockchain-based platforms can solve this issue.
Solution proposed
 Ontology BLONDiE for Bitcoin and Ethereum.
 Research how to extract data from Ethereum.
 Research how to store RDF data on Ethereum.
 Prototype DeSCA: Ethereum application.
Background: What is Semantic Web?
• Extension of the Web through standards by the World Wide Web
Consortium (W3C). The standards promote common data formats
and exchange protocols on the Web, most fundamentally the
Resource Description Framework (RDF).
6
Background: Resource Description
Framework (RDF)
• RDF is used as the standard way to describe and model information.
Three object types conforms the basic model :
• i) Resources. The things that where RDF expressions are used to
describe them.
• ii) Properties. The specific description of a resource, It can be an
attribute or relation.
• iii) Statements. The conjunction of a resource, a named property and
the value of that property. This 3 elements form the RDF statement of
a specific resource. They are expressed in the form of subject,
predicate, object and commonly called triples". Triples create a basic
graph structure of data.
7
From…
8
To…
9
10
What is the Blockchain?
• Is a distributed database that maintains a continuously-growing list of
records secured from tampering and revision. It consists of data
structure blocks that may contain data or program with each block
holding batches of individual transactions.
SOURCE: Matthew English, Sören Auer, and John Domingue. Block Chain Technologies & The
Semantic Web: A Framework for Symbiotic Development, 2016.
11
Cryptocurrencies
12
Background: Bitcoin
 First decentralized digital
cryptocurrency.
 First system using Blockchain.
 Borderless and instantaneous
transactions.
Background: Ethereum
 General purpose cryptocurrency platform that offers a Turing
complete virtual machine, based on Bitcoin technology.
 Possible to run any coin, script, or cryptocurrency project, as
implementations of smart contracts.
 SMART CONTRACT: An algorithm that can self-execute, self-
enforce, self-verify, and self-constrain the performance of a
contract.
Background: Blockchain Benefits and
Features
 Ownership of data.
 Uniqueness and proof of uniqueness.
 Immutability.
 Censorship resilient.
 Public transparency and traceability.
 Trustless and incorruptible.
 Cost-efficient.
 Guaranteed continuity.
Semantic Web benefits
• Consistency
• Standardization
• Linking and mappings
16
+
blockchain
Semantic Web + Blockchain
17
Semantic Blockchain
18
Semantic Blockchain
• Semantic Blockchain is the use of Semantic web standards on
blockchain based systems. The standards promote common data
formats and exchange protocols on the blockchain, making used of
the Resource Description Framework (RDF).
19
Background: Supply Chain
BLONDiE
 Ethereum and Bitcoin.
 21 classes.
 11 object properties.
 50 datatype properties.
 OWL Ontology: disjoint,
domain, range, etc.
 Properties: functional, inverse
functional, etc.
BLONDiE
Matthew English, Sören Auer, and John Domingue. Block Chain Technologies & The Semantic
Web: A Framework for Symbiotic Development, 2016.
Block
13
0000009196
dd56eb
0000001ce8i
ur69cd
blo:hasTransactionPayload
blo:difficultyBlockheader
Transaction 01
Transaction
02 Transaction
03
blo:hashPreviousBlockheader
blo:hasTransactionPayload
blo:hasTransactionPayload
Extracting Data and Storing RDF Data on
Ethereum
Modified from: A. Antonopoulos, Mastering bitcoin : unlocking digital cryptocurrencies.
Sebastopol, CA: O'Reilly, 2015.
Extracting Data and Storing RDF Data on
Ethereum
Task Element Way Short Explanation On Blockchain?
1. Clients JSON-RPC
Is a way to talk to an Ethereum node and receive as a
response data related to different elements of the Ethereum
framework. No
Extracting
data 2. Wallets JSON files
Wallets are stored as JSON files facilitating the access to its
data. No
3. Smart
Contracts ABI The interface of the smart contract is shared in JSON format. No
4. Blocks Extradata property A data property to store at most 32 bytes. Yes
Storing RDF
Data 5. Transactions
Data property,
Contract Storage,
Event Logs,
External Storage
Data can be stored in 4 possible ways on the transactions.
Fees will be payed according to the size of the data. Each
method offer different advantages and disadvantages. Yes
6. Ðapps
Interfaces HTML Approaches
The interface of the Ethereum applications are usually done
using HTML technologies. Therefore the usage of RDF data
embedded on HTML is possible. No
Extracting Data on Ethereum: Wallets
• {"address":"0xcb60081c79230499c5d5615505f88df53c5bbcc9",
"checksumAddress":"0xCB60081C79230499C5D5615505F88d
f53C5bBcC9","privKey":"3c8f4ddb1cb78625dad5a221c28a87
3b37cc115f8ba243508eb338a908afeeb0","pubKey":"0xdbb18
9772ec307e06242fefbdcb95bf0f21cc1ba0ba584d22db2f9a4e8
7d6f0fc231985dfb39dd6a54bb9f93e75428010e52e701ab05a09
c9676419222ac2b7a","publisher":"MyEtherWallet","encrypted":f
alse,"version":2}
Unencrypted wallet generated with myetherwallet.com
Storing RDF Data on Ethereum: Gas
 Execution fee that a user has to pay on gas units for every
operation made on the Ethereum Blockchain.
 Gas cost.
 Gas price.
 Gas limit.
 Gas fee.
Storing RDF Data on Ethereum:
Transactions
-Way Short explanation Advantages Disadvantages
Data property
Property existing in each
transaction on Ethereum
- Not fixed size.
- Cannot be
modified
- Expensive
- Stored on
hexadecimal
format
- Is not SPV friendly
Contract Storage
Contract state flexible
database. Key-value store
- Not fixed size
- Easily Accesible
- Expensive
- Information is
modifiable
Event Logs Historical raw data
- Cheap
- Not accesible for
smart
contracts.
- Data generated by the
smart contract
External Storage (IPFS)
Storing it externally and
keeping the identi er
using one of the above
methods Unlimited size
- Not guaranteed that
data will not be removed
Storing RDF Data on Ethereum: Contract
Storage & IPFS
contract Sample {
string rdfData = "RDF Data Here ";
}
contract Sample {
string rdfData = “IPFS Hash Here ";
}
e.g. QmYwAPJzv5CZsnA625s3Xf2nemtYgPpHdWEz79ojWnPbdG
key-value store with 2256
possible keys and 2256
values
The current problem
• Existing Suppy Chain systems are heterogeneous.
• It is expensive and they are not reliable.
• Tracking and tracing is not easy.
• EXAMPLE: 2013 Horse meat scandal!
29
DeSCA prototype
 Ethereum Decentralized Application.
 Basic Supply Chain Management prototype.
 Record flow of goods.
 Record data participants.
 Record RDF data.
Architecture
G. Wood, “The ethereum experience." [Online]. Available:
http://www.slideshare.net/ethereum/the-ethereum-experience
Functionalities
 Create account
 Manage smart contract
 Register user
 Create item
 Transfer item
 Show provenance
DeSCA: Smart Contract
34
Programming languages and frameworks
web3.js
ipfs.js
geth
Evaluation
Evaluation
 14 participants different profiles.
 Most of them informed about Blockchain technologies.
 Technology awareness.
 Usability evaluation.
Evaluation: Technology awareness
 Around 93% participants knew before about Blockchain.
 Around 85% participants knew before about Semantic web.
 100% of participants think that Semantic Web is useful.
 Around 85% participants knew before about SCM.
Evaluation: “The prototype is not easy to
understand”
Evaluation: “It is not a useful prototype for
Supply Chain Management”
Evaluation: “It is easy to learn”
Evaluation: “The prototype has benefits
compared to possible centralized solutions”
Conclusions
 This research presented some integrations steps between
Semantic and Blockchain technologies.
 BLONDiE: OWL ontology.
 Extracting data and storing RDF data from Ethereum.
 DeSCA: Ethereum ÐApp prototype for SCM.
 DeSCA was evaluated resulting that most people think it is easy
to understand, is useful, easy to learn, and offers advantages
compared to centralized systems.
Future Work
 BLONDiE can be extended to cover more Blockchain-based
platforms (Hyperledger, NXT, etc).
 Research about more Semantic integration on Ethereum like
instead of using HTTP-URIs, start using hashes as identifiers.
 DeSCA can be extended to cover more data related to SCM. It
can be extended to allow manage of users and item data, store
certificates that prove origin of data.
Descriptive Scenario
Name Job Title Company Role
Eric Cartman Farmer
Daisy Hill
Puppy Farm Producer
Ellie Williams CEO
Umbrella
Corp. Distributor
Apu
Nahasapeemapetilo
n Owner Kwik-E-Mart Retailer
Milhouse Van
Houten Student
University of
Bonn Customer
DeSCA
https://youtu.be/JiWDYByK5zo
Thanks

More Related Content

What's hot

TC Flower Offload
TC Flower OffloadTC Flower Offload
TC Flower OffloadNetronome
 
FreeIPA - Attacking the Active Directory of Linux
FreeIPA - Attacking the Active Directory of LinuxFreeIPA - Attacking the Active Directory of Linux
FreeIPA - Attacking the Active Directory of LinuxJulian Catrambone
 
Passwords#14 - mimikatz
Passwords#14 - mimikatzPasswords#14 - mimikatz
Passwords#14 - mimikatzBenjamin Delpy
 
Derbycon - The Unintended Risks of Trusting Active Directory
Derbycon - The Unintended Risks of Trusting Active DirectoryDerbycon - The Unintended Risks of Trusting Active Directory
Derbycon - The Unintended Risks of Trusting Active DirectoryWill Schroeder
 
PSConfEU - Offensive Active Directory (With PowerShell!)
PSConfEU - Offensive Active Directory (With PowerShell!)PSConfEU - Offensive Active Directory (With PowerShell!)
PSConfEU - Offensive Active Directory (With PowerShell!)Will Schroeder
 
Pentesting custom TLS stacks
Pentesting custom TLS stacksPentesting custom TLS stacks
Pentesting custom TLS stacksAlexandre Moneger
 
Linux-HA with Pacemaker
Linux-HA with PacemakerLinux-HA with Pacemaker
Linux-HA with PacemakerKris Buytaert
 
Multi-signed Kernel Module
Multi-signed Kernel ModuleMulti-signed Kernel Module
Multi-signed Kernel ModuleSUSE Labs Taipei
 
aclpwn - Active Directory ACL exploitation with BloodHound
aclpwn - Active Directory ACL exploitation with BloodHoundaclpwn - Active Directory ACL exploitation with BloodHound
aclpwn - Active Directory ACL exploitation with BloodHoundDirkjanMollema
 
MySQL Performance Tuning. Part 1: MySQL Configuration (includes MySQL 5.7)
MySQL Performance Tuning. Part 1: MySQL Configuration (includes MySQL 5.7)MySQL Performance Tuning. Part 1: MySQL Configuration (includes MySQL 5.7)
MySQL Performance Tuning. Part 1: MySQL Configuration (includes MySQL 5.7)Aurimas Mikalauskas
 
Secret Management with Hashicorp’s Vault
Secret Management with Hashicorp’s VaultSecret Management with Hashicorp’s Vault
Secret Management with Hashicorp’s VaultAWS Germany
 
Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...
Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...
Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...Edureka!
 
Atom The Redis Streams-Powered Microservices SDK: Dan Pipemazo
Atom The Redis Streams-Powered Microservices SDK: Dan PipemazoAtom The Redis Streams-Powered Microservices SDK: Dan Pipemazo
Atom The Redis Streams-Powered Microservices SDK: Dan PipemazoRedis Labs
 

What's hot (20)

Introduction To SELinux
Introduction To SELinuxIntroduction To SELinux
Introduction To SELinux
 
Compiler project
Compiler  projectCompiler  project
Compiler project
 
TC Flower Offload
TC Flower OffloadTC Flower Offload
TC Flower Offload
 
FreeIPA - Attacking the Active Directory of Linux
FreeIPA - Attacking the Active Directory of LinuxFreeIPA - Attacking the Active Directory of Linux
FreeIPA - Attacking the Active Directory of Linux
 
Passwords#14 - mimikatz
Passwords#14 - mimikatzPasswords#14 - mimikatz
Passwords#14 - mimikatz
 
Introducing Galera 3.0
Introducing Galera 3.0Introducing Galera 3.0
Introducing Galera 3.0
 
Derbycon - The Unintended Risks of Trusting Active Directory
Derbycon - The Unintended Risks of Trusting Active DirectoryDerbycon - The Unintended Risks of Trusting Active Directory
Derbycon - The Unintended Risks of Trusting Active Directory
 
PSConfEU - Offensive Active Directory (With PowerShell!)
PSConfEU - Offensive Active Directory (With PowerShell!)PSConfEU - Offensive Active Directory (With PowerShell!)
PSConfEU - Offensive Active Directory (With PowerShell!)
 
Linux systems - Linux Commands and Shell Scripting
Linux systems - Linux Commands and Shell ScriptingLinux systems - Linux Commands and Shell Scripting
Linux systems - Linux Commands and Shell Scripting
 
Pentesting custom TLS stacks
Pentesting custom TLS stacksPentesting custom TLS stacks
Pentesting custom TLS stacks
 
Linux-HA with Pacemaker
Linux-HA with PacemakerLinux-HA with Pacemaker
Linux-HA with Pacemaker
 
Multi-signed Kernel Module
Multi-signed Kernel ModuleMulti-signed Kernel Module
Multi-signed Kernel Module
 
Hash cat
Hash catHash cat
Hash cat
 
Cloud arch patterns
Cloud arch patternsCloud arch patterns
Cloud arch patterns
 
Linux Network Stack
Linux Network StackLinux Network Stack
Linux Network Stack
 
aclpwn - Active Directory ACL exploitation with BloodHound
aclpwn - Active Directory ACL exploitation with BloodHoundaclpwn - Active Directory ACL exploitation with BloodHound
aclpwn - Active Directory ACL exploitation with BloodHound
 
MySQL Performance Tuning. Part 1: MySQL Configuration (includes MySQL 5.7)
MySQL Performance Tuning. Part 1: MySQL Configuration (includes MySQL 5.7)MySQL Performance Tuning. Part 1: MySQL Configuration (includes MySQL 5.7)
MySQL Performance Tuning. Part 1: MySQL Configuration (includes MySQL 5.7)
 
Secret Management with Hashicorp’s Vault
Secret Management with Hashicorp’s VaultSecret Management with Hashicorp’s Vault
Secret Management with Hashicorp’s Vault
 
Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...
Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...
Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...
 
Atom The Redis Streams-Powered Microservices SDK: Dan Pipemazo
Atom The Redis Streams-Powered Microservices SDK: Dan PipemazoAtom The Redis Streams-Powered Microservices SDK: Dan Pipemazo
Atom The Redis Streams-Powered Microservices SDK: Dan Pipemazo
 

Similar to Strategies for integrating semantic and blockchain technologies

Adoption Blockchain Smart Contracts in Developing Information Systems.pdf
Adoption Blockchain Smart Contracts in Developing Information Systems.pdfAdoption Blockchain Smart Contracts in Developing Information Systems.pdf
Adoption Blockchain Smart Contracts in Developing Information Systems.pdfMahdi_Fahmideh
 
Analysing Data from Blockchains - Keynote @ SOCCA 2020
Analysing Data from Blockchains - Keynote @ SOCCA 2020Analysing Data from Blockchains - Keynote @ SOCCA 2020
Analysing Data from Blockchains - Keynote @ SOCCA 2020Ingo Weber
 
Wwc developing hyperledger applications v4
Wwc  developing hyperledger applications v4Wwc  developing hyperledger applications v4
Wwc developing hyperledger applications v4LennartF
 
An introduction to blockchain and hyperledger v ru
An introduction to blockchain and hyperledger v ruAn introduction to blockchain and hyperledger v ru
An introduction to blockchain and hyperledger v ruLennartF
 
Blockchains as a Component of the Next generation Internet
Blockchains as a Component of the Next generation InternetBlockchains as a Component of the Next generation Internet
Blockchains as a Component of the Next generation InternetJohn Domingue
 
Blockchain and its impact on Data Science and Financial Services
Blockchain and its impact on Data Science and Financial ServicesBlockchain and its impact on Data Science and Financial Services
Blockchain and its impact on Data Science and Financial ServicesRatnakar Pandey
 
Blockchain Intro to Hyperledger Fabric
Blockchain Intro to Hyperledger Fabric Blockchain Intro to Hyperledger Fabric
Blockchain Intro to Hyperledger Fabric Araf Karsh Hamid
 
Defrag X Keynote: Deploying and managing Global Blockchain Network
Defrag X Keynote: Deploying and managing Global Blockchain NetworkDefrag X Keynote: Deploying and managing Global Blockchain Network
Defrag X Keynote: Deploying and managing Global Blockchain NetworkDuncan Johnston-Watt
 
Klaytn: Service-Oriented Enterprise-Grade Public Blockchain Platform
Klaytn: Service-Oriented Enterprise-Grade Public Blockchain PlatformKlaytn: Service-Oriented Enterprise-Grade Public Blockchain Platform
Klaytn: Service-Oriented Enterprise-Grade Public Blockchain Platformif kakao
 
Blockchain and BPM - Reflections on Four Years of Research and Applications
Blockchain and BPM - Reflections on Four Years of Research and ApplicationsBlockchain and BPM - Reflections on Four Years of Research and Applications
Blockchain and BPM - Reflections on Four Years of Research and ApplicationsIngo Weber
 
Introduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart ContractsIntroduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart ContractsSaad Zaher
 
A Complete Guide to Blockchain Development
A Complete Guide to Blockchain DevelopmentA Complete Guide to Blockchain Development
A Complete Guide to Blockchain DevelopmentSterling Technolabs
 
Blockchain - Primer for City CIOs v05 01 22.pdf
Blockchain - Primer for City CIOs v05 01 22.pdfBlockchain - Primer for City CIOs v05 01 22.pdf
Blockchain - Primer for City CIOs v05 01 22.pdfssusera441c2
 
IoT Interoperability: a Hub-based Approach
IoT Interoperability: a Hub-based ApproachIoT Interoperability: a Hub-based Approach
IoT Interoperability: a Hub-based ApproachMichael Blackstock
 
Blockchain: No Thunder No Wonder
Blockchain: No Thunder No Wonder  Blockchain: No Thunder No Wonder
Blockchain: No Thunder No Wonder Ali Al-Sherbaz
 

Similar to Strategies for integrating semantic and blockchain technologies (20)

Adoption Blockchain Smart Contracts in Developing Information Systems.pdf
Adoption Blockchain Smart Contracts in Developing Information Systems.pdfAdoption Blockchain Smart Contracts in Developing Information Systems.pdf
Adoption Blockchain Smart Contracts in Developing Information Systems.pdf
 
Analysing Data from Blockchains - Keynote @ SOCCA 2020
Analysing Data from Blockchains - Keynote @ SOCCA 2020Analysing Data from Blockchains - Keynote @ SOCCA 2020
Analysing Data from Blockchains - Keynote @ SOCCA 2020
 
Wwc developing hyperledger applications v4
Wwc  developing hyperledger applications v4Wwc  developing hyperledger applications v4
Wwc developing hyperledger applications v4
 
Blockchain in FinTech
Blockchain in FinTechBlockchain in FinTech
Blockchain in FinTech
 
An introduction to blockchain and hyperledger v ru
An introduction to blockchain and hyperledger v ruAn introduction to blockchain and hyperledger v ru
An introduction to blockchain and hyperledger v ru
 
Blockchains as a Component of the Next generation Internet
Blockchains as a Component of the Next generation InternetBlockchains as a Component of the Next generation Internet
Blockchains as a Component of the Next generation Internet
 
Blockchain and its impact on Data Science and Financial Services
Blockchain and its impact on Data Science and Financial ServicesBlockchain and its impact on Data Science and Financial Services
Blockchain and its impact on Data Science and Financial Services
 
Blockchain Intro to Hyperledger Fabric
Blockchain Intro to Hyperledger Fabric Blockchain Intro to Hyperledger Fabric
Blockchain Intro to Hyperledger Fabric
 
Defrag X Keynote: Deploying and managing Global Blockchain Network
Defrag X Keynote: Deploying and managing Global Blockchain NetworkDefrag X Keynote: Deploying and managing Global Blockchain Network
Defrag X Keynote: Deploying and managing Global Blockchain Network
 
Defrag x blockchain keynote
Defrag x blockchain keynoteDefrag x blockchain keynote
Defrag x blockchain keynote
 
Klaytn: Service-Oriented Enterprise-Grade Public Blockchain Platform
Klaytn: Service-Oriented Enterprise-Grade Public Blockchain PlatformKlaytn: Service-Oriented Enterprise-Grade Public Blockchain Platform
Klaytn: Service-Oriented Enterprise-Grade Public Blockchain Platform
 
Blockchain and BPM - Reflections on Four Years of Research and Applications
Blockchain and BPM - Reflections on Four Years of Research and ApplicationsBlockchain and BPM - Reflections on Four Years of Research and Applications
Blockchain and BPM - Reflections on Four Years of Research and Applications
 
Block chain technology
Block chain technologyBlock chain technology
Block chain technology
 
Introduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart ContractsIntroduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart Contracts
 
Block chain technology
Block chain technology Block chain technology
Block chain technology
 
A Complete Guide to Blockchain Development
A Complete Guide to Blockchain DevelopmentA Complete Guide to Blockchain Development
A Complete Guide to Blockchain Development
 
Blockchain - Primer for City CIOs v05 01 22.pdf
Blockchain - Primer for City CIOs v05 01 22.pdfBlockchain - Primer for City CIOs v05 01 22.pdf
Blockchain - Primer for City CIOs v05 01 22.pdf
 
IoT Interoperability: a Hub-based Approach
IoT Interoperability: a Hub-based ApproachIoT Interoperability: a Hub-based Approach
IoT Interoperability: a Hub-based Approach
 
CIKMTutorial.pdf
CIKMTutorial.pdfCIKMTutorial.pdf
CIKMTutorial.pdf
 
Blockchain: No Thunder No Wonder
Blockchain: No Thunder No Wonder  Blockchain: No Thunder No Wonder
Blockchain: No Thunder No Wonder
 

Recently uploaded

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
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 2024Victor Rentea
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
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 FresherRemote DBA Services
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
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...apidays
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
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 2024Victor Rentea
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 

Recently uploaded (20)

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
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
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
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
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
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...
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
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
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 

Strategies for integrating semantic and blockchain technologies

  • 1. Strategies for Integrating Semantic and Blockchain Technologies DONE BY: Héctor E. Ugarte R. Msc. Computer Science
  • 3.
  • 4. Problem definition  Blockchain-based platforms as the original Web, still require interconnected data and meaning.  Bitcoin: around 215,000 daily transactions.  Ethereum: around 57,000 daily transactions.  Existing Supply chain systems are not doing an optimal job, Blockchain-based platforms can solve this issue.
  • 5. Solution proposed  Ontology BLONDiE for Bitcoin and Ethereum.  Research how to extract data from Ethereum.  Research how to store RDF data on Ethereum.  Prototype DeSCA: Ethereum application.
  • 6. Background: What is Semantic Web? • Extension of the Web through standards by the World Wide Web Consortium (W3C). The standards promote common data formats and exchange protocols on the Web, most fundamentally the Resource Description Framework (RDF). 6
  • 7. Background: Resource Description Framework (RDF) • RDF is used as the standard way to describe and model information. Three object types conforms the basic model : • i) Resources. The things that where RDF expressions are used to describe them. • ii) Properties. The specific description of a resource, It can be an attribute or relation. • iii) Statements. The conjunction of a resource, a named property and the value of that property. This 3 elements form the RDF statement of a specific resource. They are expressed in the form of subject, predicate, object and commonly called triples". Triples create a basic graph structure of data. 7
  • 10. 10
  • 11. What is the Blockchain? • Is a distributed database that maintains a continuously-growing list of records secured from tampering and revision. It consists of data structure blocks that may contain data or program with each block holding batches of individual transactions. SOURCE: Matthew English, Sören Auer, and John Domingue. Block Chain Technologies & The Semantic Web: A Framework for Symbiotic Development, 2016. 11
  • 13. Background: Bitcoin  First decentralized digital cryptocurrency.  First system using Blockchain.  Borderless and instantaneous transactions.
  • 14. Background: Ethereum  General purpose cryptocurrency platform that offers a Turing complete virtual machine, based on Bitcoin technology.  Possible to run any coin, script, or cryptocurrency project, as implementations of smart contracts.  SMART CONTRACT: An algorithm that can self-execute, self- enforce, self-verify, and self-constrain the performance of a contract.
  • 15. Background: Blockchain Benefits and Features  Ownership of data.  Uniqueness and proof of uniqueness.  Immutability.  Censorship resilient.  Public transparency and traceability.  Trustless and incorruptible.  Cost-efficient.  Guaranteed continuity.
  • 16. Semantic Web benefits • Consistency • Standardization • Linking and mappings 16
  • 19. Semantic Blockchain • Semantic Blockchain is the use of Semantic web standards on blockchain based systems. The standards promote common data formats and exchange protocols on the blockchain, making used of the Resource Description Framework (RDF). 19
  • 21. BLONDiE  Ethereum and Bitcoin.  21 classes.  11 object properties.  50 datatype properties.  OWL Ontology: disjoint, domain, range, etc.  Properties: functional, inverse functional, etc.
  • 22. BLONDiE Matthew English, Sören Auer, and John Domingue. Block Chain Technologies & The Semantic Web: A Framework for Symbiotic Development, 2016. Block 13 0000009196 dd56eb 0000001ce8i ur69cd blo:hasTransactionPayload blo:difficultyBlockheader Transaction 01 Transaction 02 Transaction 03 blo:hashPreviousBlockheader blo:hasTransactionPayload blo:hasTransactionPayload
  • 23. Extracting Data and Storing RDF Data on Ethereum Modified from: A. Antonopoulos, Mastering bitcoin : unlocking digital cryptocurrencies. Sebastopol, CA: O'Reilly, 2015.
  • 24. Extracting Data and Storing RDF Data on Ethereum Task Element Way Short Explanation On Blockchain? 1. Clients JSON-RPC Is a way to talk to an Ethereum node and receive as a response data related to different elements of the Ethereum framework. No Extracting data 2. Wallets JSON files Wallets are stored as JSON files facilitating the access to its data. No 3. Smart Contracts ABI The interface of the smart contract is shared in JSON format. No 4. Blocks Extradata property A data property to store at most 32 bytes. Yes Storing RDF Data 5. Transactions Data property, Contract Storage, Event Logs, External Storage Data can be stored in 4 possible ways on the transactions. Fees will be payed according to the size of the data. Each method offer different advantages and disadvantages. Yes 6. Ðapps Interfaces HTML Approaches The interface of the Ethereum applications are usually done using HTML technologies. Therefore the usage of RDF data embedded on HTML is possible. No
  • 25. Extracting Data on Ethereum: Wallets • {"address":"0xcb60081c79230499c5d5615505f88df53c5bbcc9", "checksumAddress":"0xCB60081C79230499C5D5615505F88d f53C5bBcC9","privKey":"3c8f4ddb1cb78625dad5a221c28a87 3b37cc115f8ba243508eb338a908afeeb0","pubKey":"0xdbb18 9772ec307e06242fefbdcb95bf0f21cc1ba0ba584d22db2f9a4e8 7d6f0fc231985dfb39dd6a54bb9f93e75428010e52e701ab05a09 c9676419222ac2b7a","publisher":"MyEtherWallet","encrypted":f alse,"version":2} Unencrypted wallet generated with myetherwallet.com
  • 26. Storing RDF Data on Ethereum: Gas  Execution fee that a user has to pay on gas units for every operation made on the Ethereum Blockchain.  Gas cost.  Gas price.  Gas limit.  Gas fee.
  • 27. Storing RDF Data on Ethereum: Transactions -Way Short explanation Advantages Disadvantages Data property Property existing in each transaction on Ethereum - Not fixed size. - Cannot be modified - Expensive - Stored on hexadecimal format - Is not SPV friendly Contract Storage Contract state flexible database. Key-value store - Not fixed size - Easily Accesible - Expensive - Information is modifiable Event Logs Historical raw data - Cheap - Not accesible for smart contracts. - Data generated by the smart contract External Storage (IPFS) Storing it externally and keeping the identi er using one of the above methods Unlimited size - Not guaranteed that data will not be removed
  • 28. Storing RDF Data on Ethereum: Contract Storage & IPFS contract Sample { string rdfData = "RDF Data Here "; } contract Sample { string rdfData = “IPFS Hash Here "; } e.g. QmYwAPJzv5CZsnA625s3Xf2nemtYgPpHdWEz79ojWnPbdG key-value store with 2256 possible keys and 2256 values
  • 29. The current problem • Existing Suppy Chain systems are heterogeneous. • It is expensive and they are not reliable. • Tracking and tracing is not easy. • EXAMPLE: 2013 Horse meat scandal! 29
  • 30. DeSCA prototype  Ethereum Decentralized Application.  Basic Supply Chain Management prototype.  Record flow of goods.  Record data participants.  Record RDF data.
  • 31. Architecture G. Wood, “The ethereum experience." [Online]. Available: http://www.slideshare.net/ethereum/the-ethereum-experience
  • 32. Functionalities  Create account  Manage smart contract  Register user  Create item  Transfer item  Show provenance
  • 34. 34
  • 35. Programming languages and frameworks web3.js ipfs.js geth
  • 37. Evaluation  14 participants different profiles.  Most of them informed about Blockchain technologies.  Technology awareness.  Usability evaluation.
  • 38. Evaluation: Technology awareness  Around 93% participants knew before about Blockchain.  Around 85% participants knew before about Semantic web.  100% of participants think that Semantic Web is useful.  Around 85% participants knew before about SCM.
  • 39. Evaluation: “The prototype is not easy to understand”
  • 40. Evaluation: “It is not a useful prototype for Supply Chain Management”
  • 41. Evaluation: “It is easy to learn”
  • 42. Evaluation: “The prototype has benefits compared to possible centralized solutions”
  • 43. Conclusions  This research presented some integrations steps between Semantic and Blockchain technologies.  BLONDiE: OWL ontology.  Extracting data and storing RDF data from Ethereum.  DeSCA: Ethereum ÐApp prototype for SCM.  DeSCA was evaluated resulting that most people think it is easy to understand, is useful, easy to learn, and offers advantages compared to centralized systems.
  • 44. Future Work  BLONDiE can be extended to cover more Blockchain-based platforms (Hyperledger, NXT, etc).  Research about more Semantic integration on Ethereum like instead of using HTTP-URIs, start using hashes as identifiers.  DeSCA can be extended to cover more data related to SCM. It can be extended to allow manage of users and item data, store certificates that prove origin of data.
  • 45. Descriptive Scenario Name Job Title Company Role Eric Cartman Farmer Daisy Hill Puppy Farm Producer Ellie Williams CEO Umbrella Corp. Distributor Apu Nahasapeemapetilo n Owner Kwik-E-Mart Retailer Milhouse Van Houten Student University of Bonn Customer