JTP API Documentation

jtp.time.vocab
Class DefaultTimeVocab

java.lang.Object
  |
  +--jtp.time.vocab.DefaultTimeVocab
All Implemented Interfaces:
TimeVocabulary

public class DefaultTimeVocab
extends Object
implements TimeVocabulary

A default implementation of TimeVocabulary.


Field Summary
static Symbol AFTER
           
static Symbol AFTER_OR_EQUAL_POINT
           
static Symbol BEFORE
           
static Symbol BEFORE_OR_EQUAL_POINT
           
static Symbol COFINISH
           
static Symbol COFINISH_INVERSE
           
static Symbol COSTART
           
static Symbol COSTART_INVERSE
           
static Symbol COTEMPORAL
           
static Symbol DAY
           
static Symbol DURATION
           
static Symbol DURATION_IN_UNITS
           
static Symbol DURING
           
static Symbol DURING_INVERSE
           
static Symbol END_AFTER_ENDING_OF
           
static Symbol END_AFTER_STARTING_OF
           
static Symbol END_DURING
           
static Symbol ENDING_POINT
           
static Symbol EQUAL_POINT
           
static Symbol FIRST_TIME_POINT
           
static Symbol HOUR
           
static Symbol INSTANCE_OF
           
static Symbol INVERSE
           
static Symbol LAST_TIME_POINT
           
static Symbol LOCATION_OF
           
static Symbol MAGNITUDE
           
static Symbol MEET
           
static Symbol MEET_INVERSE
           
static Symbol MILLISECOND
           
static Symbol MINUTE
           
static Symbol MONTH
           
static Symbol NOT_EQUAL_POINT
           
static Symbol OVERLAP
           
static Symbol OVERLAP_INVERSE
           
static Symbol PRECEDE
           
static Symbol PRECEDE_INVERSE
           
static Symbol SECOND
           
static Symbol START_AFTER_STARTING_OF
           
static Symbol START_DURING
           
static Symbol STARTING_POINT
           
static Symbol SUB_RELATION
           
static Symbol TEMPORALLY_CONTAINED_BY
           
static Symbol TEMPORALLY_CONTAINS
           
static Symbol TEMPORALLY_INTERSECTS
           
static Symbol THE_TIME_POINT
           
static Symbol TIME_INTERVAL_FN
           
static Symbol TIME_POINT_TO_INT_FN
           
static Symbol TIME_ZONE
           
static Symbol TRANSITIVE_RELATION
           
static Symbol WEEK
           
static Symbol WHENFN
           
static Symbol YEAR
           
 
Constructor Summary
DefaultTimeVocab()
           
 
Method Summary
 Symbol getAbsoluteTimePointFn()
          Function term symbol that, when applied to series of year, month, hour, etc., terms, denotes an absolute time point.
 Symbol getAfterOrEqualRelation()
          The relation that indicates that one time point occurs after or at the same time as, i.e., not before, another time point.
 Symbol getAfterRelation()
          The relation that indicates that one time point occurs after another time point.
 Symbol getBeforeOrEqualRelation()
          The relation that indicates that one time point occurs before or at the same time as, i.e., not after, another time point.
 Symbol getBeforeRelation()
          The relation that indicates that one time point occurs before another time point.
 Symbol getDayFn()
          In an absolute time point spec, used to denote the day.
 Symbol getEndPointFn()
          Function term symbol that, when applied to a time interval, denotes the last point in the interval.
 Symbol getEqualRelation()
          The relation that indicates that one time point occurs at the same time as another time point.
 Symbol getFirstTimePointFn()
          The symbol for the evaluable function 'first-time-point'.
 Symbol getHourFn()
          In an absolute time point spec, used to denote the hour.
