size_file/2 in rdf_flush_journal/2 is referencing the file name of the journal, not it's path. This causes an error when prolog isn't being run from the directory containing the journal file (unlikely since it lives in a subdirectory of the store directory of rdf_persistency)
size_file/2
inrdf_flush_journal/2
is referencing the file name of the journal, not it's path. This causes an error when prolog isn't being run from the directory containing the journal file (unlikely since it lives in a subdirectory of the store directory of rdf_persistency)