diff options
-rw-r--r-- | lib/opentox.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/opentox.rb b/lib/opentox.rb index 3adca81..e3f1910 100644 --- a/lib/opentox.rb +++ b/lib/opentox.rb @@ -132,9 +132,7 @@ module OpenTox end # internal route not in API - # example: /SERVICE/last/0 returns last 10 modified uris (default) - # example: /SERVICE/last/5 returns last 5 modified uris - get "/#{SERVICE}/ordered/?" do + get "/#{SERVICE}/last/ordered/?" do FourStore.query("SELECT DISTINCT ?s WHERE {GRAPH ?g {?s <#{RDF.type}> <#{RDF::OT}#{SERVICE.capitalize}>; <#{RDF::DC.date}> ?o. } |