A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA...

33
A Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal Technical Specialist, Department of Justice, Government of South Australia Dan R. Corbett PhD, Principal Scientist, Schafer Corporation (& DARPA-IPTO), USA 3 rd Australasian Ontology Workshop, 2 December 2007, Gold Coast, Australia

Transcript of A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA...

Page 1: A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal

A Formalization of Subjective and Objective Time Ontologies

Philip H.P. NguyenPhD, Principal Technical Specialist, Department of Justice, Government of South AustraliaDan R. CorbettPhD, Principal Scientist, Schafer Corporation (& DARPA-IPTO), USA

3rd Australasian Ontology Workshop, 2 December 2007, Gold Coast, Australia

Page 2: A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal

Topics

ObjectivesOntology & Temporal NotionsTemporal Logics from J.E. McTaggart & A.N. Prior Objective & Subjective Temporal NotionsTime Ontology Formalization & Properties

Page 3: A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal

Our Aims

Define an Upper Time Ontology

Help with the Semantic Web:Describe temporal content of web pagesAutomated natural language translation engines

Page 4: A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal

Ontology Definition

Ontology: the metaphysical study of the nature of being and existence

(WordNet)

Ontology: (computer science) a rigorous and exhaustive organization of some knowledge domain that is usually hierarchical and contains all the relevant entities and their relations

(WordNet)

Page 5: A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal

Time & Ontology

“Study of Being & Existence” implies a timenotion: the present

Therefore time is intrinsically part of any ontology

Page 6: A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal

Time & Event in Ontologies

Event is result of change perception

Change perception enables notion of time

Time is then used to record Event(Event = Something happens at a given place & time - Wordnet)

Therefore, time and event are tightly linked( And so must be their ontologies )

Page 7: A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal

McTaggart’s Temporal Notions

Temporal Notions:A-Series: past, present and futureB-Series: before and after

A-Series: defines changes & enables time notionsB-Series: not time notions (no time direction & no perception of change), unless A-series includedTherefore, B-Series ⇒ A-Series

But an A-series (in particular the present) cannot be logically defined (it is ‘unreal’) therefore time is subjective

Page 8: A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal

Prior’s Temporal Notions

First-Grade Temporal Notions: - Earlier- Later- Always earlier- Always later

based on 2 ‘modalities’:- Possibility (◊)- Necessity (□)

Second-Grade Temporal Notions = First-Grade Temporal Notions + Notion of the Present

Page 9: A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal

Recent Temporal Logics

OWL-Time (initially from DARPA):- Instant, Interval are only 2 main temporal concepts- Other temporal notions are relations over instant & interval

J. F. Allen:- Interval is the only main temporal notion- Instant is a “small interval”

Related concepts:- Causation, concurrency, belief, plan

Page 10: A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal

Subjective & Objective Times

Summary on time notions:

- the present cannot be defined(logically or mathematically)

- the present is the basis for time notions(in particular notion of instant of time)

- but the present can be perceived by all although the perceptions may be different.

Therefore, time could be subjective or objective

Page 11: A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal

Time Ontology Formalization

Presupposed Notions:

- Instant (of time)

- Order or direction of time (e.g. earlier & later)

- Propositional Logic: Truth-value of a proposition

- First-Order Logic: Universal & existential quantifiers ("∀" and "∃")

Page 12: A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal

Canon / OntologyReal World Abstract World

conformance

Individuals

B

Relations

≤≤

Concepts

K = (T, I, ≤, conf, B) P. Nguyen and D. Corbett. "A Basic Mathematical Framework for Conceptual Graphs," IEEE Transactions on Knowledge and Data Engineering, vol. 18, no. 2, pp. 261-271, February, 2006

Page 13: A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal

Ontology FormalizationK = (T, I , ≤, conf, B)

T : set of concepts (TC ) & relations (TR )e.g. isChild (Person, Person)

I : set of instances of TCe.g. ‘John’ is a ‘Person’

≤ : subsumption relation in Te.g. MalePerson ≤ Person ≤ LivingEntity

Conf (conformance relation) maps an individual to a concept typee.g. conf (‘John’) = ‘Person’

B (canonical basis relation), maps a relation to the concepts that are used with that relation (canonical = pattern of usage)

e.g. B (‘isChild’) = (‘Person’, ‘Person’)

