Concept Recommender Service (a.k.a Xowl Semantic Service)

Component ID

2514802

Component name

Concept Recommender Service (a.k.a Xowl Semantic Service)

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Ximdex Platform allow you to aggregate, edit, normalize, identify named entities, enrich content, transform, expand, retrieve, and publish data, from both structured and unstructured sources. You will be able to pull relevant information, share it, analyze it, and visualize it. See our demos at Ximdex Demo

Furthermore we have developed some clients for most popular cms platforms to consume our services. In this case for Drupal.

This client allows you to enrich your content managed into Drupal with a semantic layer using a named entity recognition service. You can test this service on-line here: Concept Recommender Demo

Requirements

  • Ckeditor module
  • jquery_update module
  • (Optional) potx module: "Translation template extractor" module allows easy strings translation during development.

Installing Xowl module

  • Install Xowl service client module, ckeditor module and jquery_update module.
  • Enable the three modules, it they are proeperly enabled you can see this.

Modules properly enabled

Xowl service

Start configuring the Xowl module. Access to its configuration on the tab called Xowl Configuration above or on the modules list, on the Xowl module's Configure link.

You have to select the content types that your are going to use to write your content and enrich it. Save the changes.

Xowl config 1

To configure the service's URL, go to the another configuration link called Xowl Server Configuration and enter a valid Xowl service URL (default: http://xowl.ximdex.net/api/v1). You will need a valid API token, if you don't have one, you have to visit the link xowl register and follow the steps:

Xowl config 2

CKeditor

You also have to configure the CKeditor to integrate properly a custom button for Xowl requests with your content.

Ckeditor config button
Ckeditor global settings

Check "Use toolbar Drag&Drop feature" as disabled.

Drag&drop disabled

To insert the own CSS of the Xowl module into CKeditor, go to configure -> Profiles -> Full -> edit

Expand CSS panel and set the input Editor CSS with the value Define CSS and the input CSS file path with the following value:

%hsites/all/modules/drupal7-xowl-client/resources/css/xowl.css

Next to css: Editor Appearance, add under "Maximize" a new item to the list: ['xowl_enhance_plugin_button']

Check the plugins list below and activate Xowl plugin to allow enhancing content in CKEditor

Save all the changes made.

Usage

To use this enrichment service, log in into your Drupal CMS and click on "Add new content" link and create, for example, a new article.

On the edition page, select Full Html text format on CKeditor options. Its toolbar will change and you'll see a new button at the end of the third row, pretty similar to a book and a pencil.

Now you can write some relevant sentences and then click on the Xowl button.

After a few seconds, all the recognized entities will be highlighted with a color and a number. The color means the following:

Content enrichment using Xowl service

  • Red: People
  • Green: Places
  • Yellow: Organizations
  • Light orange: Creative Works
  • Blue: Other catagories

We can click on it to select the correct dbpedia entity. Now we can save and see on the text became a link to dbpedia uri that represents that entity.

Semi-automatic entity disambiguation using Xowl service

Translations

Ensure "locale" module is enabled. Go to configuration -> Regional and language -> translate interface -> import Load local file translations/es.po and clear caches. Set spanish language in drupal administration.