*/
private static Item format(Map<Node, Integer> predicates, long count)
{
Item stats = Item.createList() ;
ItemList statsList = stats.getList() ;
statsList.add("stats") ;
// System.out.printf("Triples %d\n", count) ;
// System.out.println("NodeIds") ;
// for ( NodeId p : predicateIds.keySet() )
// System.out.printf("%s : %d\n",p, predicateIds.get(p) ) ;
// System.out.println("Nodes") ;
Item meta = createTagged(StatsMatcher.META) ;
addPair(meta.getList(), "timestamp", NodeFactory.nowAsDateTime()) ;
addPair(meta.getList(), "run@", Utils.nowAsString()) ;
if ( count >= 0 )
addPair(meta.getList(), StatsMatcher.COUNT, NodeFactory.intToNode((int)count)) ;
statsList.add(meta) ;
for ( Entry<Node, Integer> entry : predicates.entrySet() )
{
Node node = entry.getKey() ;
// Skip these - they just clog things up!