Page 14: A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal

Time Ontology - IndividualsK = (T, I , ≤, conf, B)

I : set of ‘atomic temporal propositions’

• A proposition with a temporal property• Cannot be further divided into temporal sub-

propositions connected by logical connectives, such as ‘not’, ‘and’, ‘or’.

Example: Q = “it was hot yesterday but it will be cooler tomorrow”Q = “it was hot yesterday” ∩ “it will be cooler tomorrow”

Page 15: A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal

Time Ontology - ConformanceK = (T, I , ≤, conf, B)

Conf (conformance relation) maps an atomic temporal proposition to a temporal concept type

Example

Q = “it was hot yesterday but it will be cooler tomorrow”Q = “it was hot yesterday” ∩ “it will be cooler tomorrow”

conf (‘it was hot yesterday’) = ‘Past’

Page 16: A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal

Time Ontology - ConceptsK = (T, I , ≤, conf, B)

Temporal Concepts TC

SF = “Subjective Future” is a function:

SF: PxTxO → PSF (p,t,o) = “∃o ∃t ≥ Now T(p,t,o)”

P = Proposition SpaceT = Time SpaceO = Observer Space

Page 17: A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal

First-Grade Objective Temporal Notions

• Anteriority (A): A: P x T → PA(p,t) = q with q = “∃t’≤t T(p,t’)”

• Posteriority (Po): Po(p,t): ∃t’≥t T(p,t’)• Permanent Anteriority (PeA): PeA(p,t): ∀t’≤t T(p,t’)• Permanent Posteriority (PePo): PePo(p,t): ∀t’≥t T(p,t’)• Temporariness (T) = Anteriority or Posteriority

T(p) = ∃t A(p,t) ∪ Po(p,t) = ∃t T(p,t)• Permanency (Pe) = Permanent Anteriority and Permanent

PosteriorityPe(p) = ∀t PeA(p,t) ∩ PePo(p,t) = ∀t T(p,t)

• Discrete Permanency = Anteriority and PosteriorityDPe(p) = ∀t0 A(t0,p) ∩ Po(t0,p)

= ∀t0 ∃t ∃t’: t ≤ t0 ≤ t’, T(p,t) ∩ T(p,t’)

Page 18: A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal

Time Ontology - Relations

Temporal Relations TR

• Not (¬)• Conjunction (∩)• Disjunction (∪)

Order in Temporal Relations:

∩ ≥ ∪(similar to propositional implication ⇒)

K = (T, I , ≤, conf, B)

Page 19: A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal

Temporal Relations - Example

P = “Objective Past”Past: P → PPast(p) = “∃t ≤ Now T(p,t)”

SF = “Subjective Future”SF: PxTxO → PSF(p,t,o) = “∃o ∃t ≥ Now T(p,t,o)”

P ∩ SF: PxTxO → P(P∩SF) (p,t,o) = P(p) ∩ SF(p,t,o)= “∃t ≤ Now T(p,t)” ∩ “∃o ∃t ≥ Now T(p,t,o)”

e.g. The phenomenon p has occurred in the past and I believe that it will occur again.

Page 20: A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal

Temporal Concepts & Relations

= 42 consolidated to 32

+11+ objective-subjective relations

3133Combined Ontology

2122Subjective Ontology

1011Objective Ontology

RelationsConcepts

Page 21: A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal

Objective Time Ontology1. Anteriority ≥ Temporariness 2. Discrete Permanency ≥ Anteriority, Future, Past, Posteriority 3. Future ≥ Temporariness 4. Past ≥ Temporariness 5. Permanency ≥ Discrete Permanency, Permanent Anteriority,

Permanent Future, Permanent Past, Permanent Posteriority 6. Permanent Anteriority ≥ Anteriority 7. Permanent Future ≥ Future 8. Permanent Past ≥ Past 9. Permanent Posteriority ≥ Posteriority 10. Posteriority ≥ Temporariness

Proof of 1. A(p,t) = ∃t’ ≤ t T(p,t’)T(p) = ∃t T(p,t)If ∃t such that A(p,t) is true, then T(p) is true

Page 22: A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal

Objective Time OntologyGraphical Representation

Nguyen, P. and Corbett, D. (2006): Building Corporate Knowledge through Ontology Integration. Pacific Rim Knowledge Acquisition Workshop (PKAW06), Guilin, China, LNAI 4303

