sparql 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. data/README.md +11 -4
  2. data/VERSION +1 -1
  3. data/lib/sparql/algebra/extensions.rb +36 -0
  4. data/lib/sparql/algebra/operator.rb +197 -87
  5. data/lib/sparql/algebra/operator/abs.rb +31 -0
  6. data/lib/sparql/algebra/operator/base.rb +1 -0
  7. data/lib/sparql/algebra/operator/bnode.rb +88 -0
  8. data/lib/sparql/algebra/operator/bound.rb +2 -1
  9. data/lib/sparql/algebra/operator/ceil.rb +31 -0
  10. data/lib/sparql/algebra/operator/coalesce.rb +65 -0
  11. data/lib/sparql/algebra/operator/concat.rb +49 -0
  12. data/lib/sparql/algebra/operator/contains.rb +44 -0
  13. data/lib/sparql/algebra/operator/dataset.rb +11 -48
  14. data/lib/sparql/algebra/operator/datatype.rb +4 -2
  15. data/lib/sparql/algebra/operator/day.rb +31 -0
  16. data/lib/sparql/algebra/operator/encode_for_uri.rb +38 -0
  17. data/lib/sparql/algebra/operator/extend.rb +31 -2
  18. data/lib/sparql/algebra/operator/floor.rb +33 -0
  19. data/lib/sparql/algebra/operator/hours.rb +31 -0
  20. data/lib/sparql/algebra/operator/if.rb +55 -0
  21. data/lib/sparql/algebra/operator/in.rb +68 -0
  22. data/lib/sparql/algebra/operator/iri.rb +40 -0
  23. data/lib/sparql/algebra/operator/is_numeric.rb +41 -0
  24. data/lib/sparql/algebra/operator/lang_matches.rb +2 -2
  25. data/lib/sparql/algebra/operator/lcase.rb +31 -0
  26. data/lib/sparql/algebra/operator/md5.rb +34 -0
  27. data/lib/sparql/algebra/operator/minutes.rb +31 -0
  28. data/lib/sparql/algebra/operator/month.rb +31 -0
  29. data/lib/sparql/algebra/operator/not.rb +2 -2
  30. data/lib/sparql/algebra/operator/notin.rb +70 -0
  31. data/lib/sparql/algebra/operator/now.rb +29 -0
  32. data/lib/sparql/algebra/operator/order.rb +9 -13
  33. data/lib/sparql/algebra/operator/rand.rb +24 -0
  34. data/lib/sparql/algebra/operator/replace.rb +81 -0
  35. data/lib/sparql/algebra/operator/round.rb +31 -0
  36. data/lib/sparql/algebra/operator/seconds.rb +31 -0
  37. data/lib/sparql/algebra/operator/sha1.rb +34 -0
  38. data/lib/sparql/algebra/operator/sha256.rb +34 -0
  39. data/lib/sparql/algebra/operator/sha384.rb +34 -0
  40. data/lib/sparql/algebra/operator/sha512.rb +34 -0
  41. data/lib/sparql/algebra/operator/strafter.rb +57 -0
  42. data/lib/sparql/algebra/operator/strbefore.rb +59 -0
  43. data/lib/sparql/algebra/operator/strdt.rb +33 -0
  44. data/lib/sparql/algebra/operator/strends.rb +46 -0
  45. data/lib/sparql/algebra/operator/strlang.rb +34 -0
  46. data/lib/sparql/algebra/operator/strlen.rb +34 -0
  47. data/lib/sparql/algebra/operator/strstarts.rb +46 -0
  48. data/lib/sparql/algebra/operator/struuid.rb +32 -0
  49. data/lib/sparql/algebra/operator/substr.rb +80 -0
  50. data/lib/sparql/algebra/operator/timezone.rb +34 -0
  51. data/lib/sparql/algebra/operator/tz.rb +31 -0
  52. data/lib/sparql/algebra/operator/ucase.rb +31 -0
  53. data/lib/sparql/algebra/operator/uuid.rb +32 -0
  54. data/lib/sparql/algebra/operator/year.rb +31 -0
  55. data/lib/sparql/grammar/parser11.rb +128 -70
  56. data/lib/sparql/grammar/terminals11.rb +4 -5
  57. metadata +62 -7
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sparql
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-04-21 00:00:00.000000000 Z
14
+ date: 2013-04-30 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rdf
@@ -20,7 +20,7 @@ dependencies:
20
20
  requirements:
