Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
crf_experiments_five_rel
entity_list_all_rel
entity_list_five_rel
experiments_wikidata_rel
lstm_experiments_five_rel
.gitattributes
.gitignore
README.md
hasChild.png

README.md

ISWC 2018 Experimental Details

Requirements

  • Build the required CINEX JARs
ant -f CINEXPreprocessing.xml
ant -f CINEXClassifier.xml
ant -f CINEXEvaluation.xml
  • Download and install CRF++, then set the $CRFPATH in the bash scripts.
  • Install Tensorflow for experiments with bi-LSTM-CRF.

Experiments on five relations

CRF

Please check the crf_experiments_five_rel/iswc_experiment_crf_five_rel.sh bash script (which calls crf_experiments_five_rel/iswc_experiment_crf_per_relation.sh and crf_experiments_five_rel/iswc_experiment_crf_per_relation_negation.sh--for zero counting quantifiers):

#!/bin/bash

#Five relations: containsWork (P527_Q7725310), containsAdmin (P150), hasMember (P527_Q2088357), 
#hasChild (P40) and P26 (hasSpouse)
sh iswc_experiment_crf_per_relation.sh P527_Q7725310 1.0 0.1
sh iswc_experiment_crf_per_relation.sh P150 1.0 0.2
sh iswc_experiment_crf_per_relation.sh P527_Q2088357 0.5 0.1
sh iswc_experiment_crf_per_relation.sh P40 0.5 0.1
sh iswc_experiment_crf_per_relation.sh P26 0.5 0.1

#Zero counting quantifier (negation): hasZeroChild (P40) and hasZeroSpouse (P26)
sh iswc_experiment_crf_per_relation_negation.sh P40 0.5 0.1
sh iswc_experiment_crf_per_relation_negation.sh P26 0.5 0.1
Performance Results

The performance results can be viewed in crf_experiments_five_rel/performance_crf_five_rel_manual.tsv and crf_experiments_five_rel/performance_crf_five_rel_neg.tsv--for zero counting quantifiers.

Predicted Counting Quantifiers

The predicted counting quantifiers for each relation are available in crf_experiments_five_rel/crf_five_rel_predicted/, in the format of tab-separated values (.tsv), e.g., for hasChild relation (wdt:P40):

sample hasChild (P40)

bi-LSTM-CRF

Please check the lstm_experiments_five_rel/iswc_experiment_lstm_five_rel.sh bash script (which calls lstm_experiments_five_rel/iswc_experiment_lstm_per_relation.sh.

Performance Results

The performance results can be viewed in lstm_experiments_five_rel/performance_lstm_five_rel.tsv.

Predicted Counting Quantifiers

The predicted counting quantifiers for each relation are available in crf_experiments_five_rel/crf_five_rel_predicted/, in the format of tab-separated values (.tsv).

Experiments on ~2.5K Wikidata relations

  1. Please check the experiments_wikidata_rel/iswc_prepare_feature_all_classes.sh bash script to prepare the feature data for all entities in a given class (which calls experiments_wikidata_rel/iswc_prepare_feature_per_class.sh)
  2. Please check the experiments_wikidata_rel/iswc_experiment_all_classes.sh bash script to run the experiments for all relations related to a given class (which calls experiments_wikidata_rel/iswc_experiment_per_class.sh)
Predicted Counting Quantifiers

The predicted counting quantifiers for (selected 37) Wikidata relations, by running the learned models on all entities in a class given a Wikidata property-class pair (e.g., all child of humans), can be queried at https://cinex.cs.ui.ac.id/.

Publication

Paramita Mirza, Simon Razniewski, Fariz Darari and Gerhard Weikum. Enriching Knowledge Bases with Counting Quantifiers. In Proceedings of ISWC 2018. [pdf]

Contact

For more information please contact Paramita Mirza (paramita135@gmail.com).