1 10 package com.hp.hpl.jena.reasoner.rdfsReasoner1; 11 12 import com.hp.hpl.jena.reasoner.*; 13 14 21 public class BackchainFRule extends BaseFRule { 22 23 26 public BackchainFRule(String spec) { 27 super(spec); 28 } 29 30 34 void fire(TriplePattern[] body, RDFSInfGraph reasoner) { 35 reasoner.addBRule(new BRWRule(body[0], body[1])); 36 } 37 38 } 39 40 69 | Popular Tags |