21
21
  - - ! '>='
22
22
  - !ruby/object:Gem::Version
23
- version: 1.0.4
23
+ version: 1.0.6
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,23 @@ dependencies:
28
28
  requirements:
29
29
  - - ! '>='
30
30
  - !ruby/object:Gem::Version
31
- version: 1.0.4
31
+ version: 1.0.6
32
+ - !ruby/object:Gem::Dependency
33
+ name: rdf-aggregate-repo
34
+ requirement: !ruby/object:Gem::Requirement
35
+ none: false
36
+ requirements:
37
+ - - ! '>='
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ none: false
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
32
48
  - !ruby/object:Gem::Dependency
33
49
  name: ebnf
34
50
  requirement: !ruby/object:Gem::Requirement
@@ -338,53 +354,95 @@ files:
338
354
  - lib/sparql/algebra/evaluatable.rb
339
355
  - lib/sparql/algebra/expression.rb
340
356
  - lib/sparql/algebra/extensions.rb
357
+ - lib/sparql/algebra/operator/abs.rb
341
358
  - lib/sparql/algebra/operator/add.rb
342
359
  - lib/sparql/algebra/operator/and.rb
343
360
  - lib/sparql/algebra/operator/asc.rb
344
361
  - lib/sparql/algebra/operator/ask.rb
345
362
  - lib/sparql/algebra/operator/base.rb
346
363
  - lib/sparql/algebra/operator/bgp.rb
364
+ - lib/sparql/algebra/operator/bnode.rb
347
365
  - lib/sparql/algebra/operator/bound.rb
366
+ - lib/sparql/algebra/operator/ceil.rb
367
+ - lib/sparql/algebra/operator/coalesce.rb
348
368
  - lib/sparql/algebra/operator/compare.rb
369
+ - lib/sparql/algebra/operator/concat.rb
349
370
  - lib/sparql/algebra/operator/construct.rb
371
+ - lib/sparql/algebra/operator/contains.rb
350
372
  - lib/sparql/algebra/operator/dataset.rb
351
373
  - lib/sparql/algebra/operator/datatype.rb
374
+ - lib/sparql/algebra/operator/day.rb
352
375
  - lib/sparql/algebra/operator/desc.rb
353
376
  - lib/sparql/algebra/operator/describe.rb
354
377
  - lib/sparql/algebra/operator/distinct.rb
355
378
  - lib/sparql/algebra/operator/divide.rb
379
+ - lib/sparql/algebra/operator/encode_for_uri.rb
356
380
  - lib/sparql/algebra/operator/equal.rb
357
381
  - lib/sparql/algebra/operator/exprlist.rb
358
382
  - lib/sparql/algebra/operator/extend.rb
359
383
  - lib/sparql/algebra/operator/filter.rb
384
+ - lib/sparql/algebra/operator/floor.rb
360
385
  - lib/sparql/algebra/operator/graph.rb
361
386
  - lib/sparql/algebra/operator/greater_than.rb
362
387
  - lib/sparql/algebra/operator/greater_than_or_equal.rb
388
+ - lib/sparql/algebra/operator/hours.rb
389
+ - lib/sparql/algebra/operator/if.rb
390
+ - lib/sparql/algebra/operator/in.rb
391
+ - lib/sparql/algebra/operator/iri.rb
363
392
  - lib/sparql/algebra/operator/is_blank.rb
364
393
  - lib/sparql/algebra/operator/is_iri.rb
