Skip to content

Define the notation and structure for communication between CERTH's software and WAGN

Notifications You must be signed in to change notification settings

chuenlok/data-structure

 
 

Repository files navigation

data-structure

Define the notation and structure for communication between CERTH's software and WAGN

What's needed from WAGN

  • A method to push new sources to CERTH (At the moment we pull the list "by hand" or we can have a cronjob for this)
  • A method to get the list of topics (and probably a push notification when new topic is added)
  • A method to get the list of companies (and probably a push notification when new company is added)

(Pushing new topics/companies/sources, etc are needed so as to update our collection(s) -> fetching, indexing, etc)

When to invoke CERTH services

  1. When user adds a new claim and enters the title
  • Input: title (or to be more precisely: a set of keywords --> we transform title to keywords after all), max_chars( maximum characters of description, 0 for returning whole description)
  • Output: a list of "links" relevant to the input consisting of: id, URL, title, array of related to the URL images, description, name of wikirate source if it's an internal "link"
  1. When user adds a new claim and enters a new source (URL)
  • Input: any valid URL, max_chars( maximum characters of description, 0 for returning whole description)
  • Output: a list of "links" relevant to the input consisting of: id, URL, title, array of related to the URL images, description, name of wikirate source if it's an internal "link"
  1. When user adds a new claim and enters a set of topics and/or set of companies
  • Input: topic, company and max_chars(optional)
  • Output: a list of results with id, title, url, array of related to the URL images and description.

Testing tools

About

Define the notation and structure for communication between CERTH's software and WAGN

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published