A Framework for Knowledge Derivation Incorporating Trust and Quality of Data