Class: ActiveRdfAdapter

Inherits:
Object
  • Object
show all
Defined in:
lib/active_rdf/federation/active_rdf_adapter.rb

Overview

Generic superclass of all adapters

Instance Method Summary collapse

Constructor Details

#initializeActiveRdfAdapter

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