March 2005
March 2005 Jeremy FreyJeremy Frey CINF ACS San DiegoCINF ACS San Diego
Semantic Support for Smart
Semantic Support for Smart
Laboratories
Laboratories
Jeremy Frey
Jeremy Frey
School of Chemistry, University of Southampton UK.
School of Chemistry, University of Southampton UK.
CINF, ACS San Diego
CINF, ACS San Diego
17 March 2005
17 March 2005
Talk: Workflow
Talk: Workflow
!
!
Introduction to
Introduction to
e
e
-Science & the
-Science & the
Combechem
Combechem
Project
Project
!
!
Pub / Sub
Pub / Sub
!
!
Semantics for Smart but not Dark Labs
Semantics for Smart but not Dark Labs
!
March 2005
March 2005 Jeremy FreyJeremy Frey ACS CINFACS CINF
The
The
Comb
Comb
e
e
Chem
Chem
Project
Project
!
!
Collect data with regard to how it could
Collect data with regard to how it could
eventually be used
eventually be used
!
!
Make sure the metadata is of high quality
Make sure the metadata is of high quality
!
!
Record properly at source in Digital Form
Record properly at source in Digital Form
!
!
The Chemistry Lab
The Chemistry Lab
!
!
People & Machines working together
People & Machines working together
!
!
End to End linking of data and information
End to End linking of data and information
!
!
Publication@Source
Publication@Source
!
!
But then....
But then....
“
“
Who needs provenance?
Who needs provenance?
”
”
!"#$%&!'()*&+$,&-./%&0.1 %&/.2&3 &4"5567&8 9 9 :
!"#$%&!'()*&+$,&-./%&0.1 %&/.2&3 &4"5567&8 9 9 :
March 2005
March 2005 Jeremy FreyJeremy Frey ACS CINFACS CINF
Adapt SHG lab
Adapt SHG lab
!
!
Set out to store the data
Set out to store the data
coming from our
coming from our
non-linear laser experiment
linear laser experiment
!
March 2005
March 2005 Jeremy FreyJeremy Frey ACS CINFACS CINF
Data Source
Client
Client
Client
Data Source
PDA
Translator
Service
March 2005
March 2005 Jeremy FreyJeremy Frey ACS CINFACS CINF
Data Source
Client
Client
Client
Data Source
PDA
Message
Broker
Translator
Service
Use IBM Web Sphere Technology (MQTT)
- an asynchronous grid
March 2005
March 2005 Jeremy FreyJeremy Frey ACS CINFACS CINF
March 2005
March 2005 Jeremy FreyJeremy Frey ACS CINFACS CINF
Yesterday in the lab
Temperature – room, laser
March 2005
March 2005 Jeremy FreyJeremy Frey ACS CINFACS CINF
Air Conditioning failed
Student turned off a/c
March 2005
March 2005 Jeremy FreyJeremy Frey ACS CINFACS CINF
Pub/Sub for Laboratory data
using a broker and
ultimately delivered over
GPRS
March 2005
March 2005
March 2005 Jeremy FreyJeremy Frey CINF ACS San DiegoCINF ACS San Diego
What are the people up to?
What are the people up to?
We can capture the environment
We can capture the environment
but need to capture the processes
but need to capture the processes
March 2005
March 2005 Jeremy FreyJeremy Frey ACS CINFACS CINF
We don’t
want to
take this
technology
too far.
There are
privacy
issues
“
When we implant your pacemaker, we can, for
a modest additional fee, also implant your
March 2005
March 2005 Jeremy FreyJeremy Frey ACS CINFACS CINF
critical data
entry
Industrial support
Big block to publication@source: if it’s
not digital, it’s difficult to share
Like cash machine
electronic notebooks
have taken many
forms – we want one
that adapts to
context, simple to
use in the lab whilst
doing actual bench
chemistry but linked
to more resources at
the desk – the
March 2005
March 2005 Jeremy FreyJeremy Frey ACS CINFACS CINF
Smart
Tea –
Keep
the
people
involved!
“I just realized, Howard, that everything
in this apartment is more sophisticated
than we are”
March 2005
March 2005 Jeremy FreyJeremy Frey ACS CINFACS CINF
Getting not just the what and
how, but the
why
Get chemists
and computer
scientists to
understand
each other
March 2005
March 2005 Jeremy FreyJeremy Frey ACS CINFACS CINF
COSHH
COSHH
leverage off things we already have to do
leverage off things we already have to do
March 2005
March 2005 Jeremy FreyJeremy Frey ACS CINFACS CINF
March 2005
March 2005 Jeremy FreyJeremy Frey ACS CINFACS CINF
Use RDF for
both data
March 2005
March 2005 Jeremy FreyJeremy Frey ACS CINFACS CINF
1 1 2 2 1 3
Sample of 4-flourinated
biphenyl
Add Reflux
Butanone Sample of
K2CO3 Powder Weigh grammes 0.9031 Measure 40 ml Add Weigh 2.0719 g text Butanone dried via silica column and
measured into 100ml RB flask. Used 1ml extra solvent to wash out
container.
Started reflux at 13.30. (Had to change heater stirrer) Only reflux
for 45min, next step 14:15.
Add Reflux Add
Dissolve
4-flourinated
biphenyl in
butanone
Add K2CO3
powder
Heat at reflux
for 1.5 hours
text
Annotate
Annotate
Ingredient List
Fluorinated biphenyl 0.9 g
Br11OCB 1.59 g
Potassium Carbonate 2.07 g
Butanone 40 ml
1 1 2 2 1 3
Sample of 4-flourinated
biphenyl
Add Reflux
Butanone Sample of
K2CO3 Powder Weigh grammes 0.9031 Measure Add Weigh text Butanone dried via silica column and
measured into 100ml RB flask. Used 1ml extra solvent to wash out
container. Add Reflux Add
Dissolve
4-flourinated
biphenyl in
butanone
Add K2CO3
powder
Heat at reflux
for 1.5 hours
text
Annotate
Annotate
Ingredient List
Fluorinated biphenyl 0.9 g
Br11OCB 1.59 g
Potassium Carbonate 2.07 g
March 2005
March 2005 Jeremy FreyJeremy Frey ACS CINFACS CINF
March 2005
March 2005 Jeremy FreyJeremy Frey ACS CINFACS CINF
Lessons
Lessons
!
!
That we need two related
That we need two related
ontologies
ontologies
!
!
Plan
Plan
–
–
that are going to be done
that are going to be done
!
!
Record
Record
–
–
what was done
what was done
!
!
Not necessarily the same thing
Not necessarily the same thing
!
!
Steps are added/repeated during the
Steps are added/repeated during the
experiment
experiment
!
March 2005
March 2005 Jeremy FreyJeremy Frey ACS CINFACS CINF
Architecture
Architecture
SURIG
SURIG
SURIG
Data stores
Semantic
Data
Other
services
Weights &
Measures
Bench
Planner0
Viewer0
PHP
Java
Tea Client Libs
SOAP
Jena
SURIG
Applications
Institutional archives
and metadata publication
30
Key p la n -t o -h ea t_ te a_ in _w at er plan-to-add_tea_to_water Add tea to hot waterHeat tea for 5 minutes
Filter off tea leaves File: combechem/process/tea.rdf
Ontology: combechem/process/process-record.rdfs 13:41:36 14 July 2004
© 2004 University of Southampton
S
te
ps
P
la
n
P
ro
ce
ss
R
ec
or
d
planned-weight_of_tea_leaves 5 planned_tea_leaves plan-to-weigh_tea_leaves processed-by-iv material-observed-by produces-observation has-unit value p r o d u c e s -s u b s t a n c e p la n -t o -f ilt er _t ea p r o d u c e s -s u b s t a n c e 300 has-unit value processed-by-iv material-observed-by planned_some_water plan-to-measure_some_water produces-observation planned-volume_of_some_water p r o c e s s e d -b y p r o c e s s e d -b y next-step next-step h ea t_ te a_ in _w at er add_tea_to_water weight_of_tea_leaves 5.021 tea_leaves weighing_tea_leaves processed-by-iv material-observed-by produces-observation has-unit value p r o d u c e s -s u b s t a n c e fi lt e r_ te a p r o d u c e s -s u b s t a n c e has-unit value processed-by-iv material-observed-by some_water measuring_some_water produces-observation volume_of_some_water p r o c e s s e d -b y p r o c e s s e d -b y p la n -t o -t ea _i n _w at er p la n -t o -h o t_ te a te a_ in _w at er h o t_ te astep-text step-text step-text
experiment-pretty-name The basic tea
experiment
experiment-description
Add tea leaves to hot water, refluxing,
filtering, drinking (maybe) experimenter starting-process MakingTea http://www.ecs.soton.ac.uk/ info/#person-00389 p r o c e s s -r e c o r d -o f m a t e r i a l -r e c o r d -o f p r o c e s s -r e c o r d -o f p r o d u c e s -s u b s t a n c e p la n -t o -f in is h ed _t ea p r o d u c e s -s u b s t a n c e fi n is h ed _t ea value process-observed-by watching_tea_boil produces-observation heat_tea_notes &cec;massunit-gramme &cec;volumeunit-millilitre &cec;massunit-gramme
Smarttea.org
Making Tea
Namespaces p a r t -o f -s t e p p a r t -o f -s t e p p a r t -o f -s t e pstep1 step2 step3
A digital lab book
replacement that chemists
were able to use, and liked.
March 2005
March 2005
March 2005 Jeremy FreyJeremy Frey ACS CINFACS CINF
Design discussion
Design discussion
!
!
Handling RDF both ends
Handling RDF both ends
–
–
tricky
tricky
!
!
Structure to data:
Structure to data:
!
!
good: clients can add what they want
good: clients can add what they want
!
!
Ontology extensions: Uncertainty to measurements
Ontology extensions: Uncertainty to measurements
!
!
bad: clients can add what they want
bad: clients can add what they want
!
!
Is the structure you
Is the structure you
’
’
re given navigable in the way
re given navigable in the way
you expect?
you expect?
!
!
Use of libraries solves this to some degree
Use of libraries solves this to some degree
Design Discussion
Design Discussion
!
!
We have an ontology (shared
We have an ontology (shared
understanding)
understanding)
!
!
But... experiment structure is a higher-
But... experiment structure is a
higher-level entity
level entity
!
!
Must be created and maintained by good
Must be created and maintained by good
programming, not simply by adherence to
programming, not simply by adherence to
rules of the ontology
March 2005
March 2005 Jeremy FreyJeremy Frey ACS CINFACS CINF
eBank
eBank
publication
publication
!
!
Data sets stored for easy access via
Data sets stored for easy access via
Web
Web
!
!
Metadata for experiment stored as RDF
Metadata for experiment stored as RDF
!
!
Representation of connections between
Representation of connections between
data sets and concepts is RDF
data sets and concepts is RDF
!
!
Domain specific structure
Domain specific structure
March 2005
March 2005 Jeremy FreyJeremy Frey ACS CINFACS CINF
SmartLab
SmartLab
system
system
!
!
Data sets stored for easy access via Web
Data sets stored for easy access via Web
!
!
Metadata for experiment stored as RDF
Metadata for experiment stored as RDF
!
!
Representation of connections between
Representation of connections between
data sets and concepts is RDF
data sets and concepts is RDF
!
!
Generic structure with domain-specific
Generic structure with domain-specific
additions
March 2005
March 2005 Jeremy FreyJeremy Frey ACS CINFACS CINF