Prefix(xsd:=<http://www.w3.org/2001/XMLSchema#>)
Prefix(owl:=<http://www.w3.org/2002/07/owl#>)
Prefix(xml:=<http://www.w3.org/XML/1998/namespace>)
Prefix(rdf:=<http://www.w3.org/1999/02/22-rdf-syntax-ns#>)
Prefix(rdfs:=<http://www.w3.org/2000/01/rdf-schema#>)
Prefix(ex:=<http://example.org/>)

Ontology(
ObjectPropertyAssertion(ex:hasName ex:john _:x)
DataPropertyAssertion(ex:givenName _:x "John"^^xsd:string)
DataPropertyAssertion(ex:familyName _:x "Doe"^^xsd:string)
)