static DefaultTimeVocab getInstance()
           
 Symbol getInstanceOfRelation()
          The symbol for the instance-of relation, for example, rdf:type.
 Symbol getInverseRelation()
          The symbol for the inverse relation, for example, owl:inverseOf.
 Symbol getLocationRelation()
          The symbol for the evaluable function 'location'.
 Symbol getMillisecondFn()
          In an absolute time point spec, used to denote the millisecond.
 Symbol getMinuteFn()
          In an absolute time point spec, used to denote the minute.
 Symbol getMonthFn()
          In an absolute time point spec, used to denote month.
 Symbol getSecondFn()
          In an absolute time point spec, used to denote the second.
 URL getSource()
          The ontology source that the definitions for the terms in this vocabulary are identified with.
 Symbol getStartPointFn()
          Function term symbol that, when applied to a time interval, denotes the first point in the interval.
 Symbol getSubrelationRelation()
          The symbol for the sub-relation relation, for example, rdfs:subPropertyOf.
 Symbol getTimeIntervalFn()
          Function term symbol that, when applied to two time points, denotes the interval between the time points.
 Symbol getTimePointToIntegerFn()
          The symbol for the evaluable function 'time-point-to-int-fn'.
 Symbol getTimeZoneFn()
          In an absolute time point spec, used to denote the time zone.
 Symbol getTransitiveRelationClass()
          The symbol for the TransitveRelation class, for example, owl:TransitiveProperty.
 Symbol getYearFn()
          In an absolute time point spec, used to denote the year.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BEFORE

public static final Symbol BEFORE

EQUAL_POINT

public static final Symbol EQUAL_POINT

BEFORE_OR_EQUAL_POINT

public static final Symbol BEFORE_OR_EQUAL_POINT

AFTER

public static final Symbol AFTER

NOT_EQUAL_POINT

public static final Symbol NOT_EQUAL_POINT

AFTER_OR_EQUAL_POINT

public static final Symbol AFTER_OR_EQUAL_POINT

STARTING_POINT

public static final Symbol STARTING_POINT

ENDING_POINT

public static final Symbol ENDING_POINT

LOCATION_OF

public static final Symbol LOCATION_OF

TIME_POINT_TO_INT_FN

public static final Symbol TIME_POINT_TO_INT_FN

FIRST_TIME_POINT

public static final Symbol FIRST_TIME_POINT

LAST_TIME_POINT

public static final Symbol LAST_TIME_POINT

TIME_INTERVAL_FN

public static final Symbol TIME_INTERVAL_FN

PRECEDE

public static final Symbol PRECEDE

PRECEDE_INVERSE

public static final Symbol PRECEDE_INVERSE

MEET

public static final Symbol MEET

MEET_INVERSE

public static final Symbol MEET_INVERSE

OVERLAP

public static final Symbol OVERLAP

OVERLAP_INVERSE

public static final Symbol OVERLAP_INVERSE

COSTART

public static final Symbol COSTART

COSTART_INVERSE

public static final Symbol COSTART_INVERSE

DURING

public static final Symbol DURING

DURING_INVERSE

public static final Symbol DURING_INVERSE

COFINISH

public static final Symbol COFINISH

COFINISH_INVERSE

public static final Symbol COFINISH_INVERSE

COTEMPORAL

public static final Symbol COTEMPORAL

START_AFTER_STARTING_OF

public static final Symbol START_AFTER_STARTING_OF

START_DURING

public static final Symbol START_DURING

END_AFTER_STARTING_OF

public static final Symbol END_AFTER_STARTING_OF

END_AFTER_ENDING_OF

public static final Symbol END_AFTER_ENDING_OF

END_DURING

public static final Symbol END_DURING

TEMPORALLY_INTERSECTS

public static final Symbol TEMPORALLY_INTERSECTS

TEMPORALLY_CONTAINS

public static final Symbol TEMPORALLY_CONTAINS

TEMPORALLY_CONTAINED_BY

public static final Symbol TEMPORALLY_CONTAINED_BY

DURATION

public static final Symbol DURATION

DURATION_IN_UNITS

public static final Symbol DURATION_IN_UNITS

WHENFN

public static final Symbol WHENFN

THE_TIME_POINT

public static final Symbol THE_TIME_POINT

YEAR

public static final Symbol YEAR

MONTH

public static final Symbol MONTH

WEEK

public static final Symbol WEEK

DAY

public static final Symbol DAY

HOUR

public static final Symbol HOUR

MINUTE

public static final Symbol MINUTE

SECOND

public static final Symbol SECOND

MILLISECOND

public static final Symbol MILLISECOND

TIME_ZONE

public static final Symbol TIME_ZONE

MAGNITUDE

public static final Symbol MAGNITUDE

SUB_RELATION

public static final Symbol SUB_RELATION

