Semantic blockchain

Ben Gardner
Ben GardnerKnowledge Management Solutions Architect at AstraZeneca
Semantic Blockchain
A primer on Blockchain, Semantic Web and Ricardian Contracts
Ben Gardner
Semantic
Web
blockchain Ricardian Contracts
Overview
• Why is Semantic Blockchain important
• What is the Blockchain
• What are Ricardian Contracts
• What is the Semantic Web
• Ricardian Contracts on the Semantic Blockchain
• Implications
The Semantic Web : A new form of Web content that is meaningful to computers will
unleash a revolution of new possibilities by Tim Berners-Lee, James Hendler and Ora Lassila (2001)
The entertainment system was belting out the Beatles' "We Can Work It Out" when the phone rang. When
Pete answered, his phone turned the sound down by sending a message to all the other local devices that
had a volume control. His sister, Lucy, was on the line from the doctor's office: "Mom needs to see a specialist
and then has to have a series of physical therapy sessions. Biweekly or something. I'm going to have my
agent set up the appointments." Pete immediately agreed to share the chauffeuring. At the doctor's office,
Lucy instructed her Semantic Web agent through her handheld Web browser. The agent promptly retrieved
information about Mom's prescribed treatment from the doctor's agent, looked up several lists of providers,
and checked for the ones in-plan for Mom's insurance within a 20-mile radius of her home and with a rating of
excellent or very good on trusted rating services. It then began trying to find a match between available
appointment times (supplied by the agents of individual providers through their Web sites) and Pete's and
Lucy's busy schedules. (The emphasized keywords indicate terms whose semantics, or meaning, were
defined for the agent through the Semantic Web.)
In a few minutes the agent presented them with a plan. Pete didn't like it—University Hospital was all the way
across town from Mom's place, and he'd be driving back in the middle of rush hour. He set his own agent to
redo the search with stricter preferences about location and time. Lucy's agent, having complete trust in
Pete's agent in the context of the present task, automatically assisted by supplying access certificates and
shortcuts to the data it had already sorted through.
Almost instantly the new plan was presented: a much closer clinic and earlier times—but there were two
warning notes. First, Pete would have to reschedule a couple of his less important appointments. He checked
what they were—not a problem. The other was something about the insurance company's list failing to
include this provider under physical therapists: "Service type and insurance plan status securely verified by
other means," the agent reassured him. "(Details?)"
Lucy registered her assent at about the same moment Pete was muttering, "Spare me the details," and it was
all set. (Of course, Pete couldn't resist the details and later that night had his agent explain how it had found
that provider even though it wasn't on the proper list.)
But what about the contract?
• So far only a schedule has been agreed between Lucy, Pete and the
treatment provider
• Who is paying? – Identity of actors
• How do they know the service has been delivered?
• What are the terms around treatment provision?
• What if a appointment is cancelled? Payment?
But this isn’t just about monetary contracts it is also about the
transactions between IoT
• How does Lucy or Pete know when/if mum was picked up/dropped
off?
Introducing the Semantic blockchain
blockchain
Semantic
Web
Semantic
blockchain
Unambiguous data
Connected
Trust
Proof of work
Unambiguous data
Connected
Trust
Proof of work
A primer on
blockchain - PWC
Ricardian Contract
“A Ricardian contract places the defining elements of a legal agreement in a
format that can be expressed and executed in software. The key is to make the
format both machine readable such that they can easily be extracted for
computational purposes, and readable as an ordinary prose document such that
lawyers and contracting parties may read the essentials of the contract without
undue inconvenience.” - Wikipedia
Smart Contract
“A smart contract is a computerized transaction protocol that executes the terms
of a contract. The general objectives are to satisfy common contractual
conditions (such as payment terms, liens, confidentiality, and even enforcement),
minimize exceptions both malicious and accidental, and minimize the need for
trusted intermediaries.” - Nick Sazabo
Bitcoin is an implementation of blockchain technology limited to transfer
of funds from A to B
Ethereum expands the concept of transactions to arbitrary complex
contracts
Weather Insurance
I, Alex Batlin, authorise the transfer from address 'abcdwerr' to address
'24dsfrg3434' using smart contract agent address '24dsfrg3434' of '10' unit(s) of
GBP pounds held by smart contract address '4854398578934' on the condition
that website 'Weather.com' confirms that '0.5' cumulative inches of rain did indeed
fall between start date '9:00AM UTC 10th of March, 2015' and finish date '9:00AM
UTC 11th of March, 2015' in country 'GB' and postcode 'EC2Y 0RT’.
Readable by humans
Crypto 2.0 Musings - Combining Ricardian and Smart Contracts - Alex Batlin
Weather Insurance
I, Alex Batlin, authorise the transfer from address 'abcdwerr' to address
'24dsfrg3434' using smart contract agent address '24dsfrg3434' of '10' unit(s) of
GBP pounds held by smart contract address '4854398578934' on the condition
that website 'Weather.com' confirms that '0.5' cumulative inches of rain did indeed
fall between start date '9:00AM UTC 10th of March, 2015' and finish date '9:00AM
UTC 11th of March, 2015' in country 'GB' and postcode 'EC2Y 0RT’.
What needs to be defined so a computer can execute the
contract
Linked Data= the internet + http + rdf
Tim Berners-Lee outlined four principles of linked data in his Design Issues:
Linked Data note, paraphrased along the following lines:
1. Use URIs to identify things.
2. Use HTTP URIs so that these things can be referred to and looked up
("dereferenced") by people and user agents.
3. Provide useful information about the thing when its URI is dereferenced, using
standard formats such as RDF/XML.
4. Include links to other, related URIs in the exposed data to improve discovery of
other related information on the Web.
The second attempt at the semantic web
http://en.wikipedia.org/wiki/Linked_data
Subject
<John>
Predicate
<Knows>
Object
<Sarah>
RDF Triple
<John>
<L-123456>
<New York>
<Tax>
<Sarah>
hasWorkedOn
hasLocation
hasPractice
knows
Graph
Combining Triples creates a directed, labelled graph
Resource Description Framework (RDF)
Inspired by J Phil Brooks, Eli Lilly
Note – RDF is a data
model not a data format
<John>
<L-123456>
<New York>
<Tax>
<Sarah>
hasWorkedOn
hasLocation
hasPractice
Knows
<L-123456>
<California>
<Acme Inc>
<IPO>
hasJurisdiction
hasClient
hasTransactionType
Graphs can be joined together ……
Inspired by J Phil Brooks, Eli Lilly
<John>
<L-123456>
<New York>
<Tax>
<Sarah>
hasWorkedOn
hasLocation
hasPractice
Knows
<L-123456>
<California>
<IPO>
hasJuristdction
hasClient
hasTransactionType
<Acme Inc>
<San Deigo>
<Nexus Corp>
<Energy>
hasLocation
HasSector
hasParent
…... to traverse the knowledge space
Inspired by J Phil Brooks, Eli Lilly
What did those rules mean?
http://biglynx.co.uk/people/matt-briggs http://biglynx.co.uk/people/scott-miller
http://xmlns.com/foaf/0.1/knows
Subject
<Matt Briggs>
Predicate
<Knows>
Object
<Scott Miller>
1. Use URIs to identify things.
2. Use HTTP URIs so that these things can be referred to and looked up
("dereferenced") by people and user agents.
Linked Data: Evolving the Web into a Global Data Space- Tom Heath & Christian Bizer
RDF Serialisation
RDF/XML & RDFa – W3C standardised serialisation formats
Turtle, N-Triples, JSON – non-standardised serialisation formats
Turtle – Plain text serialisation, mainly used for reading RDF triples or writing them by
hand.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
<http://biglynx.co.uk/people/matt-briggs>
rdf:type foaf:Person ;
foaf:name “Matt Briggs” ;
foaf:based_near “Birmingham”;
foaf:topic_interest “Wildlife photography” ;
foaf:knows “David Attenborough” .
3. Provide useful information about the thing when its URI is dereferenced, using
standard formats such as RDF/XML.
RDF Serialisation
RDF/XML & RDFa – W3C standardised serialisation formats
Turtle, N-Triples, JSON – non-standardised serialisation formats
Turtle – Plain text serialisation, mainly used for reading RDF triples or writing them by
hand.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
<http://biglynx.co.uk/people/matt-briggs>
rdf:type foaf:Person ;
foaf:name “Matt Briggs” ;
foaf:based_near <http://sws.geonames.org/3333125/> ;
foaf:based_near <http://dbpedia.org/resource/Birmingham> ;
foaf:topic_interest <http://dbpedia.org/resource/Wildlife_photography> ;
foaf:knows <http://dbpedia.org/resource/David_Attenborough> .
4. Include links to other, related URIs in the exposed data to improve discovery of
other related information on the Web.
Linked Open Data as of September 2011
Weather Insurance
I, Alex Batlin, authorise the transfer from address 'abcdwerr' to address
'24dsfrg3434' using smart contract agent address '24dsfrg3434' of '10' unit(s) of
GBP pounds held by smart contract address '4854398578934' on the condition
that website 'Weather.com' confirms that '0.5' cumulative inches of rain did indeed
fall between start date '9:00AM UTC 10th of March, 2015' and finish date '9:00AM
UTC 11th of March, 2015' in country 'GB' and postcode 'EC2Y 0RT’.
Linked Data can unambiguously define the things and the
relationships between things
Weather Insurance
@prefix rc: <http://batlin.com/ricardian#> .
[a rc:RicardianContract;
rc:hasTransferAuthorisation [ a rc:TransferAuthorisation;
rc:hasAgentAddress "24dsfrg3434";
rc:hasFromAddress "abcdwerr";
rc:hasInstrumentAddress "4854398578934";
rc:hasInstrumentUnits "10";
rc:hasToAddress "24dsfrg3434" ];
rc:hasTransferCondition [ a rc:TransferCondition;
rc:hasCountryCode "GB";
rc:hasCumulativeInchesOfRainDetected "0.5";
rc:hasFinishDate "2016-03-11T09:00:00<";
rc:hasOracleUrl <https://www.weather.com>;
rc:hasPostCode "EC2Y 0RT";
rc:hasStartDate "2016-03-10T09:00:00<" ]].
RDF representation provides an unambiguously defined contract
3. Provide useful information about the thing when its URI is
dereferenced, using standard formats such as RDF/XML.
Weather Insurance
@prefix rc: <http://batlin.com/ricardian#> .
[a rc:RicardianContract;
rc:hasTransferAuthorisation [ a rc:TransferAuthorisation;
rc:hasAgentAddress "24dsfrg3434";
rc:hasFromAddress "abcdwerr";
rc:hasInstrumentAddress "4854398578934";
rc:hasInstrumentUnits "10";
rc:hasToAddress "24dsfrg3434" ];
rc:hasTransferCondition [ a rc:TransferCondition;
rc:hasCountryCode <http://www.geonames.org/2635167/united-kingdom.html>;
rc:hasCumulativeInchesOfRainDetected "0.5";
rc:hasFinishDate "2016-03-11T09:00:00<";
rc:hasOracleUrl <https://www.weather.com>;
rc:hasPostCode <http://www.geonames.org/maps/google_51.52_-0.092.html>;
rc:hasStartDate "2016-03-10T09:00:00<" ]].
4. Include links to other, related URIs in the exposed data to
improve discovery of other related information on the Web.
Linked Data unambiguously connects the contract to Oracles (Linked Open Data)
Ricardian contracts on the Semantic blockchain
blockchain
Semantic
Web
Semantic
blockchain
Unambiguous data
Connected
Trust
Proof of work
Further reading – Hector Ugarte
https://semanticblocks.wordpress.com/
Realising the Semantic Web vision
Block Chain Technologies & The Semantic Web – Matthew English et al
Back to Pete & Lucy
• So far only a schedule has been agreed between Lucy, Pete and the
treatment provider
• Who is paying – Identity of actors
• How do they know the service has been delivered?
• What are the terms around treatment provision?
• What if a appointment is cancelled? Payment?
But this isn’t just about monetary contracts it is also about the
transactions between IoT
• How does Lucy or Pete know when/if mum was picked up/dropped
off?
Could Blockchain fill in the missing layers of the
Semantic Web Architecture?
Semantic
Web
blockchain
1 of 25

Recommended

AEM Best Practices for Component Development by
AEM Best Practices for Component DevelopmentAEM Best Practices for Component Development
AEM Best Practices for Component DevelopmentGabriel Walt
17.7K views27 slides
EMR 플랫폼 기반의 Spark 워크로드 실행 최적화 방안 - 정세웅, AWS 솔루션즈 아키텍트:: AWS Summit Online Ko... by
EMR 플랫폼 기반의 Spark 워크로드 실행 최적화 방안 - 정세웅, AWS 솔루션즈 아키텍트::  AWS Summit Online Ko...EMR 플랫폼 기반의 Spark 워크로드 실행 최적화 방안 - 정세웅, AWS 솔루션즈 아키텍트::  AWS Summit Online Ko...
EMR 플랫폼 기반의 Spark 워크로드 실행 최적화 방안 - 정세웅, AWS 솔루션즈 아키텍트:: AWS Summit Online Ko...Amazon Web Services Korea
771 views81 slides
Jena – A Semantic Web Framework for Java by
Jena – A Semantic Web Framework for JavaJena – A Semantic Web Framework for Java
Jena – A Semantic Web Framework for JavaAleksander Pohl
5.2K views25 slides
AWS EMR Cost optimization by
AWS EMR Cost optimizationAWS EMR Cost optimization
AWS EMR Cost optimizationSANG WON PARK
1.3K views30 slides
실전! 스프링과 함께하는 환경변수 관리 변천사 발표자료 by
실전! 스프링과 함께하는 환경변수 관리 변천사 발표자료실전! 스프링과 함께하는 환경변수 관리 변천사 발표자료
실전! 스프링과 함께하는 환경변수 관리 변천사 발표자료수홍 이
15.9K views129 slides
AEM Sightly Deep Dive by
AEM Sightly Deep DiveAEM Sightly Deep Dive
AEM Sightly Deep DiveGabriel Walt
4.1K views29 slides

More Related Content

What's hot

NiFi 시작하기 by
NiFi 시작하기NiFi 시작하기
NiFi 시작하기Byunghwa Yoon
11.8K views14 slides
Ontology Mapping by
Ontology MappingOntology Mapping
Ontology Mappingbutest
6K views24 slides
Spring Framework - AOP by
Spring Framework - AOPSpring Framework - AOP
Spring Framework - AOPDzmitry Naskou
8.4K views44 slides
Behavior Driven Development (BDD) and Agile Testing by
Behavior Driven Development (BDD) and Agile TestingBehavior Driven Development (BDD) and Agile Testing
Behavior Driven Development (BDD) and Agile Testingdversaci
18.7K views19 slides
Construisez votre première application MongoDB by
Construisez votre première application MongoDBConstruisez votre première application MongoDB
Construisez votre première application MongoDBMongoDB
361 views37 slides
Introducing Change Data Capture with Debezium by
Introducing Change Data Capture with DebeziumIntroducing Change Data Capture with Debezium
Introducing Change Data Capture with DebeziumChengKuan Gan
444 views43 slides

What's hot(20)

Ontology Mapping by butest
Ontology MappingOntology Mapping
Ontology Mapping
butest6K views
Behavior Driven Development (BDD) and Agile Testing by dversaci
Behavior Driven Development (BDD) and Agile TestingBehavior Driven Development (BDD) and Agile Testing
Behavior Driven Development (BDD) and Agile Testing
dversaci18.7K views
Construisez votre première application MongoDB by MongoDB
Construisez votre première application MongoDBConstruisez votre première application MongoDB
Construisez votre première application MongoDB
MongoDB361 views
Introducing Change Data Capture with Debezium by ChengKuan Gan
Introducing Change Data Capture with DebeziumIntroducing Change Data Capture with Debezium
Introducing Change Data Capture with Debezium
ChengKuan Gan444 views
도메인 주도 설계의 본질 by Young-Ho Cho
도메인 주도 설계의 본질도메인 주도 설계의 본질
도메인 주도 설계의 본질
Young-Ho Cho48.5K views
스타트업 나홀로 데이터 엔지니어: 데이터 분석 환경 구축기 - 천지은 (Tappytoon) :: AWS Community Day Onlin... by AWSKRUG - AWS한국사용자모임
스타트업 나홀로 데이터 엔지니어: 데이터 분석 환경 구축기 - 천지은 (Tappytoon) :: AWS Community Day Onlin...스타트업 나홀로 데이터 엔지니어: 데이터 분석 환경 구축기 - 천지은 (Tappytoon) :: AWS Community Day Onlin...
스타트업 나홀로 데이터 엔지니어: 데이터 분석 환경 구축기 - 천지은 (Tappytoon) :: AWS Community Day Onlin...
Pivoting Data with SparkSQL by Andrew Ray by Spark Summit
Pivoting Data with SparkSQL by Andrew RayPivoting Data with SparkSQL by Andrew Ray
Pivoting Data with SparkSQL by Andrew Ray
Spark Summit16.4K views
Spring data presentation by Oleksii Usyk
Spring data presentationSpring data presentation
Spring data presentation
Oleksii Usyk2.7K views
Inside MongoDB: the Internals of an Open-Source Database by Mike Dirolf
Inside MongoDB: the Internals of an Open-Source DatabaseInside MongoDB: the Internals of an Open-Source Database
Inside MongoDB: the Internals of an Open-Source Database
Mike Dirolf52.6K views
Presto query optimizer: pursuit of performance by DataWorks Summit
Presto query optimizer: pursuit of performancePresto query optimizer: pursuit of performance
Presto query optimizer: pursuit of performance
DataWorks Summit4.3K views
카카오 광고 플랫폼 MSA 적용 사례 및 API Gateway와 인증 구현에 대한 소개 by if kakao
카카오 광고 플랫폼 MSA 적용 사례 및 API Gateway와 인증 구현에 대한 소개카카오 광고 플랫폼 MSA 적용 사례 및 API Gateway와 인증 구현에 대한 소개
카카오 광고 플랫폼 MSA 적용 사례 및 API Gateway와 인증 구현에 대한 소개
if kakao18.9K views
elasticsearch_적용 및 활용_정리 by Junyi Song
elasticsearch_적용 및 활용_정리elasticsearch_적용 및 활용_정리
elasticsearch_적용 및 활용_정리
Junyi Song74.7K views
[Pgday.Seoul 2018] 이기종 DB에서 PostgreSQL로의 Migration을 위한 DB2PG by PgDay.Seoul
[Pgday.Seoul 2018]  이기종 DB에서 PostgreSQL로의 Migration을 위한 DB2PG[Pgday.Seoul 2018]  이기종 DB에서 PostgreSQL로의 Migration을 위한 DB2PG
[Pgday.Seoul 2018] 이기종 DB에서 PostgreSQL로의 Migration을 위한 DB2PG
PgDay.Seoul1.9K views
Content Management with MongoDB by Mark Helmstetter by MongoDB
 Content Management with MongoDB by Mark Helmstetter Content Management with MongoDB by Mark Helmstetter
Content Management with MongoDB by Mark Helmstetter
MongoDB63.4K views

Similar to Semantic blockchain

Statement Of Purpose For Software Skills by
Statement Of Purpose For Software SkillsStatement Of Purpose For Software Skills
Statement Of Purpose For Software SkillsKrystal Ellison
2 views79 slides
Blockchain.docx by
Blockchain.docxBlockchain.docx
Blockchain.docxIQBAL276660
4 views4 slides
Lofty Ideals: The Nature of Clouds and Encryption by
Lofty Ideals: The Nature of Clouds and EncryptionLofty Ideals: The Nature of Clouds and Encryption
Lofty Ideals: The Nature of Clouds and EncryptionSean Whalen
300 views26 slides
75 by
7575
75Sid Mehta
65 views4 slides
Chain of a_lifetime_december2014 by
Chain of a_lifetime_december2014Chain of a_lifetime_december2014
Chain of a_lifetime_december2014Carlo Bertolazzi
975 views51 slides
Blockchain, Predictive Analytics and Healthcare by
Blockchain, Predictive Analytics and HealthcareBlockchain, Predictive Analytics and Healthcare
Blockchain, Predictive Analytics and HealthcareRuchi Dass
6.8K views19 slides

Similar to Semantic blockchain(20)

Statement Of Purpose For Software Skills by Krystal Ellison
Statement Of Purpose For Software SkillsStatement Of Purpose For Software Skills
Statement Of Purpose For Software Skills
Krystal Ellison2 views
Lofty Ideals: The Nature of Clouds and Encryption by Sean Whalen
Lofty Ideals: The Nature of Clouds and EncryptionLofty Ideals: The Nature of Clouds and Encryption
Lofty Ideals: The Nature of Clouds and Encryption
Sean Whalen300 views
Blockchain, Predictive Analytics and Healthcare by Ruchi Dass
Blockchain, Predictive Analytics and HealthcareBlockchain, Predictive Analytics and Healthcare
Blockchain, Predictive Analytics and Healthcare
Ruchi Dass6.8K views
Blockchain in Healthcare by Alex Tsado
Blockchain in Healthcare Blockchain in Healthcare
Blockchain in Healthcare
Alex Tsado10.5K views
Blockchain for Land Records and Real Estate by John Mirkovic
Blockchain for Land Records and Real EstateBlockchain for Land Records and Real Estate
Blockchain for Land Records and Real Estate
John Mirkovic17.9K views
От прорывной концепции до комплексного решения для компаний by Positive Hack Days
От прорывной концепции до комплексного решения для компанийОт прорывной концепции до комплексного решения для компаний
От прорывной концепции до комплексного решения для компаний
Positive Hack Days503 views
Notarization in Blockchain by Celine George
Notarization in BlockchainNotarization in Blockchain
Notarization in Blockchain
Celine George231 views
Consumidores Digitais: The Executive's Guide to the Internet of Things (ZD Net) by Consumidores Digitais
Consumidores Digitais: The Executive's Guide to the Internet of Things (ZD Net)Consumidores Digitais: The Executive's Guide to the Internet of Things (ZD Net)
Consumidores Digitais: The Executive's Guide to the Internet of Things (ZD Net)
What are Peer-to-peer Networks.pdf by Mark Tencaten
What are Peer-to-peer Networks.pdfWhat are Peer-to-peer Networks.pdf
What are Peer-to-peer Networks.pdf
Mark Tencaten3 views
7 Predictions & Future Trends of Blockchain Technology for 2021 by ArpitGautam20
7 Predictions & Future Trends of Blockchain Technology for 20217 Predictions & Future Trends of Blockchain Technology for 2021
7 Predictions & Future Trends of Blockchain Technology for 2021
ArpitGautam2071 views
Machine learning presentation in using pyhton by masukmia.com
Machine learning presentation in using pyhtonMachine learning presentation in using pyhton
Machine learning presentation in using pyhton
masukmia.com273 views
Computer Forensics Tools And Resources For Hjc Corporation by Larissa Swenson
Computer Forensics Tools And Resources For Hjc CorporationComputer Forensics Tools And Resources For Hjc Corporation
Computer Forensics Tools And Resources For Hjc Corporation
Larissa Swenson6 views
From 7331 to legal : a selection of blockchain discussion topics by Koen Vingerhoets
From 7331 to legal : a selection of blockchain discussion topicsFrom 7331 to legal : a selection of blockchain discussion topics
From 7331 to legal : a selection of blockchain discussion topics
Koen Vingerhoets308 views

More from Ben Gardner

Delivering a Linked Data warehouse and realising the power of graphs by
Delivering a Linked Data warehouse and realising the power of graphsDelivering a Linked Data warehouse and realising the power of graphs
Delivering a Linked Data warehouse and realising the power of graphsBen Gardner
794 views20 slides
What AI is and examples of how it is used in legal by
What AI is and examples of how it is used in legalWhat AI is and examples of how it is used in legal
What AI is and examples of how it is used in legalBen Gardner
2.3K views29 slides
From Search to Semantics by
From Search to SemanticsFrom Search to Semantics
From Search to SemanticsBen Gardner
1.1K views51 slides
Practical semantics - An introduction by
Practical semantics - An introductionPractical semantics - An introduction
Practical semantics - An introductionBen Gardner
1.1K views32 slides
From the Unknown to the Known by
From the Unknown to the KnownFrom the Unknown to the Known
From the Unknown to the KnownBen Gardner
411 views52 slides
Enterprise wiki's: Does one size fit all? by
Enterprise wiki's: Does one size fit all?Enterprise wiki's: Does one size fit all?
Enterprise wiki's: Does one size fit all?Ben Gardner
453 views9 slides

More from Ben Gardner(8)

Delivering a Linked Data warehouse and realising the power of graphs by Ben Gardner
Delivering a Linked Data warehouse and realising the power of graphsDelivering a Linked Data warehouse and realising the power of graphs
Delivering a Linked Data warehouse and realising the power of graphs
Ben Gardner794 views
What AI is and examples of how it is used in legal by Ben Gardner
What AI is and examples of how it is used in legalWhat AI is and examples of how it is used in legal
What AI is and examples of how it is used in legal
Ben Gardner2.3K views
From Search to Semantics by Ben Gardner
From Search to SemanticsFrom Search to Semantics
From Search to Semantics
Ben Gardner1.1K views
Practical semantics - An introduction by Ben Gardner
Practical semantics - An introductionPractical semantics - An introduction
Practical semantics - An introduction
Ben Gardner1.1K views
From the Unknown to the Known by Ben Gardner
From the Unknown to the KnownFrom the Unknown to the Known
From the Unknown to the Known
Ben Gardner411 views
Enterprise wiki's: Does one size fit all? by Ben Gardner
Enterprise wiki's: Does one size fit all?Enterprise wiki's: Does one size fit all?
Enterprise wiki's: Does one size fit all?
Ben Gardner453 views
Stratergies for the intergration of information (IPI_ConfEX) by Ben Gardner
Stratergies for the intergration of information (IPI_ConfEX)Stratergies for the intergration of information (IPI_ConfEX)
Stratergies for the intergration of information (IPI_ConfEX)
Ben Gardner690 views

Recently uploaded

Data about the sector workshop by
Data about the sector workshopData about the sector workshop
Data about the sector workshopinfo828217
29 views27 slides
Games, Queries, and Argumentation Frameworks: Time for a Family Reunion by
Games, Queries, and Argumentation Frameworks: Time for a Family ReunionGames, Queries, and Argumentation Frameworks: Time for a Family Reunion
Games, Queries, and Argumentation Frameworks: Time for a Family ReunionBertram Ludäscher
9 views37 slides
Lack of communication among family.pptx by
Lack of communication among family.pptxLack of communication among family.pptx
Lack of communication among family.pptxahmed164023
16 views10 slides
Running PostgreSQL in a Kubernetes cluster: CloudNativePG by
Running PostgreSQL in a Kubernetes cluster: CloudNativePGRunning PostgreSQL in a Kubernetes cluster: CloudNativePG
Running PostgreSQL in a Kubernetes cluster: CloudNativePGNick Ivanov
7 views29 slides
Custom Tag Manager Templates by
Custom Tag Manager TemplatesCustom Tag Manager Templates
Custom Tag Manager TemplatesMarkus Baersch
30 views17 slides
AvizoImageSegmentation.pptx by
AvizoImageSegmentation.pptxAvizoImageSegmentation.pptx
AvizoImageSegmentation.pptxnathanielbutterworth1
7 views14 slides

Recently uploaded(20)

Data about the sector workshop by info828217
Data about the sector workshopData about the sector workshop
Data about the sector workshop
info82821729 views
Games, Queries, and Argumentation Frameworks: Time for a Family Reunion by Bertram Ludäscher
Games, Queries, and Argumentation Frameworks: Time for a Family ReunionGames, Queries, and Argumentation Frameworks: Time for a Family Reunion
Games, Queries, and Argumentation Frameworks: Time for a Family Reunion
Lack of communication among family.pptx by ahmed164023
Lack of communication among family.pptxLack of communication among family.pptx
Lack of communication among family.pptx
ahmed16402316 views
Running PostgreSQL in a Kubernetes cluster: CloudNativePG by Nick Ivanov
Running PostgreSQL in a Kubernetes cluster: CloudNativePGRunning PostgreSQL in a Kubernetes cluster: CloudNativePG
Running PostgreSQL in a Kubernetes cluster: CloudNativePG
Nick Ivanov7 views
DGST Methodology Presentation.pdf by maddierlegum
DGST Methodology Presentation.pdfDGST Methodology Presentation.pdf
DGST Methodology Presentation.pdf
maddierlegum7 views
Best Home Security Systems.pptx by mogalang
Best Home Security Systems.pptxBest Home Security Systems.pptx
Best Home Security Systems.pptx
mogalang9 views
PRIVACY AWRE PERSONAL DATA STORAGE by antony420421
PRIVACY AWRE PERSONAL DATA STORAGEPRIVACY AWRE PERSONAL DATA STORAGE
PRIVACY AWRE PERSONAL DATA STORAGE
antony4204218 views
OPPOTUS - Malaysians on Malaysia 3Q2023.pdf by Oppotus
OPPOTUS - Malaysians on Malaysia 3Q2023.pdfOPPOTUS - Malaysians on Malaysia 3Q2023.pdf
OPPOTUS - Malaysians on Malaysia 3Q2023.pdf
Oppotus34 views
DGIQ East 2023 AI Ethics SIG by Karen Lopez
DGIQ East 2023 AI Ethics SIGDGIQ East 2023 AI Ethics SIG
DGIQ East 2023 AI Ethics SIG
Karen Lopez5 views
Customer Data Cleansing Project.pptx by Nat O
Customer Data Cleansing Project.pptxCustomer Data Cleansing Project.pptx
Customer Data Cleansing Project.pptx
Nat O6 views
6498-Butun_Beyinli_Cocuq-Daniel_J.Siegel-Tina_Payne_Bryson-2011-259s.pdf by 10urkyr34
6498-Butun_Beyinli_Cocuq-Daniel_J.Siegel-Tina_Payne_Bryson-2011-259s.pdf6498-Butun_Beyinli_Cocuq-Daniel_J.Siegel-Tina_Payne_Bryson-2011-259s.pdf
6498-Butun_Beyinli_Cocuq-Daniel_J.Siegel-Tina_Payne_Bryson-2011-259s.pdf
10urkyr347 views

Semantic blockchain

  • 1. Semantic Blockchain A primer on Blockchain, Semantic Web and Ricardian Contracts Ben Gardner Semantic Web blockchain Ricardian Contracts
  • 2. Overview • Why is Semantic Blockchain important • What is the Blockchain • What are Ricardian Contracts • What is the Semantic Web • Ricardian Contracts on the Semantic Blockchain • Implications
  • 3. The Semantic Web : A new form of Web content that is meaningful to computers will unleash a revolution of new possibilities by Tim Berners-Lee, James Hendler and Ora Lassila (2001) The entertainment system was belting out the Beatles' "We Can Work It Out" when the phone rang. When Pete answered, his phone turned the sound down by sending a message to all the other local devices that had a volume control. His sister, Lucy, was on the line from the doctor's office: "Mom needs to see a specialist and then has to have a series of physical therapy sessions. Biweekly or something. I'm going to have my agent set up the appointments." Pete immediately agreed to share the chauffeuring. At the doctor's office, Lucy instructed her Semantic Web agent through her handheld Web browser. The agent promptly retrieved information about Mom's prescribed treatment from the doctor's agent, looked up several lists of providers, and checked for the ones in-plan for Mom's insurance within a 20-mile radius of her home and with a rating of excellent or very good on trusted rating services. It then began trying to find a match between available appointment times (supplied by the agents of individual providers through their Web sites) and Pete's and Lucy's busy schedules. (The emphasized keywords indicate terms whose semantics, or meaning, were defined for the agent through the Semantic Web.) In a few minutes the agent presented them with a plan. Pete didn't like it—University Hospital was all the way across town from Mom's place, and he'd be driving back in the middle of rush hour. He set his own agent to redo the search with stricter preferences about location and time. Lucy's agent, having complete trust in Pete's agent in the context of the present task, automatically assisted by supplying access certificates and shortcuts to the data it had already sorted through. Almost instantly the new plan was presented: a much closer clinic and earlier times—but there were two warning notes. First, Pete would have to reschedule a couple of his less important appointments. He checked what they were—not a problem. The other was something about the insurance company's list failing to include this provider under physical therapists: "Service type and insurance plan status securely verified by other means," the agent reassured him. "(Details?)" Lucy registered her assent at about the same moment Pete was muttering, "Spare me the details," and it was all set. (Of course, Pete couldn't resist the details and later that night had his agent explain how it had found that provider even though it wasn't on the proper list.)
  • 4. But what about the contract? • So far only a schedule has been agreed between Lucy, Pete and the treatment provider • Who is paying? – Identity of actors • How do they know the service has been delivered? • What are the terms around treatment provision? • What if a appointment is cancelled? Payment? But this isn’t just about monetary contracts it is also about the transactions between IoT • How does Lucy or Pete know when/if mum was picked up/dropped off?
  • 5. Introducing the Semantic blockchain blockchain Semantic Web Semantic blockchain Unambiguous data Connected Trust Proof of work Unambiguous data Connected Trust Proof of work
  • 7. Ricardian Contract “A Ricardian contract places the defining elements of a legal agreement in a format that can be expressed and executed in software. The key is to make the format both machine readable such that they can easily be extracted for computational purposes, and readable as an ordinary prose document such that lawyers and contracting parties may read the essentials of the contract without undue inconvenience.” - Wikipedia
  • 8. Smart Contract “A smart contract is a computerized transaction protocol that executes the terms of a contract. The general objectives are to satisfy common contractual conditions (such as payment terms, liens, confidentiality, and even enforcement), minimize exceptions both malicious and accidental, and minimize the need for trusted intermediaries.” - Nick Sazabo Bitcoin is an implementation of blockchain technology limited to transfer of funds from A to B Ethereum expands the concept of transactions to arbitrary complex contracts
  • 9. Weather Insurance I, Alex Batlin, authorise the transfer from address 'abcdwerr' to address '24dsfrg3434' using smart contract agent address '24dsfrg3434' of '10' unit(s) of GBP pounds held by smart contract address '4854398578934' on the condition that website 'Weather.com' confirms that '0.5' cumulative inches of rain did indeed fall between start date '9:00AM UTC 10th of March, 2015' and finish date '9:00AM UTC 11th of March, 2015' in country 'GB' and postcode 'EC2Y 0RT’. Readable by humans Crypto 2.0 Musings - Combining Ricardian and Smart Contracts - Alex Batlin
  • 10. Weather Insurance I, Alex Batlin, authorise the transfer from address 'abcdwerr' to address '24dsfrg3434' using smart contract agent address '24dsfrg3434' of '10' unit(s) of GBP pounds held by smart contract address '4854398578934' on the condition that website 'Weather.com' confirms that '0.5' cumulative inches of rain did indeed fall between start date '9:00AM UTC 10th of March, 2015' and finish date '9:00AM UTC 11th of March, 2015' in country 'GB' and postcode 'EC2Y 0RT’. What needs to be defined so a computer can execute the contract
  • 11. Linked Data= the internet + http + rdf Tim Berners-Lee outlined four principles of linked data in his Design Issues: Linked Data note, paraphrased along the following lines: 1. Use URIs to identify things. 2. Use HTTP URIs so that these things can be referred to and looked up ("dereferenced") by people and user agents. 3. Provide useful information about the thing when its URI is dereferenced, using standard formats such as RDF/XML. 4. Include links to other, related URIs in the exposed data to improve discovery of other related information on the Web. The second attempt at the semantic web http://en.wikipedia.org/wiki/Linked_data
  • 12. Subject <John> Predicate <Knows> Object <Sarah> RDF Triple <John> <L-123456> <New York> <Tax> <Sarah> hasWorkedOn hasLocation hasPractice knows Graph Combining Triples creates a directed, labelled graph Resource Description Framework (RDF) Inspired by J Phil Brooks, Eli Lilly Note – RDF is a data model not a data format
  • 14. <John> <L-123456> <New York> <Tax> <Sarah> hasWorkedOn hasLocation hasPractice Knows <L-123456> <California> <IPO> hasJuristdction hasClient hasTransactionType <Acme Inc> <San Deigo> <Nexus Corp> <Energy> hasLocation HasSector hasParent …... to traverse the knowledge space Inspired by J Phil Brooks, Eli Lilly
  • 15. What did those rules mean? http://biglynx.co.uk/people/matt-briggs http://biglynx.co.uk/people/scott-miller http://xmlns.com/foaf/0.1/knows Subject <Matt Briggs> Predicate <Knows> Object <Scott Miller> 1. Use URIs to identify things. 2. Use HTTP URIs so that these things can be referred to and looked up ("dereferenced") by people and user agents. Linked Data: Evolving the Web into a Global Data Space- Tom Heath & Christian Bizer
  • 16. RDF Serialisation RDF/XML & RDFa – W3C standardised serialisation formats Turtle, N-Triples, JSON – non-standardised serialisation formats Turtle – Plain text serialisation, mainly used for reading RDF triples or writing them by hand. @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix foaf: <http://xmlns.com/foaf/0.1/> . <http://biglynx.co.uk/people/matt-briggs> rdf:type foaf:Person ; foaf:name “Matt Briggs” ; foaf:based_near “Birmingham”; foaf:topic_interest “Wildlife photography” ; foaf:knows “David Attenborough” . 3. Provide useful information about the thing when its URI is dereferenced, using standard formats such as RDF/XML.
  • 17. RDF Serialisation RDF/XML & RDFa – W3C standardised serialisation formats Turtle, N-Triples, JSON – non-standardised serialisation formats Turtle – Plain text serialisation, mainly used for reading RDF triples or writing them by hand. @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix foaf: <http://xmlns.com/foaf/0.1/> . <http://biglynx.co.uk/people/matt-briggs> rdf:type foaf:Person ; foaf:name “Matt Briggs” ; foaf:based_near <http://sws.geonames.org/3333125/> ; foaf:based_near <http://dbpedia.org/resource/Birmingham> ; foaf:topic_interest <http://dbpedia.org/resource/Wildlife_photography> ; foaf:knows <http://dbpedia.org/resource/David_Attenborough> . 4. Include links to other, related URIs in the exposed data to improve discovery of other related information on the Web.
  • 18. Linked Open Data as of September 2011
  • 19. Weather Insurance I, Alex Batlin, authorise the transfer from address 'abcdwerr' to address '24dsfrg3434' using smart contract agent address '24dsfrg3434' of '10' unit(s) of GBP pounds held by smart contract address '4854398578934' on the condition that website 'Weather.com' confirms that '0.5' cumulative inches of rain did indeed fall between start date '9:00AM UTC 10th of March, 2015' and finish date '9:00AM UTC 11th of March, 2015' in country 'GB' and postcode 'EC2Y 0RT’. Linked Data can unambiguously define the things and the relationships between things
  • 20. Weather Insurance @prefix rc: <http://batlin.com/ricardian#> . [a rc:RicardianContract; rc:hasTransferAuthorisation [ a rc:TransferAuthorisation; rc:hasAgentAddress "24dsfrg3434"; rc:hasFromAddress "abcdwerr"; rc:hasInstrumentAddress "4854398578934"; rc:hasInstrumentUnits "10"; rc:hasToAddress "24dsfrg3434" ]; rc:hasTransferCondition [ a rc:TransferCondition; rc:hasCountryCode "GB"; rc:hasCumulativeInchesOfRainDetected "0.5"; rc:hasFinishDate "2016-03-11T09:00:00<"; rc:hasOracleUrl <https://www.weather.com>; rc:hasPostCode "EC2Y 0RT"; rc:hasStartDate "2016-03-10T09:00:00<" ]]. RDF representation provides an unambiguously defined contract 3. Provide useful information about the thing when its URI is dereferenced, using standard formats such as RDF/XML.
  • 21. Weather Insurance @prefix rc: <http://batlin.com/ricardian#> . [a rc:RicardianContract; rc:hasTransferAuthorisation [ a rc:TransferAuthorisation; rc:hasAgentAddress "24dsfrg3434"; rc:hasFromAddress "abcdwerr"; rc:hasInstrumentAddress "4854398578934"; rc:hasInstrumentUnits "10"; rc:hasToAddress "24dsfrg3434" ]; rc:hasTransferCondition [ a rc:TransferCondition; rc:hasCountryCode <http://www.geonames.org/2635167/united-kingdom.html>; rc:hasCumulativeInchesOfRainDetected "0.5"; rc:hasFinishDate "2016-03-11T09:00:00<"; rc:hasOracleUrl <https://www.weather.com>; rc:hasPostCode <http://www.geonames.org/maps/google_51.52_-0.092.html>; rc:hasStartDate "2016-03-10T09:00:00<" ]]. 4. Include links to other, related URIs in the exposed data to improve discovery of other related information on the Web. Linked Data unambiguously connects the contract to Oracles (Linked Open Data)
  • 22. Ricardian contracts on the Semantic blockchain blockchain Semantic Web Semantic blockchain Unambiguous data Connected Trust Proof of work Further reading – Hector Ugarte https://semanticblocks.wordpress.com/
  • 23. Realising the Semantic Web vision Block Chain Technologies & The Semantic Web – Matthew English et al
  • 24. Back to Pete & Lucy • So far only a schedule has been agreed between Lucy, Pete and the treatment provider • Who is paying – Identity of actors • How do they know the service has been delivered? • What are the terms around treatment provision? • What if a appointment is cancelled? Payment? But this isn’t just about monetary contracts it is also about the transactions between IoT • How does Lucy or Pete know when/if mum was picked up/dropped off?
  • 25. Could Blockchain fill in the missing layers of the Semantic Web Architecture? Semantic Web blockchain

Editor's Notes

  1. This is a design pattern
  2. Hypertext transfer protocol Resource Description Framework
  3. The Linked Open Data resource continues to grow with more and more diverse information being made available. As the number of resources has grown we are seeing the emergence of key nodes in the network i.e. DBpedia, Geo Names, etc. These nodes are important as they allow disambiguation of concepts, ensuring that we are comparing apples with apples when joining information from diverse sources. Disambiguation example: The word stock can refer to a large number of different things (concepts), for example stock could refer to livestock or shares in a company. In there are over 40 different pages listed on the Stock disambiguation page Wikipedia (http://en.wikipedia.org/wiki/Stock_(disambiguation)) . If data is published independently there must be ways to differentiated between data about livestock and that about share certificates. Here is where these disambiguation hubs come in, in this case a publisher of data can link to the relevant page in DBpedia effectively saying in this case this use of stock refers to livestock. By this process the computer knows that this data can be connected with other data about livestock and not with other interpretations of the concept stock.