sw-examples: fred-sam-friends.sw3

Raw file here.
-- Learn Fred and Sam's friends and age:

|context> => |Fred Sam friends>

friends |Fred> => |Jack> + |Harry> + |Ed> + |Mary> + |Rob> + |Patrick> + |Emma> + |Charlie>
age |Fred> => |32>

friends |Sam> => |Charlie> + |George> + |Emma> + |Jack> + |Robert> + |Frank> + |Julie>
age |Sam> => |34>

table[person, age, friends] split[" "] |Fred Sam>

table[person, *] split[" "] |Fred Sam>

Home