(=>
(and
(equal ?LIST3
(ListConcatenateFn ?LIST1 ?LIST2))
(not
(equal ?LIST1 NullList))
(not
(equal ?LIST2 NullList))
(lessThanOrEqualTo ?NUMBER1
(ListLengthFn ?LIST1))
(lessThanOrEqualTo ?NUMBER2
(ListLengthFn ?LIST2))
(instance ?NUMBER1 PositiveInteger)
(instance ?NUMBER2 PositiveInteger))
(and
(equal
(ListOrderFn ?LIST3 ?NUMBER1)
(ListOrderFn ?LIST1 ?NUMBER1))
(equal
(ListOrderFn ?LIST3
(AdditionFn
(ListLengthFn ?LIST1) ?NUMBER2))
(ListOrderFn ?LIST2 ?NUMBER2)))) |
Merge.kif 3194-3213 |
If All of the following hold: (1) equal X, the list composed of Y, and Z (2) equal Y and null list (3) equal Z and null list (4) W is less than or equal to length of Y (5) V is less than or equal to length of Z (6) W is an instance of positive integer (7) V is an instance of positive integer, then equal U element of X and U element of Y and equal (length of Y and V)th element of X and T element of Z |
(=>
(and
(equal ?R
(SubListFn ?S ?E ?L))
(greaterThan
(SubtractionFn ?E ?S) 1))
(equal ?R
(ListConcatenateFn
(ListFn
(ListOrderFn ?L ?S))
(SubListFn
(AdditionFn 1 ?S) ?E ?L)))) |
Merge.kif 3301-3313 |
If equal X and the sub-list from Y to Z of W and (Z and Y) is greater than 1, then equal X and the list composed of (V element of W) and the sub-list from (1 and Y) to Z of W |
(=>
(and
(equal ?A
(ListSumFn ?L))
(greaterThan
(ListLengthFn ?L) 1))
(equal ?A
(AdditionFn
(FirstFn ?L)
(ListSumFn
(SubListFn 2
(ListLengthFn ?L) ?L))))) |
Merge.kif 3369-3379 |
If equal X and the sum of Y and length of Y is greater than 1, then equal X and (the first of Y and the sum of the sub-list from 2 to length of Y of Y) |
(=>
(and
(equal
(RemainderFn ?NUMBER1 ?NUMBER2) ?NUMBER)
(not
(equal ?NUMBER2 0)))
(equal
(AdditionFn
(MultiplicationFn
(FloorFn
(DivisionFn ?NUMBER1 ?NUMBER2)) ?NUMBER2) ?NUMBER) ?NUMBER1)) |
Merge.kif 5216-5227 |
If equal X mod Y and Z and equal Y and 0, then equal (the largest integer less than or equal to X and Y and Y and Z) and X |
(=>
(and
(equal
(PathWeightFn ?PATH) ?SUM)
(subGraph ?SUBPATH ?PATH)
(graphPart ?ARC1 ?PATH)
(arcWeight ?ARC1 ?NUMBER1)
(forall (?ARC2)
(=>
(graphPart ?ARC2 ?PATH)
(or
(graphPart ?ARC2 ?SUBPATH)
(equal ?ARC2 ?ARC1)))))
(equal ?SUM
(AdditionFn
(PathWeightFn ?SUBPATH) ?NUMBER1))) |
Merge.kif 6098-6110 |
If equal the value of X and Y, Z is a subgraph of X, W is a part of X, the value of W is V, and For all GraphElement U: if U is a part of X, then U is a part of Z or equal U and W, then equal Y and (the value of Z and V) |
(=>
(and
(equal
(PathWeightFn ?PATH) ?SUM)
(graphPart ?ARC1 ?PATH)
(graphPart ?ARC2 ?PATH)
(arcWeight ?ARC1 ?NUMBER1)
(arcWeight ?ARC2 ?NUMBER2)
(forall (?ARC3)
(=>
(graphPart ?ARC3 ?PATH)
(or
(equal ?ARC3 ?ARC1)
(equal ?ARC3 ?ARC2)))))
(equal
(PathWeightFn ?PATH)
(AdditionFn ?NUMBER1 ?NUMBER2))) |
Merge.kif 6112-6125 |
If All of the following hold: (1) equal the value of X and Y (2) Z is a part of X (3) W is a part of X (4) the value of Z is V (5) the value of W is U (6) For all GraphElement T: if T is a part of X, then equal T and Z or equal T and W, then equal the value of X and (V and U) |
(=>
(and
(instance ?UTC
(HourFn ?H1
(DayFn ?D
(MonthFn ?M
(YearFn ?Y)))))
(instance ?PST
(HourFn ?H2
(DayFn ?D
(MonthFn ?M
(YearFn ?Y)))))
(equal
(RelativeTimeFn ?UTC PacificTimeZone) ?PST))
(equal ?H2
(AdditionFn ?H1 8))) |
Merge.kif 17532-17538 |
If X is an instance of the hour Y, Z is an instance of the hour W, and equal the time X in zone pacific time zone and Z, then equal W and (Y and 8) |
(=>
(and
(instance ?UTC
(HourFn ?H1
(DayFn ?D
(MonthFn ?M
(YearFn ?Y)))))
(instance ?MST
(HourFn ?H2
(DayFn ?D
(MonthFn ?M
(YearFn ?Y)))))
(equal
(RelativeTimeFn ?UTC MountainTimeZone) ?MST))
(equal ?H2
(AdditionFn ?H1 7))) |
Merge.kif 17544-17550 |
If X is an instance of the hour Y, Z is an instance of the hour W, and equal the time X in zone mountain time zone and Z, then equal W and (Y and 7) |
(=>
(and
(instance ?UTC
(HourFn ?H1
(DayFn ?D
(MonthFn ?M
(YearFn ?Y)))))
(instance ?CST
(HourFn ?H2
(DayFn ?D
(MonthFn ?M
(YearFn ?Y)))))
(equal
(RelativeTimeFn ?UTC CentralTimeZone) ?CST))
(equal ?H2
(AdditionFn ?H1 6))) |
Merge.kif 17556-17562 |
If X is an instance of the hour Y, Z is an instance of the hour W, and equal the time X in zone central time zone and Z, then equal W and (Y and 6) |
(=>
(and
(instance ?UTC
(HourFn ?H1
(DayFn ?D
(MonthFn ?M
(YearFn ?Y)))))
(instance ?EST
(HourFn ?H2
(DayFn ?D
(MonthFn ?M
(YearFn ?Y)))))
(equal
(RelativeTimeFn ?UTC EasternTimeZone) ?EST))
(equal ?H2
(AdditionFn ?H1 5))) |
Merge.kif 17568-17574 |
If X is an instance of the hour Y, Z is an instance of the hour W, and equal the time X in zone eastern time zone and Z, then equal W and (Y and 5) |
(=>
(and
(arcLength ?SEMI
(MeasureFn ?L ?U))
(equal ?SEMI SemicircularArc))
(exists (?CIR ?C)
(and
(equal ?CIR Circle)
(geometricPart ?SEMI ?CIR)
(circumference ?CIR
(MeasureFn ?C ?U))
(equal ?C
(AdditionFn ?L ?L))))) |
Mid-level-ontology.kif 5857-5867 |
If X Y(s) is the LengthMeasure of Z and equal Z and semicircular arc, then there exist W and V such that equal W and circle and W is a geometric part of Z and circumference W and V Y(s) and equal V and (X and X) |
(=>
(conjugate ?COMPOUND1 ?COMPOUND2)
(exists (?NUMBER1 ?NUMBER2)
(and
(protonNumber ?COMPOUND1 ?NUMBER1)
(protonNumber ?COMPOUND2 ?NUMBER2)
(or
(equal ?NUMBER1
(AdditionFn ?NUMBER2 1))
(equal ?NUMBER2
(AdditionFn ?NUMBER1 1)))))) |
Mid-level-ontology.kif 7589-7597 |
If X is a conjugate of Y, then there exist Z and W such that Z is a proton number of Y and W is a proton number of X and equal Z and (W and 1) or equal W and (Z and 1) |
(=>
(equal
(MeasureFn ?H HourDuration)
(MTBFInstanceFn ?D))
(equal ?H
(DivisionFn
(AdditionFn
(ListSumFn
(PhysicalQuantityToNumberFn
(DeviceUpTimeDurationListFn ?D)))
(ListSumFn
(PhysicalQuantityToNumberFn
(DevicePlannedDownTimeDurationListFn ?D))))
(ListLengthFn
(DeviceFailTimeDurationListFn ?D))))) |
Mid-level-ontology.kif 34359-34373 |
If equal X hour duration(s) and The MTBF of Y is HourDuration, then equal X and (the sum of PhysicalQuantityToNumberFn returns the numberic values of a list of The List of deviceUpTime duration for Y is and the sum of PhysicalQuantityToNumberFn returns the numberic values of a list of The List of deviceUpTime duration for Y is) and length of The List of deviceFailTime duration for Y is |
(=>
(and
(instance ?MIT BarMitzvah)
(patient ?MIT ?X)
(instance ?X Boy)
(member ?X ?GROUP)
(instance ?GROUP Judaism)
(birthdate ?X ?DAY)
(instance ?DAY
(DayFn ?D
(MonthFn ?M
(YearFn ?Y)))))
(exists (?Y13 ?BD13)
(and
(instance ?Y13 Integer)
(equal ?Y13
(AdditionFn ?Y 13))
(instance ?BD13
(DayFn ?D
(MonthFn ?M
(YearFn ?Y13))))
(equal
(WhenFn ?MIT)
(ImmediateFutureFn ?BD13))))) |
Biography.kif 71-87 |
If All of the following hold: (1) X is an instance of bar mitzvah (2) Y is a patient of X (3) Y is an instance of boy (4) Y is a member of Z (5) Z is an instance of judaism (6) W is a birthdate of Y (7) W is an instance of the day V of month the month U, then there exist T and S such that T is an instance of integer and equal T and (R and 13) and S is an instance of the day V of month the month U and equal the time of existence of X and immediately after S |
(=>
(and
(instance ?MIT BatMitzvah)
(patient ?MIT ?X)
(instance ?X Girl)
(member ?X ?GROUP)
(instance ?GROUP Judaism)
(birthdate ?X ?DAY)
(instance ?DAY
(DayFn ?D
(MonthFn ?M
(YearFn ?Y)))))
(exists (?Y13 ?BD13)
(and
(instance ?Y13 Integer)
(equal ?Y13
(AdditionFn ?Y 13))
(instance ?BD13
(DayFn ?D
(MonthFn ?M
(YearFn ?Y13))))
(equal
(WhenFn ?MIT)
(ImmediateFutureFn ?BD13))))) |
Biography.kif 102-118 |
If All of the following hold: (1) X is an instance of bat mitzvah (2) Y is a patient of X (3) Y is an instance of girl (4) Y is a member of Z (5) Z is an instance of judaism (6) W is a birthdate of Y (7) W is an instance of the day V of month the month U, then there exist T and S such that T is an instance of integer and equal T and (R and 13) and S is an instance of the day V of month the month U and equal the time of existence of X and immediately after S |
(=>
(and
(instance ?M Mixture)
(instance ?Z UnitOfMeasure)
(mixtureRatio ?A ?B ?X ?Y ?Z)
(measure ?M
(MeasureFn ?T ?Z))
(part ?A ?M)
(part ?B ?M)
(measure ?A
(MeasureFn ?X ?Z))
(measure ?B
(MeasureFn ?Y ?Z)))
(equal ?T
(AdditionFn ?X ?Y))) |
Food.kif 1227-1241 |
If All of the following hold: (1) X is an instance of mixture (2) Y is an instance of unit of measure (3) A Mixture containing Z unit Y of W and V unit Y of U (4) the measure of X is T Y(s) (5) W is a part of X (6) U is a part of X (7) the measure of W is Z Y(s) (8) the measure of U is V Y(s), then equal T and (Z and V) |
(=>
(and
(instance ?UNIT UnitOfArea)
(landAreaOnly ?AREA
(MeasureFn ?LAND ?UNIT))
(waterAreaOnly ?AREA
(MeasureFn ?WATER ?UNIT)))
(totalArea ?AREA
(MeasureFn
(AdditionFn ?LAND ?WATER) ?UNIT))) |
Geography.kif 2031-2036 |
If X is an instance of unit of area, Y X(s) is a land area only of Z, and W X(s) is a water area only of Z, then (Y and W) X(s) is a total area of Z |
(=>
(and
(instance ?AREA GeographicArea)
(objectGeographicCoordinates ?AREA ?LAT ?LONG)
(equal
(MeasureFn ?DEG AngularDegree)
(MagneticDeclinationFn ?LAT ?LONG)))
(exists (?MN)
(and
(headingWRTMagneticNorth ?AREA
(MeasureFn ?MN AngularDegree))
(headingWRTTrueNorth ?AREA
(MeasureFn
(AdditionFn ?MN ?DEG) AngularDegree))))) |
Geography.kif 5220-5232 |
If X is an instance of geographic area, X is object geographic coordinates Y for Z, and equal W angular degree(s) and Location on Earth at Latitude Y and Longitude Z has a magnetic declination of PlaneAngleMeasure. (+) denotes easterly declination, (-) denotes westerly declination. zero value means at the agonic line., then there exists V such that V angular degree(s) is a headingWRT magnetic north of X and (V and W) angular degree(s) is a headingWRT true north of X |
(=>
(and
(equal ?OUT
(ReverseFn ?IN))
(equal ?LEN
(StringLengthFn ?IN))
(greaterThan ?LEN 1)
(greaterThan ?N 0)
(lessThan ?N ?LEN)
(equal ?PIVOT
(CeilingFn
(DivisionFn
(SubtractionFn ?LEN 1) 2)))
(equal ?NEW
(AdditionFn
(SubtractionFn ?PIVOT ?N) ?PIVOT))
(equal ?S
(SubstringFn ?IN ?N
(AdditionFn 1 ?N))))
(equal ?S
(SubstringFn ?OUT ?NEW
(AdditionFn 1 ?NEW)))) |
Media.kif 2997-3018 |
If All of the following hold: (1) equal X and the reverse of Y (2) equal Z and the length of Y (3) Z is greater than 1 (4) W is greater than 0 (5) W is less than Z (6) equal V and the ceiling of (Z and 1) and 2 (7) equal U and ((V and W) and V) (8) equal T and the sub-string of Y from W to (1 and W), then equal T and the sub-string of X from U to (1 and U) |
(=>
(average ?LIST1 ?AVERAGE)
(exists (?LIST2 ?LASTPLACE)
(and
(equal
(ListLengthFn ?LIST2)
(ListLengthFn ?LIST1))
(equal
(ListOrderFn ?LIST2 1)
(ListOrderFn ?LIST1 1))
(forall (?ITEMFROM2)
(=>
(inList ?ITEMFROM2 ?LIST2)
(exists (?POSITION ?POSITIONMINUSONE ?ITEMFROM1 ?PRIORFROM2)
(and
(greaterThan ?POSITION 1)
(lessThanOrEqualTo ?POSITION
(ListLengthFn ?LIST2))
(equal
(ListOrderFn ?LIST2 ?ITEMFROM2) ?POSITION)
(inList ?ITEMFROM1 ?LIST1)
(equal ?POSITION
(ListOrderFn ?LIST1 ?ITEMFROM1))
(inList ?PRIORFROM2 ?LIST2)
(equal ?POSITIONMINUSONE
(SubtractionFn ?POSITION 1))
(equal ?POSITIONMINUSONE
(ListOrderFn ?LIST2 ?PRIORFROM2))
(equal ?ITEMFROM2
(AdditionFn ?ITEMFROM1 ?PRIORFROM2))))))
(equal ?LASTPLACE
(ListLengthFn ?LIST2))
(equal ?AVERAGE
(DivisionFn
(ListOrderFn ?LIST2 ?LASTPLACE) ?LASTPLACE))))) |
People.kif 306-327 |
If X is an average of Y, then there exist Z and W such that equal length of Z and length of Y and equal 1th element of Z and 1th element of Y and V V is a member of Zthere exist U, T,, , S and R such that U is greater than 1 and U is less than or equal to length of Z and equal Q element of Z and U and S is a member of Y and equal U and P element of Y and R is a member of Z and equal T and (U and 1) and equal T and O element of Z and equal V and (S and R) and equal W and length of Z and equal X and N element of Z and W |
(=>
(and
(totalLengthOfHighwaySystem ?AREA
(MeasureFn ?LENGTH ?UNIT))
(lengthOfPavedHighway ?AREA
(MeasureFn ?LENGTH1 ?UNIT))
(lengthOfUnpavedHighway ?AREA
(MeasureFn ?LENGTH2 ?UNIT)))
(equal ?LENGTH
(AdditionFn ?LENGTH1 ?LENGTH2))) |
Transportation.kif 503-508 |
If X Y(s) is a total length of highway system of Z, W Y(s) is a length of paved highway of Z, and V Y(s) is a length of unpaved highway of Z, then equal X and (W and V) |
(=>
(and
(totalLengthOfHighwaySystem ?AREA
(MeasureFn ?LENGTH ?UNIT))
(lengthOfPavedHighway ?AREA
(MeasureFn ?LENGTH1 ?UNIT))
(lengthOfUnpavedHighway ?AREA
(MeasureFn ?LENGTH2 ?UNIT))
(instance ?UNIT UnitOfLength))
(totalLengthOfHighwaySystem ?AREA
(MeasureFn
(AdditionFn ?LENGTH1 ?LENGTH2) ?UNIT))) |
Transportation.kif 510-517 |
If X Y(s) is a total length of highway system of Z, W Y(s) is a length of paved highway of Z, V Y(s) is a length of unpaved highway of Z, and Y is an instance of unit of length, then (W and V) Y(s) is a total length of highway system of Z |
(=>
(instance ?H HarmattanSeason)
(exists (?Y)
(and
(instance ?HS
(MonthFn November
(YearFn ?Y)))
(instance ?HE
(MonthFn March
(YearFn
(AdditionFn ?Y 1))))
(during ?H
(IntervalFn
(EndFn ?HS)
(BeginFn ?HE)))))) |
Weather.kif 2037-2050 |
If X is an instance of Harmattan season, then there exists Y such that Z is an instance of the month November, W is an instance of the month March, and X takes place during the interval from the end of Z to the beginning of W |
(=>
(and
(equal ?VA
(VarianceAverageFn ?M ?L))
(greaterThan
(ListLengthFn ?L) 1))
(equal ?VA
(AdditionFn
(VarianceAverageFn ?M
(ListOrderFn ?L 1))
(VarianceAverageFn ?M
(SubListFn 2
(ListLengthFn ?L) ?L))))) |
Weather.kif 2763-2775 |
If equal X and VarianceAverageFn of Y with the mean of Z and length of Y is greater than 1, then equal X and (VarianceAverageFn of 1th element of Y with the mean of Z and VarianceAverageFn of the sub-list from 2 to length of Y of Y with the mean of Z) |