@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix : <http://example.org/test#> .

_:simple a owl:Ontology .

:A a owl:Class .   
:B a owl:Class .
:C a owl:Class .

:p a owl:ObjectProperty , owl:FunctionalProperty .

:a a :A , :B ;
   :p :b .
   
:b a :B ;
   :p :c .
   
:c a :C ;
   :p :d .
   
:d a :A , :B , :C .       

