lib/active_rdf/lib/active_rdf/queryengine/query.rb
def filter *s
    if s[0] == nil
      return self
    end
    # add filter clauses
    @filter_clauses << s
    @filter_clauses.uniq!    
    self
  end
# adds one or more generic filters
# NOTE: you have to use SPARQL syntax for variables, eg. regex(?s, 'abc')
adds one or more generic filters
NOTE: you have to use SPARQL syntax for variables, eg.
adds one or more generic filters NOTE : you have to use SPARQL syntax for variables eg .
def filter *s
    if s[0] == nil
      return self
    end
    @filter_clauses << s
    @filter_clauses.uniq!    
    self
  end
def filter * s if s [ 0 ] == nil return self end @filter_clauses << s @filter_clauses . uniq! self end
adds one or more generic filters
NOTE: you have to use SPARQL syntax for variables, eg.
adds one or more generic filters NOTE : you have to use SPARQL syntax for variables eg .
# add filter clauses
s