Class: RDF::Query::Pattern

Inherits:
Object show all
Defined in:
lib/sparql/algebra/extensions.rb

Instance Method Summary collapse

Instance Method Details

#executable?Boolean

Returns true as this is executable.

Returns:

  • (Boolean)

    true



554
# File 'lib/sparql/algebra/extensions.rb', line 554

def executable?; true; end

#ndvarsArray<RDF::Query::Variable>

Return the non-destinguished variables contained within this pattern



539
540
541
# File 'lib/sparql/algebra/extensions.rb', line 539

def ndvars
  vars.reject(&:distinguished?)
end

#varsArray<RDF::Query::Variable>

Return the variables contained within this pattern



546
547
548
# File 'lib/sparql/algebra/extensions.rb', line 546

def vars
  variables.values
end