Class CollatingCompose

java.lang.Object
com.semedy.reasoner.builtin.aggregation.CollatingCompose
All Implemented Interfaces:
Aggregation, Builtin

public class CollatingCompose extends Object implements Aggregation
Collating Aggregating composer builtin. For example: n(John,'John Smith'). n(John,'J. Smith Jr'). n(Mike, 'Michael James'). r: names(?person,?names) :- n(?person,?n), compose('names',?person,?n,?all). Will return John names('John Smith', 'J. Smith Jr') Mike names('Michael James'). when queried. You can also specify an existing composite as the first argument, in which case the arguments will be appended, similar