/** * LUBM U(1) */ public void test_loadAndVerify_U1() throws Exception { final String file = "src/test/resources/data/lehigh/U1/"; doLoadAndVerifyTest(file, parallel); }
/** * Note: This allows an override of the properties that effect the data * load, in particular whether or not the full text index and statement * identifiers are maintained. It can be useful to disable those features in * order to estimate the best load rate for a data set. */ protected AbstractTripleStore getStore() { final Properties properties = new Properties(getProperties()); // properties.setProperty(AbstractTripleStore.Options.TEXT_INDEX, // "false"); // // properties.setProperty( // AbstractTripleStore.Options.STATEMENT_IDENTIFIERS, "false"); return getStore(properties); }
/** * Test with the "little.trig" data set (iff in quads mode). */ public void test_loadAndVerify_little_trig_quadsMode() throws Exception { final String resource = "/com/bigdata/rdf/rio/little.trig"; final Properties p = getProperties(); if (!Boolean.valueOf(p.getProperty(AbstractTripleStore.Options.QUADS, AbstractTripleStore.Options.DEFAULT_QUADS))) { // IFF in quads mode. return; } doLoadAndVerifyTest(resource, parallel); }
protected void doLoad(AbstractTripleStore store, String resource, final boolean parallel) throws Exception { doLoad(store, resource, parallel, new StatementBufferFactory<BigdataStatement>(store)); }
/** * Test with the "little.trig" data set (iff in quads mode). */ public void test_loadAndVerify_little_trig_quadsMode() throws Exception { final String resource = "/com/bigdata/rdf/rio/little.trig"; final Properties p = getProperties(); if (!Boolean.valueOf(p.getProperty(AbstractTripleStore.Options.QUADS, AbstractTripleStore.Options.DEFAULT_QUADS))) { // IFF in quads mode. return; } doLoadAndVerifyTest(resource, parallel); }
protected void doLoad(AbstractTripleStore store, String resource, final boolean parallel) throws Exception { doLoad(store, resource, parallel, new StatementBufferFactory<BigdataStatement>(store)); }
/** * Uses a modest (40k statements) file (BSBM PC 100). */ public void test_loadAndVerify_bsbm_pc100() throws Exception { final String file = "/data/bsbm/dataset_pc100.nt"; doLoadAndVerifyTest( file, parallel ); }
/** * Test with the "little.trig" data set (iff in quads mode). */ public void test_loadAndVerify_little_trig_quadsMode() throws Exception { final String resource = "/com/bigdata/rdf/rio/little.trig"; final Properties p = getProperties(); if (!Boolean.valueOf(p.getProperty(AbstractTripleStore.Options.QUADS, AbstractTripleStore.Options.DEFAULT_QUADS))) { // IFF in quads mode. return; } doLoadAndVerifyTest(resource, parallel); }
/** * Note: This allows an override of the properties that effect the data * load, in particular whether or not the full text index and statement * identifiers are maintained. It can be useful to disable those features in * order to estimate the best load rate for a data set. */ protected AbstractTripleStore getStore() { final Properties properties = new Properties(getProperties()); // properties.setProperty(AbstractTripleStore.Options.TEXT_INDEX, // "false"); // // properties.setProperty( // AbstractTripleStore.Options.STATEMENT_IDENTIFIERS, "false"); return getStore(properties); }
protected void doLoad(AbstractTripleStore store, String resource, final boolean parallel) throws Exception { doLoad(store, resource, parallel, new StatementBufferFactory<BigdataStatement>(store)); }
/** * Test with the "little.ttl" data set. */ public void test_loadAndVerify_little_ttl() throws Exception { final String resource = "/com/bigdata/rdf/rio/little.ttl"; doLoadAndVerifyTest(resource, parallel); }
/** * Note: This allows an override of the properties that effect the data * load, in particular whether or not the full text index and statement * identifiers are maintained. It can be useful to disable those features in * order to estimate the best load rate for a data set. */ protected AbstractTripleStore getStore() { final Properties properties = new Properties(getProperties()); // properties.setProperty(AbstractTripleStore.Options.TEXT_INDEX, // "false"); // // properties.setProperty( // AbstractTripleStore.Options.STATEMENT_IDENTIFIERS, "false"); return getStore(properties); }
/** * Test with the "little.ttl" data set. */ public void test_loadAndVerify_little_ttl() throws Exception { final String resource = "/com/bigdata/rdf/rio/little.ttl"; doLoadAndVerifyTest(resource, parallel); }
/** * Test with the "smallWithBlobs.rdf" data set. */ public void test_loadAndVerify_smallWithBlobs() throws Exception { final String resource = "/com/bigdata/rdf/rio/smallWithBlobs.rdf"; doLoadAndVerifyTest( resource, parallel ); }
/** * Test with the "sample data.rdf" data set. * * @throws Exception */ public void test_loadAndVerify_sampleData() throws Exception { final String resource = "/com/bigdata/rdf/rio/sample data.rdf"; doLoadAndVerifyTest( resource, parallel ); }
/** * Uses a modest (40k statements) file (BSBM PC 100). */ public void test_loadAndVerify_bsbm_pc100() throws Exception { final String file = "/data/bsbm/dataset_pc100.nt"; doLoadAndVerifyTest( file, parallel ); }
/** * Test with the "small.rdf" data set. * * @throws Exception */ public void test_loadAndVerify_small() throws Exception { final String resource = "/com/bigdata/rdf/rio/small.rdf"; doLoadAndVerifyTest(resource, parallel); }
/** * Test with the "little.jsonld" data set. */ public void test_loadAndVerify_little_jsonld() throws Exception { final String resource = "/com/bigdata/rdf/rio/little.jsonld"; doLoadAndVerifyTest(resource, parallel); }
/** * Test with the "small.rdf" data set. * * @throws Exception */ public void test_loadAndVerify_small() throws Exception { final String resource = "/com/bigdata/rdf/rio/small.rdf"; doLoadAndVerifyTest(resource, parallel); }
/** * Test with the "little.jsonld" data set. */ public void test_loadAndVerify_little_jsonld() throws Exception { final String resource = "/com/bigdata/rdf/rio/little.jsonld"; doLoadAndVerifyTest(resource, parallel); }