feasting on brains! from web services to web 2.0 to the semantic web and back again…

149
Feasting on Brains! Feasting on Brains! From Web Services From Web Services to Web 2.0 to Web 2.0 to the Semantic Web to the Semantic Web and back again… and back again… A personal journey through the Semantic Web and Web Servic for Health Care and Life Sciences Mark Wilkinson ([email protected]) Assistant Professor, Medical Genetics University of British Columbia

Upload: otylia

Post on 03-Feb-2016

26 views

Category:

Documents


0 download

DESCRIPTION

Feasting on Brains! From Web Services to Web 2.0 to the Semantic Web and back again… A personal journey through the Semantic Web and Web Services for Health Care and Life Sciences Mark Wilkinson ([email protected]) Assistant Professor, Medical Genetics University of British Columbia - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Feasting on Brains!Feasting on Brains!From Web Services From Web Services to Web 2.0 to Web 2.0 to the Semantic Web to the Semantic Web and back again…and back again…

A personal journey through the Semantic Web and Web Services for Health Care and Life SciencesMark Wilkinson ([email protected])Assistant Professor, Medical GeneticsUniversity of British ColumbiaHeart and Lung Research Institute at St. Paul’s Hospital

Page 2: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Benjamin Good(He’s a “Creep”!)

Page 3: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

approach

“Bioinformatics” is a broad fieldand suffers SEVERE interoperability problems

Is it possible to extract the knowledge Required for interoperability from the brains of

bioinformaticians en masse?

As a group, the brains of all bioinformaticians Contain all (known) bioinformatics

“Bioinformaticians” tend to be specialists in a particular domain of computational analysis

Page 4: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

“Human Computation”(luis von Ahn)

Page 5: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Ontology Spectrum

Catalog/ID

SelectedLogical

Constraints(disjointness,

inverse, …)

Terms/glossary

Thesauri“narrower

term”relation

Formalis-a

Frames(properties)

Informalis-a

Formalinstance

Value Restrs.

GeneralLogical

constraints

Originally from AAAI 1999- Ontologies Panel by Gruninger, Lehmann, McGuinness, Uschold, Welty; – updated by McGuinness.Description in: www.ksl.stanford.edu/people/dlm/papers/ontologies-come-of-age-abstract.html

Page 6: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

An ontology is a representation of knowledge

Animal

Mammal

Primate

Lemur HumanZombie

Hair

Brains ChipsShoots

has

eats

is_a

Hair

Hair

Classes, instances

properties, relationships

Page 7: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

ClassesAnimal

Mammal

Primate

Lemur HumanZombie

Hair

Brains ChipsShoots

Page 8: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

instances

Page 9: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Properties

has

eats

is_a

Page 10: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

relations

eats

is_a

has

Page 11: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

An ontology is a representation of knowledge

Animal

Mammal

Primate

Lemur HumanZombie

Hair

Brains ChipsShoots

has

eats

is_a

Hair

Hair

HairHair

Classes, instances

properties, relationships

Page 12: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Web Service?

A software tool that is accessible over the Web

Web Services are intended to be accessed by machines, not people.

Page 13: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Interoperability?

The ability of two Web Services to exchange information, and use that information correctly

This generally requires Semantics in the form of Ontologies…

Page 14: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

BioMobyBioMobyEating brains to Eating brains to enable Web enable Web Service Service InteroperabilityInteroperability

Mmmm… Mmmm… Brains!!Brains!!

Page 15: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

What does BioMoby do?

Page 16: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

• Create an ontology of bioinformatics data-types• Define an ontology of bioinformatics operations• Open these ontologies for community input• Define Web Services v.v. these two ontologies

• A Machine can find an appropriate service• A Machine can execute that service unattended• Ontology is community-extensible

The BioMoby PlanThe BioMoby Plan

Page 17: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Gene names

MOBYCentral

MOBY hosts & services

SequenceAlignment SequenceExpress. Protein Alleles…

AlignPhylogenyPrimers

Overview of BioMoby Semantic Interoperability

Overview of BioMoby Semantic Interoperability

Page 18: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Why couldn’t we do this before?

Page 19: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Interoperability

is HARD!

