use of org.apache.jena.sparql.sse.Item in project jena by apache.
the class TestSSE_Forms method testBase_03.
@Test
public void testBase_03() {
Item r = SSE.parse("(1 <http://example/xyz>)", null);
testItem("(base <http://example/> (1 <xyz>))", r);
}
use of org.apache.jena.sparql.sse.Item in project jena by apache.
the class TestSSE_Forms method testBase_05.
@Test
public void testBase_05() {
Item r = SSE.parse("(<http://example/xyz> <http://EXAMPLE/other#foo>)", null);
testItem("((base <http://example/> <xyz>) (base <http://EXAMPLE/other> <#foo>))", r);
}
use of org.apache.jena.sparql.sse.Item in project jena by apache.
the class TestSSE_Forms method testPrefix_03.
@Test
public void testPrefix_03() {
Item r = SSE.parse("(<http://example/abc>)", null);
testItem("(prefix ((ex: <http://example/>)) (ex:abc))", r);
}
use of org.apache.jena.sparql.sse.Item in project jena by apache.
the class TestSSE_Forms method testBase_07.
@Test
public void testBase_07() {
Item r = SSE.parse("(<http://example/xyz> <http://EXAMPLE/other#foo>)", null);
testItem("(base <http://EXAMPLE/other#> ((base <http://example/> <xyz>) <#foo>))", r);
}
use of org.apache.jena.sparql.sse.Item in project jena by apache.
the class TestSSE_Forms method testPrefix_01.
// ----
@Test
public void testPrefix_01() {
Item r = Item.createNode(NodeFactory.createURI("http://example/abc"));
testItem("(prefix ((ex: <http://example/>)) ex:abc)", r);
}
Aggregations