public class TestDatabaseAtOnceClosure extends AbstractRuleTestCase
AbstractTestCase.StatementVerifier
TestCase2.MyProperties, TestCase2.RandomType
NULL
_randomType, log
Constructor and Description |
---|
TestDatabaseAtOnceClosure() |
TestDatabaseAtOnceClosure(String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
doFixedPointTest(String[] resources,
AbstractTripleStore closureStore)
Compares ground truth for the closure of the source RDF/XML file(s) (as
computed by Sesame 2) against the closure as computed by bigdata.
|
Properties |
getProperties()
Overrides some properties.
|
Properties |
getProperties(Class<? extends BaseClosure> closureClass,
boolean nestedSubqueryIsIgnored)
Uses the specified closure algorithm and other properties per
getProperties() . |
void |
test_fixedPoint_LUBM_U1_As_Fast_PipelineJoins() |
void |
test_fixedPoint_LUBM_U1_As_Full_PipelineJoins() |
void |
test_fixedPoint_SampleData_Fast_PipelineJoins() |
void |
test_fixedPoint_SampleData_Full_PipelineJoins() |
void |
test_fixedPoint_Small_Fast_PipelineJoins() |
void |
test_fixedPoint_Small_Full_PipelineJoins() |
void |
test_fixedPoint_TestOwlSameAs_Fast_Pipeline() |
void |
test_fixedPoint_TestOwlSameAs_Full_PipelineJoins() |
void |
test_simpleFixPoint()
Example using only
RuleRdfs11 that requires multiple rounds to
compute the fix point closure of a simple data set. |
applyRule, applyRule, assertSameSolutionsAnyOrder
getValue
getDelegate, getOurDelegate, getStore, getStore, reopenStore, setDelegate, setUp, tearDown
assertEquals, assertEquals, assertEquals, assertEquals, assertLexiconIndicesConsistent, assertSameSPOs, assertSameSPOs, assertSameSPOsAnyOrder, assertSameSPOsAnyOrder, assertSameStatements, assertSameStatements, assertStatementIndicesConsistent, checkIfProxy, recursiveDelete, setUp, tearDown
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEqualsWithinUlps, assertSameArray, assertSameArray, assertSameBigDecimal, assertSameBigDecimal, assertSameBigInteger, assertSameBigInteger, assertSameIterator, assertSameIterator, assertSameIteratorAnyOrder, assertSameIteratorAnyOrder, assertSameValue, assertSameValue, assertZeroUlps, assertZeroUlps, fail, getInnerCause, getNormalInt, getProjectBuildPath, getRandomObject, getRandomObject, getRandomOrder, getRandomString, getTestInputStream, getTestResource, getTestResource, getUlps, getUlps, isDEBUG, isDEBUG, isINFO, isINFO, isInnerCause, logProperties
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
public TestDatabaseAtOnceClosure()
public TestDatabaseAtOnceClosure(String name)
name
- public Properties getProperties()
getProperties
in class ProxyTestCase
public Properties getProperties(Class<? extends BaseClosure> closureClass, boolean nestedSubqueryIsIgnored)
getProperties()
.closureClass
- The closure algorithm.nestedSubquery
- true
to use nested-subquery joins and
false
to use pipeline joins.AbstractTripleStore
.public void test_fixedPoint_Small_Full_PipelineJoins() throws Exception
Exception
public void test_fixedPoint_Small_Fast_PipelineJoins() throws Exception
Exception
public void test_fixedPoint_SampleData_Full_PipelineJoins() throws Exception
Exception
public void test_fixedPoint_SampleData_Fast_PipelineJoins() throws Exception
Exception
public void test_fixedPoint_TestOwlSameAs_Full_PipelineJoins() throws Exception
Exception
public void test_fixedPoint_TestOwlSameAs_Fast_Pipeline() throws Exception
Exception
public void test_fixedPoint_LUBM_U1_As_Full_PipelineJoins() throws Exception
Exception
public void test_fixedPoint_LUBM_U1_As_Fast_PipelineJoins() throws Exception
Exception
protected void doFixedPointTest(String[] resources, AbstractTripleStore closureStore) throws Exception
resources
- The RDF/XML files.closureStore
- The triple store under test as configured with some specific
closure program
.Exception
public void test_simpleFixPoint() throws Exception
RuleRdfs11
that requires multiple rounds to
compute the fix point closure of a simple data set. This example is based
on closure of the class hierarchy. Given
a sco b b sco c c sco dround 1 adds
a sco c b sco dround 2 adds
a sco dand that is the fixed point.
Exception
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.