ontology and graph database - phusewiki.org uxbridge sde... · ontology is the philosophical study...

40
The perfect combination for better data analytics Dr Peter Tormay Ontology and Graph Database

Upload: phamkhanh

Post on 30-Jul-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

The perfect combination for better data analytics

Dr Peter Tormay

Ontology and Graph Database

Page 2: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

The value of data

22 May 2017 PHuse 1 day event

WIP ∙ p(TS)

CT ∙ Cα

Pharmaceutical value equation

Paul et al. Nature Reviews Drug Discovery, Vol9:3 203-214

P = Productivity (ROI)WIP = Work in progressp(TS) = probability of technical successCT = cycle timeC = costV = value (Effectiveness)

P ∙ V

Page 3: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

The value of data

22 May 2017 PHuse 1 day event

DiscoveryCandidate selection

Preclinical testing

Phase I Phase II Phase IIIMarketing/

Sales

Real world evidence

Genomic data

Phenotypic data

PK/PD

Adverse events

Efficacy data

PRO’s

Network of data – different data types and sources

Laboratory

Page 4: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

Personalised medicine

Targeted Therapy / Stratified Patient cohort

4

Page 5: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

Biomarkers

• (Bio)Marker are the core indicator in the life cycle of a drug from target validation to market

• Identification of trends, patterns and correlations

20/02/2014BigDip

5

Biological System

Risk

Diagnosis

Predictive

Prognostic

From descriptive to predictive and prescriptive analytics

Page 6: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

The process of data analytics

Data collection

Data curation + Integration

Data Analysis

22 May 2017 PHuse 1 day event

Algorithms for data evaluation

and insight

Cataloguing and annotation for querying and

retrievals

Getting data into the systems

Page 7: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

Data collection

22 May 2017 PHuse 1 day event

Unconnected Silos

Page 8: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

Relevance

22 May 2017 PHuse 1 day event

From 2013 to 2020, the digital universe will grow by a factor of 10 – from 4.4 trillion gigabytes to 44 trillion. It more than doubles every two yearsEMC Digital Universe with Research & Analysis by IDCThe Digital Universe of Opportunities: Rich Data and the Increasing Value of the Internet of ThingsApril 2014

What proportion of this data is accurate and relevant?

Page 9: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

Structured and unstructured data

22 May 2017 PHuse 1 day event

miss sophie’s class were learning about punctuation they knew they needed to remember to use

capital letters for proper nouns and full stops at the end of sentences but didn’t always bother to put

them in please also put new speech in a new paragraph reminded miss sophie before they began

new speech has to have a capital letter too doesn’t it asked flossie yes but not when speech

continues replied miss sophie if the same person is still speaking I often forget punctuation before

and after speech admitted one sensible child but I will try my best to get it right first time

Page 10: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

Structured and unstructured data

22 May 2017 PHuse 1 day event

Miss Sophie’s class were learning about punctuation. They knew they needed to remember to use

capital letters for proper nouns and full stops at the end of sentences, but didn’t always bother to

put them in. “Please also put new speech in a new paragraph,” reminded Miss Sophie, before they

began.

“New speech has to have a capital letter too, doesn’t it?” asked Flossie.

“Yes but not when speech continues,” replied Miss Sophie.

“If the same person is still speaking, I often forget punctuation before and after speech,” admitted

one sensible child, “but I will try my best to get it right first time.”

All data is structuredBut our systems cannot deal with all these different structures

Page 11: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

Scalability

• Data volume: Can the system cope with the increase in data volumes, i.e. handle more data of the same type efficiently.

• Data complexity: Can the system cope with increasing data complexity, i.e. can the system effectively handle the proliferation of data types? In order to effectively handle complex data, the system not only needs to be able to add these data types into the mix but also needs to be able to connect these different data types with each other.

22 May 2017 PHuse 1 day event

Page 12: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

Relational Database

22 May 2017 PHuse 1 day event

Page 13: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

Data lakes

22 May 2017 PHuse 1 day event

Genomic data laboratory dataMedical history

Patient reported outcome

Repository of all data in raw format

Analysed data outflow

Inflow of multiple data sources in multiple formats

Datamarts

Page 14: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

Data boxes

22 May 2017 PHuse 1 day event

Study I

Study II

PatientsStudy I

Laboratory dataGenome data

Study III

PRO’s

Study I Outcome

data

Study II

Page 15: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

Semantic Interoperability

22 May 2017 PHuse 1 day event

Semantic Interoperability

ContentStructure

Terminology?

Page 16: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

Data model for effective data integration

20/02/2014BigDip

16

Semantic Web

Graph Database

Ontology

Page 17: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

Ontology (Philosophy)

22 May 2017 PHuse 1 day event

Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories of being and their relations.

Parmenides 520 BCEProposed an ontological characterization of the fundamental nature of reality

Page 18: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

Ontology (IT)

22 May 2017 PHuse 1 day event

Formal representation of a knowledge domain, describing its entities, events and

processes and the relationships connecting these entities, events and

processes

• To share common understanding of the structure of information among people or software agents

• To enable reuse of domain knowledge• To make domain assumptions explicit• To separate domain knowledge from the operational knowledge• To analyse domain knowledge

