lib/sparql/algebra/operator/year.rb in sparql-1.99.1 vs lib/sparql/algebra/operator/year.rb in sparql-2.0.0.beta1

- old
+ new

@@ -1,9 +1,11 @@ module SPARQL; module Algebra class Operator ## # The SPARQL logical `year` operator. # + # Returns the year part of `arg` as an integer. + # # @example # (prefix ((: <http://example.org/>)) # (project (?s ?x) # (extend ((?x (year ?date))) # (bgp (triple ?s :date ?date)))))