temporal data management: semantic web engineering

34
Temporal Data Management: Semantic Web Engineering Discussion Leader: Cui Tao Assistant Professor in Medical Informatics Mayo Clinic Temporal Reasoning Journal Club December 1, 2011

Upload: leanna

Post on 22-Feb-2016

39 views

Category:

Documents


0 download

DESCRIPTION

Temporal Data Management: Semantic Web Engineering. Discussion Leader: Cui Tao Assistant Professor in Medical Informatics Mayo Clinic Temporal Reasoning Journal Club December 1, 2011. Articles to Discuss. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Temporal Data Management: Semantic Web Engineering

Temporal Data Management: Semantic Web Engineering

Discussion Leader: Cui Tao

Assistant Professor in Medical InformaticsMayo Clinic

Temporal Reasoning Journal ClubDecember 1, 2011

Page 2: Temporal Data Management: Semantic Web Engineering

Articles to Discuss

• Time-Oriented Question Answering from Clinical Narratives Using Semantic-Web Techniques. Tao C, Solbrig HR, Deepak S, Wei W-Q, Savova G, Chute CG. International Semantic Web Conference, Lecture Note of Computer Science. 2010; 6497:241-56. http://www.springerlink.com/content/67623p256743wv4u/

• Representing Complex Temporal Phenomena for the Semantic Web and Natural Language. Feng Pan, 2007 PhD thesis University of Southern California http://www.isi.edu/~hobbs/time/pub/pan-phdthesis.pdf

Page 3: Temporal Data Management: Semantic Web Engineering

Why Semantic Web?

The Semantic Web provides a suitable environment for temporal data representation and reasoning:• Standard mechanism with explicit

and formal semantic definition• OWL DL• SWRL • Reasoning tools, querying and

storage mechanisms

Page 4: Temporal Data Management: Semantic Web Engineering

Ontologies Available Online

• Clinical Narrative Temporal Relation Ontology (CNTRO): http://cntro.org/index.html

• Time-OWL: http://www.w3.org/TR/owl-time/

Page 5: Temporal Data Management: Semantic Web Engineering

Goals

CNTRO• For representing events,

time information, and temporal relations in clinical narratives

• Can also represent structured data

• Presumably can be generalizable

Time-OWL• For describing the

temporal content of Web pages and the temporal properties of Web services

• Can also represent structured data

Page 6: Temporal Data Management: Semantic Web Engineering

Classes

CNTRO• ValidTime

• TimeInstant• TimeInterval• TimePeriod• TimePhase

• Duration• DurationUnit• Granularity• Event

Time-OWL• TemporalEntity

• Instant• Interval

• ProperInterval• DateTimeInterval

• DurationDescription• DateTimeDescription• TemporalUnit• DayOfWeek

Page 7: Temporal Data Management: Semantic Web Engineering

Properties (Time-OWL)

Temporal Relations

Duration Description

DateTimeDescription

Page 8: Temporal Data Management: Semantic Web Engineering

Properties (CNTRO)Property Domain RangeAfter Event Event/ValidTime

Before Event Event/ValidTime

During Event Event/ValidTime

Equal Event Event/ValidTime

Contain Event Event/ValidTime

Finish Event Event/ValidTime

Start Event Event/ValidTime

hasDuration TimeInterval Duration

hasDurationUnit Duration DurationUnit

hasDurationValue Duration decimal

hasStartTime TimeInterval TimeInstant

hasEndTime TimeInterval TimeInstant

hasValidTime Event ValidTime

hasPeriod TimePhase TimePeriod

hasModality ValidTime boolean

hasNormalizedTime TimeInstant dateTime

hasOrigTime TimeInstant string

Page 9: Temporal Data Management: Semantic Web Engineering

CNTRO Overview

Page 10: Temporal Data Management: Semantic Web Engineering

Temporal RelationsBoth adapted Allen's interval algebra

After Event Event/ValidTime

Before Event Event/ValidTime

During Event Event/ValidTime

Equal Event Event/ValidTime

Contain Event Event/ValidTime

Finish Event Event/ValidTime

Start Event Event/ValidTime

Time_OWL

CNTRO

Page 11: Temporal Data Management: Semantic Web Engineering

Duration

Time_OWL

CNTRO

Page 12: Temporal Data Management: Semantic Web Engineering

Time Description

Time_OWL

CNTRO

Page 13: Temporal Data Management: Semantic Web Engineering

Time-OWLFeatures

• Relations for intervals/instants• Time Zones• Day of Week, Day of Year• Specific definition of months, weekdays,

etc• Temporal sequence

Page 14: Temporal Data Management: Semantic Web Engineering

Time-OWL

Page 15: Temporal Data Management: Semantic Web Engineering

Time-OWL

Page 16: Temporal Data Management: Semantic Web Engineering

Time-OWL

Every other week on Monday, Wednesday and Friday until December 24, 1997, but starting on Tuesday, September 2, 1997.

