Skip to content

A simple algorithm for adding entities to a knowledge base. Used by https://trilight.cloud to manager entity information

Notifications You must be signed in to change notification settings

Davidwarchy/knowledgecheck

Repository files navigation

Knowledgecheck - A Sequence For Entity Checking from a Phrase

I think that there are a few components involved while looking up a phrase.

  1. Local KG check
  2. Foreign KG check
  3. Dictionary Check
  4. Trimming the phrase

Sequence

image

The local is a simple table listing names of entities

The foreign kg is check is done with a query to https://lookup.dbpedia.org/

The dic is by wordnet https://wordnet.princeton.edu/

Prerequisites

  1. Python https://www.python.org/downloads/
  2. Pip (add pip to system path) - most versions of python do this automatically.
    Run pip on the command prompt to see if it's installed

Warnings

  1. The project installs dependencies automatically if prerequisites are installed well.
  2. This has been tested only on windows and may break on linux

Clone or download the project

Clone

https://github.com/Davidwarchy/knowledgecheck.git

OR

Download & Unzip

image

Run

py .\run.py

Output for the process ought to resemble this:

image

View entities in our local knowledge graph

You can run this command to check the entities in our local knowledge graph currently.

py .\lkg.py

About

A simple algorithm for adding entities to a knowledge base. Used by https://trilight.cloud to manager entity information

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages