Namespace(rdf	= <http://www.w3.org/1999/02/22-rdf-syntax-ns#>)
Namespace(xsd	= <http://www.w3.org/2001/XMLSchema#>)
Namespace(rdfs	= <http://www.w3.org/2000/01/rdf-schema#>)
Namespace(owl	= <http://www.w3.org/2002/07/owl#>)
Namespace(a	= <http://www.owl-ontologies.com/unnamed.owl#>)

Ontology( <http://www.owl-ontologies.com/unnamed.owl>

 ObjectProperty(a:bornIn Functional
  inverseOf(a:inverse_of_bornIn)
  domain(a:Person)
  range(a:City))
 ObjectProperty(a:for Functional
  inverseOf(a:inverse_of_for)
  domain(a:SingleReservation)
  range(a:Person))
 ObjectProperty(a:into Functional
  inverseOf(a:inverse_of_into)
  domain(a:Place)
  range(a:Theatre))
 ObjectProperty(a:inverse_of_bornIn InverseFunctional
  inverseOf(a:bornIn)
  domain(a:City)
  range(a:Person))
 ObjectProperty(a:inverse_of_for InverseFunctional
  inverseOf(a:for)
  domain(a:Person)
  range(a:SingleReservation))
 ObjectProperty(a:inverse_of_into InverseFunctional
  inverseOf(a:into)
  domain(a:Theatre)
  range(a:Place))
 ObjectProperty(a:inverse_of_locatedIn Functional
  inverseOf(a:locatedIn)
  domain(a:City)
  range(a:Theatre))
 ObjectProperty(a:inverse_of_makes Functional
  inverseOf(a:makes)
  domain(a:Reservation)
  range(a:Person))
 ObjectProperty(a:inverse_of_pp InverseFunctional
  inverseOf(a:pp)
  domain(a:Place)
  range(a:AssignedPlace))
 ObjectProperty(a:inverse_of_psp Functional InverseFunctional
  inverseOf(a:psp)
  domain(a:AssignedPlace)
  range(a:SingleReservation))
 ObjectProperty(a:inverse_of_relativeTo InverseFunctional
  inverseOf(a:relativeTo)
  domain(a:Theatre)
  range(a:GroupReservation))
 ObjectProperty(a:inverse_of_residentIn InverseFunctional
  inverseOf(a:residentIn)
  domain(a:City)
  range(a:Person))
 ObjectProperty(a:locatedIn InverseFunctional
  inverseOf(a:inverse_of_locatedIn)
  domain(a:Theatre)
  range(a:City))
 ObjectProperty(a:makes InverseFunctional
  inverseOf(a:inverse_of_makes)
  domain(a:Person)
  range(a:Reservation))
 ObjectProperty(a:pp Functional
  inverseOf(a:inverse_of_pp)
  domain(a:AssignedPlace)
  range(a:Place))
 ObjectProperty(a:psp Functional InverseFunctional
  inverseOf(a:inverse_of_psp)
  domain(a:SingleReservation)
  range(a:AssignedPlace))
 ObjectProperty(a:relativeTo Functional
  inverseOf(a:inverse_of_relativeTo)
  domain(a:GroupReservation)
  range(a:Theatre))
 ObjectProperty(a:residentIn Functional
  inverseOf(a:inverse_of_residentIn)
  domain(a:Person)
  range(a:City))

 DatatypeProperty(a:assignedPlaceDate Functional
  domain(a:AssignedPlace)
  range(xsd:date))
 DatatypeProperty(a:averageWage Functional
  domain(a:City)
  range(xsd:float))
 DatatypeProperty(a:birthDate Functional
  domain(a:Person)
  range(xsd:date))
 DatatypeProperty(a:category Functional
  domain(a:Place)
  range(xsd:int))
 DatatypeProperty(a:cityName Functional
  domain(a:City)
  range(xsd:string))
 DatatypeProperty(a:discount
  domain(a:GroupReservation)
  range(xsd:float))
 DatatypeProperty(a:fiscalCode Functional
  domain(a:Person)
  range(xsd:string))
 DatatypeProperty(a:foundationDate Functional
  domain(a:Theatre)
  range(xsd:gYear))
 DatatypeProperty(a:gender Functional
  domain(a:Person)
  range(oneOf("female"^^<http://www.w3.org/2001/XMLSchema#string> "male"^^<http://www.w3.org/2001/XMLSchema#string>)))
 DatatypeProperty(a:groupDate Functional
  domain(a:GroupReservation)
  range(xsd:date))
 DatatypeProperty(a:groupReservationNumber Functional
  domain(a:GroupReservation)
  range(xsd:int))
 DatatypeProperty(a:paidAmount Functional
  domain(a:Reservation)
  range(xsd:float))
 DatatypeProperty(a:placeNumber Functional
  domain(a:Place)
  range(xsd:int))
 DatatypeProperty(a:region Functional
  domain(a:City)
  range(xsd:string))
 DatatypeProperty(a:reservationCode Functional
  domain(a:Reservation)
  range(xsd:string))
 DatatypeProperty(a:row Functional
  domain(a:Place)
  range(xsd:string))
 DatatypeProperty(a:theatreName Functional
  domain(a:Theatre)
  range(xsd:string))

 Class(a:AssignedPlace complete 
  intersectionOf(restriction(a:pp minCardinality(1)) restriction(a:inverse_of_psp minCardinality(1))))
 Class(a:City partial)
 Class(a:GroupReservation complete 
  restriction(a:relativeTo minCardinality(1)))
 Class(a:GroupReservation partial 
  a:Reservation)
 Class(a:Person complete 
  intersectionOf(restriction(a:residentIn minCardinality(1)) restriction(a:bornIn minCardinality(1))))
 Class(a:Place complete 
  restriction(a:into minCardinality(1)))
 Class(a:Reservation complete 
  intersectionOf(unionOf(a:GroupReservation a:SingleReservation) restriction(a:inverse_of_makes minCardinality(1))))
 Class(a:SingleReservation complete 
  intersectionOf(restriction(a:for minCardinality(1)) restriction(a:psp minCardinality(1))))
 Class(a:SingleReservation partial 
  a:Reservation)
 Class(a:Theatre complete 
  restriction(a:locatedIn minCardinality(1)))

 DisjointClasses(a:City a:SingleReservation)
 DisjointClasses(a:Person a:Theatre)
 DisjointClasses(a:GroupReservation a:SingleReservation)
 DisjointClasses(a:City a:GroupReservation)
 DisjointClasses(a:AssignedPlace a:Theatre)
 DisjointClasses(a:Theatre a:Place)
 DisjointClasses(a:Reservation a:Theatre)
 DisjointClasses(a:Person a:SingleReservation)
 DisjointClasses(a:Person a:City)
 DisjointClasses(a:SingleReservation a:AssignedPlace)
 DisjointClasses(a:Person a:GroupReservation)
 DisjointClasses(a:SingleReservation a:Place)
 DisjointClasses(a:City a:AssignedPlace)
 DisjointClasses(a:GroupReservation a:AssignedPlace)
 DisjointClasses(a:City a:Place)
 DisjointClasses(a:GroupReservation a:Place)
 DisjointClasses(a:City a:Reservation)
 DisjointClasses(a:Person a:AssignedPlace)
 DisjointClasses(a:Person a:Place)
 DisjointClasses(a:AssignedPlace a:Place)
 DisjointClasses(a:Person a:Reservation)
 DisjointClasses(a:Reservation a:AssignedPlace)
 DisjointClasses(a:Reservation a:Place)
 DisjointClasses(a:SingleReservation a:Theatre)
 DisjointClasses(a:City a:Theatre)
 DisjointClasses(a:GroupReservation a:Theatre)

)
