Semantic Blockchain - Starting Point #Semanticblockchain
Semantic Blockchain - Starting Point #Semanticblockchain
(STARTING POINT)
1. BACKGROUND
Bitcoin 1.0
The world's first decentralized digital currency
Public keys
Every 10 minutes
a new block is added
Hash functions
SOURCE: Andreas Antonopoulos. Mastering bitcoin: Unlocking digital cryptocurrencies. O'Reilly,Sebastopol, CA, 2015.
Bitcoin 2.0:
The application of decentralized public ledgers for purposes other
than just digital currencies.
There are many (metacoins and others), but Ethereum includes a
programmable smart contract platform.
SMART CONTRACT: programs and protocols to facilitate the
automated performance of a contract. Different possible languages,
supported one: SOLIDITY
SOURCE: Hector Ugarte. Semantic web on/with the blockchain - Multilayered architecture on Ethereum,
https://semanticblocks.wordpress.com/2016/03/29/multilayered-architecture-on-ethereum/ 2016.
2. ANALYSIS
The Symbiosis
Transaction_2
has
Transaction_1
has
Block_1
Transaction_3
has
has
Block_header_1
Merkle_root
614ea8dd47267035
f15b638c0a459900
6e410e714f95fe73b
11
3. PROPOSED SOLUTION
12
Proposed solutions
1. Developed
ontology
to explore Bitcoin and Ethereum
blockchain
13
Proposed solutions
Evaluation:
A basic mapping between JSON RPC (using Ethereum JSON RPC API)
and RDF (using
vocabulary)
14
Proposed solutions
2. Implement a usecase on Ethereum
Chosen usecase: PROVENANCE on the Supply Chain
Provenance is defined as a record that describes the people,
institutions, entities, and activities involved in producing, influencing, or
delivering a piece of data or a thing.
W3C (World Wide Web Consortium) Provenance Working Groups
15
16
SOURCE: Christopher Brewster. Semantic blockchains in the supply chain. Aston University, 2015.
17
SOURCE: Luc Moreau. Enabling Provenance on the Web Standardization and Research Questions. Web and Internet Science.
18
University of Southampton, 2015.
19
the journalist
data cruncher
editor
webmaster
20
SOURCE: Luc Moreau, Paul Groth. Provenance : an introduction to PROV. Morgan & Claypool, 2013.
Individuals diagram
22
Future Work
Ethereum Contract ABI (Application binary interface)
23
Future Work
Ethereum Natural Specification Format
@title: This is a title that should describe the contract and go above
the contract definition
@author: The name of the author of the contract. Should also go
above the contract definition.
@notice: Represents user documentation. This is the text that will
appear to the user to notify him of what the function he is about to
execute is doing
@dev: Represents developer documentation. This is documentation
that would only be visible to the developer.
@param: Documents a parameter just like in doxygen. Has to be
followed by the parameter name.
@return: Documents the return type of a contract's function.
24