TRANSITIVE_RELATION

public static final Symbol TRANSITIVE_RELATION

INSTANCE_OF

public static final Symbol INSTANCE_OF

INVERSE

public static final Symbol INVERSE
Constructor Detail

DefaultTimeVocab

public DefaultTimeVocab()
Method Detail

getInstance

public static DefaultTimeVocab getInstance()

getSource

public URL getSource()
Description copied from interface: TimeVocabulary
The ontology source that the definitions for the terms in this vocabulary are identified with.

Specified by:
getSource in interface TimeVocabulary

getBeforeRelation

public Symbol getBeforeRelation()
Description copied from interface: TimeVocabulary
The relation that indicates that one time point occurs before another time point.

Specified by:
getBeforeRelation in interface TimeVocabulary

getAfterRelation

public Symbol getAfterRelation()
Description copied from interface: TimeVocabulary
The relation that indicates that one time point occurs after another time point.

Specified by:
getAfterRelation in interface TimeVocabulary

getEqualRelation

public Symbol getEqualRelation()
Description copied from interface: TimeVocabulary
The relation that indicates that one time point occurs at the same time as another time point.

Specified by:
getEqualRelation in interface TimeVocabulary

getBeforeOrEqualRelation

public Symbol getBeforeOrEqualRelation()
Description copied from interface: TimeVocabulary
The relation that indicates that one time point occurs before or at the same time as, i.e., not after, another time point.

Specified by:
getBeforeOrEqualRelation in interface TimeVocabulary

getAfterOrEqualRelation

public Symbol getAfterOrEqualRelation()
Description copied from interface: TimeVocabulary
The relation that indicates that one time point occurs after or at the same time as, i.e., not before, another time point.

Specified by:
getAfterOrEqualRelation in interface TimeVocabulary

getLocationRelation

public Symbol getLocationRelation()
Description copied from interface: TimeVocabulary
The symbol for the evaluable function 'location'. In the sentence (location A ?P1 ?P2), where A is a time point, ?P1 evaluates to the closest absolute time before A, and ?P1 evaluates to the closest absolute time after A.

Specified by:
getLocationRelation in interface TimeVocabulary

getTimePointToIntegerFn

public Symbol getTimePointToIntegerFn()
Description copied from interface: TimeVocabulary
The symbol for the evaluable function 'time-point-to-int-fn'.

Specified by:
getTimePointToIntegerFn in interface TimeVocabulary
See Also:
TimePointToInteger

getFirstTimePointFn

public Symbol getFirstTimePointFn()
Description copied from interface: TimeVocabulary
The symbol for the evaluable function 'first-time-point'.

Specified by:
getFirstTimePointFn in interface TimeVocabulary
See Also:
FirstTimePoint

getStartPointFn

public Symbol getStartPointFn()
Description copied from interface: TimeVocabulary
Function term symbol that, when applied to a time interval, denotes the first point in the interval.

Specified by:
getStartPointFn in interface TimeVocabulary

getEndPointFn

public Symbol getEndPointFn()
Description copied from interface: TimeVocabulary
Function term symbol that, when applied to a time interval, denotes the last point in the interval.

Specified by:
getEndPointFn in interface TimeVocabulary

getAbsoluteTimePointFn

public Symbol getAbsoluteTimePointFn()
Description copied from interface: TimeVocabulary
Function term symbol that, when applied to series of year, month, hour, etc., terms, denotes an absolute time point. If 'the-time-point' were the value of this field, a functional term such as (the-time-point (year 2000) (month 3) (day 21) (hour 16) (minute 15) (second 45) (millisecond 500) (time-zone "PST")) would denote the point March 21, 2000 16:15:45.500 PST.

Specified by:
getAbsoluteTimePointFn in interface TimeVocabulary

getTimeIntervalFn

public Symbol getTimeIntervalFn()
Description copied from interface: TimeVocabulary
Function term symbol that, when applied to two time points, denotes the interval between the time points. If 'time-interval-fn' were the value of this field, a functional term such as (time-interval-fn A B) would denote the interval of time that occurs between the points A and B.

Specified by:
getTimeIntervalFn in interface TimeVocabulary

getTimeZoneFn

