@traqula/test-utils 1.0.3 → 1.0.5

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