removed empty graphrefs from the triple