void add_statement(Resource subj, Resource pred, Resource obj)
Adds a statement to the RDF set.
Throws an exception if any argument isn't a Resouce object.