Examples of toJenaClauseEntry()


Examples of org.apache.stanbol.rules.base.api.RuleAtom.toJenaClauseEntry()

   
    JenaVariableMap jenaVariableMap = new JenaVariableMapImpl();
    Iterator<RuleAtom> it = this.head.iterator();
    for(int i=0; it.hasNext(); i++){
      RuleAtom atom = it.next();
      JenaClauseEntry jenaClauseEntry = atom.toJenaClauseEntry(jenaVariableMap);
      head[i] = jenaClauseEntry.getClauseEntry();
    }
   
   
    it = this.body.iterator();
View Full Code Here

Examples of org.apache.stanbol.rules.base.api.RuleAtom.toJenaClauseEntry()

   
   
    it = this.body.iterator();
    for(int i=0; it.hasNext(); i++){
      RuleAtom atom = it.next();
      JenaClauseEntry jenaClauseEntry = atom.toJenaClauseEntry(jenaVariableMap);
      body[i] = jenaClauseEntry.getClauseEntry();
    }
   
   
    jenaRule = new com.hp.hpl.jena.reasoner.rulesys.Rule(ruleName, head, body);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.