I initially did it wrong:
- I used MySQL to copy tables.
This was bad because ARC2 uses a platform-specific hash function for one of the columns in the table.
So, I think the solution is simple:
// To export $store->createBackup('backup_file.spog'); // To import $store->query('LOAD <file://FULL_PATH_TO_FILE/backup_file.spog>');
I wanted to post this question if anyone has more suggestions. I am still new to RDF and ARC2.
Additional information about the ARC2 problem:
- To search for the URI of an object in a MySQL database, ARC2 uses http://php.net/crc32 hashing. The resulting integer is not 32 bits. Although crc32 () prepares the checksum using the "input string at 32-bit length at a time", the final integer value is platform dependent, which can be seen in the constants PHP_INT_SIZE and PHP_INT_MAX
source share