I'm pushing this out a bit early but the covid stuff is so depressing that I could use a pick-me-up. I'm giving myself the prize of releasing the first publicly available bites extension. It's a bit early because I'm having some problems getting tests to run. I keep getting
[main] INFO com.complexible.common.LinuxDistribution - Determined Linux distribution from file '/etc/os-release': CentOS 7.0 (7)
[main] INFO com.stardog.starrocks.NativeStorageKernel - --> file:/home/centos/git/kibbles-string/target/test-classes/
[main] INFO com.stardog.starrocks.NativeStorageKernel - --> file:/home/centos/git/kibbles-string/target/classes/
[main] ERROR com.complexible.stardog.BaseStardogModule - System information is invalid and the repair failed: Unexpected native ordinal: 130818
I have no idea what the problem is but I'll figure it out later. They seem to work though. These extractors compute the following hashes for your bites files. Md5, Sha1, Sha256, Sha384, and Sha512
I figured these might be handy to use with the reasoner to do exact file de-duplication since I don't think bites storage is content based. (I get why that is, because you'd have to do some sort of reference counting)
Installation: drop the jar into the $STARDOG_EXT directory and restart Stardog
Usage: stardog doc put --rdf-extractors Sha1 test bites-test.txt
https://github.com/semantalytics-stardog/kibbles-bites-hash/releases/tag/1.0.0-beta