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() );
assertEquals( Collections.singletonList(alice), ontModel.listObjectsOfProperty( bob, sibling ).toList() );
}
@Test
public void testRepeatedVars() throws Exception {