Class ConceptSlotFunction

  • All Implemented Interfaces:
    AbsObject, AbsTerm, Concept, Term, Serializable, Serializable

    public class ConceptSlotFunction
    extends AbsConceptSlotFunction
    The ConceptSlotFunction class allows treating the slots of an ontological concept as functions. For instance, if an ontology defines a concept Person with a slot name and a slot age, it is possible to create expressions such as
    (= (age (Person :name John)) 41)
    (> (age (Person :name John)) (age (Person :name Bill)))
    (iota ?x (= (age (Person :name John)) ?x)) In order to exploit this feature it is necessary to instruct an ontology to use concept slots as functions by means of the useConceptSlotsAsFunctions method of the Ontology class.
    Since:
    JADE 3.7
    See Also:
    Serialized Form