@prefix :  <http://example.org/x/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .

_:sparql-dl a owl:Ontology .

:x rdf:type owl:NamedIndividual .
:a rdf:type owl:NamedIndividual .
:c rdf:type owl:Class .
:d rdf:type owl:Class .
:p rdf:type owl:ObjectProperty .

 :x rdf:type :c.
 :x rdf:type :d.
 :x rdf:type _:x.
 _:x rdf:type owl:Restriction.
 _:x owl:onProperty :p.
 _:x owl:someValuesFrom :c .
 :x :p :a .
 :a rdf:type :c .


