Class: RDF::Query::Solution
Overview
Extensions for RDF::Query::Solution
.
Instance Method Summary collapse
-
#to_sxp(prefixes: nil, base_uri: nil) ⇒ String
Transform Solution into an SXP.
-
#to_sxp_bin ⇒ String
Returns the SXP representation of this object, defaults to
self
.
Instance Method Details
#to_sxp(prefixes: nil, base_uri: nil) ⇒ String
Transform Solution into an SXP
668 669 670 |
# File 'lib/sparql/algebra/extensions.rb', line 668 def to_sxp(prefixes: nil, base_uri: nil) to_sxp_bin.to_sxp(prefixes: prefixes, base_uri: base_uri) end |
#to_sxp_bin ⇒ String
Returns the SXP representation of this object, defaults to self
.
659 660 661 |
# File 'lib/sparql/algebra/extensions.rb', line 659 def to_sxp_bin to_a.to_sxp_bin end |