added aggregate triples file for all queries
improved rewrite to retrieve our triples