Simulation of Twitter features using Prolog