added change to rdf for some graph invariants