EveryOtherWeek:hasTemporalUnit = unitWeekhasGap = 2MWFEveryOtherWeek:hasStart = 09/02/1997hasEnd = 12/24/2007hasithTemporalUnit =1,3,5hasTemporalUnit=unitDayhasContextTemporalUnit=unitWeek

Page 17: Temporal Data Management: Semantic Web Engineering

CNTRO Features

• Periodic Time Interval• Relation between Two Events• Time Offset• Relative Time• Uncertainty

Page 18: Temporal Data Management: Semantic Web Engineering

CNTRORepresentation (Period & Phase)

• Example Sentence: take antibiotics every 8 hours for 10 days starting from today (note date:2004-06-01)

Page 19: Temporal Data Management: Semantic Web Engineering

Operators for Offsets

Was e1 before e4?inverse operatorsαand ββ(3 days) α(2days) = β (1day)

Page 20: Temporal Data Management: Semantic Web Engineering

SWRL RuleML

• Rule-based Definition for Consistency

Page 21: Temporal Data Management: Semantic Web Engineering

SWRL RuleML

• Rule-based Definition for properties

Page 22: Temporal Data Management: Semantic Web Engineering

SWRL RuleML

• Rule-based Definition for concepts

“premature labor after 22 weeks but before 37 completed weeks of gestation without delivery”

Page 23: Temporal Data Management: Semantic Web Engineering

CNTRO API

• findEvent(searchText) • returns a list of events that match the

searching criteria. Currently we look for events based on text search.

• GetEventFeature(event, featureflag)• returns a specific time feature for a given

event.• Sample query:

• When was the patient diagnosed with diabetes?

• When was the patient started his chemotherapy?

Page 24: Temporal Data Management: Semantic Web Engineering

CNTRO API

• getDurantionBetweenEvents(event1, event2) • returns the time interval between two events.• Sample query: How long after the patient was

diagnosed colon cancer did he start the chemotherapy?

• getDuration(event) • returns the duration of a given event. • Sample query: How long did the symptoms of

rectal bleeding last?

Page 25: Temporal Data Management: Semantic Web Engineering

CNTRO API

• getTemporalRelationType(event1, event2) • returns the temporal relations between two

events if it can be retrieved or inferred. • Sample query: Was the PT scan after the

colonoscopy?• getTemporalRelationType(event1, time)

• returns the temporal relations between an event and a specific time if it can be inferred or retrieved.

• Sample query: Is there any behavior change within a week of the test?

Page 26: Temporal Data Management: Semantic Web Engineering

CNTRO API

• sortEventsByTemporalRelationsOrTimeline(events) • returns the order (timeline) of a set of events. • sample query:

• What is the tumor status timeline as indicated in the patient’s radiology note?

• What is the treatment timeline as recorded in oncology notes?

• When was the first colonoscopy done?• When was the most recent glucose test?

Page 27: Temporal Data Management: Semantic Web Engineering

DiscussionSemantic harmonization

Time-related classes harmonization

Relation harmonization

Page 28: Temporal Data Management: Semantic Web Engineering

DiscussionInstances vs. Intervals

• Time instant: a time interval with a very short duration

• Time interval: a time instant on a coarse level of granularity

• “patient’s last cycle of chemotherapy was on Jan. 19”• Process or occurrence?• Interval or instant?

Page 29: Temporal Data Management: Semantic Web Engineering

DiscussionTemporal Uncertainties

• Approximated temporal expression:• In approximately 2 weeks• About 3 hours• In the AM• Late last year

• Insufficient level of granularity:• Duration between Jan. and Jun.?• Event A: Jan. and Event B: Jan. 16;

what was the temporal relation?

Page 30: Temporal Data Management: Semantic Web Engineering

DiscussionTemporal Relation on Granularity

• “PT WENT INTO CARDIAC ARREST AND THEY WERE UNABLE TO KEEP HEART BEATING FOR MORE THAN A COUPLE HOURS. PT PASSED AWAY THAT NIGHT.”

• Cardiac arrest before death (granularity: hour)• Cardiac arrest equal death (granularity: day)

Page 31: Temporal Data Management: Semantic Web Engineering

DiscussionVague Event Duration

• Missing durations is one of the most common sources of incomplete information for temporal reasoning in natural language applications

• Empirical approach?• Long, short• Coarse-grained duration information

• Set up ranges of durations

Page 32: Temporal Data Management: Semantic Web Engineering

DiscussionTemporal Uncertainties

Coarse temporal notion:• Early next week, middle of last year,

short after 11PM, before breakfast• Short after 11:30PM on the 16th,

before or on the 17th?

Page 33: Temporal Data Management: Semantic Web Engineering

DiscussionTemporal Uncertainties

Ambiguities:Last cycle of chemotherapy was on Jan. 16.1) patient’s last cycle of chemotherapy

STARTED on Jan. 19; 2) patient’s last cycle of chemotherapy ENDED

on Jan. 19; 3) patient’s last cycle of chemotherapy

STARTED and ENDED on Jan. 19.

Page 34: Temporal Data Management: Semantic Web Engineering

Questions