@@ -8,7 +8,6 @@ import org.apache.jena.shared.PrefixMapping
88import org.apache.jena.shared.impl.PrefixMappingImpl
99import org.apache.jena.sparql.core.Quad
1010import org.apache.jena.sparql.syntax.*
11- import org.checkerframework.checker.units.qual.Prefix
1211
1312class RequirementsNotMetException (conditions : List <String >): Http400Exception(" The following conditions failed after the transaction attempt:\n "
1413 +conditions.mapIndexed { i, v -> " ${i} . $v " }.joinToString("\n"))
@@ -86,6 +85,18 @@ object NoQuadsElementVisitor: ElementVisitor {
8685 override fun visit (el : ElementLateral ? ) {
8786 throw SparqlFeatureNotSupportedException (" LATERAL keyword not standardized" )
8887 }
88+
89+ override fun visit (el : ElementUnfold ? ) {
90+ throw SparqlFeatureNotSupportedException (" UNFOLD keyword not supported" )
91+ }
92+
93+ override fun visit (el : ElementSemiJoin ? ) {
94+ throw SparqlFeatureNotSupportedException (" SEMI JOIN not supported" )
95+ }
96+
97+ override fun visit (el : ElementAntiJoin ? ) {
98+ throw SparqlFeatureNotSupportedException (" ANTI JOIN not supported" )
99+ }
89100}
90101
91102fun assertNoQuads (element : Element1 ? ) {
@@ -100,7 +111,7 @@ fun assertNoQuads(elements: List<Element>?) {
100111
101112
102113fun asSparqlGroup (mapping : PrefixMapping ? =null, vararg elements : Element ): String {
103- return QueryFactory .make ().apply {
114+ return QueryFactory .create ().apply {
104115 setQueryAskType()
105116 if (mapping != null ) prefixMapping = mapping
106117 queryPattern = ElementGroup ().apply {
0 commit comments