_TIME.py 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. from rdflib.namespace import DefinedNamespace, Namespace
  2. from rdflib.term import URIRef
  3. class TIME(DefinedNamespace):
  4. """
  5. OWL-Time
  6. Generated from: http://www.w3.org/2006/time#
  7. Date: 2020-05-26 14:20:10.531265
  8. """
  9. # http://www.w3.org/2000/01/rdf-schema#Datatype
  10. generalDay: URIRef # Day of month - formulated as a text string with a pattern constraint to reproduce the same lexical form as gDay, except that values up to 99 are permitted, in order to support calendars with more than 31 days in a month. Note that the value-space is not defined, so a generic OWL2 processor cannot compute ordering relationships of values of this type.
  11. generalMonth: URIRef # Month of year - formulated as a text string with a pattern constraint to reproduce the same lexical form as gMonth, except that values up to 20 are permitted, in order to support calendars with more than 12 months in the year. Note that the value-space is not defined, so a generic OWL2 processor cannot compute ordering relationships of values of this type.
  12. generalYear: URIRef # Year number - formulated as a text string with a pattern constraint to reproduce the same lexical form as gYear, but not restricted to values from the Gregorian calendar. Note that the value-space is not defined, so a generic OWL2 processor cannot compute ordering relationships of values of this type.
  13. # http://www.w3.org/2002/07/owl#Class
  14. DateTimeDescription: URIRef # Description of date and time structured with separate values for the various elements of a calendar-clock system. The temporal reference system is fixed to Gregorian Calendar, and the range of year, month, day properties restricted to corresponding XML Schema types xsd:gYear, xsd:gMonth and xsd:gDay, respectively.
  15. DateTimeInterval: URIRef # DateTimeInterval is a subclass of ProperInterval, defined using the multi-element DateTimeDescription.
  16. DayOfWeek: URIRef # The day of week
  17. Duration: URIRef # Duration of a temporal extent expressed as a number scaled by a temporal unit
  18. DurationDescription: URIRef # Description of temporal extent structured with separate values for the various elements of a calendar-clock system. The temporal reference system is fixed to Gregorian Calendar, and the range of each of the numeric properties is restricted to xsd:decimal
  19. GeneralDateTimeDescription: URIRef # Description of date and time structured with separate values for the various elements of a calendar-clock system
  20. GeneralDurationDescription: URIRef # Description of temporal extent structured with separate values for the various elements of a calendar-clock system.
  21. Instant: URIRef # A temporal entity with zero extent or duration
  22. Interval: URIRef # A temporal entity with an extent or duration
  23. MonthOfYear: URIRef # The month of the year
  24. ProperInterval: URIRef # A temporal entity with non-zero extent or duration, i.e. for which the value of the beginning and end are different
  25. TRS: URIRef # A temporal reference system, such as a temporal coordinate system (with an origin, direction, and scale), a calendar-clock combination, or a (possibly hierarchical) ordinal system. This is a stub class, representing the set of all temporal reference systems.
  26. TemporalDuration: URIRef # Time extent; duration of a time interval separate from its particular start position
  27. TemporalEntity: URIRef # A temporal interval or instant.
  28. TemporalPosition: URIRef # A position on a time-line
  29. TemporalUnit: URIRef # A standard duration, which provides a scale factor for a time extent, or the granularity or precision for a time position.
  30. TimePosition: URIRef # A temporal position described using either a (nominal) value from an ordinal reference system, or a (numeric) value in a temporal coordinate system.
  31. TimeZone: URIRef # A Time Zone specifies the amount by which the local time is offset from UTC. A time zone is usually denoted geographically (e.g. Australian Eastern Daylight Time), with a constant value in a given region. The region where it applies and the offset from UTC are specified by a locally recognised governing authority.
  32. # http://www.w3.org/2002/07/owl#DatatypeProperty
  33. day: URIRef # Day position in a calendar-clock system. The range of this property is not specified, so can be replaced by any specific representation of a calendar day from any calendar.
  34. dayOfYear: URIRef # The number of the day within the year
  35. days: URIRef # length of, or element of the length of, a temporal extent expressed in days
  36. hasXSDDuration: URIRef # Extent of a temporal entity, expressed using xsd:duration
  37. hour: URIRef # Hour position in a calendar-clock system.
  38. hours: URIRef # length of, or element of the length of, a temporal extent expressed in hours
  39. inXSDDate: URIRef # Position of an instant, expressed using xsd:date
  40. inXSDDateTimeStamp: (
  41. URIRef # Position of an instant, expressed using xsd:dateTimeStamp
  42. )
  43. inXSDgYear: URIRef # Position of an instant, expressed using xsd:gYear
  44. inXSDgYearMonth: URIRef # Position of an instant, expressed using xsd:gYearMonth
  45. minute: URIRef # Minute position in a calendar-clock system.
  46. minutes: URIRef # length, or element of, a temporal extent expressed in minutes
  47. month: URIRef # Month position in a calendar-clock system. The range of this property is not specified, so can be replaced by any specific representation of a calendar month from any calendar.
  48. months: URIRef # length of, or element of the length of, a temporal extent expressed in months
  49. nominalPosition: URIRef # The (nominal) value indicating temporal position in an ordinal reference system
  50. numericDuration: URIRef # Value of a temporal extent expressed as a decimal number scaled by a temporal unit
  51. numericPosition: URIRef # The (numeric) value indicating position within a temporal coordinate system
  52. second: URIRef # Second position in a calendar-clock system.
  53. seconds: URIRef # length of, or element of the length of, a temporal extent expressed in seconds
  54. week: URIRef # Week number within the year.
  55. weeks: URIRef # length of, or element of the length of, a temporal extent expressed in weeks
  56. year: URIRef # Year position in a calendar-clock system. The range of this property is not specified, so can be replaced by any specific representation of a calendar year from any calendar.
  57. years: URIRef # length of, or element of the length of, a temporal extent expressed in years
  58. # http://www.w3.org/2002/07/owl#DeprecatedClass
  59. January: URIRef # January
  60. Year: URIRef # Year duration
  61. # http://www.w3.org/2002/07/owl#DeprecatedProperty
  62. inXSDDateTime: URIRef # Position of an instant, expressed using xsd:dateTime
  63. xsdDateTime: URIRef # Value of DateTimeInterval expressed as a compact value.
  64. # http://www.w3.org/2002/07/owl#FunctionalProperty
  65. hasTRS: URIRef # The temporal reference system used by a temporal position or extent description.
  66. # http://www.w3.org/2002/07/owl#ObjectProperty
  67. after: URIRef # Gives directionality to time. If a temporal entity T1 is after another temporal entity T2, then the beginning of T1 is after the end of T2.
  68. dayOfWeek: (
  69. URIRef # The day of week, whose value is a member of the class time:DayOfWeek
  70. )
  71. hasBeginning: URIRef # Beginning of a temporal entity.
  72. hasDateTimeDescription: URIRef # Value of DateTimeInterval expressed as a structured value. The beginning and end of the interval coincide with the limits of the shortest element in the description.
  73. hasDuration: URIRef # Duration of a temporal entity, event or activity, or thing, expressed as a scaled value
  74. hasDurationDescription: URIRef # Duration of a temporal entity, expressed using a structured description
  75. hasEnd: URIRef # End of a temporal entity.
  76. hasTemporalDuration: URIRef # Duration of a temporal entity.
  77. hasTime: URIRef # Supports the association of a temporal entity (instant or interval) to any thing
  78. inDateTime: (
  79. URIRef # Position of an instant, expressed using a structured description
  80. )
  81. inTemporalPosition: URIRef # Position of a time instant
  82. inTimePosition: URIRef # Position of a time instant expressed as a TimePosition
  83. inside: URIRef # An instant that falls inside the interval. It is not intended to include beginnings and ends of intervals.
  84. intervalAfter: URIRef # If a proper interval T1 is intervalAfter another proper interval T2, then the beginning of T1 is after the end of T2.
  85. intervalBefore: URIRef # If a proper interval T1 is intervalBefore another proper interval T2, then the end of T1 is before the beginning of T2.
  86. intervalContains: URIRef # If a proper interval T1 is intervalContains another proper interval T2, then the beginning of T1 is before the beginning of T2, and the end of T1 is after the end of T2.
  87. intervalDisjoint: URIRef # If a proper interval T1 is intervalDisjoint another proper interval T2, then the beginning of T1 is after the end of T2, or the end of T1 is before the beginning of T2, i.e. the intervals do not overlap in any way, but their ordering relationship is not known.
  88. intervalDuring: URIRef # If a proper interval T1 is intervalDuring another proper interval T2, then the beginning of T1 is after the beginning of T2, and the end of T1 is before the end of T2.
  89. intervalEquals: URIRef # If a proper interval T1 is intervalEquals another proper interval T2, then the beginning of T1 is coincident with the beginning of T2, and the end of T1 is coincident with the end of T2.
  90. intervalFinishedBy: URIRef # If a proper interval T1 is intervalFinishedBy another proper interval T2, then the beginning of T1 is before the beginning of T2, and the end of T1 is coincident with the end of T2.
  91. intervalFinishes: URIRef # If a proper interval T1 is intervalFinishes another proper interval T2, then the beginning of T1 is after the beginning of T2, and the end of T1 is coincident with the end of T2.
  92. intervalIn: URIRef # If a proper interval T1 is intervalIn another proper interval T2, then the beginning of T1 is after the beginning of T2 or is coincident with the beginning of T2, and the end of T1 is before the end of T2, or is coincident with the end of T2, except that end of T1 may not be coincident with the end of T2 if the beginning of T1 is coincident with the beginning of T2.
  93. intervalMeets: URIRef # If a proper interval T1 is intervalMeets another proper interval T2, then the end of T1 is coincident with the beginning of T2.
  94. intervalMetBy: URIRef # If a proper interval T1 is intervalMetBy another proper interval T2, then the beginning of T1 is coincident with the end of T2.
  95. intervalOverlappedBy: URIRef # If a proper interval T1 is intervalOverlappedBy another proper interval T2, then the beginning of T1 is after the beginning of T2, the beginning of T1 is before the end of T2, and the end of T1 is after the end of T2.
  96. intervalOverlaps: URIRef # If a proper interval T1 is intervalOverlaps another proper interval T2, then the beginning of T1 is before the beginning of T2, the end of T1 is after the beginning of T2, and the end of T1 is before the end of T2.
  97. intervalStartedBy: URIRef # If a proper interval T1 is intervalStarted another proper interval T2, then the beginning of T1 is coincident with the beginning of T2, and the end of T1 is after the end of T2.
  98. intervalStarts: URIRef # If a proper interval T1 is intervalStarts another proper interval T2, then the beginning of T1 is coincident with the beginning of T2, and the end of T1 is before the end of T2.
  99. monthOfYear: URIRef # The month of the year, whose value is a member of the class time:MonthOfYear
  100. timeZone: URIRef # The time zone for clock elements in the temporal position
  101. unitType: URIRef # The temporal unit which provides the precision of a date-time value or scale of a temporal extent
  102. # http://www.w3.org/2002/07/owl#TransitiveProperty
  103. before: URIRef # Gives directionality to time. If a temporal entity T1 is before another temporal entity T2, then the end of T1 is before the beginning of T2. Thus, "before" can be considered to be basic to instants and derived for intervals.
  104. # http://www.w3.org/2006/time#DayOfWeek
  105. Friday: URIRef # Friday
  106. Monday: URIRef # Monday
  107. Saturday: URIRef # Saturday
  108. Sunday: URIRef # Sunday
  109. Thursday: URIRef # Thursday
  110. Tuesday: URIRef # Tuesday
  111. Wednesday: URIRef # Wednesday
  112. # http://www.w3.org/2006/time#TemporalUnit
  113. unitDay: URIRef # day
  114. unitHour: URIRef # hour
  115. unitMinute: URIRef # minute
  116. unitMonth: URIRef # month
  117. unitSecond: URIRef # second
  118. unitWeek: URIRef # week
  119. unitYear: URIRef # year
  120. _NS = Namespace("http://www.w3.org/2006/time#")