 @prefix : <http://www.example.com#> .
 @prefix owl: <http://www.w3.org/2002/07/owl#> .
 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
<urn:test:testonotlogy> a owl:Ontology . :subject rdf:type owl:Class ;
   rdfs:subClassOf [ rdf:type owl:Restriction ;
                owl:onProperty :unknownproperty;
                owl:minCardinality "0"^^xsd:nonNegativeInteger
   ] .