@traqula/test-utils 1.0.4 → 1.0.6-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (233) hide show
  1. package/dist/cjs/lib/Sparql11NotesTest.js +16 -168
  2. package/dist/cjs/lib/Sparql11NotesTest.js.map +1 -1
  3. package/dist/cjs/lib/generators/algebraGenerators.js +13 -15
  4. package/dist/cjs/lib/generators/algebraGenerators.js.map +1 -1
  5. package/dist/cjs/lib/generators/generators.js +13 -15
  6. package/dist/cjs/lib/generators/generators.js.map +1 -1
  7. package/dist/cjs/lib/generators/utils.js +3 -2
  8. package/dist/cjs/lib/generators/utils.js.map +1 -1
  9. package/dist/cjs/lib/matchers/toEqualParsedQuery.js +3 -3
  10. package/dist/cjs/lib/matchers/toEqualParsedQuery.js.map +1 -1
  11. package/dist/esm/lib/Sparql11NotesTest.d.ts +1 -1
  12. package/dist/esm/lib/Sparql11NotesTest.js +16 -168
  13. package/dist/esm/lib/Sparql11NotesTest.js.map +1 -1
  14. package/dist/esm/lib/generators/algebraGenerators.js +13 -15
  15. package/dist/esm/lib/generators/algebraGenerators.js.map +1 -1
  16. package/dist/esm/lib/generators/generators.js +13 -15
  17. package/dist/esm/lib/generators/generators.js.map +1 -1
  18. package/dist/esm/lib/generators/utils.js +3 -2
  19. package/dist/esm/lib/generators/utils.js.map +1 -1
  20. package/dist/esm/lib/matchers/toEqualParsedQuery.js +3 -3
  21. package/dist/esm/lib/matchers/toEqualParsedQuery.js.map +1 -1
  22. package/package.json +3 -3
  23. package/statics/algebra/algebra/sparql12/sparql-1-2-ar-langdir.json +44 -0
  24. package/statics/algebra/algebra/sparql12/sparql-1-2-en-langdir.json +44 -0
  25. package/statics/algebra/algebra-blank-to-var/sparql12/sparql-1-2-ar-langdir.json +44 -0
  26. package/statics/algebra/algebra-blank-to-var/sparql12/sparql-1-2-en-langdir.json +44 -0
  27. package/statics/algebra/sparql/sparql12/sparql-1-2-ar-langdir.sparql +1 -0
  28. package/statics/algebra/sparql/sparql12/sparql-1-2-en-langdir.sparql +1 -0
  29. package/statics/ast/ast-source-tracked/sparql-1-1/add-silent.json +69 -0
  30. package/statics/ast/ast-source-tracked/sparql-1-1/additive-neg-div.json +156 -0
  31. package/statics/ast/ast-source-tracked/sparql-1-1/additive-pos-mult.json +156 -0
  32. package/statics/ast/ast-source-tracked/sparql-1-1/ask-basic.json +86 -0
  33. package/statics/ast/ast-source-tracked/sparql-1-1/base-declaration.json +116 -0
  34. package/statics/ast/ast-source-tracked/sparql-1-1/blank-node-path.json +141 -0
  35. package/statics/ast/ast-source-tracked/sparql-1-1/blank-node-subject.json +96 -0
  36. package/statics/ast/ast-source-tracked/sparql-1-1/bnode-nil.json +89 -0
  37. package/statics/ast/ast-source-tracked/sparql-1-1/collection-object.json +169 -0
  38. package/statics/ast/ast-source-tracked/sparql-1-1/collection-path-subject.json +233 -0
  39. package/statics/ast/ast-source-tracked/sparql-1-1/collection-subject.json +169 -0
  40. package/statics/ast/ast-source-tracked/sparql-1-1/construct-empty-template.json +94 -0
  41. package/statics/ast/ast-source-tracked/sparql-1-1/count-select.json +130 -0
  42. package/statics/ast/ast-source-tracked/sparql-1-1/delete-only.json +149 -0
  43. package/statics/ast/ast-source-tracked/sparql-1-1/delete-where.json +81 -0
  44. package/statics/ast/ast-source-tracked/sparql-1-1/distinct-extension-function.json +171 -0
  45. package/statics/ast/ast-source-tracked/sparql-1-1/drop-named.json +40 -0
  46. package/statics/ast/ast-source-tracked/sparql-1-1/escape-backspace.json +96 -0
  47. package/statics/ast/ast-source-tracked/sparql-1-1/escape-cr.json +96 -0
  48. package/statics/ast/ast-source-tracked/sparql-1-1/escape-formfeed.json +96 -0
  49. package/statics/ast/ast-source-tracked/sparql-1-1/escape-tab.json +96 -0
  50. package/statics/ast/ast-source-tracked/sparql-1-1/filter-neg-div.json +197 -0
  51. package/statics/ast/ast-source-tracked/sparql-1-1/filter-neg-mult.json +175 -0
  52. package/statics/ast/ast-source-tracked/sparql-1-1/filter-pos-div.json +205 -0
  53. package/statics/ast/ast-source-tracked/sparql-1-1/filter-pos-mult.json +205 -0
  54. package/statics/ast/ast-source-tracked/sparql-1-1/func-nil-args.json +77 -0
  55. package/statics/ast/ast-source-tracked/sparql-1-1/graph-empty-insert.json +58 -0
  56. package/statics/ast/ast-source-tracked/sparql-1-1/group-by-bind-expr.json +137 -0
  57. package/statics/ast/ast-source-tracked/sparql-1-1/group-by-bind-var.json +189 -0
  58. package/statics/ast/ast-source-tracked/sparql-1-1/inv-nps-path.json +150 -0
  59. package/statics/ast/ast-source-tracked/sparql-1-1/literal-newline.json +96 -0
  60. package/statics/ast/ast-source-tracked/sparql-1-1/load-silent.json +41 -0
  61. package/statics/ast/ast-source-tracked/sparql-1-1/minus-optional.json +216 -0
  62. package/statics/ast/ast-source-tracked/sparql-1-1/multiple-updates.json +144 -0
  63. package/statics/ast/ast-source-tracked/sparql-1-1/negated-inverse-path.json +118 -0
  64. package/statics/ast/ast-source-tracked/sparql-1-1/order-by-var.json +126 -0
  65. package/statics/ast/ast-source-tracked/sparql-1-1/prefix-only-iri.json +118 -0
  66. package/statics/ast/ast-source-tracked/sparql-1-1/quads-after-graph.json +148 -0
  67. package/statics/ast/ast-source-tracked/sparql-1-1/replace-four-args.json +130 -0
  68. package/statics/ast/ast-source-tracked/sparql-1-1/replace-three-args.json +120 -0
  69. package/statics/ast/ast-source-tracked/sparql-1-1/unary-minus.json +108 -0
  70. package/statics/ast/ast-source-tracked/sparql-1-1/unary-plus.json +108 -0
  71. package/statics/ast/ast-source-tracked/sparql-1-1/values-at-end.json +131 -0
  72. package/statics/ast/ast-source-tracked/sparql-1-1/values-in-where.json +106 -0
  73. package/statics/ast/ast-source-tracked/sparql-1-2/reified-triple-explicit-reifier.json +155 -0
  74. package/statics/ast/ast-source-tracked/sparql-1-2/reified-triple-no-reifier.json +153 -0
  75. package/statics/ast/ast-source-tracked/sparql-1-2/reified-triple-tilde-no-id.json +153 -0
  76. package/statics/ast/ast-source-tracked/sparql-1-2/unary-minus-12.json +108 -0
  77. package/statics/ast/ast-source-tracked/sparql-1-2/unary-plus-12.json +108 -0
  78. package/statics/ast/ast-source-tracked/sparql-1-2/version-decl.json +108 -0
  79. package/statics/ast/ast-source-tracked/sparql-1-2/version-with-prefix.json +128 -0
  80. package/statics/ast/sparql/sparql-1-1/add-silent.sparql +1 -0
  81. package/statics/ast/sparql/sparql-1-1/additive-neg-div.sparql +1 -0
  82. package/statics/ast/sparql/sparql-1-1/additive-pos-mult.sparql +1 -0
  83. package/statics/ast/sparql/sparql-1-1/ask-basic.sparql +1 -0
  84. package/statics/ast/sparql/sparql-1-1/base-declaration.sparql +1 -0
  85. package/statics/ast/sparql/sparql-1-1/blank-node-path.sparql +1 -0
  86. package/statics/ast/sparql/sparql-1-1/blank-node-subject.sparql +1 -0
  87. package/statics/ast/sparql/sparql-1-1/bnode-nil.sparql +1 -0
  88. package/statics/ast/sparql/sparql-1-1/collection-object.sparql +1 -0
  89. package/statics/ast/sparql/sparql-1-1/collection-path-subject.sparql +1 -0
  90. package/statics/ast/sparql/sparql-1-1/collection-subject.sparql +1 -0
  91. package/statics/ast/sparql/sparql-1-1/construct-empty-template.sparql +1 -0
  92. package/statics/ast/sparql/sparql-1-1/count-select.sparql +1 -0
  93. package/statics/ast/sparql/sparql-1-1/delete-only.sparql +1 -0
  94. package/statics/ast/sparql/sparql-1-1/delete-where.sparql +1 -0
  95. package/statics/ast/sparql/sparql-1-1/distinct-extension-function.sparql +1 -0
  96. package/statics/ast/sparql/sparql-1-1/drop-named.sparql +1 -0
  97. package/statics/ast/sparql/sparql-1-1/escape-backspace.sparql +1 -0
  98. package/statics/ast/sparql/sparql-1-1/escape-cr.sparql +1 -0
  99. package/statics/ast/sparql/sparql-1-1/escape-formfeed.sparql +1 -0
  100. package/statics/ast/sparql/sparql-1-1/escape-tab.sparql +1 -0
  101. package/statics/ast/sparql/sparql-1-1/filter-neg-div.sparql +1 -0
  102. package/statics/ast/sparql/sparql-1-1/filter-neg-mult.sparql +1 -0
  103. package/statics/ast/sparql/sparql-1-1/filter-pos-div.sparql +1 -0
  104. package/statics/ast/sparql/sparql-1-1/filter-pos-mult.sparql +1 -0
  105. package/statics/ast/sparql/sparql-1-1/func-nil-args.sparql +1 -0
  106. package/statics/ast/sparql/sparql-1-1/graph-empty-insert.sparql +1 -0
  107. package/statics/ast/sparql/sparql-1-1/group-by-bind-expr.sparql +1 -0
  108. package/statics/ast/sparql/sparql-1-1/group-by-bind-var.sparql +1 -0
  109. package/statics/ast/sparql/sparql-1-1/inv-nps-path.sparql +1 -0
  110. package/statics/ast/sparql/sparql-1-1/literal-newline.sparql +1 -0
  111. package/statics/ast/sparql/sparql-1-1/load-silent.sparql +1 -0
  112. package/statics/ast/sparql/sparql-1-1/minus-optional.sparql +1 -0
  113. package/statics/ast/sparql/sparql-1-1/multiple-updates.sparql +1 -0
  114. package/statics/ast/sparql/sparql-1-1/negated-inverse-path.sparql +1 -0
  115. package/statics/ast/sparql/sparql-1-1/order-by-var.sparql +1 -0
  116. package/statics/ast/sparql/sparql-1-1/prefix-only-iri.sparql +1 -0
  117. package/statics/ast/sparql/sparql-1-1/quads-after-graph.sparql +1 -0
  118. package/statics/ast/sparql/sparql-1-1/replace-four-args.sparql +1 -0
  119. package/statics/ast/sparql/sparql-1-1/replace-three-args.sparql +1 -0
  120. package/statics/ast/sparql/sparql-1-1/unary-minus.sparql +1 -0
  121. package/statics/ast/sparql/sparql-1-1/unary-plus.sparql +1 -0
  122. package/statics/ast/sparql/sparql-1-1/values-at-end.sparql +1 -0
  123. package/statics/ast/sparql/sparql-1-1/values-in-where.sparql +1 -0
  124. package/statics/ast/sparql/sparql-1-2/reified-triple-explicit-reifier.sparql +1 -0
  125. package/statics/ast/sparql/sparql-1-2/reified-triple-no-reifier.sparql +1 -0
  126. package/statics/ast/sparql/sparql-1-2/reified-triple-tilde-no-id.sparql +1 -0
  127. package/statics/ast/sparql/sparql-1-2/unary-minus-12.sparql +1 -0
  128. package/statics/ast/sparql/sparql-1-2/unary-plus-12.sparql +1 -0
  129. package/statics/ast/sparql/sparql-1-2/version-decl.sparql +1 -0
  130. package/statics/ast/sparql/sparql-1-2/version-with-prefix.sparql +1 -0
  131. package/statics/ast/sparql-generated/sparql-1-1/add-silent.sparql +1 -0
  132. package/statics/ast/sparql-generated/sparql-1-1/additive-neg-div.sparql +3 -0
  133. package/statics/ast/sparql-generated/sparql-1-1/additive-pos-mult.sparql +3 -0
  134. package/statics/ast/sparql-generated/sparql-1-1/ask-basic.sparql +3 -0
  135. package/statics/ast/sparql-generated/sparql-1-1/base-declaration.sparql +4 -0
  136. package/statics/ast/sparql-generated/sparql-1-1/blank-node-path.sparql +5 -0
  137. package/statics/ast/sparql-generated/sparql-1-1/blank-node-subject.sparql +3 -0
  138. package/statics/ast/sparql-generated/sparql-1-1/bnode-nil.sparql +3 -0
  139. package/statics/ast/sparql-generated/sparql-1-1/collection-object.sparql +3 -0
  140. package/statics/ast/sparql-generated/sparql-1-1/collection-path-subject.sparql +3 -0
  141. package/statics/ast/sparql-generated/sparql-1-1/collection-subject.sparql +3 -0
  142. package/statics/ast/sparql-generated/sparql-1-1/construct-empty-template.sparql +5 -0
  143. package/statics/ast/sparql-generated/sparql-1-1/count-select.sparql +3 -0
  144. package/statics/ast/sparql-generated/sparql-1-1/delete-only.sparql +6 -0
  145. package/statics/ast/sparql-generated/sparql-1-1/delete-where.sparql +3 -0
  146. package/statics/ast/sparql-generated/sparql-1-1/distinct-extension-function.sparql +4 -0
  147. package/statics/ast/sparql-generated/sparql-1-1/drop-named.sparql +1 -0
  148. package/statics/ast/sparql-generated/sparql-1-1/escape-backspace.sparql +3 -0
  149. package/statics/ast/sparql-generated/sparql-1-1/escape-cr.sparql +3 -0
  150. package/statics/ast/sparql-generated/sparql-1-1/escape-formfeed.sparql +3 -0
  151. package/statics/ast/sparql-generated/sparql-1-1/escape-tab.sparql +3 -0
  152. package/statics/ast/sparql-generated/sparql-1-1/filter-neg-div.sparql +4 -0
  153. package/statics/ast/sparql-generated/sparql-1-1/filter-neg-mult.sparql +4 -0
  154. package/statics/ast/sparql-generated/sparql-1-1/filter-pos-div.sparql +4 -0
  155. package/statics/ast/sparql-generated/sparql-1-1/filter-pos-mult.sparql +4 -0
  156. package/statics/ast/sparql-generated/sparql-1-1/func-nil-args.sparql +3 -0
  157. package/statics/ast/sparql-generated/sparql-1-1/graph-empty-insert.sparql +4 -0
  158. package/statics/ast/sparql-generated/sparql-1-1/group-by-bind-expr.sparql +4 -0
  159. package/statics/ast/sparql-generated/sparql-1-1/group-by-bind-var.sparql +5 -0
  160. package/statics/ast/sparql-generated/sparql-1-1/inv-nps-path.sparql +3 -0
  161. package/statics/ast/sparql-generated/sparql-1-1/literal-newline.sparql +3 -0
  162. package/statics/ast/sparql-generated/sparql-1-1/load-silent.sparql +1 -0
  163. package/statics/ast/sparql-generated/sparql-1-1/minus-optional.sparql +9 -0
  164. package/statics/ast/sparql-generated/sparql-1-1/multiple-updates.sparql +7 -0
  165. package/statics/ast/sparql-generated/sparql-1-1/negated-inverse-path.sparql +3 -0
  166. package/statics/ast/sparql-generated/sparql-1-1/order-by-var.sparql +4 -0
  167. package/statics/ast/sparql-generated/sparql-1-1/prefix-only-iri.sparql +4 -0
  168. package/statics/ast/sparql-generated/sparql-1-1/quads-after-graph.sparql +6 -0
  169. package/statics/ast/sparql-generated/sparql-1-1/replace-four-args.sparql +3 -0
  170. package/statics/ast/sparql-generated/sparql-1-1/replace-three-args.sparql +3 -0
  171. package/statics/ast/sparql-generated/sparql-1-1/unary-minus.sparql +3 -0
  172. package/statics/ast/sparql-generated/sparql-1-1/unary-plus.sparql +3 -0
  173. package/statics/ast/sparql-generated/sparql-1-1/values-at-end.sparql +6 -0
  174. package/statics/ast/sparql-generated/sparql-1-1/values-in-where.sparql +6 -0
  175. package/statics/ast/sparql-generated/sparql-1-2/reified-triple-explicit-reifier.sparql +4 -0
  176. package/statics/ast/sparql-generated/sparql-1-2/reified-triple-no-reifier.sparql +4 -0
  177. package/statics/ast/sparql-generated/sparql-1-2/reified-triple-tilde-no-id.sparql +4 -0
  178. package/statics/ast/sparql-generated/sparql-1-2/unary-minus-12.sparql +3 -0
  179. package/statics/ast/sparql-generated/sparql-1-2/unary-plus-12.sparql +3 -0
  180. package/statics/ast/sparql-generated/sparql-1-2/version-decl.sparql +4 -0
  181. package/statics/ast/sparql-generated/sparql-1-2/version-with-prefix.sparql +5 -0
  182. package/statics/ast/sparql-generated-compact/sparql-1-1/add-silent.sparql +1 -0
  183. package/statics/ast/sparql-generated-compact/sparql-1-1/additive-neg-div.sparql +1 -0
  184. package/statics/ast/sparql-generated-compact/sparql-1-1/additive-pos-mult.sparql +1 -0
  185. package/statics/ast/sparql-generated-compact/sparql-1-1/ask-basic.sparql +1 -0
  186. package/statics/ast/sparql-generated-compact/sparql-1-1/base-declaration.sparql +1 -0
  187. package/statics/ast/sparql-generated-compact/sparql-1-1/blank-node-path.sparql +1 -0
  188. package/statics/ast/sparql-generated-compact/sparql-1-1/blank-node-subject.sparql +1 -0
  189. package/statics/ast/sparql-generated-compact/sparql-1-1/bnode-nil.sparql +1 -0
  190. package/statics/ast/sparql-generated-compact/sparql-1-1/collection-object.sparql +1 -0
  191. package/statics/ast/sparql-generated-compact/sparql-1-1/collection-path-subject.sparql +1 -0
  192. package/statics/ast/sparql-generated-compact/sparql-1-1/collection-subject.sparql +1 -0
  193. package/statics/ast/sparql-generated-compact/sparql-1-1/construct-empty-template.sparql +1 -0
  194. package/statics/ast/sparql-generated-compact/sparql-1-1/count-select.sparql +1 -0
  195. package/statics/ast/sparql-generated-compact/sparql-1-1/delete-only.sparql +1 -0
  196. package/statics/ast/sparql-generated-compact/sparql-1-1/delete-where.sparql +1 -0
  197. package/statics/ast/sparql-generated-compact/sparql-1-1/distinct-extension-function.sparql +1 -0
  198. package/statics/ast/sparql-generated-compact/sparql-1-1/drop-named.sparql +1 -0
  199. package/statics/ast/sparql-generated-compact/sparql-1-1/escape-backspace.sparql +1 -0
  200. package/statics/ast/sparql-generated-compact/sparql-1-1/escape-cr.sparql +1 -0
  201. package/statics/ast/sparql-generated-compact/sparql-1-1/escape-formfeed.sparql +1 -0
  202. package/statics/ast/sparql-generated-compact/sparql-1-1/escape-tab.sparql +1 -0
  203. package/statics/ast/sparql-generated-compact/sparql-1-1/filter-neg-div.sparql +1 -0
  204. package/statics/ast/sparql-generated-compact/sparql-1-1/filter-neg-mult.sparql +1 -0
  205. package/statics/ast/sparql-generated-compact/sparql-1-1/filter-pos-div.sparql +1 -0
  206. package/statics/ast/sparql-generated-compact/sparql-1-1/filter-pos-mult.sparql +1 -0
  207. package/statics/ast/sparql-generated-compact/sparql-1-1/func-nil-args.sparql +1 -0
  208. package/statics/ast/sparql-generated-compact/sparql-1-1/graph-empty-insert.sparql +1 -0
  209. package/statics/ast/sparql-generated-compact/sparql-1-1/group-by-bind-expr.sparql +1 -0
  210. package/statics/ast/sparql-generated-compact/sparql-1-1/group-by-bind-var.sparql +1 -0
  211. package/statics/ast/sparql-generated-compact/sparql-1-1/in.sparql +1 -1
  212. package/statics/ast/sparql-generated-compact/sparql-1-1/inv-nps-path.sparql +1 -0
  213. package/statics/ast/sparql-generated-compact/sparql-1-1/literal-newline.sparql +1 -0
  214. package/statics/ast/sparql-generated-compact/sparql-1-1/load-silent.sparql +1 -0
  215. package/statics/ast/sparql-generated-compact/sparql-1-1/minus-optional.sparql +1 -0
  216. package/statics/ast/sparql-generated-compact/sparql-1-1/multiple-updates.sparql +1 -0
  217. package/statics/ast/sparql-generated-compact/sparql-1-1/negated-inverse-path.sparql +1 -0
  218. package/statics/ast/sparql-generated-compact/sparql-1-1/order-by-var.sparql +1 -0
  219. package/statics/ast/sparql-generated-compact/sparql-1-1/prefix-only-iri.sparql +1 -0
  220. package/statics/ast/sparql-generated-compact/sparql-1-1/quads-after-graph.sparql +1 -0
  221. package/statics/ast/sparql-generated-compact/sparql-1-1/replace-four-args.sparql +1 -0
  222. package/statics/ast/sparql-generated-compact/sparql-1-1/replace-three-args.sparql +1 -0
  223. package/statics/ast/sparql-generated-compact/sparql-1-1/unary-minus.sparql +1 -0
  224. package/statics/ast/sparql-generated-compact/sparql-1-1/unary-plus.sparql +1 -0
  225. package/statics/ast/sparql-generated-compact/sparql-1-1/values-at-end.sparql +1 -0
  226. package/statics/ast/sparql-generated-compact/sparql-1-1/values-in-where.sparql +1 -0
  227. package/statics/ast/sparql-generated-compact/sparql-1-2/reified-triple-explicit-reifier.sparql +1 -0
  228. package/statics/ast/sparql-generated-compact/sparql-1-2/reified-triple-no-reifier.sparql +1 -0
  229. package/statics/ast/sparql-generated-compact/sparql-1-2/reified-triple-tilde-no-id.sparql +1 -0
  230. package/statics/ast/sparql-generated-compact/sparql-1-2/unary-minus-12.sparql +1 -0
  231. package/statics/ast/sparql-generated-compact/sparql-1-2/unary-plus-12.sparql +1 -0
  232. package/statics/ast/sparql-generated-compact/sparql-1-2/version-decl.sparql +1 -0
  233. package/statics/ast/sparql-generated-compact/sparql-1-2/version-with-prefix.sparql +1 -0
