An open API service indexing awesome lists of open source software.

https://github.com/ximdex/xowl-service-api

Description of the API for the Xowl semantic service (named entity recognition via dbpedia, watson, etc.)
https://github.com/ximdex/xowl-service-api

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

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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
4. So if to make a low level request you can use curl: curl _URL_ -d 'token=_TOKEN_&content=_TEXTUAL CONTENT_'

Example:
```bash
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:
```javascript
{
"semantic": [LabelWithEntities, ...],
"text": "This is a very important text<\/a> that talks about 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](https://github.com/XIMDEX/drupal7-xowl-client), [drupal 8 client](https://github.com/XIMDEX/drupal8-xowl-client) and [wordpress 3.x client](https://github.com/XIMDEX/wp-xowl-client), these are plugins that integrates with those cms.
# Screenshots
>*[Wordpress Xowl client](https://github.com/XIMDEX/wp-xowl-client)*
![Wordpress client](https://github.com/XIMDEX/wp-xowl-client/raw/master/assets/imgs/screenshots/enhancement01.png)

>*[Drupal Xowl client](https://github.com/XIMDEX/drupal7-xowl-client)*
![Drupal client](https://github.com/XIMDEX/drupal7-xowl-client/blob/master/resources/images/drupal7_xowl_8.png?raw=true)

>*[Xowl inside Ximdex CMS](https://github.com/XIMDEX/ximdex)*
![Drupal client](/assets/ximdex_xowl.png)

>*[Xowl Demo](http://demo.ximdex.com/xowl/)*
![Drupal client](/assets/demo_xowl.png)