public void testDifferentFromInBody() throws Exception {
OntModel ontModel = ModelFactory.createOntologyModel( PelletReasonerFactory.THE_SPEC, null );
ontModel.read( base + "sibling-rule.n3", "TTL" );
Resource alice = ontModel.createResource( "family:alice" );
Property sibling = ontModel.createProperty( "family:sibling" );
Resource bob = ontModel.createResource( "family:bob" );
assertTrue( ontModel.contains( alice, sibling, bob ) );
assertTrue( ontModel.contains( bob, sibling, alice ) );
assertEquals( Collections.singletonList(bob), ontModel.listObjectsOfProperty( alice, sibling ).toList() );