- Read IP from config file
- Read dictionary names from config files
- Run the following to start (best in a screen) mvn clean exec:java
Infos on running at https://sites.google.com/site/okbqa3/development/deployments
- You can use REST and POST
- REST at http://IP:2357/agdistis/run?data = "…"
- Example REST Call http://110.45.246.131:2357/agdistis/run?data={"question":"Who did that and wo?","slots" : [ {"s" : "?x", "p" : "verbalization", "o" : "shopping center"}, {"s" : "?x", "p" : "is", "o" : "rdf:Class_rdf:Resource"}, {"s" : "?y", "p" : "verbalization", "o" : "University of Kiel"} ] }
- POST at http://IP:2357/agdistis/disambiguate
- Example POST Call (test.json in resources folder) curl -i -H "Content-Type: application/json" -X POST -d @test.json http://IP:2357/agdistis/disambiguate