@prefix ex: <http://example.com/ns#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

ex:validPerson1 a ex:Person ;
	ex:knows1 ex:1.

ex:1 ex:knows2 ex:peter .

ex:validPerson1 ex:knows1 ex:2 .

ex:peter a ex:Person.
