1 / 5

PSL Syntax

PSL Syntax. Syntax 1. Syntax 2. Syntax 3. Syntactic Rules. PSL Syntax. Semantics (Ontology). Semantics Captured in the PSL Ontology. Example: The duration of an activity is the difference between its start and end times for all occurrences of the activity.

ova
Download Presentation

PSL Syntax

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. PSL Syntax

  2. Syntax 1 Syntax 2 Syntax 3 Syntactic Rules PSL Syntax Semantics (Ontology)

  3. Semantics Captured in the PSL Ontology • Example: The duration of an activity is the difference between its start and end times for all occurrences of the activity. (defrelation duration (?a ?d) := (forall (?t1 ?t2) (=> (and (= ?t1 (Beginof ?a)) (= ?t2 (Endof ?a))) (= ?d (time_minus ?t2 ?t1)))))

  4. Syntactic Rules • For a concept named “duration”, there must be at least three attributes: • Start Time • End Time • Activity Occurrence where “Start Time” and “End Time” are of type “Timepoint”. In addition, the duration is the difference in time between the “Start Time” and the “End Time”. • A template approach is also being explored.

  5. EXPRESS ENTITY duration; id: STRING; start_time: timepoint; end_time: timepoint; activity: activity_occurrence: END_ENTITY; XML <!ELEMENT duration> <!ATTLIST duration documentation ID start_time IDREF #REQUIRED end_time IDREF #REQUIRED activity IDREF #REQUIRED> Various Syntaxes Conforming to the Rules

More Related