Implement SPARQL based RDFS inference