EthOn - an Ethereum Ontology - EDCON Pfeffer... · EthOn - an Ethereum Ontology Introducing...
Transcript of EthOn - an Ethereum Ontology - EDCON Pfeffer... · EthOn - an Ethereum Ontology Introducing...
![Page 1: EthOn - an Ethereum Ontology - EDCON Pfeffer... · EthOn - an Ethereum Ontology Introducing semantic Ethereum ConsenSys Primary Colors ConsenSys Primary Color Shades](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec8263f6e631319e606524f/html5/thumbnails/1.jpg)
EthOn - an Ethereum Ontology
Introducing semantic Ethereum
ConsenSys Primary Colors
ConsenSys Primary Color Shades
![Page 2: EthOn - an Ethereum Ontology - EDCON Pfeffer... · EthOn - an Ethereum Ontology Introducing semantic Ethereum ConsenSys Primary Colors ConsenSys Primary Color Shades](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec8263f6e631319e606524f/html5/thumbnails/2.jpg)
© 2017 consensys.net
The author
Name: Johannes Pfeffer
Ethereum account: 0xc656e934acee31f3d306142a020df5ae05f9880e
Works at: ConsenSys LLC
2
![Page 3: EthOn - an Ethereum Ontology - EDCON Pfeffer... · EthOn - an Ethereum Ontology Introducing semantic Ethereum ConsenSys Primary Colors ConsenSys Primary Color Shades](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec8263f6e631319e606524f/html5/thumbnails/3.jpg)
© 2017 consensys.net
What is EthOn?
1. EthOn is an ontology2. EthOn is an Ethereum reference3. EthOn is a data model4. EthOn a learning resource5. EthOn is extensible
5 facts about ethon
3
![Page 4: EthOn - an Ethereum Ontology - EDCON Pfeffer... · EthOn - an Ethereum Ontology Introducing semantic Ethereum ConsenSys Primary Colors ConsenSys Primary Color Shades](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec8263f6e631319e606524f/html5/thumbnails/4.jpg)
How EthOn was created
![Page 5: EthOn - an Ethereum Ontology - EDCON Pfeffer... · EthOn - an Ethereum Ontology Introducing semantic Ethereum ConsenSys Primary Colors ConsenSys Primary Color Shades](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec8263f6e631319e606524f/html5/thumbnails/5.jpg)
© 2017 consensys.net 5
![Page 6: EthOn - an Ethereum Ontology - EDCON Pfeffer... · EthOn - an Ethereum Ontology Introducing semantic Ethereum ConsenSys Primary Colors ConsenSys Primary Color Shades](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec8263f6e631319e606524f/html5/thumbnails/6.jpg)
© 2017 consensys.net 6
![Page 7: EthOn - an Ethereum Ontology - EDCON Pfeffer... · EthOn - an Ethereum Ontology Introducing semantic Ethereum ConsenSys Primary Colors ConsenSys Primary Color Shades](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec8263f6e631319e606524f/html5/thumbnails/7.jpg)
© 2017 consensys.net 7
http://ethon.consensys.net/Block
![Page 8: EthOn - an Ethereum Ontology - EDCON Pfeffer... · EthOn - an Ethereum Ontology Introducing semantic Ethereum ConsenSys Primary Colors ConsenSys Primary Color Shades](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec8263f6e631319e606524f/html5/thumbnails/8.jpg)
© 2017 consensys.net 8
http://ethon.consensys.net/Block
![Page 9: EthOn - an Ethereum Ontology - EDCON Pfeffer... · EthOn - an Ethereum Ontology Introducing semantic Ethereum ConsenSys Primary Colors ConsenSys Primary Color Shades](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec8263f6e631319e606524f/html5/thumbnails/9.jpg)
© 2017 consensys.net 9
http://ethon.consensys.net/StateTransition
![Page 10: EthOn - an Ethereum Ontology - EDCON Pfeffer... · EthOn - an Ethereum Ontology Introducing semantic Ethereum ConsenSys Primary Colors ConsenSys Primary Color Shades](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec8263f6e631319e606524f/html5/thumbnails/10.jpg)
What you can do with EthOn
![Page 11: EthOn - an Ethereum Ontology - EDCON Pfeffer... · EthOn - an Ethereum Ontology Introducing semantic Ethereum ConsenSys Primary Colors ConsenSys Primary Color Shades](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec8263f6e631319e606524f/html5/thumbnails/11.jpg)
© 2017 consensys.net 11
![Page 12: EthOn - an Ethereum Ontology - EDCON Pfeffer... · EthOn - an Ethereum Ontology Introducing semantic Ethereum ConsenSys Primary Colors ConsenSys Primary Color Shades](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec8263f6e631319e606524f/html5/thumbnails/12.jpg)
© 2017 consensys.net
Formalize knowledge about Ethereum
ethereum:Block0
a ethon:Block ;
rdfs:label "Genesis Block" ;
rdfs:comment "This is the block with block number 0. It is the Genesis Block of the Ethereum blockchain." ;
ethon:number 0 ;
ethon:hasBeneficary ethereum:Account0 ;
ethon:blockBeneficiaryReward 5000000000000000000 ;
ethon:blockGasLimit 5000 ;
ethon:blockNonce "0000000000000042" ;
[...]
rdfs:seeAlso <https://etherscan.io/block/0> .
12
![Page 13: EthOn - an Ethereum Ontology - EDCON Pfeffer... · EthOn - an Ethereum Ontology Introducing semantic Ethereum ConsenSys Primary Colors ConsenSys Primary Color Shades](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec8263f6e631319e606524f/html5/thumbnails/13.jpg)
© 2017 consensys.net
Exploit your knowledge
PREFIX ethon: <http://ethon.consensys.net/>
PREFIX etherscan: <https://etherscan.io/address/>
SELECT ?generous_philantrope (SUM(?present_to_buterin) as ?direct_bribe)
?dangerous_philantrope (SUM(?present_to_philantrope) as ?indirect_bribe)
WHERE {
?tx ethon:to etherscan:0xd8da6bf26964af9d7eed9e03e53415d37aa96045; # Vitalik’s Ethereum Account
ethon:from ?generous_philantrope ;
ethon:value ?present_to_buterin .
?tx2 ethon:to ?generous_philantrope ;
ethon:from ?dangerous_philantrope ;
ethon:value ?present_to_philantrope .
}
GROUP BY ?generous_philantrope ?dangerous_philantrope
13
SPARQL Queries
![Page 14: EthOn - an Ethereum Ontology - EDCON Pfeffer... · EthOn - an Ethereum Ontology Introducing semantic Ethereum ConsenSys Primary Colors ConsenSys Primary Color Shades](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec8263f6e631319e606524f/html5/thumbnails/14.jpg)
© 2017 consensys.net
Exploit your knowledgeVisualized Query (QueryVOWL)
14
SPARQL-Queries
![Page 15: EthOn - an Ethereum Ontology - EDCON Pfeffer... · EthOn - an Ethereum Ontology Introducing semantic Ethereum ConsenSys Primary Colors ConsenSys Primary Color Shades](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec8263f6e631319e606524f/html5/thumbnails/15.jpg)
Even more of what you can do with EthOn
![Page 16: EthOn - an Ethereum Ontology - EDCON Pfeffer... · EthOn - an Ethereum Ontology Introducing semantic Ethereum ConsenSys Primary Colors ConsenSys Primary Color Shades](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec8263f6e631319e606524f/html5/thumbnails/16.jpg)
© 2017 consensys.net
ERC20 extension
16
EthOn extension
![Page 17: EthOn - an Ethereum Ontology - EDCON Pfeffer... · EthOn - an Ethereum Ontology Introducing semantic Ethereum ConsenSys Primary Colors ConsenSys Primary Color Shades](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec8263f6e631319e606524f/html5/thumbnails/17.jpg)
© 2017 consensys.net
EthOn & Co.
Afterwords
EthOn main website:
http://ethon.consensys.net
EthOn - Introducing Semantic Ethereum (original article)
https://media.consensys.net/ethon-introducing-semantic-ethereum-15f1f0696986
17
Acknowledgements:
Alex Beregszaszi, Casey Detrio, Herman Junge, Joseph Chow, Maurycy Pietrzak, Marian Oancea, Niran Babalola, Shahan Khatchadourian, Stefano Bertolo
![Page 18: EthOn - an Ethereum Ontology - EDCON Pfeffer... · EthOn - an Ethereum Ontology Introducing semantic Ethereum ConsenSys Primary Colors ConsenSys Primary Color Shades](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec8263f6e631319e606524f/html5/thumbnails/18.jpg)
© 2017 consensys.net