diff options
author | rautenberg <rautenberg@in-silico.ch> | 2013-04-30 18:48:31 +0200 |
---|---|---|
committer | rautenberg <rautenberg@in-silico.ch> | 2013-04-30 18:48:31 +0200 |
commit | 7a3e5d1a2fcd8fb1395b631a52e1370f25fffb4d (patch) | |
tree | a59fd6a4edea9fde04d82d313c4479d0d007b6da | |
parent | 627a5bcc293f017026e9f35d2e5a8c01d11e9f97 (diff) |
remove params in url for 4store call
-rw-r--r-- | lib/opentox.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/opentox.rb b/lib/opentox.rb index c7072d3..8400b6a 100644 --- a/lib/opentox.rb +++ b/lib/opentox.rb @@ -130,7 +130,7 @@ module OpenTox # Get resource representation or perform a SPARQL query get "/#{SERVICE}/:id/?" do - params[:query] ? FourStore.query(params[:query], @accept) : FourStore.get(@uri, @accept) + params[:query] ? FourStore.query(params[:query], @accept) : FourStore.get(@uri.split('?').first, @accept) end # Modify (i.e. add rdf statments to) a resource |