Page 20: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Interoperability throughHuman Computation

BioMoby Data Type Ontology: An explicit list of all biological data-types, and the

relationships between them.

Ontology built, brain by brain, by informaticians!

We achieve interoperability simply because informaticians donate their brain-power

HUMAN COMPUTATION

Page 21: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

A portion of the BioMobyOntology

…built from the brains of the community!

Page 22: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

……so what can I do with it?so what can I do with it?

Page 23: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…
Page 24: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…
Page 25: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…
Page 26: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…
Page 27: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…
Page 28: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…
Page 29: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…
Page 30: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…
Page 31: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…
Page 32: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…
Page 33: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…
Page 34: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…
Page 35: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…
Page 36: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…
Page 37: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…
Page 38: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…
Page 39: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Analytical workflow Discovery

No explicit coordination between providers

Run-time discovery of appropriate tools

Automated execution of those tools

The machine “understands” the data you have in-hand, and assists you in choosing the next step in

your analysis.

Page 40: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Interoperability throughHuman Computation

Individuals contributed their knowledge about bioinformatics data-types to

a central ontology

Their combined knowledge enabled the construction of an interoperable framework

Page 41: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Who uses BioMoby?

Page 42: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Usage Statistics

15 Nations

> 60 independent institutions

>1600 interoperable Bioinformatics Resources

~500,000 requests for “brokering” each month

Page 43: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

What have we What have we learned?learned?

We can consume We can consume the brains of a the brains of a

large community… large community…

……to generate to generate something complex, something complex,

yet organizedyet organized

Page 44: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Open Open KimonoKimono

The BioMoby ontology is The BioMoby ontology is actually quite messy…actually quite messy…

……communal brains communal brains cancan build useful ontologies, build useful ontologies,

but the problem is…but the problem is…

Page 45: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Ontologies are HARD!

Page 46: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

How are ontologies How are ontologies usually constructed?usually constructed?

Page 47: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

By small, hard-working, dedicated groups with lots of money!

• Gene Ontology & code– Curated: ~5 full-time staff– ~$25 Million (Lewis,S personal communication)

• NCI Metathesaurus & code– Curated: ~12 full-time staff– ~$15 Million (Peter K. , estimate)

• Health Level 7 (HL7)– Curated– $Lots… Some claim as much as $15 Billion

(Smith, Barry, KBB Workshop, Montreal, 2005)

Page 48: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

To build the global Semantic Web for To build the global Semantic Web for Systems Biology we need to encode Systems Biology we need to encode knowledge from EVERY domain of knowledge from EVERY domain of

biology – from barley root apex biology – from barley root apex structure and function, to HIV clinical-structure and function, to HIV clinical-

trials outcomes… and this knowledge is trials outcomes… and this knowledge is constantly changing!constantly changing!

At >$15M each, can we At >$15M each, can we affordafford the the Semantic Web???Semantic Web???

Page 49: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

iCAPTUReriCAPTURerexperimentexperiment

Mmmm… Mmmm…

Need MORE Need MORE Brains!!Brains!!

Page 50: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Dr. Bruce McManus with a human heart

in his hands

He knows his hearts…

…but he doesn’tknow how to build

an ontology

Page 51: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

What we need

Page 52: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

The Problem

Page 53: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

The Solution?

Page 54: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

The Solution?

Page 55: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

So… how do we do it?

Page 56: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Remember what we learnedfrom Moby…

…communities CAN build ontologies!

Page 57: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Building Systems BiologyOntologies through Human Computation

Page 58: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

iCAPTURer

Benjamin GoodPh.D. Student, UBC Bioinformatics

Genome BC Better Biomarkers in Transplantation project, St. Paul’s Hospital iCAPTURE Centre

Page 59: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Old Way

• KE drills the brain of one or a very few experts. • Painful, expensive, and time-consuming…

Page 60: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

New Way? – the iCAPTURer

• KE creates a clever interface• No direct interaction with expert• Thousands of experts• Cheap Cheap Cheap!

Page 61: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

iCAPTURer 1.0

Go to a scientific conference

Text-mine conference abstracts

Auto-Extract concepts

Put concepts into a series ofquestion “templates”

