Using JSON Prolog to communicate with KnowRob