三元關係 (TernaryRelation)
TernaryRelations relate three items.
The two subclasses of TernaryRelation are TernaryPredicate and
BinaryFunction.
Ontology
SUMO / BASE-ONTOLOGYClass(es)
Superclass(es)
Subclass(es)
二元函數
三元述詞
Coordinate term(s)
二元函數
二元述詞
二元關係
格位角色
函數
意圖關係
序列
受事導向(歷程)
偏值關係
述詞
或然率關係
命題態度
四元函數
四元述詞
四元關係
五元述詞
五元關係
與量關係
單值關係
空間關係
時間關係
三元函數
三元述詞
全值關係
一元函數
變異元數關係
Axioms (3)
關係 無交集地 分解成 二元關係,三元關係,四元關係,五元關係,變異元數關係.
(disjointDecomposition Relation BinaryRelation TernaryRelation QuaternaryRelation QuintaryRelation VariableArityRelation)
If rel 是 三元關係 的 實例, then there don't exist item1,item2,item3,item4, so that rel(item1,item2,item3,item4,) (不) 成立s.
(=>
(instance ?REL TernaryRelation)
(not
(exists
(?ITEM1 ?ITEM2 ?ITEM3 ?ITEM4 @ROW)
(holds ?REL ?ITEM1 ?ITEM2 ?ITEM3 ?ITEM4 @ROW))))
- if rel 是 與量關係 的 實例 and rel 是 三元關係 的 實例 and number1 是 實數 的 實例 and number2 是 實數 的 實例 and rel(number1,number2,value) (不) 成立s,
- then for all unit holds: if unit 是 量度單位 的 實例, then rel("number1 unit(s)","number2 unit(s)","value unit(s)") (不) 成立s
.
(=>
(and
(instance ?REL RelationExtendedToQuantities)
(instance ?REL TernaryRelation)
(instance ?NUMBER1 RealNumber)
(instance ?NUMBER2 RealNumber)
(holds ?REL ?NUMBER1 ?NUMBER2 ?VALUE))
(forall
(?UNIT)
(=>
(instance ?UNIT UnitOfMeasure)
(holds
?REL
(MeasureFn ?NUMBER1 ?UNIT)
(MeasureFn ?NUMBER2 ?UNIT)
(MeasureFn ?VALUE ?UNIT)))))