Class: ActiveRdfAdapter
- Inherits:
-
Object
- Object
- ActiveRdfAdapter
- Defined in:
- lib/active_rdf/federation/active_rdf_adapter.rb
Overview
Generic superclass of all adapters
Instance Method Summary collapse
-
#initialize ⇒ ActiveRdfAdapter
constructor
A new instance of ActiveRdfAdapter.
-
#translate(query) ⇒ Object
translate a query to its string representation.
Constructor Details
#initialize ⇒ ActiveRdfAdapter
Returns a new instance of ActiveRdfAdapter.
10 11 12 |
# File 'lib/active_rdf/federation/active_rdf_adapter.rb', line 10 def initialize @enabled = true end |
Instance Method Details
#translate(query) ⇒ Object
translate a query to its string representation
15 16 17 |
# File 'lib/active_rdf/federation/active_rdf_adapter.rb', line 15 def translate(query) Query2SPARQL.translate(query) end |