@prefix eg: .
@prefix owl: .
@prefix rdf: .
@prefix rdfs: .
eg:Thing
a rdfs:Class ;
rdfs:subClassOf [
a owl:Restriction ;
owl:onProperty rdfs:label ;
owl:someValuesFrom rdf:PlainLiteral
] .
eg:s
a eg:Thing ;
rdfs:label "not plain"^^rdf:XMLLiteral ,
"plain" .