Skip to content

2 Asking the webservice

Ricardo Usbeck edited this page Nov 17, 2017 · 6 revisions

We deployed AGDISTIS as a RESTful service reachable via the following command:

curl --data-urlencode "text='The <entity>University of Leipzig</entity> in <entity>Barack Obama</entity>.'" -d type='agdistis' http://akswnc9.informatik.uni-leipzig.de:8113/AGDISTIS

or if you want to use a larger text file:

curl --data-urlencode "text@test.txt" -d type=agdistis http://akswnc9.informatik.uni-leipzig.de:8113/AGDISTIS

Please note that every entity you need disambiguated must be recognized beforehand since AGDISTIS is only a entity linker

There is also a Chinese and a German endpoint:

curl --data-urlencode "text='The <entity>shanghai</entity> in <entity>北京市</entity>.'" -d type='agdistis' http://139.18.2.164:8080/AGDISTIS_ZH

curl --data-urlencode "text='Die Stadt <entity>Dresden</entity> liegt in <entity>Sachsen</entity>.'" -d type='agdistis' http://139.18.2.164:8080/AGDISTIS_DE

Disclaimer

The deployed webservice does not reflect the optimal parametrization of AGDISTIS as published.

Clone this wiki locally