a web interface presents questions about these concepts to conference attendees

Give points for every question they answer

Give a prize to the highest point winner

Page 62: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Results

Is _____ a meaningful term?– Yes, No, I don’t know buttons

What is a synonym for ______– Text entry box

Where does _____ fit in the following tree of related terms?– Clickable tree

Knowledge Points Captured

464

340

207

1011 total

Page 63: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Observations

Yes/No questions work well

Text entry is less effective

Adding to a tree is a disaster!

Competition is a great motivatorfor human computation!

Page 64: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

COST?

Page 65: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

COST?

Page 66: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

COST?

Page 67: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

COST?

Page 68: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

COST?

< $15,000,000

Page 69: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

iCAPTURer 1.5

Page 70: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Start with hypothetical concept tree

Put concepts-concept relations into a series of true/false questions

Make a web interface to ask questions

If a relationship is false, then re-start at the root of the concept tree

Give points for every question they answer

Give a prize to the highest point winner

Page 71: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

“Chatterbot”

“I’ve heard that a cardiac myocyte is a type of cardiac cell. Is this true?”

“I’ve heard that STEMI means the same thing as ST Elevated Myocardial Infarction. Is that

nonsense, or is it correct?”

“How do you feel about your mother?”

Page 72: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Results

Knowledge capture in 3 days

>11,000 Concepts

Page 73: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

COST

$0

Page 74: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Full details of this experiment are available in:Proceedings of the Pacific Symposium on Biocomputing, 2006

Page 75: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Ontology Quality?

Page 76: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Potential Ontology Evaluation Metrics

• Domain independent– philosophical desiderata– graphical structure– satisfiability

• Domain specific – “Fit” to text– Similarity to a gold

standard– Task-based

– Manual, subjective– Auto, questionable value– Auto, useful, not enough

– Auto, dependent on NLP– Auto/Manual; gold standard

must exist!– Optimal! Auto/Manual, but not

generalizable

Page 77: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

“Good”???

Page 78: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

What do we mean by “Good”?

Ontology construction is “motivated by the goal of alignment not on concepts but on the universals in reality and thereby also on the

corresponding instances” - Barry Smith

Reality should be the benchmark for the “goodness” of an ontology

Page 79: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

ontology evaluation based on referents

in reality

Page 80: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Chosen Philosophical Principle“Epistemology Precedes Ontology”

• A Class should refer to an invariant pattern of properties common among all its instances – Mammals have mammary glands and hair– Humans are an instance of the class Mammal

• Therefore…– If class-instances are mapped into an ontology– Each instance has “properties” or “qualities”– These properties or qualities SHOULD segregate

into different classes if the ontology is any good

Page 81: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Philosophical Desiderata

• Non-vagueness– at least one instance can exist with the Class pattern– Vague class: “mammalian cell wall”

• Non-ambiguity– no more than one common pattern per Class– Ambiguous class: “cell” (e.g. cell phone, jail cell)

• Non-redundancy– within the same level of granularity, no other class

refers to same common properties– Redundant classes: “human”, “homo sapiens”

Cimino, J, 1998

Page 82: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Realist Evaluation: Step 1Table of Instance-Properties

A Instance Char1 Char2 Class B?

I.1 Y N YI.2 Y Y YI.3 N N NI.4 N Y N... ... ... ...(Test one class at a time)

I.1I.2

I.3I.4

CB

Page 83: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Realist Evaluation: Step 2Machine Learning

Instance Char1 Char2 Class B?

I.1 Y N YI.2 Y Y YI.3 N N NI.4 N Y N... ... ... ...

If char1 = YThen Class X

100%

Pattern

Class B score for this pattern

Page 84: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

WEKA

Produced by Waikato University in New Zealand

An open source library containing implementations of hundreds of machine learning algorithms(rule learners, LDA, SVM, neural networks... )

Page 85: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Realist Evaluation

0.35

0.10.92

Instance

Char1Char

2Class

1?

I.1 Y N Y

I.2 Y Y Y

I.3 N N N

I.4 N Y N

... ... ... ...

Class Scorefor

Each Class

Page 86: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Realist Evaluation - positive control