365
394
  - lib/sparql/algebra/operator/is_literal.rb
395
+ - lib/sparql/algebra/operator/is_numeric.rb
366
396
  - lib/sparql/algebra/operator/join.rb
367
397
  - lib/sparql/algebra/operator/lang.rb
368
398
  - lib/sparql/algebra/operator/lang_matches.rb
399
+ - lib/sparql/algebra/operator/lcase.rb
369
400
  - lib/sparql/algebra/operator/left_join.rb
370
401
  - lib/sparql/algebra/operator/less_than.rb
371
402
  - lib/sparql/algebra/operator/less_than_or_equal.rb
403
+ - lib/sparql/algebra/operator/md5.rb
372
404
  - lib/sparql/algebra/operator/minus.rb
405
+ - lib/sparql/algebra/operator/minutes.rb
406
+ - lib/sparql/algebra/operator/month.rb
373
407
  - lib/sparql/algebra/operator/multiply.rb
374
408
  - lib/sparql/algebra/operator/not.rb
375
409
  - lib/sparql/algebra/operator/not_equal.rb
410
+ - lib/sparql/algebra/operator/notin.rb
411
+ - lib/sparql/algebra/operator/now.rb
376
412
  - lib/sparql/algebra/operator/or.rb
377
413
  - lib/sparql/algebra/operator/order.rb
378
414
  - lib/sparql/algebra/operator/plus.rb
379
415
  - lib/sparql/algebra/operator/prefix.rb
380
416
  - lib/sparql/algebra/operator/project.rb
417
+ - lib/sparql/algebra/operator/rand.rb
381
418
  - lib/sparql/algebra/operator/reduced.rb
382
419
  - lib/sparql/algebra/operator/regex.rb
420
+ - lib/sparql/algebra/operator/replace.rb
421
+ - lib/sparql/algebra/operator/round.rb
383
422
  - lib/sparql/algebra/operator/same_term.rb
423
+ - lib/sparql/algebra/operator/seconds.rb
424
+ - lib/sparql/algebra/operator/sha1.rb
425
+ - lib/sparql/algebra/operator/sha256.rb
426
+ - lib/sparql/algebra/operator/sha384.rb
427
+ - lib/sparql/algebra/operator/sha512.rb
384
428
  - lib/sparql/algebra/operator/slice.rb
385
429
  - lib/sparql/algebra/operator/str.rb
430
+ - lib/sparql/algebra/operator/strafter.rb
431
+ - lib/sparql/algebra/operator/strbefore.rb
432
+ - lib/sparql/algebra/operator/strdt.rb
433
+ - lib/sparql/algebra/operator/strends.rb
434
+ - lib/sparql/algebra/operator/strlang.rb
435
+ - lib/sparql/algebra/operator/strlen.rb
436
+ - lib/sparql/algebra/operator/strstarts.rb
437
+ - lib/sparql/algebra/operator/struuid.rb
438
+ - lib/sparql/algebra/operator/substr.rb
386
439
  - lib/sparql/algebra/operator/subtract.rb
440
+ - lib/sparql/algebra/operator/timezone.rb
441
+ - lib/sparql/algebra/operator/tz.rb
442
+ - lib/sparql/algebra/operator/ucase.rb
387
443
  - lib/sparql/algebra/operator/union.rb
444
+ - lib/sparql/algebra/operator/uuid.rb
445
+ - lib/sparql/algebra/operator/year.rb
388
446
  - lib/sparql/algebra/operator.rb
389
447
  - lib/sparql/algebra/query.rb
390
448
  - lib/sparql/algebra/sxp_extensions.rb
@@ -417,9 +475,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
417
475
  - - ! '>='
418
476
  - !ruby/object:Gem::Version
419
477
  version: '0'
420
- segments:
421
- - 0
422
- hash: 2959669431674437848
423
478
  requirements: []
424
479
  rubyforge_project: sparql
425
480
  rubygems_version: 1.8.25