Module: RDF::Value
- Defined in:
- lib/rdf/n3/extensions.rb
Instance Method Summary collapse
-
#formula? ⇒ Boolean
Returns
true
ifself
is a N3::Algebra::Formula. -
#to_ndvar(scope) ⇒ Object
By default, returns itself.
Instance Method Details
#formula? ⇒ Boolean
Returns true
if self
is a N3::Algebra::Formula.
46 47 48 |
# File 'lib/rdf/n3/extensions.rb', line 46 def formula? false end |
#to_ndvar(scope) ⇒ Object
By default, returns itself. Can be used for terms such as blank nodes to be turned into non-disinguished variables.
return [RDF::Query::Variable]
54 55 56 |
# File 'lib/rdf/n3/extensions.rb', line 54 def to_ndvar(scope) self end |