Use our API

FALCON API can be run in two modes :

1. Relations and Entities linking in a sentence.


curl --header "Content-Type: application/json" \
  --request POST \
  --data '{"text":"Who painted The Storm on the Sea of Galilee?"}' \
  https://labs.tib.eu/falcon/api?mode=long

2. Keywords or terms linking


curl --header "Content-Type: application/json" \
  --request POST \
  --data '{"text":"germany"}' \
  https://labs.tib.eu/falcon/api?mode=short

Top K results can be retreived by adding "k=#" to the request link. For example:


curl --header "Content-Type: application/json" \
  --request POST \
  --data '{"text":"Who painted The Storm on the Sea of Galilee?"}' \
  https://labs.tib.eu/falcon/api?mode=long&k=3