Class R2rmlTestSuiteProcessorH2
java.lang.Object
org.aksw.r2rml.jena.testsuite.processor.h2.R2rmlTestSuiteProcessorH2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisIsomorphic(org.apache.jena.query.Dataset expected, org.apache.jena.query.Dataset actual, boolean compareByValue) Check two datasets for isomorphism using comparison by value.static void
-
Constructor Details
-
R2rmlTestSuiteProcessorH2
public R2rmlTestSuiteProcessorH2()
-
-
Method Details
-
main
- Throws:
SQLExceptionIOException
-
isIsomorphic
public static boolean isIsomorphic(org.apache.jena.query.Dataset expected, org.apache.jena.query.Dataset actual, boolean compareByValue) Check two datasets for isomorphism using comparison by value. Internally converts the datasets into result sets with ?g ?s ?p ?o) bindings and compares them usinginvalid reference
ResultSetCompare#equalsByValue(org.apache.jena.query.ResultSet, org.apache.jena.query.ResultSet)- Parameters:
expected-actual-compareByValue- 'false' tests for equivalence of terms whereas 'true' tests for that of values- Returns:
-