Changeset 416

Show
Ignore:
Timestamp:
05/05/09 17:50:23 (9 years ago)
Author:
samuraraujo
Message:
 
Location:
Explorator/trunk/lib
Files:
2 modified

Legend:

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

    r400 r416  
    146146    end 
    147147  end 
    148 end 
    149 #query('') 
    150 FinderUtil.find_endpoint_for('http://dbtune.org/jamendo/artist/5') 
     148end  
  • Explorator/trunk/lib/query_builder.rb

    r386 r416  
    229229    elsif Thread.current[:application].is_set?(s) 
    230230      #returns all set of resources 
    231       puts '################## SET' 
     231     
    232232      if r != nil   && r!= :s 
    233233        @result = @result | SemanticExpression.new.spo(Thread.current[:application].get(s).elements.collect{|s,p,o| eval(r.to_s)}.uniq,:p,:o).result 
     
    235235        @result = @result | Thread.current[:application].get(s).elements 
    236236      end 
    237       puts '################## END SET' 
     237       
    238238      #Union method, passed as parameter a triple expression 
    239239    else 
     240       
    240241      @result = @result | query(s,p,o,r) 
    241242    end