public void test2() throws Exception { // if(false) { // final BigdataValueFactory f = (BigdataValueFactory) localSail.getValueFactory(); // final BigdataValue[] values = new BigdataValue[] { // f.createURI("http://example.org/a"), // f.createURI("http://example.org/b"), // }; // localSail.getDatabase().getLexiconRelation().addTerms(values, values.length, false/*readOnly*/); // } prepareTest(null, Arrays.asList("data02endpoint1.ttl", "data02endpoint2.ttl")); execute("service02.rq", "service02.srx", false); }
public void test8() throws Exception { /* test where the SERVICE expression is to be evaluated as ASK request */ prepareTest("data08.ttl", Arrays.asList("data08endpoint.ttl")); execute("service08.rq", "service08.srx", false); }
public void test1() throws Exception{ prepareTest("data01.ttl", Arrays.asList("data01endpoint.ttl")); execute("service01.rq", "service01.srx", false); }
public void test9() throws Exception { /* test where the service endpoint is bound at runtime through BIND */ prepareTest(null, Arrays.asList("data09endpoint.ttl")); execute("service09.rq", "service09.srx", false); }
/** * A variant of {@link #test10()} in which the blank node within the SERVICE * graph pattern is replaced by a variable. This query runs fine. * * @see <a href="https://sourceforge.net/apps/trac/bigdata/ticket/510"> * Blank nodes in SERVICE graph patterns </a> */ public void test10b() throws Exception { /* test how we deal with blank node */ prepareTest("data10.ttl", Arrays.asList("data10endpoint.ttl")); execute("service10b.rq", "service10.srx", false); }
public void testEmptyServiceBlock() throws Exception { /* test for bug SES-900: nullpointer for empty service block */ prepareTest(null, Arrays.asList("data13.ttl")); execute("service14.rq", "service14.srx", false); }
public void test7() throws Exception { // fail("FIXME RESTORE");// FIXME RESTORE // clears the repository and adds new data + execute prepareTest("data07.ttl", Collections.<String>emptyList()); execute("service07.rq", "service07.srx", false); }
/** * @see <a href="https://sourceforge.net/apps/trac/bigdata/ticket/510"> * Blank nodes in SERVICE graph patterns </a> */ // @Test public void test10() throws Exception { /* test how we deal with blank node */ prepareTest("data10.ttl", Arrays.asList("data10endpoint.ttl")); execute("service10.rq", "service10.srx", false); }
public void test11() throws Exception { /* test vectored join with more intermediate results */ // clears the repository and adds new data + execute prepareTest("data11.ttl", Arrays.asList("data11endpoint.ttl")); execute("service11.rq", "service11.srx", false); }
/** * Variant of {@link #test13()} which demonstrates a workaround for the * uncorrelated SERVICE joins by lifting the SERVICE calls into named * subqueries. * * @see <a href="https://sourceforge.net/apps/trac/bigdata/ticket/509"> * Uncorrelated SERVICE JOINs. </a> */ public void test13b() throws Exception { /* test for bug SES-899: cross product is required */ prepareTest(null, Arrays.asList("data13.ttl")); execute("service13b.rq", "service13.srx", false); }
/** * @see <a href="https://sourceforge.net/apps/trac/bigdata/ticket/510"> * Blank nodes in SERVICE graph patterns </a> */ // @Test public void test10() throws Exception { /* test how we deal with blank node */ prepareTest("data10.ttl", Arrays.asList("data10endpoint.ttl")); execute("service10.rq", "service10.srx", false); }
public void test11() throws Exception { /* test vectored join with more intermediate results */ // clears the repository and adds new data + execute prepareTest("data11.ttl", Arrays.asList("data11endpoint.ttl")); execute("service11.rq", "service11.srx", false); }
public void test7() throws Exception { // fail("FIXME RESTORE");// FIXME RESTORE // clears the repository and adds new data + execute prepareTest("data07.ttl", Collections.<String>emptyList()); execute("service07.rq", "service07.srx", false); }
public void testEmptyServiceBlock() throws Exception { /* test for bug SES-900: nullpointer for empty service block */ prepareTest(null, Arrays.asList("data13.ttl")); execute("service14.rq", "service14.srx", false); }
public void test8() throws Exception { /* test where the SERVICE expression is to be evaluated as ASK request */ prepareTest("data08.ttl", Arrays.asList("data08endpoint.ttl")); execute("service08.rq", "service08.srx", false); }
public void test9() throws Exception { /* test where the service endpoint is bound at runtime through BIND */ prepareTest(null, Arrays.asList("data09endpoint.ttl")); execute("service09.rq", "service09.srx", false); }
public void test2() throws Exception { // if(false) { // final BigdataValueFactory f = (BigdataValueFactory) localSail.getValueFactory(); // final BigdataValue[] values = new BigdataValue[] { // f.createURI("http://example.org/a"), // f.createURI("http://example.org/b"), // }; // localSail.getDatabase().getLexiconRelation().addTerms(values, values.length, false/*readOnly*/); // } prepareTest(null, Arrays.asList("data02endpoint1.ttl", "data02endpoint2.ttl")); execute("service02.rq", "service02.srx", false); }
/** * A variant of {@link #test10()} in which the blank node within the SERVICE * graph pattern is replaced by a variable. This query runs fine. * * @see <a href="https://sourceforge.net/apps/trac/bigdata/ticket/510"> * Blank nodes in SERVICE graph patterns </a> */ public void test10b() throws Exception { /* test how we deal with blank node */ prepareTest("data10.ttl", Arrays.asList("data10endpoint.ttl")); execute("service10b.rq", "service10.srx", false); }
public void test3() throws Exception { prepareTest(null, Arrays.asList("data03endpoint1.ttl", "data03endpoint2.ttl")); execute("service03.rq", "service03.srx", false); }
/** * Variant of {@link #test13()} which demonstrates a workaround for the * uncorrelated SERVICE joins by lifting the SERVICE calls into named * subqueries. * * @see <a href="https://sourceforge.net/apps/trac/bigdata/ticket/509"> * Uncorrelated SERVICE JOINs. </a> */ public void test13b() throws Exception { /* test for bug SES-899: cross product is required */ prepareTest(null, Arrays.asList("data13.ttl")); execute("service13b.rq", "service13.srx", false); }