worked on rdf background logic for interactive mode