W3C logo
slanted W3C logo

RDF Introduction for Life Sciences

W3C Semantic Web in Health Care and Life Sciences.


Eric Prud'hommeaux, Sanitation Engineer.
Last modified: $Date: 2009/08/11 10:50:05 $
Creative Commons License This work is licensed under a Creative Commons Attribution 3.0 License, with attribution to W3C.

Valid XHTML + RDFa

What is the Semantic Web?

Nodes and arcs

simon's attribution slide

Blood Pressure Example






<encounter7> edns:patient <patient3> .

<patient3>   r:type galen:Patient ;
             foaf:family_name "Levin" ;
             foaf:firstName "Henry" .



      

Blood Pressure Example






<encounter7> edns:patient <patient3> ;
             edns:screeningBP <s20090714c> .
<patient3>   r:type galen:Patient ;
             foaf:family_name "Levin" ;
             foaf:firstName "Henry" .
<s20090714c> dc:date "2009-07-14T18:23"^^xsd:dateTime ;
             edns:systolic "132"^^edns:mmHg ;
             edns:diastolic "86"^^edns:mmHg .
             
      

Blood Pressure Example

@prefix edns: <http://www.loa-cnr.it/ontologies/ExtendedDnS.owl#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix galen: <http://www.co-ode.org/ontologies/galen#> .
@prefix snomed: <http://termhost.example/SNOMED/> .

<encounter7> edns:patient <patient3> ;
             edns:screeningBP <s20090714c> .
<patient3>   r:type galen:Patient ;
             foaf:family_name "Levin" ;
             foaf:firstName "Henry" .
<s20090714c> dc:date "2009-07-14T18:23"^^xsd:dateTime ;
             edns:systolic "132"^^edns:mmHg ;
             edns:diastolic "86"^^edns:mmHg .
             

Blood Pressure Example

@prefix edns: <http://www.loa-cnr.it/ontologies/ExtendedDnS.owl#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix galen: <http://www.co-ode.org/ontologies/galen#> .
@prefix snomed: <http://termhost.example/SNOMED/> .

<encounter7> edns:patient <patient3> ;
             edns:screeningBP <s20090714c> .
<patient3>   r:type galen:Patient ;
             foaf:family_name "Levin" ;
             foaf:firstName "Henry" .
<s20090714c> dc:date "2009-07-14T18:23"^^xsd:dateTime ;
             edns:systolic "132"^^edns:mmHg ;
             edns:diastolic "86"^^edns:mmHg ;
             edns:posture snomed:_163035008 . # SNOMED:sitting

Named Graphs

Named Graphs

SELECT ?systolic ?diastolic
 WHERE {
   GRAPH <http://cro.example/study9> {
     ?encounter edns:patient ?patient .
     ?patient foaf:family_name "Levin" ; foaf:givenName "Henry" .
     ?encounter edns:screeningBP ?bp
     ?bp edns:systolic ?systolic ; edns:diastolic ?diastolic
   }
 }

Named Graphs

SELECT ?systolic ?diastolic
 WHERE {
   GRAPH my:studies {
     ?study my:meetsStandards sdtm:DEA5 ; my:graph ?graph .
   }
   GRAPH ?graph {
     ?encounter edns:patient ?patient .
     ?patient foaf:family_name "Levin" ; foaf:givenName "Henry" .
     ?encounter edns:screeningBP ?bp
     ?bp edns:systolic ?systolic ; edns:diastolic ?diastolic
   }
 }

Groups/Sets/Classes

[Named] collections of things with similar attributes.

Groups/Sets/Classes

[Named] collections of things with similar attributes.

Groups/Sets/Classes

[Named] collections of things with similar attributes.

Logic on Classes

(a,b,c) set enumeration

union

disjunction

algebraics

  

intersection

complement

restriction

cardinality

equivalence

Hospital Data

Diabetic Patient Data

Databases as RDF

Databases as RDF

Databases as RDF

Translation Tools

Construct Approach

CONSTRUCT Expressivity

   PREFIX :mydb <http://cityhospital.example/dbs>
CONSTRUCT { ?o a               study:SubjectObservation .
            ?o study:subject   ?p .
            ?o study:clinician ?d .
            ?d :foaf:name ?dName }

    WHERE { ?o mydb:patient ?p .
            ?o mydb:doctor  ?d .
            ?d mydb:name    ?dName }

Transform Queries

PREFIX db: <…>
SELECT ?O ?P ?D
 WHERE {
   ?O db:onPatient ?P .
   ?O db:byDoctor ?D .
 }

(Virtual) Transformation Pipe

Real-world mappings

Who is HCLS?

W3C Semantic Web Health Care and Life Sciences Interest Group.

90+ members from industry and academia.

1 KB (350m+ triples)

papers

Workshops

Ontology mapping code.

Current Work

Other Projects: Clinical Decision Support...

Query Driven

we have a couple approaches:

HCLS KB

A Knowledgebase for Neuroscience

Built by Neurocommons and the HCLS BioRDF task force.

Precise answers to complex questions:

What proteins are associated with pyramidal neurons
AND are involved in signal transduction.

Integrate Databases

Real Query

HCLS demo #2 query: SPARQL query over MeSH, PubMed, Entrez Gene, GO

Linking Open Drug Data

Evaluating LODD sources

Clinical Observations Interoperability

Scientific Discourse

SWAN screenshot

Terminology

Importing terms into Semantic Web.

Translational Medicine Ontology

Requires data from bench to bedside.