Skip to content

gadelrab/Exception_Enriched_Rules

8e044d632a
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
February 27, 2016 16:54
February 17, 2016 12:55
July 10, 2016 20:35
February 27, 2016 16:54
April 30, 2016 16:16
April 26, 2016 20:35

Development:

Requirements:

  1. maven

  2. Java 8

  3. recommended IntelliJ (not a must)

  4. Run scripts:

sh scripts/local_libs.sh

sh scripts/download_large_data.sh

  1. Import the project as maven project

Installation:

To install the project run scripts

mvn compile

mvn package

mvn install

Running Experiments:

sh run_experiment.sh for yago experiments

sh run_IMDB_experiment.sh fo IMDB experiments

Note: fix the directories inside the scripst to point to facts_to_mine.tsv file

Important Scripts:

To convert the KB from RDF to different formats rdf2int.sh <required conversion [SPMF|DLV_SAFE|PrASP]> <input file path> <output prefix>

Ex: sh assemble/bin/rdf2int.sh DLV_SAFE /GW/D5data-5/gadelrab/imdb/facts_to_mine_imdb.tsv /GW/D5data-5/gadelrab/imdb/in/facts_to_mine_imdb

SPMF : outputs transactional KB in numbers 1,2,3 for projected predicates DLV_SAFE : outputs unary Encoding in format p1234t(s1234o) for projected predicates. PrASP : outputs in PrASP format without encoding for example isMarriedToScientist(X). (Good fro viewing but causes problems with PrASP)

A mapping will be generated in case of encoding

for running examples running_scripts_sample.txt for examples running the main rule mining script mine_rules.sh

About

Learning Exception-aware rules over KGs.

Resources

Stars

Watchers

Forks

Releases

No releases published