jfuentess / process_wikidata

Collection of scripts to process the Wikidata dataset
0 stars 0 forks source link

Fix delete_cycles.py #1

Closed jfuentess closed 2 months ago

jfuentess commented 2 months ago

The number of deleted edges is to high!

Check how to read the containment properties. For example:

How to fix it? include in the file _cyclepredicates.txt how to interprete the triples. For instance, change <http://www.wikidata.org/prop/direct/P150> <http://www.wikidata.org/prop/direct/P131>

by

<http://www.wikidata.org/prop/direct/P150> 0 <http://www.wikidata.org/prop/direct/P131> 1