build graph subjects from UriInfo when working with the http api