1. Identify an ontology that already has logical constraints on properties of a classes.

2. Assemble instances that have those properties

3. Classify the instances with a reasoner

4. Remove class restrictions from the ontology, but keep instances assigned to their classes

5. Look for patterns of instance properties

6. If successful, patterns should be detected

7. The higher the pattern score, the “gooder” the ontology is

Page 87: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Positive Control: Phosphabase

•An ontology describing different classes of phosphatase enzymes.

•Given the domain composition of a protein, phosphatase class can be inferred automatically.

Wolstencraft et al (2006) Protein classification using ontology classification Bioinformatics. Vol. 22 no. 14, pages 530–538

Page 88: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Remove the Logical Rules

• Remove the defining rules for each class

• Maintain the classified instances

• Execute the realist evaluation

• Can we re-discover the patterns that the logical class-rules used to dictate?

Page 89: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Realist Evaluation Positive Control

•25 classes from phosphabase tested on 700 simulated protein instances

•21 - pattern correctly identified for 100% of instances

•For 4 others, patterns identified covering 99, 92, 82, 82% of instances respectively.

Page 90: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Realist Evaluation Positive Control

•So the Phosphabase ontology is “good”

•We can detect strong patterns of properties in its instances that follow the philosophical desiderata

•This is unsurprising, since we knew that it was “good” in the first place…

Page 91: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Evaluation of Gene Ontology

is ongoing…

Page 92: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Interesting side effect…

Class-defining rules are generated by the realist evaluation

Most existing bio-ontologies lack formal class-definitions

This evaluation could be used to create such rules automatic classifiers

Can also detect what TYPE of property is best “classified” by current bio-ontologies

Page 93: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Is Realist Evaluation a Valid metric?

the realist evaluation measures the success of an ontology in classifying a specific set of

properties

We claim that this is a metric relating to the quality of that ontology

Is this metric any better than other metric like graph complexity, or fit-to-text?

Page 94: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Evaluatingmetrics

Page 95: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

OntoLoki – Making mischief with Ontologies

1. Take an ontology that we claim is “good”

2. Make it worse by mischievously adding changes

3. Measure the degree of “mischief”

4. Run the evaluation metric of interest

55 Metric score should correlate with the amount of mischief added

Page 96: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Comparison of ontology quality metrics

Amount of noise added (ontology quality decreasing)

Good Good Metric Metric

Bad Metric

Mea

sure

d O

nto

log

y Q

ual

ity

Mea

sure

d O

nto

log

y Q

ual

ity

Page 97: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Is Reality Evaluation a good metric?

Page 98: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Let’s OntoLoki it to find out!

Page 99: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

-0.1

0

0.1

0.2

0.3

0.4

0.5

0.6

0 0.05 0.1 0.15 0.2 0.25

OneR_avg_mean_KBi

Chi25_Jrip_avg_mean_KBi

Jrip_avg_mean_KBi

ZeroR_avg_mean_KBi

OntoLoki test of Realist Evaluation Metric

Good Metric!

Ave

rage

Cla

ss S

core

Noise Added (a measure of nodes affected)

Page 100: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Conclusion

Human computation can collect significant amounts of knowledge in an organized way

OntoLoki seems to be effective atevaluating the evaluation metricsReality evaluation is an interesting new

metric for testing ontologies

Page 101: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Subjective iCAPTURer Observations

Humans had an EXTREMELY difficult time classifying concepts into pre-existing

categories

Humans had an EXTREMELY difficult time defining new categories and placing them

into the existing classification system

Page 102: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Classification is

HARD!

Page 103: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Abandoning Classification

Page 104: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

(briefly…)

Page 105: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

An ontology is a representation of knowledge

Animal

Mammal

Primate

Lemur HumanGorilla

Hair

Big MediumSmall

has

has_size

is_a

Hair

Hair

Classes, instances

properties, relationships

Page 106: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

AN ontology is ONE representation of knowledge

Animal

Mammal

Primate

Lemur HumanGorilla

Hair

Big MediumSmall

has

has_size

is_a

Hair

Hair

HairHair

Ontology of Anatomy

Page 107: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Animal

African_animal

Southern_African_animal

Aquatic plainsmountain