Page 19: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

Concepts and our Mind

22 May 2017 PHuse 1 day event

February 2013

Concepts are Built into Our MindsA Single Brain Cell Evokes a Single Concept

Page 20: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

“Ontologies” in Life Sciences

• Snomed CT

• ICD-xx

• MedDRA

• Canonical

• The Foundational Model of Anatomy (FMA)

• Gene Ontology (GO)

• Cell Ontology (CL)

• Protein Ontology (PRO)

• openEHR

22 May 2017 PHuse 1 day event

Page 21: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

“Ontologies” in Life Sciences

• Snomed CT

• ICD-xx

• MedDRA

• Canonical

• The Foundational Model of Anatomy (FMA)

• Gene Ontology (GO)

• Cell Ontology (CL)

• Protein Ontology (PRO)

• openEHR

22 May 2017 PHuse 1 day event

TerminologiesCode listsConcerned with the meaning of labelsrather than the entity the labels are describing

Page 22: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

Patient Study

Id:

Age:

AgeU:

Sex:

Id:

Design:

Blinding:

Control:

has

Holons

22 May 2017 PHuse 1 day event

• A concept that can be interpreted by itself• Classified according to content• Contains information

• Fields, groups and attributes• Contains relations to other Holons• Each relation has a specific meaning

Page 23: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

Real World Information Modelling -Using Holons

Patient

Results

Measurement

Notification

Sampling

Physician

22 May 2017 PHuse 1 day event

Page 24: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

Real World Information Modelling -Using Holons

Patient

Results

Measurement

Notification

Sampling

Indication

TreatmentPhysician

22 May 2017 PHuse 1 day event

Page 25: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

Real World Information Modelling -Using Holons

Patient

Results

Measurement

Notification

Sampling

Indication

Treatment Medicine Intake

Actual Product

Batch

Physician

22 May 2017 PHuse 1 day event

Page 26: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

Real World Information Modelling -Using Holons

Patient

Results

Measurement

Notification

Sampling

Person

Indication

Treatment Medicine Intake

Actual Product

Batch

PhysicianPerson

CV

Building a Conceptual “Mind Map” of Related Holons

22 May 2017 PHuse 1 day event

Page 27: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

Graph databases

22 May 2017 PHuse 1 day event

Patient Study

Id: 01-701-1015

Age: 68

AgeU: years

Sex: Female

Id: S003

Design: Parallel

Blinding: Double

Control: Placebo

has

node node

properties properties

label label

edge

Page 28: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

Patient Study

Id: 01-701-1015

Age: 68

AgeU: years

Sex: Female

Id: S003

Design: Parallel

Blinding: Double

Control: Placebo

has

Conceptual modelling

10/10/2016 Phuse 2016

Person Study

Id: 01-701-1015

Age: 68

AgeU: years

Sex: Female

Id: S003

Design: Parallel

Blinding: Double

Control: Placebo

participates in

Page 29: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

Benefits of graph databases

• The conceptual data model translates directly into the graph database model.

• Graph databases are flexible and easily expandable.

• Metadata can be stored directly as part of the data.

• Data can be evaluated in different contexts.

10/10/2016 Phuse 2016

Page 30: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

Indices versus graph traversal

22 May 2017 PHuse 1 day event

• individual nodes (identity index)• node types (node type identity index)• property values (property index)• existence of indirect relationships (relation index)

Page 31: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

System to answer complex questions

• Find all blood pressure measurements that are considered high and that are connected to patients that were given a dose of the drug A

• What adverse events have been reported for patients with elevated liver values

10/10/2016 Phuse 2016

Page 32: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

S1

P1

V1

LV1

V2

LV10

AEHeadache

AENausea

Select data:Type of Node: “Patient”With (Type of Node: ”Liver Value”, Property: ”Value > 5”)

Fetch: Type of Node:”Adverse Event”, property:”Name”

Querying a graph database

22 May 2017 PHuse 1 day event

What adverse events have been reported for patients with elevated liver values

Page 33: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

Querying a relational database

22 May 2017 PHuse 1 day event

Page 34: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

Reflective logic

22 May 2017 PHuse 1 day event

relate values through a specific type of Holons where no direct relation exist

Page 35: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

Structured Free Text Search - Detailed

22 May 2017PHuse 1 day event

Page 36: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

Tables, List boxes, Panels and …

22 May 2017PHuse 1 day event

Page 37: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

Direct Relation to Holon Source Data

22 May 2017 PHuse 1 day event

Dealing with Data Veracity

Page 38: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

Benefits of Ontology/graph database approach

• The conceptual data model translates directly into the graph database model.

• Graph databases are flexible and easily expandable.

• Metadata can be stored directly as part of the data.

• Data can be evaluated in different contexts.

• Easy to query and retrieve data for further analysis

22 May 2017 PHuse 1 day event

Page 39: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

The curated data lake

22 May 2017 PHuse 1 day event

Page 40: Ontology and Graph Database - phusewiki.org Uxbridge SDE... · Ontology is the philosophical study of the nature of being, becoming, existence or reality as well as the basic categories

www.capish.com

Peter Tormay

[email protected]

Thank you