The "var rdf = ...." was missing from the rdf interface api description in the read me.