1. A method comprising: constructing a reduced ordered binary decision diagram from a resource description framework graph; computing a hash identifier corresponding to the decision diagram; and storing the hash identifier with the decision diagram.