Loads triples from data file(s) into a disk-based RDF graph and runs a simple sanity test with a user-specified SELECT query in SPARQL.
This auxiliary utility can be used to verify that the transformed triples are valid and queryable.
USAGE: Execution command over JVM:
java -cp target/triplegeo-2.0-SNAPSHOT.jar eu.slipo.athenarc.triplegeo.extra.RDFGraphSanityTester
ARGUMENTS: (1) Path to the RDF file(s) that constitute the graph; all of them must have the same serialization format.
(2) Serialization of the RDF file(s), e.g., N-TRIPLES or TTL.
(3) Path to an existing directory on disk where the RDF graph model will be temporarily created.
(4) Path to the file with the SPARQL SELECT command that will be used to query the RDF graph and extract results.