Page 23: A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal

Time Ontology – Example 1• Q = “The truth p will be revealed to all in

the future”• Q = “∃t ≥ Now ∀O T(p,t,O)”• Q = “∃t ≥ Now T(p,t)”• Q is an instance of the “Future” concept

type

conf(Q) = F

Page 24: A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal

Time Ontology – Example 2

• Q = “Someone will know the truth p”• Q = “∃O ∃t ≥ Now T(p,t,O)”• Q is an instance of the “Subjective Future”

temporal concept type

conf(Q) = SF

Page 25: A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal

Time Ontology – Example 3

• Q = “The phenomenon p has been observed throughout the ages”

• Q = “∀t ≤ Now ∃O T(p,t,O)”• Q is an instance of the “Indeterminate

Subjective Permanent Past” temporal concept type

conf(Q) = ISPePa

Page 26: A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal

Time Ontology – Example 4

• Q = “Someone has always observed the phenomenon p”

• Q = “∃O ∀t ≤ Now: T(p,t,O)”• Q is an instance of the “Subjective

Permanent Past” concept type

conf(Q) = SPePa

Page 27: A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal

Time Ontology Axioms ∀p p ⇒ (∀c c(p))

If a proposition is true, then it is true under any temporal concept type.T(p⇒q,t) = (T(p,t) ⇒ T(q,t))

If at time t, “p implies q” is true, then “p is true at t” implies “q is true at time t”, and vice-versa.T(p∩q,t) = (T(p,t)∩T(q,t))

Etc.

Page 28: A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal

Time Ontology Properties1. c(p⇒q) ╞ (c(p)⇒c(q))

If “p implies q” is true under a temporal concept type c, then “p is true under c” implies “q is true under c”.

e.g.If “p implies q” has always been true

(i.e., “p implies q” = a Permanent Past truth), then “p has always been true” ⇒ “q has always been true”

Page 29: A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal

Time Ontology Properties (cont’d)2. (p⇒q) ╞ (∀c c(p)⇒c(q) ) 3. c(¬p) ╞ ¬c(p) 4. c(p∩q) ╞ (c(p)∩c(q)) 5. (c(p)∪c(q)) ╞ c(p∪q) 6. ¬(c(p) ∩ c(q)) = (¬c(p) ∪ ¬c(q)) (similar to De Morgan’s Theorem) 7. (c(¬p) ∪ c(¬q)) ╞ ¬(c(p) ∩ c(q))8. ¬(c(p) ∪ c(q)) = (¬c(p) ∩ ¬c(q))(similar to De Morgan’s Theorem) 9. (c(¬p) ∩ c(¬q)) ╞ ¬(c(p) ∪ c(q)) 10. c((p⇒q) ∩ p) ╞ c(q) (Temporal Modus Ponens)11. c((p⇒q) ∩ ¬q) ╞ c(¬p) (Temporal Modus Tollens)12. c(p⇒q) ╞ (¬c(q) ⇒ ¬c(p)) (Temporal Transposition)13. (c(p) ∪ c(q∩r)) ╞ (c(p∪q) ∩ (c(p∪r)) (Temporal Distribution)

Page 30: A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal

Final Note 1

Soundness & Completeness of a Theory:

• Soundness: ├ ⇒ ╞

• Completeness: ╞ ⇒ ├

Page 31: A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal

Final Note 2

Natural language translation:

2 types of document:o 1 for the mind (legal, scientific documents, …)o 1 for the heart (poems, verses, lyrics, …)

Each requires a different type of ontology with different criteria for categorization

Page 32: A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal

ConclusionContribution to knowledge representation & temporal reasoning with:

• Time ontology formalization based on McTaggart’s and Prior’s temporal notions & linking event with time

• Subjective temporal concepts formalized for the first time

• All temporal concept types and their relations identified & graphically represented

• Axioms & Properties defined, linking our theory to propositionallogic and proving soundness of our theory.

• Assistance to Future Semantic Web, e.g., • describe the temporal content of web pages• build automated natural language translation engines

Page 33: A Formalization of Subjective and Objective Time …pnguyen/cgi/TimeOnto_V1.3_Slides.pdfA Formalization of Subjective and Objective Time Ontologies Philip H.P. Nguyen PhD, Principal

Thank You !