// Setup input for the reasoner
Model input = ModelFactory.createUnion(TestData.foaf,
TestData.alexdma.getModel());
// Is enridaga a foaf:Person?
InfModel inferred = reasoningService.run(input);
Statement isPerson = TestData.model.createStatement(TestData.enridaga,
RDF.type, TestData.foaf_Person);
// log.info("Statements: {}", TestUtils.printStatements(inferred,
// TestData.enridaga, RDF.type));
log.info("Is any rdfs:range of foaf:knows a foaf:Person...(true)? {}",
inferred.contains(isPerson));
assertTrue(inferred.contains(isPerson));
// Reset resource to be clean for other tests
TestData.alexdma.removeProperties();
}