Giter Club home page Giter Club logo

knowledge-graph's Introduction

MixedEmotions' knowledge-graph

Description

Creates Knowledge Graph from information processed by "Entity Extraction and Linking", and "Emotion Recognition from Text" module

This MixedEmotions Knowledge Graph was developed by NUIG.

Knowledge Graph provides insight into relations between recognized entities using semantic knowledge from DBpedia. KG module uses entities that are recognised by "Entity Extraction and Linking" module, and extracts relations between the entities from DBpedia. Once the relations are extracted and filtered, they are stored in Elasticsearch database, where using Kibi they are visualized.

REQUIREMENTS

This package requires python3.5.

Python libraries:

  • elasticsearch
  • Flask

DBpedia dumps from http://wiki.dbpedia.org/downloads-2016-04

Minimal list of required files:

  • infobox_properties_en.ttl
  • instance_types_en.ttl
  • persondata_en.ttl

Elasticsearch: 2.4.1

Kibi: kibi-enterprise-standard-4.6.3-2

USAGE

Type http://localhost:5000/

Description API call
Check default configuration GET /configuration
Modify the configuration POST /configuration
Reset back to default configuration GET /reset
Get status of the module GET /status
Create the Knowledge Graph GET /start

Usage example

Kibi already has to contain the source index pattern. In our example trump_tweets.

trump_tweets: index on elasticsearch that contains data processed by Entity Extraction and Linking, [Emotion Recognition from Text] module, and has a field text (that contains original text which was processed).

From Entity Extraction and Linking we use fields:

  • entity_linking.URI
  • entity_linking.EntityType

From Emotion Recognition from Text we use fields:

  • emotions.emotion

Submit credentials

http://localhost:5000/configuration PUT

{
"credentials": {
"elasticHost": "localhost",
"elasticPassword": "changeme",
"elasticPort": 9220,
"elasticUsername": "elastic"
},
  "variables": {
"inputIndexName": "trump_tweets",
"inputIndexType": "text_review"
}

}

Start Creation of graph

http://localhost:5000/start GET

Monitor progress

http://localhost:5000/status GET

View graph in Kibi

http://localhost:5606/app/kibana#/dashboard/Graph

ACKNOWLEDGEMENT

This development has been partially funded by the European Union through the MixedEmotions Project (project number H2020 655632), as part of the RIA ICT 15 Big data and Open Data Innovation and take-up programme.

MixedEmotions

EU

http://ec.europa.eu/research/participants/portal/desktop/en/opportunities/index.html

knowledge-graph's People

Contributors

andrejsab avatar

Watchers

Shubham Pachori 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.