get all rdf resources function added