/newshack

BBC Newshack code

Primary LanguageScala

Topic Finder

to run the server, do

   sbt 'run-main TopicFinderServer'

this should run the server on localhost:8888.

Currently the server accepts get requests like

   http://localhost:8888/find/topic?id=http://dbpedia.org/resource/David_Cameron&id=http://dbpedia.org/resource/Barack_Obama

This returns related topics to both of the ids provided.

It can also handle queries for stories like

   http://localhost:8888/find/story?id=http://dbpedia.org/resource/David_Cameron&id=http://dbpedia.org/resource/Nigel_Farage&limit=5

This returns stories in which all (or a subset) of the entities play a role.