Is there any problem in this rule. I am getting error here. I used jena generic rule reasoner so is it sufficient also for executing rdfs sub class rules?
*[rule1:(?x http://www.w3.org/1999/02/22-rdf-syntax-ns#type <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> http://www.semanticweb.org/t/ontologies#MasterStudent <http://www.semanticweb.org/t/ontologies#MasterStudent>) "* * + "( http://www.semanticweb.org/t/ontologies#MasterStudent <http://www.semanticweb.org/t/ontologies#MasterStudent>) http://www.w3.org/2000/01/rdf-schema#subClassOf <http://www.w3.org/2000/01/rdf-schema#subClassOf> http://www.semanticweb.org/t/ontologies#Student <http://www.semanticweb.org/t/ontologies#Student> )"* * + " -> (?x http://www.w3.org/1999/02/22-rdf-syntax-ns#type <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> http://www.semanticweb.org/t/ontologies#Student <http://www.semanticweb.org/t/ontologies#Student> )]"* * Reasoner reasoner2 = new GenericRuleReasoner(Rule.parseRules(rule)); InfModel inf = ModelFactory.createInfModel(reasoner2, model);*