class RDF::Node

Public Instance Methods

to_ndvar(scope) click to toggle source

Transform to a nondistinguished exisetntial variable in a formula scope

@param [RDF::Node] scope return [RDF::Query::Variable]

# File lib/rdf/n3/extensions.rb, line 121
def to_ndvar(scope)
  label = "#{id}_#{scope ? scope.id : 'base'}_undext"
  RDF::Query::Variable.new(label, existential: true, distinguished: false)
end