class RDF::Query::Solution
Public Instance Methods
Source
# File lib/rdf/n3/extensions.rb, line 173 def to_sxp_bin [:solution] + bindings.map do |k, v| existential = k.to_s.end_with?('ext') k = k.to_s.sub(/_(?:und)?ext$/, '').to_sym distinguished = !k.to_s.end_with?('undext') Query::Variable.new(k, v, existential: existential, distinguished: distinguished).to_sxp_bin end end
Transform Statement into an SXP @return [Array]