Giter Site home page Giter Site logo

ximdex / xowl-service-api Goto Github PK

View Code? Open in Web Editor NEW
1.0 17.0 0.0 428 KB

Description of the API for the Xowl semantic service (named entity recognition via dbpedia, watson, etc.)

Home Page: http://demo.ximdex.com/xowl

stanbol semantic-web linked-data json-ld ximdex-cms wordpress-plugin drupal-module semantic semantic-entities linked-open-data

xowl-service-api's Introduction

xowl-service-api

Xowl service is a product owned by Open Ximdex Evolution. It's a API service that enhance your content with semantic links. To be able to use the service follow the steps below:

  1. Register in ximdex platform: http://xowl.ximdex.net/register/signup
  2. Confirm your email an access the platform to grab your token.
  3. At this point you are ready to query the service, you can get a response using the following data:
  • endpoint: service url
  • token: is a string of character
  • content: text to be enhancer
  1. So if to make a low level request you can use curl: curl URL -d 'token=TOKEN&content=TEXTUAL CONTENT'

Example:

curl http://xowl.ximdex.net/api/v1/enhance -d 'token=TOKEN&content=This is a very important text that talks about Albert Einstein'

At this moment the api service support both GET and POST request, but depending on the tool you use, you may have to manually url-encode the parameters to make a correct query.

The response is always a json object with the following structure:

{
  "semantic": [LabelWithEntities, ...],
  "text": "This is a very important <a href=\"http://dbpedia.org/resource/TEXT\" class=\"xowl-suggestion\" data-cke-annotation=\"text\" data-cke-type=\"dOrganisation\" data-cke-suggestions=\"3\">text<\/a> that <a href=\"http://dbpedia.org/resource/Talks\" class=\"xowl-suggestion\" data-cke-annotation=\"talks\" data-cke-type=\"others\" data-cke-suggestions=\"2\">talks</a> about <a href=\"http://dbpedia.org/resource/Albert_Einstein\" class=\"xowl-suggestion\" data-cke-annotation=\"Albert Einstein\" data-cke-type=\"dPerson\" data-cke-suggestions=\"3\">Albert Einstein<\/a>"
}

The semantic key is an array with objects. Each of them represents a portion of the original text that have been recognized as an entity. In semantic world a string could refer to many entities, so each LabelWithEntities has an array called entities. It's up to the user/developer how to manage this information, depending on the editor, the cms/dms, the visual editor used... Check drupal 7 client, drupal 8 client and wordpress 3.x client, these are plugins that integrates with those cms.

Screenshots

Wordpress Xowl client Wordpress client

Drupal Xowl client Drupal client

Xowl inside Ximdex CMS Drupal client

Xowl Demo Drupal client

xowl-service-api's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.