public void testClosureOfMappedRuleWithTwoTails() { final AbstractTripleStore store = getStore(); try { final Vocabulary vocab = store.getVocabulary(); final boolean parallel = false; // actual value should not matter. final boolean closure = false; // actual value should not matter, // will map the rule across the database and the focusStore. final MappedProgram program = new MappedProgram(getName(), focusStore, parallel, closure); final IRule rule = new RuleRdfs09(database,vocab); log.info("\n"+rule); program.addClosureOf(rule); log.info("\n"+program); } finally { store.__tearDownUnitTest(); } }
public void testClosureOfMappedRuleWithTwoTails() { final AbstractTripleStore store = getStore(); try { final Vocabulary vocab = store.getVocabulary(); final boolean parallel = false; // actual value should not matter. final boolean closure = false; // actual value should not matter, // will map the rule across the database and the focusStore. final MappedProgram program = new MappedProgram(getName(), focusStore, parallel, closure); final IRule rule = new RuleRdfs09(database,vocab); log.info("\n"+rule); program.addClosureOf(rule); log.info("\n"+program); } finally { store.__tearDownUnitTest(); } }
/** * */ public void testClosureOfMappedRuleWithOneTail() { final AbstractTripleStore store = getStore(); try { final Vocabulary vocab = store.getVocabulary(); final boolean parallel = false; // actual value should not matter. final boolean closure = false; // actual value should not matter, // will map the rule across the database and the focusStore. final MappedProgram program = new MappedProgram(getName(), focusStore, parallel, closure); final IRule rule = new RuleOwlEquivalentProperty(database, vocab); log.info("\n"+rule); program.addClosureOf(rule); log.info("\n"+program); } finally { store.__tearDownUnitTest(); } }
/** * */ public void testClosureOfMappedRuleWithOneTail() { final AbstractTripleStore store = getStore(); try { final Vocabulary vocab = store.getVocabulary(); final boolean parallel = false; // actual value should not matter. final boolean closure = false; // actual value should not matter, // will map the rule across the database and the focusStore. final MappedProgram program = new MappedProgram(getName(), focusStore, parallel, closure); final IRule rule = new RuleOwlEquivalentProperty(database, vocab); log.info("\n"+rule); program.addClosureOf(rule); log.info("\n"+program); } finally { store.__tearDownUnitTest(); } }
public void testClosureOfMappedRuleWithTwoTails() { final AbstractTripleStore store = getStore(); try { final Vocabulary vocab = store.getVocabulary(); final boolean parallel = false; // actual value should not matter. final boolean closure = false; // actual value should not matter, // will map the rule across the database and the focusStore. final MappedProgram program = new MappedProgram(getName(), focusStore, parallel, closure); final IRule rule = new RuleRdfs09(database,vocab); log.info("\n"+rule); program.addClosureOf(rule); log.info("\n"+program); } finally { store.__tearDownUnitTest(); } }
/** * */ public void testClosureOfMappedRuleWithOneTail() { final AbstractTripleStore store = getStore(); try { final Vocabulary vocab = store.getVocabulary(); final boolean parallel = false; // actual value should not matter. final boolean closure = false; // actual value should not matter, // will map the rule across the database and the focusStore. final MappedProgram program = new MappedProgram(getName(), focusStore, parallel, closure); final IRule rule = new RuleOwlEquivalentProperty(database, vocab); log.info("\n"+rule); program.addClosureOf(rule); log.info("\n"+program); } finally { store.__tearDownUnitTest(); } }
program.addClosureOf(new RuleOwlEquivalentProperty(db, vocab)); program.addClosureOf(new IRule[] { new RuleRdfs05(db, vocab) }); program.addClosureOf(new RuleOwlEquivalentClass(db, vocab)); program.addClosureOf(new RuleRdfs11(db, vocab)); program.addClosureOf(tmp.toArray(new IRule[] {})); program.addClosureOf(new RuleOwlSameAs1(db, vocab)); program.addClosureOf(new RuleOwlSameAs1b(db, vocab));
program.addClosureOf(new RuleOwlEquivalentProperty(db, vocab)); program.addClosureOf(new IRule[] { new RuleRdfs05(db, vocab) }); program.addClosureOf(new RuleOwlEquivalentClass(db, vocab)); program.addClosureOf(new RuleRdfs11(db, vocab)); program.addClosureOf(tmp.toArray(new IRule[] {})); program.addClosureOf(new RuleOwlSameAs1(db, vocab)); program.addClosureOf(new RuleOwlSameAs1b(db, vocab));