Changeset 352

Show
Ignore:
Timestamp:
03/13/09 12:30:11 (9 years ago)
Author:
samuraraujo
Message:
 
Location:
Explorator/trunk/lib
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • Explorator/trunk/lib/dataload.rb

    r349 r352  
    2929  if x.rindex('.') == nil && x!= ('SYSTEM') && x!= ('INTERNAL')  
    3030     
    31     adapter = ConnectionPool.add_data_source :type => :sparql_sesame_api ,  :caching =>true, :repository => x, :dir => $sesamedir.path 
    32     adapter.title=x + '_LOCAL'     
     31    adapter = ConnectionPool.add_data_source :type => :sparql_sesame_api, :title => x + '_LOCAL' ,  :caching =>true, :repository => x, :dir => $sesamedir.path 
     32    
    3333  end 
    3434end 
     
    5555 
    5656 
    57 adapter =ConnectionPool.add_data_source :type => :sparql,:engine => :virtuoso, :url => "http://139.82.71.60:8890/sparql", :results => :sparql_xml, :caching =>true 
    58 adapter.title='DBPEDIA_LOCAL' 
     57adapter =ConnectionPool.add_data_source :type => :sparql,:engine => :virtuoso,:title=>'DBPEDIA_LOCAL', :url => "http://139.82.71.60:8890/sparql", :results => :sparql_xml, :caching =>true 
     58 
    5959 
    6060 
  • Explorator/trunk/lib/libs.rb

    r329 r352  
    99#this adapter must be the last one added to the pool because It will be used as an write adapter by the activerdf 
    1010#adapter = ConnectionPool.add(:type => :rdflite, :location => 'db/explorator.db', :reasoning => false,:keyword => true) 
    11 $work = ConnectionPool.add_data_source :type => :sparql_sesame_api ,   :repository => 'INTERNAL', :dir => $sesamedir.path 
    12 $work.title='INTERNAL' 
     11$work = ConnectionPool.add_data_source :type => :sparql_sesame_api , :title=> 'INTERNAL',  :repository => 'INTERNAL', :dir => $sesamedir.path 
     12 
    1313 
    1414#maximum number of facets display on the interface