public Symbol getTimeZoneFn()
Description copied from interface: TimeVocabulary
In an absolute time point spec, used to denote the time zone. E.g., if 'time-zone' is the value of this field, you may have an absolute time point spec such as (the-time-point (year 2000) (month 3) (day 21) (hour 16) (minute 15) (second 45) (millisecond 500) (time-zone "PST"))

Specified by:
getTimeZoneFn in interface TimeVocabulary

getYearFn

public Symbol getYearFn()
Description copied from interface: TimeVocabulary
In an absolute time point spec, used to denote the year. E.g., if 'year' is the value of this field, you may have an absolute time point spec such as (the-time-point (year 2000) (month 3) (day 21) (hour 16) (minute 15) (second 45) (millisecond 500) (time-zone "PST"))

Specified by:
getYearFn in interface TimeVocabulary

getMonthFn

public Symbol getMonthFn()
Description copied from interface: TimeVocabulary
In an absolute time point spec, used to denote month. E.g., if 'month' is the value of this field, you may have an absolute time point spec such as (the-time-point (year 2000) (month 3) (day 21) (hour 16) (minute 15) (second 45) (millisecond 500) (time-zone "PST"))

Specified by:
getMonthFn in interface TimeVocabulary

getDayFn

public Symbol getDayFn()
Description copied from interface: TimeVocabulary
In an absolute time point spec, used to denote the day. E.g., if 'day' is the value of this field, you may have an absolute time point spec such as (the-time-point (year 2000) (month 3) (day 21) (hour 16) (minute 15) (second 45) (millisecond 500) (time-zone "PST"))

Specified by:
getDayFn in interface TimeVocabulary

getHourFn

public Symbol getHourFn()
Description copied from interface: TimeVocabulary
In an absolute time point spec, used to denote the hour. E.g., if 'hour' is the value of this field, you may have an absolute time point spec such as (the-time-point (year 2000) (month 3) (day 21) (hour 16) (minute 15) (second 45) (millisecond 500) (time-zone "PST"))

Specified by:
getHourFn in interface TimeVocabulary

getMinuteFn

public Symbol getMinuteFn()
Description copied from interface: TimeVocabulary
In an absolute time point spec, used to denote the minute. E.g., if 'minute' is the value of this field, you may have an absolute time point spec such as (the-time-point (year 2000) (month 3) (day 21) (hour 16) (minute 15) (second 45) (millisecond 500) (time-zone "PST"))

Specified by:
getMinuteFn in interface TimeVocabulary

getSecondFn

public Symbol getSecondFn()
Description copied from interface: TimeVocabulary
In an absolute time point spec, used to denote the second. E.g., if 'second' is the value of this field, you may have an absolute time point spec such as (the-time-point (year 2000) (month 3) (day 21) (hour 16) (minute 15) (second 45) (millisecond 500) (time-zone "PST"))

Specified by:
getSecondFn in interface TimeVocabulary

getMillisecondFn

public Symbol getMillisecondFn()
Description copied from interface: TimeVocabulary
In an absolute time point spec, used to denote the millisecond. E.g., if 'millisecond' is the value of this field, you may have an absolute time point spec such as (the-time-point (year 2000) (month 3) (day 21) (hour 16) (minute 15) (second 45) (millisecond 500) (time-zone "PST"))

Specified by:
getMillisecondFn in interface TimeVocabulary

getSubrelationRelation

public Symbol getSubrelationRelation()
Description copied from interface: TimeVocabulary
The symbol for the sub-relation relation, for example, rdfs:subPropertyOf.

Specified by:
getSubrelationRelation in interface TimeVocabulary

getTransitiveRelationClass

public Symbol getTransitiveRelationClass()
Description copied from interface: TimeVocabulary
The symbol for the TransitveRelation class, for example, owl:TransitiveProperty.

Specified by:
getTransitiveRelationClass in interface TimeVocabulary

getInstanceOfRelation

public Symbol getInstanceOfRelation()
Description copied from interface: TimeVocabulary
The symbol for the instance-of relation, for example, rdf:type.

Specified by:
getInstanceOfRelation in interface TimeVocabulary

getInverseRelation

public Symbol getInverseRelation()
Description copied from interface: TimeVocabulary
The symbol for the inverse relation, for example, owl:inverseOf.

Specified by:
getInverseRelation in interface TimeVocabulary

JTP API Documentation