@@ -0,0 +1,155 @@
1
+ {
2
+ "context": [],
3
+ "subType": "select",
4
+ "where": {
5
+ "type": "pattern",
6
+ "subType": "group",
7
+ "patterns": [
8
+ {
9
+ "type": "pattern",
10
+ "subType": "bgp",
11
+ "triples": [
12
+ {
13
+ "type": "tripleCollection",
14
+ "subType": "reifiedTriple",
15
+ "triples": [
16
+ {
17
+ "type": "triple",
18
+ "subject": {
19
+ "type": "term",
20
+ "subType": "variable",
21
+ "value": "s",
22
+ "loc": {
23
+ "sourceLocationType": "source",
24
+ "start": 20,
25
+ "end": 22
26
+ }
27
+ },
28
+ "predicate": {
29
+ "type": "term",
30
+ "subType": "variable",
31
+ "value": "p",
32
+ "loc": {
33
+ "sourceLocationType": "source",
34
+ "start": 23,
35
+ "end": 25
36
+ }
37
+ },
38
+ "object": {
39
+ "type": "term",
40
+ "subType": "variable",
41
+ "value": "o",
42
+ "loc": {
43
+ "sourceLocationType": "source",
44
+ "start": 26,
45
+ "end": 28
46
+ }
47
+ },
48
+ "annotations": [],
49
+ "loc": {
50
+ "sourceLocationType": "source",
51
+ "start": 20,
52
+ "end": 28
53
+ }
54
+ }
55
+ ],
56
+ "identifier": {
57
+ "type": "term",
58
+ "subType": "variable",
59
+ "value": "id",
60
+ "loc": {
61
+ "sourceLocationType": "source",
62
+ "start": 30,
63
+ "end": 33
64
+ }
65
+ },
66
+ "loc": {
67
+ "sourceLocationType": "source",
68
+ "start": 17,
69
+ "end": 36
70
+ }
71
+ },
72
+ {
73
+ "type": "triple",
74
+ "subject": {
75
+ "type": "term",
76
+ "subType": "variable",
77
+ "value": "id",
78
+ "loc": {
79
+ "sourceLocationType": "noMaterialize"
80
+ }
81
+ },
82
+ "predicate": {
83
+ "type": "term",
84
+ "subType": "variable",
85
+ "value": "pred",
86
+ "loc": {
87
+ "sourceLocationType": "source",
88
+ "start": 37,
89
+ "end": 42
90
+ }
91
+ },
92
+ "object": {
93
+ "type": "term",
94
+ "subType": "variable",
95
+ "value": "obj",
96
+ "loc": {
97
+ "sourceLocationType": "source",
98
+ "start": 43,
99
+ "end": 47
100
+ }
101
+ },
102
+ "annotations": [],
103
+ "loc": {
104
+ "sourceLocationType": "source",
105
+ "start": 37,
106
+ "end": 47
107
+ }
108
+ }
109
+ ],
110
+ "loc": {
111
+ "sourceLocationType": "source",
112
+ "start": 17,
113
+ "end": 47
114
+ }
115
+ }
116
+ ],
117
+ "loc": {
118
+ "sourceLocationType": "source",
119
+ "start": 15,
120
+ "end": 49
121
+ }
122
+ },
123
+ "solutionModifiers": {},
124
+ "datasets": {
125
+ "type": "datasetClauses",
126
+ "clauses": [],
127
+ "loc": {
128
+ "sourceLocationType": "noMaterialize"
129
+ }
130
+ },
131
+ "variables": [
132
+ {
133
+ "type": "wildcard",
134
+ "loc": {
135
+ "sourceLocationType": "source",
136
+ "start": 7,
137
+ "end": 8
138
+ }
139
+ }
140
+ ],
141
+ "loc": {
142
+ "sourceLocationType": "inlinedSource",
143
+ "newSource": "SELECT * WHERE { << ?s ?p ?o ~?id >> ?pred ?obj }",
144
+ "start": 0,
145
+ "end": 9007199254740991,
146
+ "loc": {
147
+ "sourceLocationType": "source",
148
+ "start": 0,
149
+ "end": 49
150
+ },
151
+ "startOnNew": 0,
152
+ "endOnNew": 49
153
+ },
154
+ "type": "query"
155
+ }
@@ -0,0 +1,153 @@
1
+ {
2
+ "context": [],
3
+ "subType": "select",
4
+ "where": {
5
+ "type": "pattern",
6
+ "subType": "group",
7
+ "patterns": [
8
+ {
9
+ "type": "pattern",
10
+ "subType": "bgp",
11
+ "triples": [
12
+ {
13
+ "type": "tripleCollection",
14
+ "subType": "reifiedTriple",
15
+ "triples": [
16
+ {
17
+ "type": "triple",
18
+ "subject": {
19
+ "type": "term",
20
+ "subType": "variable",
21
+ "value": "s",
22
+ "loc": {
23
+ "sourceLocationType": "source",
24
+ "start": 20,
25
+ "end": 22
26
+ }
27
+ },
28
+ "predicate": {
29
+ "type": "term",
30
+ "subType": "variable",
31
+ "value": "p",
32
+ "loc": {
33
+ "sourceLocationType": "source",
34
+ "start": 23,
35
+ "end": 25
36
+ }
37
+ },
38
+ "object": {
39
+ "type": "term",
40
+ "subType": "variable",
41
+ "value": "o",
42
+ "loc": {
43
+ "sourceLocationType": "source",
44
+ "start": 26,
45
+ "end": 28
46
+ }
47
+ },
48
+ "annotations": [],
49
+ "loc": {
50
+ "sourceLocationType": "source",
51
+ "start": 20,
52
+ "end": 28
53
+ }
54
+ }
55
+ ],
56
+ "identifier": {
57
+ "type": "term",
58
+ "subType": "blankNode",
59
+ "loc": {
60
+ "sourceLocationType": "noMaterialize"
61
+ },
62
+ "label": "g_0"
63
+ },
64
+ "loc": {
65
+ "sourceLocationType": "source",
66
+ "start": 17,
67
+ "end": 31
68
+ }
69
+ },
70
+ {
71
+ "type": "triple",
72
+ "subject": {
73
+ "type": "term",
74
+ "subType": "blankNode",
75
+ "loc": {
76
+ "sourceLocationType": "noMaterialize"
77
+ },
78
+ "label": "g_0"
79
+ },
80
+ "predicate": {
81
+ "type": "term",
82
+ "subType": "variable",
83
+ "value": "pred",
84
+ "loc": {
85
+ "sourceLocationType": "source",
86
+ "start": 32,
87
+ "end": 37
88
+ }
89
+ },
90
+ "object": {
91
+ "type": "term",
92
+ "subType": "variable",
93
+ "value": "obj",
94
+ "loc": {
95
+ "sourceLocationType": "source",
96
+ "start": 38,
97
+ "end": 42
98
+ }
99
+ },
100
+ "annotations": [],
101
+ "loc": {
102
+ "sourceLocationType": "source",
103
+ "start": 32,
104
+ "end": 42
105
+ }
106
+ }
107
+ ],
108
+ "loc": {
109
+ "sourceLocationType": "source",
110
+ "start": 17,
111
+ "end": 42
112
+ }
113
+ }
114
+ ],
115
+ "loc": {
116
+ "sourceLocationType": "source",
117
+ "start": 15,
118
+ "end": 44
119
+ }
120
+ },
121
+ "solutionModifiers": {},
122
+ "datasets": {
123
+ "type": "datasetClauses",
124
+ "clauses": [],
125
+ "loc": {
126
+ "sourceLocationType": "noMaterialize"
127
+ }
128
+ },
129
+ "variables": [
130
+ {
131
+ "type": "wildcard",
132
+ "loc": {
133
+ "sourceLocationType": "source",
134
+ "start": 7,
135
+ "end": 8
136
+ }
137
+ }
138
+ ],
139
+ "loc": {
140
+ "sourceLocationType": "inlinedSource",
141
+ "newSource": "SELECT * WHERE { << ?s ?p ?o >> ?pred ?obj }",
142
+ "start": 0,
143
+ "end": 9007199254740991,
144
+ "loc": {
145
+ "sourceLocationType": "source",
146
+ "start": 0,
147
+ "end": 44
148
+ },
149
+ "startOnNew": 0,
150
+ "endOnNew": 44
151
+ },
152
+ "type": "query"
153
+ }
@@ -0,0 +1,153 @@
1
+ {
2
+ "context": [],
3
+ "subType": "select",
4
+ "where": {
5
+ "type": "pattern",
6
+ "subType": "group",
7
+ "patterns": [
8
+ {
9
+ "type": "pattern",
10
+ "subType": "bgp",
11
+ "triples": [
12
+ {
13
+ "type": "tripleCollection",
14
+ "subType": "reifiedTriple",
15
+ "triples": [
16
+ {
17
+ "type": "triple",
18
+ "subject": {
19
+ "type": "term",
20
+ "subType": "namedNode",
21
+ "value": "http://s",
22
+ "loc": {
23
+ "sourceLocationType": "source",
24
+ "start": 20,
25
+ "end": 30
26
+ }
27
+ },
28
+ "predicate": {
29
+ "type": "term",
30
+ "subType": "namedNode",
31
+ "value": "http://p",
32
+ "loc": {
33
+ "sourceLocationType": "source",
34
+ "start": 31,
35
+ "end": 41
36
+ }
37
+ },
38
+ "object": {
39
+ "type": "term",
40
+ "subType": "namedNode",
41
+ "value": "http://o",
42
+ "loc": {
43
+ "sourceLocationType": "source",
44
+ "start": 42,
45
+ "end": 52
46
+ }
47
+ },
48
+ "annotations": [],
49
+ "loc": {
50
+ "sourceLocationType": "source",
51
+ "start": 20,
52
+ "end": 52
53
+ }
54
+ }
55
+ ],
56
+ "identifier": {
57
+ "type": "term",
58
+ "subType": "blankNode",
59
+ "loc": {
60
+ "sourceLocationType": "noMaterialize"
61
+ },
62
+ "label": "g_0"
63
+ },
64
+ "loc": {
65
+ "sourceLocationType": "source",
66
+ "start": 17,
67
+ "end": 57
68
+ }
69
+ },
70
+ {
71
+ "type": "triple",
72
+ "subject": {
73
+ "type": "term",
74
+ "subType": "blankNode",
75
+ "loc": {
76
+ "sourceLocationType": "noMaterialize"
77
+ },
78
+ "label": "g_0"
79
+ },
80
+ "predicate": {
81
+ "type": "term",
82
+ "subType": "namedNode",
83
+ "value": "http://pred",
84
+ "loc": {
85
+ "sourceLocationType": "source",
86
+ "start": 58,
87
+ "end": 71
88
+ }
89
+ },
90
+ "object": {
91
+ "type": "term",
92
+ "subType": "variable",
93
+ "value": "obj",
94
+ "loc": {
95
+ "sourceLocationType": "source",
96
+ "start": 72,
97
+ "end": 76
98
+ }
99
+ },
100
+ "annotations": [],
101
+ "loc": {
102
+ "sourceLocationType": "source",
103
+ "start": 58,
104
+ "end": 76
105
+ }
106
+ }
107
+ ],
108
+ "loc": {
109
+ "sourceLocationType": "source",
110
+ "start": 17,
111
+ "end": 76
112
+ }
113
+ }
114
+ ],
115
+ "loc": {
116
+ "sourceLocationType": "source",
117
+ "start": 15,
118
+ "end": 78
119
+ }
120
+ },
121
+ "solutionModifiers": {},
122
+ "datasets": {
123
+ "type": "datasetClauses",
124
+ "clauses": [],
125
+ "loc": {
126
+ "sourceLocationType": "noMaterialize"
127
+ }
128
+ },
129
+ "variables": [
130
+ {
131
+ "type": "wildcard",
132
+ "loc": {
133
+ "sourceLocationType": "source",
134
+ "start": 7,
135
+ "end": 8
136
+ }
137
+ }
138
+ ],
139
+ "loc": {
140
+ "sourceLocationType": "inlinedSource",
141
+ "newSource": "SELECT * WHERE { << <http://s> <http://p> <http://o> ~ >> <http://pred> ?obj }",
142
+ "start": 0,
143
+ "end": 9007199254740991,
144
+ "loc": {
145
+ "sourceLocationType": "source",
146
+ "start": 0,
147
+ "end": 78
148
+ },
149
+ "startOnNew": 0,
150
+ "endOnNew": 78
151
+ },
152
+ "type": "query"
153
+ }
@@ -0,0 +1,108 @@
1
+ {
2
+ "context": [],
3
+ "subType": "select",
4
+ "where": {
5
+ "type": "pattern",
6
+ "subType": "group",
7
+ "patterns": [
8
+ {
9
+ "type": "pattern",
10
+ "subType": "filter",
11
+ "expression": {
12
+ "type": "expression",
13
+ "subType": "operation",
14
+ "operator": "<",
15
+ "args": [
16
+ {
17
+ "type": "expression",
18
+ "subType": "operation",
19
+ "operator": "uminus",
20
+ "args": [
21
+ {
22
+ "type": "term",
23
+ "subType": "variable",
24
+ "value": "x",
25
+ "loc": {
26
+ "sourceLocationType": "source",
27
+ "start": 25,
28
+ "end": 27
29
+ }
30
+ }
31
+ ],
32
+ "loc": {
33
+ "sourceLocationType": "source",
34
+ "start": 24,
35
+ "end": 27
36
+ }
37
+ },
38
+ {
39
+ "type": "term",
40
+ "subType": "literal",
41
+ "value": "0",
42
+ "langOrIri": {
43
+ "type": "term",
44
+ "subType": "namedNode",
45
+ "value": "http://www.w3.org/2001/XMLSchema#integer",
46
+ "loc": {
47
+ "sourceLocationType": "noMaterialize"
48
+ }
49
+ },
50
+ "loc": {
51
+ "sourceLocationType": "source",
52
+ "start": 30,
53
+ "end": 31
54
+ }
55
+ }
56
+ ],
57
+ "loc": {
58
+ "sourceLocationType": "source",
59
+ "start": 23,
60
+ "end": 32
61
+ }
62
+ },
63
+ "loc": {
64
+ "sourceLocationType": "source",
65
+ "start": 17,
66
+ "end": 32
67
+ }
68
+ }
69
+ ],
70
+ "loc": {
71
+ "sourceLocationType": "source",
72
+ "start": 15,
73
+ "end": 34
74
+ }
75
+ },
76
+ "solutionModifiers": {},
77
+ "datasets": {
78
+ "type": "datasetClauses",
79
+ "clauses": [],
80
+ "loc": {
81
+ "sourceLocationType": "noMaterialize"
82
+ }
83
+ },
84
+ "variables": [
85
+ {
86
+ "type": "wildcard",
87
+ "loc": {
88
+ "sourceLocationType": "source",
89
+ "start": 7,
90
+ "end": 8
91
+ }
92
+ }
93
+ ],
94
+ "loc": {
95
+ "sourceLocationType": "inlinedSource",
96
+ "newSource": "SELECT * WHERE { FILTER(-?x < 0) }",
97
+ "start": 0,
98
+ "end": 9007199254740991,
99
+ "loc": {
100
+ "sourceLocationType": "source",
101
+ "start": 0,
102
+ "end": 34
103
+ },
104
+ "startOnNew": 0,
105
+ "endOnNew": 34
106
+ },
107
+ "type": "query"
108
+ }
@@ -0,0 +1,108 @@
1
+ {
2
+ "context": [],
3
+ "subType": "select",
4
+ "where": {
5
+ "type": "pattern",
6
+ "subType": "group",
7
+ "patterns": [
8
+ {
9
+ "type": "pattern",
10
+ "subType": "filter",
11
+ "expression": {
12
+ "type": "expression",
13
+ "subType": "operation",
14
+ "operator": ">",
15
+ "args": [
16
+ {
17
+ "type": "expression",
18
+ "subType": "operation",
19
+ "operator": "uplus",
20
+ "args": [
21
+ {
22
+ "type": "term",
23
+ "subType": "variable",
24
+ "value": "x",
25
+ "loc": {
26
+ "sourceLocationType": "source",
27
+ "start": 25,
28
+ "end": 27
29
+ }
30
+ }
31
+ ],
32
+ "loc": {
33
+ "sourceLocationType": "source",
34
+ "start": 24,
35
+ "end": 27
36
+ }
37
+ },
38
+ {
39
+ "type": "term",
40
+ "subType": "literal",
41
+ "value": "0",
42
+ "langOrIri": {
43
+ "type": "term",
44
+ "subType": "namedNode",
45
+ "value": "http://www.w3.org/2001/XMLSchema#integer",
46
+ "loc": {
47
+ "sourceLocationType": "noMaterialize"
48
+ }
49
+ },
50
+ "loc": {
51
+ "sourceLocationType": "source",
52
+ "start": 30,
53
+ "end": 31
54
+ }
55
+ }
56
+ ],
57
+ "loc": {
58
+ "sourceLocationType": "source",
59
+ "start": 23,
60
+ "end": 32
61
+ }
62
+ },
63
+ "loc": {
64
+ "sourceLocationType": "source",
65
+ "start": 17,
66
+ "end": 32
67
+ }
68
+ }
69
+ ],
70
+ "loc": {
71
+ "sourceLocationType": "source",
72
+ "start": 15,
73
+ "end": 34
74
+ }
75
+ },
76
+ "solutionModifiers": {},
77
+ "datasets": {
78
+ "type": "datasetClauses",
79
+ "clauses": [],
80
+ "loc": {
81
+ "sourceLocationType": "noMaterialize"
82
+ }
83
+ },
84
+ "variables": [
85
+ {
86
+ "type": "wildcard",
87
+ "loc": {
88
+ "sourceLocationType": "source",
89
+ "start": 7,
90
+ "end": 8
91
+ }
92
+ }
93
+ ],
94
+ "loc": {
95
+ "sourceLocationType": "inlinedSource",
96
+ "newSource": "SELECT * WHERE { FILTER(+?x > 0) }",
97
+ "start": 0,
98
+ "end": 9007199254740991,
99
+ "loc": {
100
+ "sourceLocationType": "source",
101
+ "start": 0,
102
+ "end": 34
103
+ },
104
+ "startOnNew": 0,
105
+ "endOnNew": 34
106
+ },
107
+ "type": "query"
108
+ }