From 38bbcbd52cfd6dd6d7d20148e7fa0a760af90f0a Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Mon, 3 Mar 2014 19:17:40 +0100 Subject: cfg --- scripts/geoquery/query.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts/geoquery/query.rb') diff --git a/scripts/geoquery/query.rb b/scripts/geoquery/query.rb index 9cec355..25cded5 100755 --- a/scripts/geoquery/query.rb +++ b/scripts/geoquery/query.rb @@ -1,10 +1,9 @@ #!/usr/bin/env ruby require 'nlp_ruby' +require_relative '../../cfg.rb' -EVAL_PL='/workspace/grounded/wasp-1.0/data/geo-funql/eval/eval.pl' - while line = STDIN.gets puts `echo "execute_funql_query(#{line}, X)." | swipl -s #{EVAL_PL} 2>&1 | grep "X ="`.gsub('X = ','').strip end -- cgit v1.2.3