@prefix d: . @prefix ab: . d:mike ab:hasGrandfather d:pat . d:jane ab:hasGrandfather d:pat .