Changeset 487

Show
Ignore:
Timestamp:
11/05/10 18:54:05 (7 years ago)
Author:
mauriciobomfim
Message:

Added jruby support

Location:
Explorator/trunk
Files:
1 added
11 modified

Legend:

Unmodified
Added
Removed
  • Explorator/trunk/config/environment.rb

    r432 r487  
    2525  # config.gem "sqlite3-ruby", :lib => "sqlite3" 
    2626  # config.gem "aws-s3", :lib => "aws/s3" 
    27  
     27    config.gem "uuidtools", :version => '1.0.7' 
    2828  # Only load the plugins named here, in the order given (default is alphabetical). 
    2929  # :all can be used as a placeholder for all plugins not explicitly named 
  • Explorator/trunk/lib/dataload.rb

    r469 r487  
    3030       
    3131    end 
    32   rescue 
     32  rescue => ex 
     33        begin #try add datasource once again if it fail at the first time. 
     34          adapter = ConnectionPool.add_data_source :type => :sparql_sesame_api, :title => x + '(Local)'  ,  :caching =>true, :repository => x, :dir => $sesamedir.path 
     35        rescue 
     36        end 
    3337  end 
    3438end 
     
    5458#adapter.title='IMDB_SPARQL' 
    5559# 
    56 begin 
    57   adapter =ConnectionPool.add_data_source :type => :sparql,:engine => :virtuoso,:title=>'DBPEDIA(Local)', :url => "http://tecweb08.tecweb.inf.puc-rio.br:8890/sparql", :results => :sparql_xml, :caching =>true  
    58 rescue Exception => e 
    59   puts 'Removing datasource: '  
    60   #puts e.backtrace  
    61   ConnectionPool.remove_last_data_source_added() 
    62   puts 'Datasource removed' 
    63 end  
    64   
    65 begin 
    66   adapter =ConnectionPool.add_data_source :type => :sparql,:engine => :virtuoso,:title=>'MEDICAL(Local)', :url => "http://tecweb08.tecweb.inf.puc-rio.br:8890/sparql?default-graph-uri=http://medical.org", :results => :sparql_xml, :caching =>true  
    67 rescue Exception => e 
    68   puts 'Removing datasource: '  
    69  # puts e.backtrace   
    70   ConnectionPool.remove_last_data_source_added() 
    71   puts 'Datasource removed' 
    72 end  
     60#begin 
     61#  adapter =ConnectionPool.add_data_source :type => :sparql,:engine => :virtuoso,:title=>'DBPEDIA(Local)', :url => "http://tecweb08.tecweb.inf.puc-rio.br:8890/sparql", :results => :sparql_xml, :caching =>true  
     62#rescue Exception => e 
     63#  puts 'Removing datasource: '  
     64#  #puts e.backtrace  
     65#  ConnectionPool.remove_last_data_source_added() 
     66#  puts 'Datasource removed' 
     67#end  
     68#  
     69#begin 
     70#  adapter =ConnectionPool.add_data_source :type => :sparql,:engine => :virtuoso,:title=>'MEDICAL(Local)', :url => "http://tecweb08.tecweb.inf.puc-rio.br:8890/sparql?default-graph-uri=http://medical.org", :results => :sparql_xml, :caching =>true  
     71#rescue Exception => e 
     72#  puts 'Removing datasource: '  
     73# # puts e.backtrace   
     74#  ConnectionPool.remove_last_data_source_added() 
     75#  puts 'Datasource removed' 
     76#end  
    7377 
    7478 
  • Explorator/trunk/lib/query_builder.rb

    r479 r487  
    1111#Date: 25 jun 2008. 
    1212require 'active_rdf' 
    13 require 'rjb' 
     13require 'rjb' unless RUBY_PLATFORM =~ /java/ 
    1414class SemanticExpression 
    1515  #:result - It is a array of RDFS::Resource. 
  • Explorator/trunk/log/development.log

    r470 r487  
    46654665  Parameters: {"exp"=>"remove('<http://www.tecweb.inf.puc-rio.br/resourceset/id/4ba50518-351d-4757-82ec-df3de802dc86>')"} 
    46664666Completed in 2214ms (View: 0 | 200 OK [http://localhost/explorator/execute?exp=remove(%27%3Chttp://www.tecweb.inf.puc-rio.br/resourceset/id/4ba50518-351d-4757-82ec-df3de802dc86%3E%27)] 
     4667 
     4668 
     4669Processing ExploratorController#index (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:14:48) [GET] 
     4670Rendering template within layouts/application 
     4671Rendering explorator/index 
     4672Rendered layouts/_toolbar (19.0ms) 
     4673Rendered repository/_listenabledrepositories (8.0ms) 
     4674Rendered layouts/_landmarks (63.0ms) 
     4675Rendered layouts/_loading (5.0ms) 
     4676Start rendering component ({:controller=>"querybuilder", :action=>"index", :layout=>false}):  
     4677 
     4678 
     4679Processing QuerybuilderController#index (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:14:48) [GET] 
     4680  Parameters: {"id"=>nil} 
     4681Rendering querybuilder/index 
     4682Rendered querybuilder/_rdfresource (20.0ms) 
     4683Completed in 43ms (View: 36 | 200 OK [http://localhost/explorator] 
     4684 
     4685 
     4686End of component rendering 
     4687Completed in 454ms (View: 362 | 200 OK [http://localhost/explorator] 
     4688 
     4689 
     4690Processing ExploratorController#create (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:14:54) [POST] 
     4691  Parameters: {"exp"=>"SemanticExpression.new.union(:s,Namespace.lookup(:rdf,:type),Namespace.lookup(:rdfs,:Class)).union(:s,Namespace.lookup(:rdf,:type),Namespace.lookup(:owl,:Class))"} 
     4692Rendered explorator/_windowheader (6.0ms) 
     4693Rendered explorator/_windowfilter (3.0ms) 
     4694Rendered explorator/_subject_view (61.0ms) 
     4695Completed in 259ms (View: 68 | 200 OK [http://localhost/explorator/create?exp=SemanticExpression.new.union(%3As%2CNamespace.lookup(%3Ardf%2C%3Atype)%2CNamespace.lookup(%3Ardfs%2C%3AClass)).union(%3As%2CNamespace.lookup(%3Ardf%2C%3Atype)%2CNamespace.lookup(%3Aowl%2C%3AClass))] 
     4696 
     4697 
     4698Processing ExploratorController#execute (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:14:57) [GET] 
     4699  Parameters: {"exp"=>"remove('<http://www.tecweb.inf.puc-rio.br/resourceset/id/f96da61c-6df3-489b-802c-bdc56399cf4d>')"} 
     4700Completed in 562ms (View: 0 | 200 OK [http://localhost/explorator/execute?exp=remove(%27%3Chttp://www.tecweb.inf.puc-rio.br/resourceset/id/f96da61c-6df3-489b-802c-bdc56399cf4d%3E%27)] 
     4701 
     4702 
     4703Processing RepositoryController#index (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:15:00) [GET] 
     4704Rendering repository/index 
     4705Start rendering component ({:action=>"endpointsform", :layout=>false}):  
     4706 
     4707 
     4708Processing RepositoryController#endpointsform (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:15:00) [GET] 
     4709  Parameters: {"id"=>nil} 
     4710Rendering repository/endpointsform 
     4711Completed in 21ms (View: 11 | 200 OK [http://localhost/repository/index] 
     4712 
     4713 
     4714End of component rendering 
     4715Completed in 55ms (View: 46 | 200 OK [http://localhost/repository/index] 
     4716 
     4717 
     4718Processing RepositoryController#listenabledrepositories (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:15:00) [POST] 
     4719Rendered repository/_listenabledrepositories (1.0ms) 
     4720Completed in 24ms (View: 3 | 200 OK [http://localhost/repository/listenabledrepositories] 
     4721 
     4722 
     4723Processing RepositoryController#enable (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:15:02) [GET] 
     4724  Parameters: {"title"=>"EXPLORATOR(Local)"} 
     4725Completed in 4ms (View: 0 | 200 OK [http://localhost/repository/enable?title=EXPLORATOR(Local)] 
     4726 
     4727 
     4728Processing RepositoryController#listenabledrepositories (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:15:02) [POST] 
     4729Rendered repository/_listenabledrepositories (3.0ms) 
     4730Completed in 21ms (View: 7 | 200 OK [http://localhost/repository/listenabledrepositories] 
     4731 
     4732 
     4733Processing RepositoryController#enable (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:15:04) [GET] 
     4734  Parameters: {"title"=>"NOKIA(Local)"} 
     4735Completed in 16ms (View: 0 | 200 OK [http://localhost/repository/enable?title=NOKIA(Local)] 
     4736 
     4737 
     4738Processing RepositoryController#listenabledrepositories (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:15:05) [POST] 
     4739Rendered repository/_listenabledrepositories (1.0ms) 
     4740Completed in 12ms (View: 8 | 200 OK [http://localhost/repository/listenabledrepositories] 
     4741 
     4742 
     4743Processing ExploratorController#create (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:15:08) [POST] 
     4744  Parameters: {"exp"=>"SemanticExpression.new.union(:s,Namespace.lookup(:rdf,:type),Namespace.lookup(:rdfs,:Class)).union(:s,Namespace.lookup(:rdf,:type),Namespace.lookup(:owl,:Class))"} 
     4745Rendered explorator/_windowheader (3.0ms) 
     4746Rendered explorator/_windowfilter (1.0ms) 
     4747Rendered explorator/_subject_view (3163.0ms) 
     4748Completed in 4201ms (View: 3182 | 200 OK [http://localhost/explorator/create?exp=SemanticExpression.new.union(%3As%2CNamespace.lookup(%3Ardf%2C%3Atype)%2CNamespace.lookup(%3Ardfs%2C%3AClass)).union(%3As%2CNamespace.lookup(%3Ardf%2C%3Atype)%2CNamespace.lookup(%3Aowl%2C%3AClass))] 
     4749 
     4750 
     4751Processing RepositoryController#autoadd (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:15:16) [GET] 
     4752  Parameters: {"uri"=>"<http://sw.nokia.com/FN-1/Type/Product>"} 
     4753Completed in 42ms (View: 38 | 200 OK [http://localhost/repository/autoadd?uri=%3Chttp%3A%2F%2Fsw.nokia.com%2FFN-1%2FType%2FProduct%3E] 
     4754 
     4755 
     4756Processing ExploratorController#create (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:15:17) [POST] 
     4757  Parameters: {"exp"=>"SemanticExpression.new.union(:s,RDF::type,'<http://sw.nokia.com/FN-1/Type/Product>')", "view"=>"null"} 
     4758Rendered explorator/_windowheader (2.0ms) 
     4759Rendered explorator/_windowfilter (0.0ms) 
     4760Rendered explorator/_subject_view (6094.0ms) 
     4761Completed in 7092ms (View: 6100 | 200 OK [http://localhost/explorator/create?exp=SemanticExpression.new.union(%3As%2CRDF%3A%3Atype%2C%27%3Chttp%3A%2F%2Fsw.nokia.com%2FFN-1%2FType%2FProduct%3E%27)&view=null] 
     4762 
     4763 
     4764Processing ExploratorController#create (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:15:27) [POST] 
     4765  Parameters: {"exp"=>"SemanticExpression.new.union('<http://sw.nokia.com/id/f005e247-a3c2-4a0e-b93a-eaec18476939/3105>',:p,:o)", "view"=>"null"} 
     4766Rendered explorator/_windowheader (2.0ms) 
     4767Rendered explorator/_windowfilter (6.0ms) 
     4768Rendered explorator/_subject_view (1892.0ms) 
     4769Completed in 2100ms (View: 1897 | 200 OK [http://localhost/explorator/create?exp=SemanticExpression.new.union(%27%3Chttp%3A%2F%2Fsw.nokia.com%2Fid%2Ff005e247-a3c2-4a0e-b93a-eaec18476939%2F3105%3E%27%2C%3Ap%2C%3Ao)&view=null] 
     4770 
     4771 
     4772Processing RepositoryController#autoadd (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:15:29) [GET] 
     4773  Parameters: {"uri"=>"<http://sw.nokia.com/id/f005e247-a3c2-4a0e-b93a-eaec18476939/3105>"} 
     4774Completed in 5ms (View: 2 | 200 OK [http://localhost/repository/autoadd?uri=%3Chttp%3A%2F%2Fsw.nokia.com%2Fid%2Ff005e247-a3c2-4a0e-b93a-eaec18476939%2F3105%3E] 
     4775 
     4776 
     4777Processing RepositoryController#index (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:15:47) [GET] 
     4778Rendering repository/index 
     4779Start rendering component ({:action=>"endpointsform", :layout=>false}):  
     4780 
     4781 
     4782Processing RepositoryController#endpointsform (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:15:47) [GET] 
     4783  Parameters: {"id"=>nil} 
     4784Rendering repository/endpointsform 
     4785Completed in 46ms (View: 1 | 200 OK [http://localhost/repository/index] 
     4786 
     4787 
     4788End of component rendering 
     4789Completed in 110ms (View: 105 | 200 OK [http://localhost/repository/index] 
     4790 
     4791 
     4792Processing RepositoryController#listenabledrepositories (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:15:47) [POST] 
     4793Rendered repository/_listenabledrepositories (0.0ms) 
     4794Completed in 100ms (View: 2 | 200 OK [http://localhost/repository/listenabledrepositories] 
     4795 
     4796 
     4797Processing RepositoryController#add (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:16:01) [POST] 
     4798  Parameters: {"title"=>"dbpedia", "uri"=>"http://dbpedia.org/sparql", "limit"=>"200"} 
     4799Redirected to http://localhost:3001/repository/endpointsform?message=Sparql+endpoint+added+successfully%21&messageaction=confirmation 
     4800Completed in 13124ms | 302 Found [http://localhost/repository/add?title=dbpedia&uri=http://dbpedia.org/sparql&limit=200] 
     4801 
     4802 
     4803Processing RepositoryController#endpointsform (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:16:14) [GET] 
     4804  Parameters: {"message"=>"Sparql endpoint added successfully!", "messageaction"=>"confirmation"} 
     4805Rendering repository/endpointsform 
     4806Start rendering component ({:controller=>"message", :action=>"confirmation", :params=>{:message=>"Sparql endpoint added successfully!"}, :layout=>false}):  
     4807 
     4808 
     4809Processing MessageController#confirmation (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:16:14) [GET] 
     4810  Parameters: {"message"=>"Sparql endpoint added successfully!", "id"=>nil} 
     4811Rendering message/confirmation 
     4812Completed in 121ms (View: 118 | 200 OK [http://localhost/repository/endpointsform?message=Sparql+endpoint+added+successfully%21&messageaction=confirmation] 
     4813 
     4814 
     4815End of component rendering 
     4816Completed in 191ms (View: 176 | 200 OK [http://localhost/repository/endpointsform?message=Sparql+endpoint+added+successfully%21&messageaction=confirmation] 
     4817 
     4818 
     4819Processing RepositoryController#listenabledrepositories (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:16:15) [POST] 
     4820Rendered repository/_listenabledrepositories (1.0ms) 
     4821Completed in 5ms (View: 2 | 200 OK [http://localhost/repository/listenabledrepositories] 
     4822 
     4823 
     4824Processing ExploratorController#execute (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:16:21) [GET] 
     4825  Parameters: {"exp"=>"remove('<http://www.tecweb.inf.puc-rio.br/resourceset/id/7bd6f1e8-8e9f-4665-9b4c-f9f2f581f3f8>')"} 
     4826Completed in 6011ms (View: 0 | 200 OK [http://localhost/explorator/execute?exp=remove(%27%3Chttp://www.tecweb.inf.puc-rio.br/resourceset/id/7bd6f1e8-8e9f-4665-9b4c-f9f2f581f3f8%3E%27)] 
     4827 
     4828 
     4829Processing ExploratorController#execute (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:16:27) [GET] 
     4830  Parameters: {"exp"=>"remove('<http://www.tecweb.inf.puc-rio.br/resourceset/id/a1386f4f-15e6-4af0-8b3f-0557886f5a37>')"} 
     4831Completed in 2063ms (View: 0 | 200 OK [http://localhost/explorator/execute?exp=remove(%27%3Chttp://www.tecweb.inf.puc-rio.br/resourceset/id/a1386f4f-15e6-4af0-8b3f-0557886f5a37%3E%27)] 
     4832 
     4833 
     4834Processing ExploratorController#execute (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:16:29) [GET] 
     4835  Parameters: {"exp"=>"remove('<http://www.tecweb.inf.puc-rio.br/resourceset/id/da34eb2d-0eed-4f29-9a76-8b4df7dc1a5a>')"} 
     4836Completed in 800ms (View: 1 | 200 OK [http://localhost/explorator/execute?exp=remove(%27%3Chttp://www.tecweb.inf.puc-rio.br/resourceset/id/da34eb2d-0eed-4f29-9a76-8b4df7dc1a5a%3E%27)] 
     4837 
     4838 
     4839Processing ExploratorController#create (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:16:30) [POST] 
     4840  Parameters: {"exp"=>"SemanticExpression.new.union(:s,Namespace.lookup(:rdf,:type),Namespace.lookup(:rdfs,:Class)).union(:s,Namespace.lookup(:rdf,:type),Namespace.lookup(:owl,:Class))"} 
     4841Rendered explorator/_windowheader (2.0ms) 
     4842Rendered explorator/_windowfilter (0.0ms) 
     4843Rendered explorator/_subject_view (31856.0ms) 
     4844Completed in 32643ms (View: 31885 | 200 OK [http://localhost/explorator/create?exp=SemanticExpression.new.union(%3As%2CNamespace.lookup(%3Ardf%2C%3Atype)%2CNamespace.lookup(%3Ardfs%2C%3AClass)).union(%3As%2CNamespace.lookup(%3Ardf%2C%3Atype)%2CNamespace.lookup(%3Aowl%2C%3AClass))] 
     4845 
     4846 
     4847Processing ExploratorController#reload (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:17:31) [POST] 
     4848  Parameters: {"page"=>"2", "uri"=>"<http://www.tecweb.inf.puc-rio.br/resourceset/id/2edaee7a-22a9-4a2b-818b-d83acb20948d>", "view"=>"subject_view"} 
     4849Rendered explorator/_windowheader (2.0ms) 
     4850Rendered explorator/_windowfilter (0.0ms) 
     4851Rendered explorator/_subject_view (27753.0ms) 
     4852Completed in 27794ms (View: 27755 | 200 OK [http://localhost/explorator/reload?page=2&uri=%3Chttp%3A%2F%2Fwww.tecweb.inf.puc-rio.br%2Fresourceset%2Fid%2F2edaee7a-22a9-4a2b-818b-d83acb20948d%3E&view=subject_view] 
     4853 
     4854 
     4855Processing RepositoryController#index (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:18:08) [GET] 
     4856Rendering repository/index 
     4857Start rendering component ({:action=>"endpointsform", :layout=>false}):  
     4858 
     4859 
     4860Processing RepositoryController#endpointsform (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:18:08) [GET] 
     4861  Parameters: {"id"=>nil} 
     4862Rendering repository/endpointsform 
     4863Completed in 16ms (View: 2 | 200 OK [http://localhost/repository/index] 
     4864 
     4865 
     4866End of component rendering 
     4867Completed in 29ms (View: 26 | 200 OK [http://localhost/repository/index] 
     4868 
     4869 
     4870Processing RepositoryController#listenabledrepositories (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:18:08) [POST] 
     4871Rendered repository/_listenabledrepositories (1.0ms) 
     4872Completed in 7ms (View: 3 | 200 OK [http://localhost/repository/listenabledrepositories] 
     4873 
     4874 
     4875Processing RepositoryController#disable (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:18:10) [GET] 
     4876  Parameters: {"title"=>"NOKIA(Local)"} 
     4877Completed in 3ms (View: 0 | 200 OK [http://localhost/repository/disable?title=NOKIA(Local)] 
     4878 
     4879 
     4880Processing RepositoryController#listenabledrepositories (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:18:10) [POST] 
     4881Rendered repository/_listenabledrepositories (0.0ms) 
     4882Completed in 10ms (View: 7 | 200 OK [http://localhost/repository/listenabledrepositories] 
     4883 
     4884 
     4885Processing RepositoryController#disable (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:18:11) [GET] 
     4886  Parameters: {"title"=>"EXPLORATOR(Local)"} 
     4887Completed in 3ms (View: 0 | 200 OK [http://localhost/repository/disable?title=EXPLORATOR(Local)] 
     4888 
     4889 
     4890Processing RepositoryController#listenabledrepositories (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:18:11) [POST] 
     4891Rendered repository/_listenabledrepositories (3.0ms) 
     4892Completed in 7ms (View: 5 | 200 OK [http://localhost/repository/listenabledrepositories] 
     4893 
     4894 
     4895Processing RepositoryController#autoadd (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:18:20) [GET] 
     4896  Parameters: {"uri"=>"<http://www.ontologyportal.org/translations/SUMO.owl.txt#BodyCovering>"} 
     4897Completed in 10ms (View: 1 | 200 OK [http://localhost/repository/autoadd?uri=%3Chttp%3A%2F%2Fwww.ontologyportal.org%2Ftranslations%2FSUMO.owl.txt%23BodyCovering%3E] 
     4898 
     4899 
     4900Processing ExploratorController#create (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:18:20) [POST] 
     4901  Parameters: {"exp"=>"SemanticExpression.new.union(:s,RDF::type,'<http://www.ontologyportal.org/translations/SUMO.owl.txt#BodyCovering>')", "view"=>"null"} 
     4902Rendered explorator/_windowheader (2.0ms) 
     4903Rendered explorator/_windowfilter (0.0ms) 
     4904Rendered explorator/_subject_view (11.0ms) 
     4905Completed in 2378ms (View: 13 | 200 OK [http://localhost/explorator/create?exp=SemanticExpression.new.union(%3As%2CRDF%3A%3Atype%2C%27%3Chttp%3A%2F%2Fwww.ontologyportal.org%2Ftranslations%2FSUMO.owl.txt%23BodyCovering%3E%27)&view=null] 
     4906 
     4907 
     4908Processing ExploratorController#execute (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:18:25) [GET] 
     4909  Parameters: {"exp"=>"remove('<http://www.tecweb.inf.puc-rio.br/resourceset/id/d9764e53-c37e-49d6-8702-e13c77c832e3>')"} 
     4910Completed in 918ms (View: 0 | 200 OK [http://localhost/explorator/execute?exp=remove(%27%3Chttp://www.tecweb.inf.puc-rio.br/resourceset/id/d9764e53-c37e-49d6-8702-e13c77c832e3%3E%27)] 
     4911 
     4912 
     4913Processing ExploratorController#create (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:18:28) [POST] 
     4914  Parameters: {"exp"=>"SemanticExpression.new.union(:s,RDF::type,'<http://www.ontologyportal.org/translations/SUMO.owl.txt#Cup>')", "view"=>"null"} 
     4915Rendered explorator/_windowheader (1.0ms) 
     4916Rendered explorator/_windowfilter (0.0ms) 
     4917Rendered explorator/_subject_view (6.0ms) 
     4918Completed in 1414ms (View: 7 | 200 OK [http://localhost/explorator/create?exp=SemanticExpression.new.union(%3As%2CRDF%3A%3Atype%2C%27%3Chttp%3A%2F%2Fwww.ontologyportal.org%2Ftranslations%2FSUMO.owl.txt%23Cup%3E%27)&view=null] 
     4919 
     4920 
     4921Processing RepositoryController#autoadd (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:18:30) [GET] 
     4922  Parameters: {"uri"=>"<http://www.ontologyportal.org/translations/SUMO.owl.txt#Cup>"} 
     4923Completed in 40ms (View: 1 | 200 OK [http://localhost/repository/autoadd?uri=%3Chttp%3A%2F%2Fwww.ontologyportal.org%2Ftranslations%2FSUMO.owl.txt%23Cup%3E] 
     4924 
     4925 
     4926Processing RepositoryController#autoadd (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:18:32) [GET] 
     4927  Parameters: {"uri"=>"<http://www.ontologyportal.org/translations/SUMO.owl.txt#Organization>"} 
     4928Completed in 4ms (View: 2 | 200 OK [http://localhost/repository/autoadd?uri=%3Chttp%3A%2F%2Fwww.ontologyportal.org%2Ftranslations%2FSUMO.owl.txt%23Organization%3E] 
     4929 
     4930 
     4931Processing ExploratorController#create (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:18:32) [POST] 
     4932  Parameters: {"exp"=>"SemanticExpression.new.union(:s,RDF::type,'<http://www.ontologyportal.org/translations/SUMO.owl.txt#Organization>')", "view"=>"null"} 
     4933Rendered explorator/_windowheader (17.0ms) 
     4934Rendered explorator/_windowfilter (1.0ms) 
     4935Rendered explorator/_subject_view (22.0ms) 
     4936Completed in 1420ms (View: 35 | 200 OK [http://localhost/explorator/create?exp=SemanticExpression.new.union(%3As%2CRDF%3A%3Atype%2C%27%3Chttp%3A%2F%2Fwww.ontologyportal.org%2Ftranslations%2FSUMO.owl.txt%23Organization%3E%27)&view=null] 
     4937 
     4938 
     4939Processing RepositoryController#autoadd (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:18:36) [GET] 
     4940  Parameters: {"uri"=>"<http://www.ontologyportal.org/translations/SUMO.owl.txt#Class>"} 
     4941Completed in 13ms (View: 1 | 200 OK [http://localhost/repository/autoadd?uri=%3Chttp%3A%2F%2Fwww.ontologyportal.org%2Ftranslations%2FSUMO.owl.txt%23Class%3E] 
     4942 
     4943 
     4944Processing ExploratorController#create (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:18:36) [POST] 
     4945  Parameters: {"exp"=>"SemanticExpression.new.union(:s,RDF::type,'<http://www.ontologyportal.org/translations/SUMO.owl.txt#Class>')", "view"=>"null"} 
     4946Rendered explorator/_windowheader (2.0ms) 
     4947Rendered explorator/_windowfilter (0.0ms) 
     4948Rendered explorator/_subject_view (20.0ms) 
     4949Completed in 1228ms (View: 22 | 200 OK [http://localhost/explorator/create?exp=SemanticExpression.new.union(%3As%2CRDF%3A%3Atype%2C%27%3Chttp%3A%2F%2Fwww.ontologyportal.org%2Ftranslations%2FSUMO.owl.txt%23Class%3E%27)&view=null] 
     4950 
     4951 
     4952Processing RepositoryController#autoadd (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:18:42) [GET] 
     4953  Parameters: {"uri"=>"<http://www.ontologyportal.org/translations/SUMO.owl.txt#CelsiusDegree>"} 
     4954Completed in 4ms (View: 1 | 200 OK [http://localhost/repository/autoadd?uri=%3Chttp%3A%2F%2Fwww.ontologyportal.org%2Ftranslations%2FSUMO.owl.txt%23CelsiusDegree%3E] 
     4955 
     4956 
     4957Processing ExploratorController#create (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:18:42) [POST] 
     4958  Parameters: {"exp"=>"SemanticExpression.new.union(:s,RDF::type,'<http://www.ontologyportal.org/translations/SUMO.owl.txt#CelsiusDegree>')", "view"=>"null"} 
     4959Rendered explorator/_windowheader (1.0ms) 
     4960Rendered explorator/_windowfilter (0.0ms) 
     4961Rendered explorator/_subject_view (5.0ms) 
     4962Completed in 1470ms (View: 8 | 200 OK [http://localhost/explorator/create?exp=SemanticExpression.new.union(%3As%2CRDF%3A%3Atype%2C%27%3Chttp%3A%2F%2Fwww.ontologyportal.org%2Ftranslations%2FSUMO.owl.txt%23CelsiusDegree%3E%27)&view=null] 
     4963 
     4964 
     4965Processing ExploratorController#execute (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:18:50) [GET] 
     4966  Parameters: {"exp"=>"remove('<http://www.tecweb.inf.puc-rio.br/resourceset/id/cbf781e3-8e6f-4ec1-8206-8a7f54353c88>')"} 
     4967Completed in 4091ms (View: 0 | 200 OK [http://localhost/explorator/execute?exp=remove(%27%3Chttp://www.tecweb.inf.puc-rio.br/resourceset/id/cbf781e3-8e6f-4ec1-8206-8a7f54353c88%3E%27)] 
     4968 
     4969 
     4970Processing ExploratorController#execute (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:18:54) [GET] 
     4971  Parameters: {"exp"=>"remove('<http://www.tecweb.inf.puc-rio.br/resourceset/id/3b069210-ea59-4647-a15e-fc4f7929fbb9>')"} 
     4972Completed in 945ms (View: 0 | 200 OK [http://localhost/explorator/execute?exp=remove(%27%3Chttp://www.tecweb.inf.puc-rio.br/resourceset/id/3b069210-ea59-4647-a15e-fc4f7929fbb9%3E%27)] 
     4973 
     4974 
     4975Processing ExploratorController#execute (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:18:55) [GET] 
     4976  Parameters: {"exp"=>"remove('<http://www.tecweb.inf.puc-rio.br/resourceset/id/f1f1a0e0-ae55-4709-8bd9-0d5d1e70d502>')"} 
     4977Completed in 831ms (View: 0 | 200 OK [http://localhost/explorator/execute?exp=remove(%27%3Chttp://www.tecweb.inf.puc-rio.br/resourceset/id/f1f1a0e0-ae55-4709-8bd9-0d5d1e70d502%3E%27)] 
     4978 
     4979 
     4980Processing ExploratorController#execute (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:18:56) [GET] 
     4981  Parameters: {"exp"=>"remove('<http://www.tecweb.inf.puc-rio.br/resourceset/id/c21b4176-f037-4b57-882d-ae1a709c198c>')"} 
     4982Completed in 5684ms (View: 3 | 200 OK [http://localhost/explorator/execute?exp=remove(%27%3Chttp://www.tecweb.inf.puc-rio.br/resourceset/id/c21b4176-f037-4b57-882d-ae1a709c198c%3E%27)] 
     4983 
     4984 
     4985Processing ExploratorController#execute (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:19:02) [GET] 
     4986  Parameters: {"exp"=>"remove('<http://www.tecweb.inf.puc-rio.br/resourceset/id/2edaee7a-22a9-4a2b-818b-d83acb20948d>')"} 
     4987Completed in 769ms (View: 26 | 200 OK [http://localhost/explorator/execute?exp=remove(%27%3Chttp://www.tecweb.inf.puc-rio.br/resourceset/id/2edaee7a-22a9-4a2b-818b-d83acb20948d%3E%27)] 
     4988 
     4989 
     4990Processing ExploratorController#create (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:19:02) [POST] 
     4991  Parameters: {"exp"=>"SemanticExpression.new.union(:s,Namespace.lookup(:rdf,:type),Namespace.lookup(:rdfs,:Class)).union(:s,Namespace.lookup(:rdf,:type),Namespace.lookup(:owl,:Class))"} 
     4992Rendered explorator/_windowheader (2.0ms) 
     4993Rendered explorator/_windowfilter (0.0ms) 
     4994Rendered explorator/_subject_view (1140.0ms) 
     4995Completed in 1736ms (View: 1142 | 200 OK [http://localhost/explorator/create?exp=SemanticExpression.new.union(%3As%2CNamespace.lookup(%3Ardf%2C%3Atype)%2CNamespace.lookup(%3Ardfs%2C%3AClass)).union(%3As%2CNamespace.lookup(%3Ardf%2C%3Atype)%2CNamespace.lookup(%3Aowl%2C%3AClass))] 
     4996 
     4997 
     4998Processing RepositoryController#autoadd (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:19:13) [GET] 
     4999  Parameters: {"uri"=>"<http://xmlns.com/foaf/0.1/Person>"} 
     5000Completed in 9ms (View: 1 | 200 OK [http://localhost/repository/autoadd?uri=%3Chttp%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2FPerson%3E] 
     5001 
     5002 
     5003Processing ExploratorController#create (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:19:13) [POST] 
     5004  Parameters: {"exp"=>"SemanticExpression.new.union(:s,RDF::type,'<http://xmlns.com/foaf/0.1/Person>')", "view"=>"null"} 
     5005Rendered explorator/_windowheader (3.0ms) 
     5006Rendered explorator/_windowfilter (0.0ms) 
     5007Rendered explorator/_subject_view (69635.0ms) 
     5008Completed in 71927ms (View: 69661 | 200 OK [http://localhost/explorator/create?exp=SemanticExpression.new.union(%3As%2CRDF%3A%3Atype%2C%27%3Chttp%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2FPerson%3E%27)&view=null] 
     5009 
     5010 
     5011Processing RepositoryController#autoadd (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:20:32) [GET] 
     5012  Parameters: {"uri"=>"<http://dbpedia.org/resource/Jacques_Lacan>"} 
     5013Completed in 47ms (View: 4 | 200 OK [http://localhost/repository/autoadd?uri=%3Chttp%3A%2F%2Fdbpedia.org%2Fresource%2FJacques_Lacan%3E] 
     5014 
     5015 
     5016Processing ExploratorController#create (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:20:33) [POST] 
     5017  Parameters: {"exp"=>"SemanticExpression.new.union('<http://dbpedia.org/resource/Jacques_Lacan>',:p,:o)", "view"=>"null"} 
     5018Rendered explorator/_windowheader (2.0ms) 
     5019Rendered explorator/_windowfilter (1.0ms) 
     5020Redirected to http://localhost:3001/message/error?message=could+not+query+SPARQL+endpoint%2C+server+said%3A+500+SPARQL+Request+Failed+.+%3Cbr%3E%3Cbr%3E%3Cb%3EURI+accessed%3A%3C%2Fb%3E+http%3A%2F%2Fdbpedia.org%2Fsparql%3Fquery%3DSELECT%2BDISTINCT%2B%253Fp%2B%253Fo%2BWHERE%2B%257B%2B%253Chttp%253A%252F%252Fdbpedia.org%252Fresource%252FParis%253E%2B%253Fp%2B%253Fo%2B.%2B%2B%2B%257D%2BLIMIT%2B200%2B 
     5021Completed in 65298ms | 302 Found [http://localhost/explorator/create?exp=SemanticExpression.new.union(%27%3Chttp%3A%2F%2Fdbpedia.org%2Fresource%2FJacques_Lacan%3E%27%2C%3Ap%2C%3Ao)&view=null] 
     5022 
     5023 
     5024Processing MessageController#error (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:21:38) [GET] 
     5025  Parameters: {"message"=>"could not query SPARQL endpoint, server said: 500 SPARQL Request Failed . <br><br><b>URI accessed:</b> http://dbpedia.org/sparql?query=SELECT+DISTINCT+%3Fp+%3Fo+WHERE+%7B+%3Chttp%3A%2F%2Fdbpedia.org%2Fresource%2FParis%3E+%3Fp+%3Fo+.+++%7D+LIMIT+200+"} 
     5026Rendering message/error 
     5027Completed in 36ms (View: 34 | 200 OK [http://localhost/message/error?message=could+not+query+SPARQL+endpoint%2C+server+said%3A+500+SPARQL+Request+Failed+.+%3Cbr%3E%3Cbr%3E%3Cb%3EURI+accessed%3A%3C%2Fb%3E+http%3A%2F%2Fdbpedia.org%2Fsparql%3Fquery%3DSELECT%2BDISTINCT%2B%253Fp%2B%253Fo%2BWHERE%2B%257B%2B%253Chttp%253A%252F%252Fdbpedia.org%252Fresource%252FParis%253E%2B%253Fp%2B%253Fo%2B.%2B%2B%2B%257D%2BLIMIT%2B200%2B] 
     5028 
     5029 
     5030Processing RepositoryController#autoadd (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:21:46) [GET] 
     5031  Parameters: {"uri"=>"<http://dbpedia.org/resource/Paul_Strand>"} 
     5032Completed in 6ms (View: 2 | 200 OK [http://localhost/repository/autoadd?uri=%3Chttp%3A%2F%2Fdbpedia.org%2Fresource%2FPaul_Strand%3E] 
     5033 
     5034 
     5035Processing ExploratorController#create (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:21:46) [POST] 
     5036  Parameters: {"exp"=>"SemanticExpression.new.union('<http://dbpedia.org/resource/Paul_Strand>',:p,:o)", "view"=>"null"} 
     5037Rendered explorator/_windowheader (2.0ms) 
     5038Rendered explorator/_windowfilter (0.0ms) 
     5039Rendered explorator/_subject_view (106462.0ms) 
     5040Completed in 107368ms (View: 106463 | 200 OK [http://localhost/explorator/create?exp=SemanticExpression.new.union(%27%3Chttp%3A%2F%2Fdbpedia.org%2Fresource%2FPaul_Strand%3E%27%2C%3Ap%2C%3Ao)&view=null] 
     5041 
     5042 
     5043Processing ExploratorController#execute (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:24:42) [GET] 
     5044  Parameters: {"exp"=>"remove('<http://www.tecweb.inf.puc-rio.br/resourceset/id/890d64e3-d90d-43d5-b2db-6269b067a74c>')"} 
     5045Completed in 1217ms (View: 0 | 200 OK [http://localhost/explorator/execute?exp=remove(%27%3Chttp://www.tecweb.inf.puc-rio.br/resourceset/id/890d64e3-d90d-43d5-b2db-6269b067a74c%3E%27)] 
     5046 
     5047 
     5048Processing ExploratorController#execute (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:24:44) [GET] 
     5049  Parameters: {"exp"=>"remove('<http://www.tecweb.inf.puc-rio.br/resourceset/id/96291510-0658-46ee-b186-74fbc02a3ce6>')"} 
     5050Completed in 1858ms (View: 1 | 200 OK [http://localhost/explorator/execute?exp=remove(%27%3Chttp://www.tecweb.inf.puc-rio.br/resourceset/id/96291510-0658-46ee-b186-74fbc02a3ce6%3E%27)] 
     5051 
     5052 
     5053Processing ExploratorController#execute (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:24:46) [GET] 
     5054  Parameters: {"exp"=>"remove('<http://www.tecweb.inf.puc-rio.br/resourceset/id/8ac1a842-9628-4599-bb26-4485d997d1b1>')"} 
     5055Completed in 824ms (View: 2 | 200 OK [http://localhost/explorator/execute?exp=remove(%27%3Chttp://www.tecweb.inf.puc-rio.br/resourceset/id/8ac1a842-9628-4599-bb26-4485d997d1b1%3E%27)] 
     5056 
     5057 
     5058Processing ExploratorController#index (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:29:29) [GET] 
     5059Rendering template within layouts/application 
     5060Rendering explorator/index 
     5061Rendered explorator/_windowheader (36.0ms) 
     5062Rendered explorator/_windowfilter (3.0ms) 
     5063Rendered explorator/_subject_view (88.0ms) 
     5064Rendered layouts/_toolbar (3.0ms) 
     5065Rendered repository/_listenabledrepositories (4.0ms) 
     5066Rendered layouts/_landmarks (67.0ms) 
     5067Rendered layouts/_loading (2.0ms) 
     5068Start rendering component ({:controller=>"querybuilder", :action=>"index", :layout=>false}):  
     5069 
     5070 
     5071Processing QuerybuilderController#index (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:29:30) [GET] 
     5072  Parameters: {"id"=>nil} 
     5073Rendering querybuilder/index 
     5074Rendered querybuilder/_rdfresource (7.0ms) 
     5075Completed in 27ms (View: 21 | 200 OK [http://localhost/explorator] 
     5076 
     5077 
     5078End of component rendering 
     5079Completed in 1214ms (View: 780 | 200 OK [http://localhost/explorator] 
     5080 
     5081 
     5082Processing ExploratorController#execute (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:29:35) [GET] 
     5083  Parameters: {"exp"=>"remove('<http://www.tecweb.inf.puc-rio.br/resourceset/id/7031dd12-5b23-40f3-b806-15b5e3b904ba>')"} 
     5084Completed in 377ms (View: 0 | 200 OK [http://localhost/explorator/execute?exp=remove(%27%3Chttp://www.tecweb.inf.puc-rio.br/resourceset/id/7031dd12-5b23-40f3-b806-15b5e3b904ba%3E%27)] 
     5085 
     5086 
     5087Processing ExploratorController#create (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:29:37) [POST] 
     5088  Parameters: {"exp"=>"SemanticExpression.new.union(:s,Namespace.lookup(:rdf,:type),Namespace.lookup(:rdf,:Property))"} 
     5089Rendered explorator/_windowheader (8.0ms) 
     5090Rendered explorator/_windowfilter (1.0ms) 
     5091Rendered explorator/_subject_view (41.0ms) 
     5092Completed in 185ms (View: 54 | 200 OK [http://localhost/explorator/create?exp=SemanticExpression.new.union(%3As%2CNamespace.lookup(%3Ardf%2C%3Atype)%2CNamespace.lookup(%3Ardf%2C%3AProperty))] 
     5093 
     5094 
     5095Processing ExploratorController#execute (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:29:39) [GET] 
     5096  Parameters: {"exp"=>"remove('<http://www.tecweb.inf.puc-rio.br/resourceset/id/5607d6af-666a-4b0b-a9fd-b1d36c9510f3>')"} 
     5097Completed in 522ms (View: 1 | 200 OK [http://localhost/explorator/execute?exp=remove(%27%3Chttp://www.tecweb.inf.puc-rio.br/resourceset/id/5607d6af-666a-4b0b-a9fd-b1d36c9510f3%3E%27)] 
     5098 
     5099 
     5100Processing RepositoryController#index (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:29:41) [GET] 
     5101Rendering repository/index 
     5102Start rendering component ({:action=>"endpointsform", :layout=>false}):  
     5103 
     5104 
     5105Processing RepositoryController#endpointsform (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:29:41) [GET] 
     5106  Parameters: {"id"=>nil} 
     5107Rendering repository/endpointsform 
     5108Completed in 39ms (View: 18 | 200 OK [http://localhost/repository/index] 
     5109 
     5110 
     5111End of component rendering 
     5112Completed in 66ms (View: 61 | 200 OK [http://localhost/repository/index] 
     5113 
     5114 
     5115Processing RepositoryController#listenabledrepositories (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:29:41) [POST] 
     5116Rendered repository/_listenabledrepositories (0.0ms) 
     5117Completed in 11ms (View: 5 | 200 OK [http://localhost/repository/listenabledrepositories] 
     5118 
     5119 
     5120Processing RepositoryController#listenabledrepositories (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:29:44) [POST] 
     5121Rendered repository/_listenabledrepositories (1.0ms) 
     5122Completed in 22ms (View: 16 | 200 OK [http://localhost/repository/listenabledrepositories] 
     5123 
     5124 
     5125Processing RepositoryController#enable (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:29:45) [GET] 
     5126  Parameters: {"title"=>"EXPLORATOR(Local)"} 
     5127Completed in 12ms (View: 0 | 200 OK [http://localhost/repository/enable?title=EXPLORATOR(Local)] 
     5128 
     5129 
     5130Processing ExploratorController#create (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:29:48) [POST] 
     5131  Parameters: {"exp"=>"SemanticExpression.new.union(:s,Namespace.lookup(:rdf,:type),Namespace.lookup(:rdf,:Property))"} 
     5132Rendered explorator/_windowheader (2.0ms) 
     5133Rendered explorator/_windowfilter (1.0ms) 
     5134Rendered explorator/_subject_view (2393.0ms) 
     5135Completed in 3292ms (View: 2397 | 200 OK [http://localhost/explorator/create?exp=SemanticExpression.new.union(%3As%2CNamespace.lookup(%3Ardf%2C%3Atype)%2CNamespace.lookup(%3Ardf%2C%3AProperty))] 
     5136 
     5137 
     5138Processing RepositoryController#autoadd (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:29:56) [GET] 
     5139  Parameters: {"uri"=>"<http://www.w3.org/2000/01/rdf-schema#range>"} 
     5140Completed in 15ms (View: 4 | 200 OK [http://localhost/repository/autoadd?uri=%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23range%3E] 
     5141 
     5142 
     5143Processing ExploratorController#create (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:29:56) [POST] 
     5144  Parameters: {"exp"=>"SemanticExpression.new.union('<http://www.w3.org/2000/01/rdf-schema#range>',:p,:o)", "view"=>"null"} 
     5145Rendered explorator/_windowheader (3.0ms) 
     5146Rendered explorator/_windowfilter (1.0ms) 
     5147Rendered explorator/_subject_view (181.0ms) 
     5148Completed in 565ms (View: 183 | 200 OK [http://localhost/explorator/create?exp=SemanticExpression.new.union(%27%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23range%3E%27%2C%3Ap%2C%3Ao)&view=null] 
     5149 
     5150 
     5151Processing ExploratorController#execute (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:30:00) [GET] 
     5152  Parameters: {"exp"=>"remove('<http://www.tecweb.inf.puc-rio.br/resourceset/id/e8f861d4-957b-4316-aaca-d71b94ee57fd>')"} 
     5153Completed in 313ms (View: 0 | 200 OK [http://localhost/explorator/execute?exp=remove(%27%3Chttp://www.tecweb.inf.puc-rio.br/resourceset/id/e8f861d4-957b-4316-aaca-d71b94ee57fd%3E%27)] 
     5154 
     5155 
     5156Processing ExploratorController#execute (for 0:0:0:0:0:0:0:1%0 at 2010-11-03 11:30:01) [GET] 
     5157  Parameters: {"exp"=>"remove('<http://www.tecweb.inf.puc-rio.br/resourceset/id/0abb65ad-d08d-4004-afa5-5c7d555a4118>')"} 
     5158Completed in 288ms (View: 0 | 200 OK [http://localhost/explorator/execute?exp=remove(%27%3Chttp://www.tecweb.inf.puc-rio.br/resourceset/id/0abb65ad-d08d-4004-afa5-5c7d555a4118%3E%27)] 
  • Explorator/trunk/vendor/plugins/active_rdf/lib/active_rdf.rb

    r483 r487  
    55 
    66# determine the directory in which we are running depending on cruby or jruby 
    7 if RUBY_PLATFORM =~ /xjava/ 
    8   # jruby can not follow symlinks, because java does not know the symlink concept 
    9   this_dir = File.dirname(File.expand_path(__FILE__)) 
    10 else 
    11   file = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__ 
    12   this_dir = File.dirname(File.expand_path(file))   
    13 end 
     7file = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__ 
     8this_dir = File.dirname(File.expand_path(file))   
    149 
    15 # set the load path, which uses the running directory, but has to be different if running on jruby directly from source.  
    16 if RUBY_PLATFORM =~ /xjava/ and Gem::cache.search(/^activerdf$/).empty? 
    17   $: << this_dir + '/activerdf/lib/' 
    18   $: << this_dir + '/activerdf/lib/active_rdf/' 
    19 else 
    20   $: << this_dir + '/' 
    21   $: << this_dir + '/active_rdf/' 
    22 end 
     10 
     11$: << this_dir + '/' 
     12$: << this_dir + '/active_rdf/' 
    2313 
    2414require 'active_rdf_helpers' 
     
    4939        # we are not running as a gem 
    5040        $activerdflog.info 'ActiveRDF is NOT installed as a Gem' 
    51         if RUBY_PLATFORM =~ /xjava/ 
    52           load_adapter this_dir + '/activerdf/activerdf-jena/lib/activerdf_jena/init' 
    53           load_adapter this_dir + '/activerdf/activerdf-sparql/lib/activerdf_sparql/sparql' 
    54     #load_adapter this_dir + '/../activerdf-sesame/lib/activerdf_sesame/sesame' 
    55         else 
    5641        #load_adapter this_dir + '/../activerdf-rdflite/lib/activerdf_rdflite/rdflite' 
    5742        #load_adapter this_dir + '/../activerdf-rdflite/lib/activerdf_rdflite/fetching' 
     
    6045        load_adapter this_dir + '/../activerdf-sparql/lib/activerdf_sparql/sparql' 
    6146        #load_adapter this_dir + '/../activerdf-yars/lib/activerdf_yars/jars2'     
    62   end 
    6347   
    6448else 
  • Explorator/trunk/vendor/plugins/activerdf_sparql-1.3.6/lib/activerdf_sparql/sparql_sesame_api.rb

    r483 r487  
    33# SPARQL adapter 
    44class SparqlSesameApiAdapter < ActiveRdfAdapter 
    5    
    6   include Java if RUBY_PLATFORM =~ /java/ 
    75   
    86  $activerdflog.info "loading SPARQL SESAME API adapter" 
     
    4644        Rjb::load sesame_jars , vmargs 
    4745      end 
    48              
     46      
    4947    rescue => ex 
    5048      raise ex, "Could not load Java Virtual Machine. Please, check if your JAVA_HOME environment variable is pointing to a valid JDK (1.4+). #{ex}" 
     
    5351      raise ex, "Could not load RJB. Please, install it properly with the command 'gem install rjb'" 
    5452    end         
    55      
    56     if RUBY_PLATFORM =~ /java/ 
    57       @bridge = (import 'br.tecweb.explorator.SesameApiRubyAdapter').new(@repository) 
     53    unless RUBY_PLATFORM =~ /java/ 
     54      @bridge = Rjb::import('br.tecweb.explorator.SesameApiRubyAdapter').new(@repository) 
    5855    else 
    59       @bridge = Rjb::import('br.tecweb.explorator.SesameApiRubyAdapter').new(@repository)   
    60     end   
     56      @bridge = Java::BrTecwebExplorator::SesameApiRubyAdapter.new(@repository) 
     57    end 
    6158  end   
    6259  def size 
     
    6865  def query(query, &block)     
    6966    qs = Query2SPARQL.translate(query) 
    70       
    7167    if !(@title.include?'INTERNAL' and qs.to_s.include? "http://www.tecweb.inf.puc-rio.br")       
    7268      if @caching