Skip to content

Code to reproduce results in "Finding Streams in Knowledge Graphs to Support Fact Checking"

Notifications You must be signed in to change notification settings

saschaTrippel/knowledgestream

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Purpose

This fork was created to be used together with Favel

This is a fork of knowledgestream originally created by shiralkarprashant.

This fork introduces a TCP interface that can be used to submit assertions to the different fact validation approaches, instead of reading the assertions from a file.

Fetch

git clone https://github.com/saschaTrippel/knowledgestream
cd knowledgestream

Knowledgegraph

The software works with DBPedia.

The knowledgegraph has to be in a certain format. A knowledgegraph in turtle format such as it is provided by DBPedia can be transformed using knowledgestream-graph-transformer.

A knowledgegraph transformed from DBPedia-2022-03 can be downloaded here.

Install using docker

In the Dockerfile, specify which fact validation method shall be used, and on which port the container shall listen.

By default, the container runs Knowledgestream and listens on port 4444.

Execute in knowledgestream directory.

docker build -t knowledgestream .

Run docker

docker run -p 127.0.0.1:4444:4444 knowledgestream

Methods

The available fact validation methods and their respective arguments are:

  • Knowledgestream [stream]
  • REL-KL [relklinker]
  • KL [klinker]
  • Katz [katz]
  • Pathent [pathent]
  • SimRank [simrank]
  • Adamic Adar [adamic_adar]
  • Jaccard [jaccard]
  • Degree Product [degree_product]
  • PredPath [predpath]
  • PRA [pra]

About

Code to reproduce results in "Finding Streams in Knowledge Graphs to Support Fact Checking"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 64.5%
  • Cython 35.0%
  • Dockerfile 0.5%