Africalives

is_a

Ontology of Habitat

Also might want… Odour, # digits, bone density, friendliness, cuteness..

AN ontology is ONE representation of knowledge

Page 108: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Clay Shirky: Ontology is Overrated…

• Attempts to predict the future– “Soviet Union” used to be a category in the Library

of Congress

• Attempts mind-reading– Size, location, odour.. Authors must predict what

users are interested in

• Great minds don’t think alike..– No two people are likely to create the same

ontology

http://www.shirky.com/writings/ontology_overrated.html

Page 109: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

CategoriesProperties

Page 110: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Mass Mass CollaborativCollaborative Tagginge Tagging

BRAINS!! BRAINS!! MOREMORE

BRAINS!!BRAINS!!

Page 111: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Mass Open Social Tagging

A rapidly growing trend on the Web

Unstructured

Mass-collaboration

Anyone can say anything about anything using any words they wish

Page 112: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Connotea: Scientific Tagging(Connotea is a product of Nature Publishing Group)

Page 113: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Connotea Growth

Page 114: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Tagging is EASY!

Page 115: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

The Tagged World

Tagging is easy!

Tagging costs nothing

Tagging empowers all viewpoints

Tagging is happening!!!!!!

Page 116: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Lexical Comparison of Tagging with

Formal Indexing Systemsand Ontologies

Page 117: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Ontology (FMA)

FMA Preflabels (11)

0

0.5

1

% OLP uniterms:

% OLP duplets:

OLP flexibility:

% containedByAnother:

Standard Deviation - Term

Length

Skewness - Term Length

complements:

compositions:

Page 118: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Ontology (GO Molecular Function)

GO_MF (15)

0

0.2

0.4

0.6

0.8% OLP uniterms:

% OLP duplets:

OLP flexibility:

% containedByAnother:

Standard Deviation - Term

Length

Skewness - Term Length

complements:

compositions:

Page 119: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Ontology (GO Biological Process)

GO_BP (13)

0

0.5

1% OLP uniterms:

% OLP duplets:

OLP flexibility:

% containedByAnother:

Standard Deviation - Term

Length

Skewness - Term Length

complements:

compositions:

Page 120: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Tagging (Bibsonomy)

Bibsonomy (20)

0

0.5

1% OLP uniterms:

% OLP duplets:

OLP flexibility:

%

containedByAnother:

Standard Deviation -

Term Length

Skewness - Term

Length

complements:

compositions:

Page 121: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Tagging (CiteULike)

CiteUlike (22)

0

0.5

1% OLP uniterms:

% OLP duplets:

OLP flexibility:

%

containedByAnother:

Standard Deviation -

Term Length

Skewness - Term

Length

complements:

compositions:

Page 122: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Tagging (Connotea)

Connotea (21)

0

0.5

1% OLP uniterms:

% OLP duplets:

OLP flexibility:

%

containedByAnother:

Standard Deviation -

Term Length

Skewness - Term

Length

complements:

compositions:

Page 123: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Ontologies and Folksonomies are fundamentally different!

GO_MF (15)

0

0.2

0.4

0.6

0.8% OLP uniterms:

% OLP duplets:

OLP flexibility:

% containedByAnother:

Standard Deviation - Term

Length

Skewness - Term Length

complements:

compositions:

Bibsonomy (20)

0

0.5

1% OLP uniterms:

% OLP duplets:

OLP flexibility:

%

containedByAnother:

Standard Deviation -

Term Length

Skewness - Term

Length

complements:

compositions:

Page 124: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Problem??

Folksonomies and ontologies are fundamentally different!

It may not be possible to derive one from the other accurately

Nevertheless, we would like to take advantage of tagging behaviour while gaining the power of

controlled vocabularies/Ontologies

Page 125: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

E.D.The Entity Desciber

Page 126: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

User types in all tags

Type-ahead

displays previously used tags

Connotea tagging

Page 127: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Connotea + E.D. Tagging

Page 128: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Leveraging Tagging?

“Tagging” effectively assigns properties to entities

ED Tagging constrains those properties to a controlled vocabulary or ontology

Can we discover patterns in those properties that indicate a “natural” classification system?

