public class TestTicket1007 extends AbstractDataDrivenSPARQLTestCase
AbstractDataDrivenSPARQLTestCase.TestHelper, AbstractDataDrivenSPARQLTestCase.UpdateTestHelper
AbstractDataAndSPARQLTestCase.AbsHelper
TestCase2.MyProperties, TestCase2.RandomType
baseURI, store, valueFactory
_randomType
Constructor and Description |
---|
TestTicket1007() |
TestTicket1007(String name) |
Modifier and Type | Method and Description |
---|---|
void |
test_ticket_1007_boolean1()
SELECT ?o
WHERE
{
?s |
void |
test_ticket_1007_boolean2()
SELECT ?o
WHERE
{
?s |
void |
test_ticket_1007_empty1()
SELECT ?o
WHERE
{
?s ?p ?o
BIND (URI("http://untypedString") AS ?o)
}
|
void |
test_ticket_1007_empty2()
SELECT ?o
WHERE
{
?s ?p ?o
BIND ("10" AS ?o)
}
|
void |
test_ticket_1007_freshUri()
SELECT DISTINCT ?z
WHERE
{
?s ?p ?o
BIND (URI("http://untypedUri") AS ?z)
}
|
void |
test_ticket_1007_number1()
SELECT ?o
WHERE
{
?s ?p ?o
BIND (10 AS ?o)
}
|
void |
test_ticket_1007_number2()
SELECT ?o
{
?s |
void |
test_ticket_1007_number3()
SELECT ?o
{
?s |
void |
test_ticket_1007_number4()
SELECT ?o
{
?s |
void |
test_ticket_1007_number5()
SELECT ?o
{
?s
Note: originally this query failed. |
void |
test_ticket_1007_number6()
SELECT ?o
{
?s |
void |
test_ticket_1007_string1()
SELECT ?o
WHERE
{
?s ?p ?o
BIND ("untypedString" AS ?o)
}
|
void |
test_ticket_1007_string2()
SELECT ?o
WHERE
{
?s ?p ?o
BIND (CONCAT("untyped","String") AS ?o)
}
Note: originally this query failed. |
void |
test_ticket_1007_string3()
SELECT ?o
WHERE
{
?s ?p ?o
BIND (STRAFTER("XuntypedString","X") AS ?o)
}
Note: originally this query failed. |
void |
test_ticket_1007_string4()
SELECT ?o
WHERE
{
?s ?p ?o
{
SELECT ?o
WHERE
{
BIND (CONCAT("untyped","String") AS ?o)
}
}
}
Note: originally this query failed. |
void |
test_ticket_1007_string5()
SELECT ?o
WHERE
{
BIND (CONCAT("untyped","String") AS ?o)
}
Note: originally this query failed. |
void |
test_ticket_1007_subquery()
Test problems with BIND inside and reuse of variable outside of
subquery.
|
void |
test_ticket_1007()
Original query as defined in bug report, reusing a URI constructed in a
BIND clause in a join:
PREFIX : |
void |
test_ticket_1007b()
Modified query with join "on top", enforced through outer VALUES clause.
|
assertSameAST, asSet, asSet, asSet, asSet, asSet, enableDeleteMarkersInIndes, getBOpContext, getProperties, getStore, makeIV, setUp, tearDown
assertSameSolutions, assertSameSolutions, assertSameSolutions, assertSameSolutionsAnyOrder, assertSameSolutionsAnyOrder, assertSameSolutionsAnyOrder, assertSameSolutionsAnyOrder, assertSameSolutionsAnyOrder, assertSameSolutionsAnyOrder, compareGraphs, compareTupleQueryResults, diff
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 TestTicket1007()
public TestTicket1007(String name)
public void test_ticket_1007() throws Exception
PREFIX :
SELECT * WHERE
{
GRAPH
{
:aProperty ?literal .
BIND (URI(CONCAT("http://www.interition.net/graphs/",?literal))
AS ?graph) .
}
GRAPH ?graph {
?s ?p ?o .
}
}
Note: originally this query failed.Exception
public void test_ticket_1007b() throws Exception
PREFIX :
SELECT * WHERE
{
GRAPH
{
:aProperty ?literal .
BIND (URI(CONCAT("http://www.interition.net/graphs/",?literal))
AS ?graph) .
}
}
VALUES ?graph { }
Exception
public void test_ticket_1007_number1() throws Exception
SELECT ?o
WHERE
{
?s ?p ?o
BIND (10 AS ?o)
}
Exception
public void test_ticket_1007_number2() throws Exception
SELECT ?o
{
?s ?o
BIND ("10.00"^^ AS ?o)
}
Exception
public void test_ticket_1007_number3() throws Exception
SELECT ?o
{
?s ?o
BIND (10 AS ?o)
}
Exception
public void test_ticket_1007_number4() throws Exception
SELECT ?o
{
?s ?o
BIND (2*5 AS ?o)
}
Exception
public void test_ticket_1007_number5() throws Exception
SELECT ?o
{
?s ?o
BIND (xsd:integer("10") AS ?o)
}
Note: originally this query failed.Exception
public void test_ticket_1007_number6() throws Exception
SELECT ?o
{
?s ?o .
?v .
BIND (?v*2 AS ?o)
}
Exception
public void test_ticket_1007_string1() throws Exception
SELECT ?o
WHERE
{
?s ?p ?o
BIND ("untypedString" AS ?o)
}
Exception
public void test_ticket_1007_string2() throws Exception
SELECT ?o
WHERE
{
?s ?p ?o
BIND (CONCAT("untyped","String") AS ?o)
}
Note: originally this query failed.Exception
public void test_ticket_1007_string3() throws Exception
SELECT ?o
WHERE
{
?s ?p ?o
BIND (STRAFTER("XuntypedString","X") AS ?o)
}
Note: originally this query failed.Exception
public void test_ticket_1007_string4() throws Exception
SELECT ?o
WHERE
{
?s ?p ?o
{
SELECT ?o
WHERE
{
BIND (CONCAT("untyped","String") AS ?o)
}
}
}
Note: originally this query failed.Exception
public void test_ticket_1007_string5() throws Exception
SELECT ?o
WHERE
{
BIND (CONCAT("untyped","String") AS ?o)
}
Note: originally this query failed.Exception
public void test_ticket_1007_empty1() throws Exception
SELECT ?o
WHERE
{
?s ?p ?o
BIND (URI("http://untypedString") AS ?o)
}
Exception
public void test_ticket_1007_empty2() throws Exception
SELECT ?o
WHERE
{
?s ?p ?o
BIND ("10" AS ?o)
}
Exception
public void test_ticket_1007_freshUri() throws Exception
SELECT DISTINCT ?z
WHERE
{
?s ?p ?o
BIND (URI("http://untypedUri") AS ?z)
}
Exception
public void test_ticket_1007_boolean1() throws Exception
SELECT ?o
WHERE
{
?s ?o
BIND (?s=?s AS ?o)
}
Exception
public void test_ticket_1007_boolean2() throws Exception
SELECT ?o
WHERE
{
?s ?o
BIND (?s= AS ?o)
}
Exception
public void test_ticket_1007_subquery() throws Exception
SELECT DISTINCT *
{
{
SELECT ?annotatedSource WHERE {
hint:SubQuery hint:runOnce true .
?s ?p ?o .
FILTER(strstarts(?o,"annotated"))
BIND(concat(substr(?o,1,9),"Source") as ?annotatedSource)
}
}
?ss ?pp ?annotatedSource
} LIMIT 20
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.