ktbs: implemented the 'inherit' parameter in method SPARQL