to_redland: call librdf functions directly