Sign inSign up

bdevloed/eyeserver

By bdevloed

•Updated over 5 years ago

EYE Server

Image
3

7.7K

bdevloed/eyeserver repository overview

⁠What is EyeServer?

EyeServer is an HTTP server around the Semantic Web Reasoner EYE. You can send reasoning requests in the Notation3 (N3)⁠ and Turtle⁠ languages, and the server answers with the result of the reasoner.

In contrast to the EYE docker image⁠, this server has no start-up penalty for each request, as it remains active.

More details about the reasoner can be found on the EYE GitHub repo⁠

Learn more about Semantic Web Reasoning With EYE⁠ with a tutorial by Ruben Verborgh

⁠How to use this image

Start EyeServer as daemon on host post 8000:

docker run --name=eye_server -d -p 8000:8000 bdevloed/eyeserver

Use EyeServer:

curl "http://localhost:8000/?data=https://n3.restdesc.org/n3/friends.n3&data=https://n3.restdesc.org/n3/knows-rule.n3&query=https://n3.restdesc.org/n3/query-all.n3"

You can use the following query parameters:

  • data=URL: a URL to reasoner input in Turtle or N3
  • data=N3: URL-encoded reasoner input in Turtle or N3
  • query=URL: a URL to the reasoner's goal in Turtle or N3
  • query=N3: URL-encoded reasoner's goal in Turtle or N3
  • pass: apply all possible inferences (i.e., reason without specific goal)
  • nope=false: add the proof of the result in the response
  • quickAnswer: only give the first result

Stop EyeServer

docker rm -f eye_server

⁠Builds

Build Status The Dockerfile is available on GitHub⁠

Tag summary

Content type

Image

Digest

sha256:fe46c9841…

Size

83.3 MB

Last updated

over 5 years ago

docker pull bdevloed/eyeserver