Can a “realist-evaluation” generate logical rules that define classes based on patterns of tags?

Page 129: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Final Thoughts

Ontologies are important, but hard to build

iCAPTURer: formal, template-based, cost-free consumption of biologist’s

brains seems to work!

Informal annotation (tagging) is cheap, easy, and scalable,

and is HAPPENING

Can we leverage tagging to create ontology-like structures? Maybe… Maybe not!

Page 130: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

My journey back to Web Services

Page 131: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Why do I care about WS

so passionately?

Page 132: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…
Page 133: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

The Deep Web

All the data and knowledge only accessible through Web Forms

Estimated to be orders of magnitude greater than the “surface Web”

- 91,000 Terabytes in the deep Web- 167 Terabytes in the Surface Web

Much of the Deep Web CANNOT be represented on the Semantic Web since it DOES NOT EXIST until the

Web Form is accessed

Page 134: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Moby 2.0 and

CardioSHARE

Merging the Deep Weband the Semantic Web

Page 135: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

What Web Services do

SequenceData

BLAST SERVICE

Blast Hit

Page 136: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

What BioMoby does

SequenceData

MOBY BLAST SERVICE

Blast Hit

Want Blast

Page 137: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

The implied relationship between input and output

SequenceData

Blast Hit

givesBlastResult

Not “Bologically” Meaningful

Page 138: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

The implied biological relationship between input and output

SequenceData

Blast Hit

hasHomologyTo

URIhasHomologyTo

URI

…looks a lot like the RDF statement…

Page 139: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

To merge Web Servicesand the Semantic Web…

…Simply assertthe relationshipand let Moby do the rest!

Page 140: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Start with a partial Triple

URIrdf:type

Sequence

hasHomologyTo

Page 141: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

What Moby 2.0 Does

MOBY BLAST SERVICE

Blast Hit

hasHomologyToURIrdf:type

Sequence

Moby 2.0

Predicate toWeb Service

Translator

Moby 2.0

hasHomologyTo property provided by

BLAST services

Need BLAST Service consuming rdf:type Sequence

Moby 2.0

Predicate toWeb Service

Translator

Page 142: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Moby 2.0 Query

FIND SERVICES THAT

Consume Sequence Data||

Provide hasHomologyTo Property||

Attached to other Sequence Data

Page 143: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Moby 2.0 extends SPARQL

SPARQL queries contain concepts and relationships of interest

Map RDF predicates onto Moby services capable of generating them

Registry query: “What Moby service consumes [subject] and generates the

[predicate] relationship type?”

Page 144: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

But wait, there’s more!

Page 145: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

CardioSHARE: Exploit knowledge in OWL-DL ontologies to enhance query

Subject Predicate Look up and execute Moby serviceConsumes proteins and generatesFunctional annotation property

Subject PredicateLook up and execute Moby serviceConsumes STK’s and Provides inhibitor property

Evaluate Query Expression

Page 146: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

CardioSHARE: Exploit knowledge in OWL-DL ontologies to enhance query

This SPARQL query could be posed on a database of RAW, UNANNOTATEDProtein sequences, and be answered

by Moby 2.0

Page 147: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

What do Moby 2.0 and CardioSHARE achieve?

Makes the Deep Web transparently accessible as if it were

a Semantic Web Resource

Allows SPARQL to do truly semantic queries!

Reduces the requirement of Biologists to know how/where to get

their data of interest

Simplifies construction of complex analytical pipelines by automating much of the

discovery/execution tasking

Page 148: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Ontology Spectrum

Catalog/ID

SelectedLogical

Constraints(disjointness,

inverse, …)

Terms/glossary

Thesauri“narrower

term”relation

Formalis-a

Frames(properties)

Informalis-a

Formalinstance

Value Restrs.

GeneralLogical

constraints

Originally from AAAI 1999- Ontologies Panel by Gruninger, Lehmann, McGuinness, Uschold, Welty; – updated by McGuinness.Description in: www.ksl.stanford.edu/people/dlm/papers/ontologies-come-of-age-abstract.html

Page 149: Feasting on Brains! From Web Services  to Web 2.0  to the Semantic Web  and back again…

Fin