Deployments
The OKBQA Hackathon 2014 has produced a set of prototype implementations for each of the modules envisioned in the architecture. Each module is accessible through RESTful services that are available for a limited time on the demonstration server.
Question Formulation
Template Generation
http://110.45.246.131:1555/templategeneration/tripletempeh/
curl -i -H "Content-Type: application/json" -X POST -d @test.json http://110.45.246.131:1555/templategeneration/tripletempeh/
Korean Dependency Parser: Input String(Question) -> output String(Stanford Form)
http://110.45.246.131:8080/myapp/service/post
Disambiguation(English)
1. http://14.63.169.59:9345/rest/disambiguate
2. http://110.45.246.131:2357/agdistis/disambiguate
Example call:
curl -i -H "Content-Type: application/json" -X POST -d @test.json http://110.45.246.131:2357/agdistis/disambiguate
3. http://110.45.246.131:2357/agdistis/run?data=" ... "
Disambiguation(Korean)
http://110.45.246.131:12345/request
Query Generation
simple
URL: http://110.45.246.131:5000/rest/query
Example call: curl -H "Content-Type: application/json" -d @test-input.json http://110.45.246.131:5000/rest/query
variation (graphfinder)
URL: http://110.45.246.131:38401/queries
Example call: curl -H "content-type:application/json" -d @test.json http://110.45.246.131:38401/queries
collector (simple + graphfinder)
URL: http://110.45.246.131:38402/queries
Example call: curl -H "content-type:application/json" -d @test.json http://110.45.246.131:38402/queries
Answer Generation
Rendering
http://14.63.169.59:2020/rest/render
More info: IO Specification.
Test Service
http://110.45.246.131:2358/test/
The test service understands both POST and GET requests. The query parameters for GET requests are the URL of the controller (parameter name: url) and optionally the language in which the tests are to be carried out (parameter name: language, default = en). A corresponding call would be
http://110.45.246.131:2358/test/get?url=http://test.org/controller
for a controller located at http://test.org/controller.
The POST version understands JSON objects of the form
{"url":"http:\/\/test.org\/controller", "language":"korean"}.
and is available at
http://110.45.246.131:2358/test/runtest
Test Service (for OKBQA 2015)
URL: http://110.45.246.131:56789/controller Example call: curl -H "Content-Type: application/json" -X POST -d @input.json http://110.45.246.131:56789/controller Input JSON: {"string":"question", "language":"en"/"ko"}