PREFIX ontofhrs: <http://www.theworldavatar.com/ontology/OntoFHRS/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ontofhrs:CateringPremise a rdfs:Class ;
  rdfs:label "Catering Premise" ;
  rdfs:comment "A food establishment that generally serves food to be consumed on its premises." ;
  rdfs:subClassOf ontofhrs:BusinessEstablishment .

ontofhrs:hasHygieneScore a rdf:Property ;
  rdfs:label "has hygiene score" ;
  rdfs:comment "An object property referring to the hygiene score of a business establishment." ;
  rdfs:domain ontofhrs:BusinessEstablishment ;
  rdfs:range ontofhrs:HygieneScore .

ontofhrs:hasFHRSID a rdf:Property ;
  rdfs:label "has fhrs id" ;
  rdfs:comment "A datatype property that represents the FHRS identifier of a business establishment." ;
  rdfs:domain ontofhrs:BusinessEstablishment ;
  rdfs:range xsd:string .

ontofhrs:hasName a rdf:Property ;
  rdfs:label "has name" ;
  rdfs:comment "A datatype property that represents the human-readable identifier or name of an entity, such as a business establishment, local authority, and district council." ;
  rdfs:range xsd:string .

ontofhrs:isNewRatingPending a rdf:Property ;
  rdfs:label "is new rating pending" ;
  rdfs:comment "A datatype property that indicates whether a business establishment is awaiting the assignment of a new rating." ;
  rdfs:domain ontofhrs:BusinessEstablishment ;
  rdfs:range xsd:boolean .

ontofhrs:hasRating a rdf:Property ;
  rdfs:label "has rating" ;
  rdfs:comment "An object property referring to the rating of a business establishment." ;
  rdfs:domain ontofhrs:BusinessEstablishment ;
  rdfs:range ontofhrs:Rating .

ontofhrs:hasConfidenceInManagementScore a rdf:Property ;
  rdfs:label "has confidence in management score" ;
  rdfs:comment "An object property referring to the confidence in management score of a business establishment." ;
  rdfs:domain ontofhrs:BusinessEstablishment ;
  rdfs:range ontofhrs:ConfidenceInManagementScore .

ontofhrs:hasAddress a rdf:Property ;
  rdfs:label "has address" ;
  rdfs:comment "An object property referring to the address of a business establishment." ;
  rdfs:domain ontofhrs:BusinessEstablishment ;
  rdfs:range <http://ies.data.gov.uk/ontology/ies4#Address> .

ontofhrs:hasDistrictCouncil a rdf:Property ;
  rdfs:label "has district council" ;
  rdfs:comment "An object property referring to the district council a business establishment is located." ;
  rdfs:domain ontofhrs:BusinessEstablishment ;
  rdfs:range ontofhrs:DistrictCouncil .

<http://www.opengis.net/ont/geosparql#asWKT> a rdf:Property ;
  rdfs:label "as WKT" ;
  rdfs:domain ontofhrs:BusinessEstablishment ;
  rdfs:range <http://www.opengis.net/ont/geosparql#wktLiteral> .

ontofhrs:hasLocalAuthority a rdf:Property ;
  rdfs:label "has local authority" ;
  rdfs:comment "An object property referring to the local authority of a business establishment." ;
  rdfs:domain ontofhrs:BusinessEstablishment ;
  rdfs:range ontofhrs:LocalAuthority .

ontofhrs:hasStructuralScore a rdf:Property ;
  rdfs:label "has structural score" ;
  rdfs:comment "An object property referring to the structural score of a business establishment." ;
  rdfs:domain ontofhrs:BusinessEstablishment ;
  rdfs:range ontofhrs:StructuralScore .

ontofhrs:hasLocalAuthorityBusinessID a rdf:Property ;
  rdfs:label "has local authority business id" ;
  rdfs:comment "A datatype property that represents the business identifier assigned by a local authority to a business establishment." ;
  rdfs:domain ontofhrs:BusinessEstablishment ;
  rdfs:range xsd:string .

ontofhrs:StructuralScore a rdfs:Class ;
  rdfs:label "Structural Score" ;
  rdfs:comment "A score indicating the level of structural adequacy required to operate safely and the design layout that prevents cross-contamination in a business establishment that serves or sells food and drinks. The score can be 0, 5, 10, 15, 20 or 25. The lower the score, the better. The following document provides a detailed description of the structural score: https://www.ncass.org.uk/wp-content/uploads/2023/01/Food-Hygiene-Rating-Scheme-Guide.pdf." ;
  rdfs:subClassOf ontofhrs:Score .

ontofhrs:hasValue a rdf:Property ;
  rdfs:label "has value" ;
  rdfs:comment "A datatype property that represents the value of the rating or hygiene score of a business establishment." ;
  rdfs:range xsd:string .

ontofhrs:Pub a rdfs:Class ;
  rdfs:label "Pub" ;
  rdfs:comment "A business establishment that serves alcoholic drinks, especially beer, as well as other beverages, and often offers light meals." ;
  rdfs:subClassOf ontofhrs:BusinessEstablishment .

ontofhrs:FoodDistributor a rdfs:Class ;
  rdfs:label "Food Distributor" ;
  rdfs:comment "A business establishment that distributes food products from manufacturers and producers to retailers, restaurants and other outlets." ;
  rdfs:subClassOf ontofhrs:BusinessEstablishment .

<http://ies.data.gov.uk/ontology/ies4#BoundingState> a rdfs:Class ;
  rdfs:label "Bounding State" .

ontofhrs:GrowerFoodFacility a rdfs:Class ;
  rdfs:label "Grower Food Facility" ;
  rdfs:comment "A business establishment where growers sell locally produced food products or drink." ;
  rdfs:subClassOf ontofhrs:BusinessEstablishment .

ontofhrs:Hypermarket a rdfs:Class ;
  rdfs:label "Hypermarket" ;
  rdfs:comment "A large-scale supermarket often located on the outskirts of a city, offering a vast array of goods including groceries, clothes, furniture, and household items." ;
  rdfs:subClassOf ontofhrs:BusinessEstablishment .

ontofhrs:HygieneScore a rdfs:Class ;
  rdfs:label "Hygiene Score" ;
  rdfs:comment "A score indicating the food safety and hygiene of a business establishment that serves or sells food and drinks. The score can be 0, 5, 10, 15, 20 or 25. The lower the score, the better. The following document provides a detailed description of the hygiene score: https://www.ncass.org.uk/wp-content/uploads/2023/01/Food-Hygiene-Rating-Scheme-Guide.pdf." ;
  rdfs:subClassOf ontofhrs:Score .

ontofhrs:ChildcarePremiseFoodFacility a rdfs:Class ;
  rdfs:label "Childcare Premise Food Facility" ;
  rdfs:comment "A food facility within a childcare centre serving meals and snacks to children." ;
  rdfs:subClassOf ontofhrs:BusinessEstablishment .

ontofhrs:UniversityCanteen a rdfs:Class ;
  rdfs:label "University Canteen" ;
  rdfs:comment "A canteen located on a university campus that offers food and beverages to students, faculty, staff, and sometimes visitors." ;
  rdfs:subClassOf ontofhrs:Canteen .

ontofhrs:CollegeCanteen a rdfs:Class ;
  rdfs:label "College Canteen" ;
  rdfs:comment "A canteen that offers food and drinks to students, faculty and staff on a college campus." ;
  rdfs:subClassOf ontofhrs:Canteen .

ontofhrs:Canteen a rdfs:Class ;
  rdfs:label "Canteen" ;
  rdfs:comment "A business establishment that serves food and drinks in educational institutions, workplaces, or other organisations." ;
  rdfs:subClassOf ontofhrs:BusinessEstablishment .

ontofhrs:BusinessEstablishment a rdfs:Class ;
  rdfs:label "Business Establishment" ;
  rdfs:comment "An establishment dedicated to commercial activities, goods production, processing, storage, or offering services." .

<http://ies.data.gov.uk/ontology/ies4#ParticularPeriod> a rdfs:Class ;
  rdfs:label "Particular Period" .

<http://ies.data.gov.uk/ontology/ies4#iso8601PeriodRepresentation> a rdf:Property ;
  rdfs:label "iso 8601 period representation" ;
  rdfs:domain <http://ies.data.gov.uk/ontology/ies4#ParticularPeriod> ;
  rdfs:range xsd:anyURI .

ontofhrs:Rating a rdfs:Class ;
  rdfs:label "Rating" ;
  rdfs:comment "The level of standard maintained by a business establishment for food safety and preparation,  on a scale from 5, indicating very good, to 0 indicating urgent improvement required. The following document provides a detailed description of the Food Hygiene Rating Scheme: https://www.ncass.org.uk/wp-content/uploads/2023/01/Food-Hygiene-Rating-Scheme-Guide.pdf." .

ontofhrs:indicatesQuality a rdf:Property ;
  rdfs:label "indicates quality" ;
  rdfs:comment "A datatype property that represents the quality of the rating of a business establishment. The quality can be very good, good, generally satisfactory, improvement necessary, major improvement necessary or urgent improvement necessary." ;
  rdfs:domain ontofhrs:Rating ;
  rdfs:range xsd:string .

ontofhrs:hasRatingScheme a rdf:Property ;
  rdfs:label "has rating scheme" ;
  rdfs:comment "An object property referring to the rating scheme used to calculate the rating of a business establishment." ;
  rdfs:domain ontofhrs:Rating ;
  rdfs:range ontofhrs:RatingScheme .

ontofhrs:hasKey a rdf:Property ;
  rdfs:label "has key" ;
  rdfs:comment "A datatype property that represents the key of the rating of a business establishment." ;
  rdfs:domain ontofhrs:Rating ;
  rdfs:range xsd:string .

ontofhrs:FoodPacker a rdfs:Class ;
  rdfs:label "Food Packer" ;
  rdfs:comment "A business establishment that packages food products for shipment, distribution, delivery and consumption." ;
  rdfs:subClassOf ontofhrs:BusinessEstablishment .

ontofhrs:BedandBreakfast a rdfs:Class ;
  rdfs:label "Bed and Breakfast" ;
  rdfs:comment "A small-scale lodging establishment, typically in a private home, that provides overnight stay and breakfast to travellers." ;
  rdfs:subClassOf ontofhrs:BusinessEstablishment .

ontofhrs:Takeaway a rdfs:Class ;
  rdfs:label "Takeaway" ;
  rdfs:comment "A food establishment that sells cooked food to be eaten elsewhere, away from its premises." ;
  rdfs:subClassOf ontofhrs:BusinessEstablishment .

ontofhrs:HospitalPremiseFoodFacility a rdfs:Class ;
  rdfs:label "Hospital Premise Food Facility" ;
  rdfs:comment "A business establishment within a hospital that serves food and beverages to patients, staff, and visitors." ;
  rdfs:subClassOf ontofhrs:BusinessEstablishment .

ontofhrs:BusinessEstablishmentStart a rdfs:Class ;
  rdfs:label "Business Establishment Start" ;
  rdfs:comment "Tthe official date when the business began operations or was inaugurated." ;
  rdfs:subClassOf <http://ies.data.gov.uk/ontology/ies4#BoundingState> .

<http://ies.data.gov.uk/ontology/ies4#isStartOf> a rdf:Property ;
  rdfs:label "is start of" ;
  rdfs:comment "An object property representing the start date of a business establishment." ;
  rdfs:range ontofhrs:BusinessEstablishment .

<http://ies.data.gov.uk/ontology/ies4#inPeriod> a rdf:Property ;
  rdfs:label "in period" ;
  rdfs:comment "An object property relating the start or end of an entity or event to a specific period." ;
  rdfs:range <http://ies.data.gov.uk/ontology/ies4#ParticularPeriod> .

ontofhrs:MobileCaterer a rdfs:Class ;
  rdfs:label "Mobile Caterer" ;
  rdfs:comment "A business establishment that serves food and drinks from a vehicle that can move from one location to another." ;
  rdfs:subClassOf ontofhrs:BusinessEstablishment .

<https://dbpedia.org/ontology/Country> a rdfs:Class ;
  rdfs:label "Country" .

ontofhrs:ConfidenceInManagementScore a rdfs:Class ;
  rdfs:label "Confidence In Management Score" ;
  rdfs:comment "A score indicating the adequacy of implementing food safety management procedures, staff training, and awareness of potential hazards in a business establishment that serves or sells food and drinks. The score can be 0, 5, 10, 20 or 30. The lower the score, the better. The following document provides a detailed description of the confidence in management score: https://www.ncass.org.uk/wp-content/uploads/2023/01/Food-Hygiene-Rating-Scheme-Guide.pdf." ;
  rdfs:subClassOf ontofhrs:Score .

<http://ies.data.gov.uk/ontology/ies4#Address> a rdfs:Class ;
  rdfs:label "Address" ;
  rdfs:comment "A collection of information required to identify the exact place or location of a business establishment." .

ontofhrs:hasCity a rdf:Property ;
  rdfs:label "has city" ;
  rdfs:comment "An object property referring to the city provided in the address of a business establishment." ;
  rdfs:domain <http://ies.data.gov.uk/ontology/ies4#Address> ;
  rdfs:range <https://dbpedia.org/ontology/City> .

ontofhrs:hasCountry a rdf:Property ;
  rdfs:label "has country" ;
  rdfs:comment "An object property referring to the country provided in the address of a business establishment." ;
  rdfs:domain <http://ies.data.gov.uk/ontology/ies4#Address> ;
  rdfs:range <https://dbpedia.org/ontology/Country> .

<http://ontology.eil.utoronto.ca/icontact.owl#hasStreet> a rdf:Property ;
  rdfs:label "has street" ;
  rdfs:comment "A datatype property that represents the name of the street in the address of a business establishment." ;
  rdfs:domain <http://ies.data.gov.uk/ontology/ies4#Address> ;
  rdfs:range xsd:string .

ontofhrs:hasStreetNumber a rdf:Property ;
  rdfs:label "has street number" ;
  rdfs:comment "A datatype property that denotes the street number component in the address of a business establishment." ;
  rdfs:domain <http://ies.data.gov.uk/ontology/ies4#Address> ;
  rdfs:range xsd:string .

ontofhrs:hasRegion a rdf:Property ;
  rdfs:label "has region" ;
  rdfs:comment "An object property referring to the region provided in the address of a business establishment." ;
  rdfs:domain <http://ies.data.gov.uk/ontology/ies4#Address> ;
  rdfs:range <https://dbpedia.org/ontology/Region> .

ontofhrs:hasPostcode a rdf:Property ;
  rdfs:label "has postcode" ;
  rdfs:comment "A datatype property that represents the postcode in the address of a business establishment." ;
  rdfs:domain <http://ies.data.gov.uk/ontology/ies4#Address> ;
  rdfs:range xsd:string .

ontofhrs:BusinessEstablishmentEnd a rdfs:Class ;
  rdfs:label "Business Establishment End" ;
  rdfs:comment "The date of decommissioning or closure of a business establishment." ;
  rdfs:subClassOf <http://ies.data.gov.uk/ontology/ies4#BoundingState> .

<http://ies.data.gov.uk/ontology/ies4#isEndOf> a rdf:Property ;
  rdfs:label "is end of" ;
  rdfs:comment "An object property representing the end date of a business establishment." ;
  rdfs:range ontofhrs:BusinessEstablishment .

<https://dbpedia.org/ontology/Region> a rdfs:Class ;
  rdfs:label "Region" .

ontofhrs:Hotel a rdfs:Class ;
  rdfs:label "Hotel" ;
  rdfs:comment "A business establishment that provides travellers lodging, meals and other services." ;
  rdfs:subClassOf ontofhrs:BusinessEstablishment .

ontofhrs:SandwichShop a rdfs:Class ;
  rdfs:label "Sandwich Shop" ;
  rdfs:comment "A food establishment that generally sells a variety of sandwiches, often prepared on the premises." ;
  rdfs:subClassOf ontofhrs:BusinessEstablishment .

ontofhrs:RatingScheme a rdfs:Class ;
  rdfs:label "Rating Scheme" ;
  rdfs:comment "A scheme to assess hygiene practices, food handling, structural conditions, and management procedures of business establishments serving or selling food and drinks." .

ontofhrs:Restaurant a rdfs:Class ;
  rdfs:label "Restaurant" ;
  rdfs:comment "A business establishment where people can consume food and drinks." ;
  rdfs:subClassOf ontofhrs:BusinessEstablishment .

ontofhrs:FoodRetailer a rdfs:Class ;
  rdfs:label "Food Retailer" ;
  rdfs:comment "A business establishment that sells food products directly to the public, end users or consumers." ;
  rdfs:subClassOf ontofhrs:BusinessEstablishment .

ontofhrs:Bar a rdfs:Class ;
  rdfs:label "Bar" ;
  rdfs:comment "A business establishment that serves alcoholic drinks." ;
  rdfs:subClassOf ontofhrs:BusinessEstablishment .

ontofhrs:RatingStart a rdfs:Class ;
  rdfs:label "Rating Start" ;
  rdfs:comment "The initial date when a rating became effective for a business establishment." ;
  rdfs:subClassOf <http://ies.data.gov.uk/ontology/ies4#BoundingState> .

<https://dbpedia.org/ontology/City> a rdfs:Class ;
  rdfs:label "City" .

ontofhrs:NightClub a rdfs:Class ;
  rdfs:label "Night Club" ;
  rdfs:comment "A business establishment that remains open until late at night, offering food and drink alongside entertainment such as live music, dance performances, and dancing opportunities." ;
  rdfs:subClassOf ontofhrs:BusinessEstablishment .

ontofhrs:CaringPremiseFoodFacility a rdfs:Class ;
  rdfs:label "Caring Premise Food Facility" ;
  rdfs:comment "A food facility within a caring premise that provides meals and snacks tailored to the dietary needs of residents." ;
  rdfs:subClassOf ontofhrs:BusinessEstablishment .

ontofhrs:DistrictCouncil a rdfs:Class ;
  rdfs:label "District council" ;
  rdfs:comment "An administrative unit with responsibilities for providing rubbish collection, recreational, environmental, and other services within the associated geographical boundary." .

ontofhrs:RatingEnd a rdfs:Class ;
  rdfs:label "Rating End" ;
  rdfs:comment "The date on which a rating of a business establishment expired." ;
  rdfs:subClassOf <http://ies.data.gov.uk/ontology/ies4#BoundingState> .

ontofhrs:Score a rdfs:Class ;
  rdfs:label "Score" ;
  rdfs:comment "A quantitative measure indicating the overall quality, including food safety and hygiene, structural adequacy, and food safety management procedure of a business establishment that serves or sells food and drinks." .

ontofhrs:Supermarket a rdfs:Class ;
  rdfs:label "Supermarket" ;
  rdfs:comment "A business establishment that sells groceries, food, dairy products and household items." ;
  rdfs:subClassOf ontofhrs:BusinessEstablishment .

ontofhrs:FoodManufacturer a rdfs:Class ;
  rdfs:label "Food Manufacturer" ;
  rdfs:comment "A business establishment that processes raw ingredients into consumable food products." ;
  rdfs:subClassOf ontofhrs:BusinessEstablishment .

ontofhrs:LocalAuthority a rdfs:Class ;
  rdfs:label "Local Authority" ;
  rdfs:comment "An organisation that is officially responsible for overseeing all public services and amenities within a specific region, guided by the local government." .

ontofhrs:hasLocalAuthorityCode a rdf:Property ;
  rdfs:label "has local authority code" ;
  rdfs:comment "A datatype property that represents the unique identifier code assigned to a local authority." ;
  rdfs:domain ontofhrs:LocalAuthority ;
  rdfs:range xsd:string .

ontofhrs:hasEmailAddress a rdf:Property ;
  rdfs:label "has email address" ;
  rdfs:comment "A datatype property that denotes the official email address of a local authority, facilitating electronic communication and inquiries." ;
  rdfs:domain ontofhrs:LocalAuthority ;
  rdfs:range xsd:string .

ontofhrs:hasWebsite a rdf:Property ;
  rdfs:label "has website" ;
  rdfs:comment "A datatype property that denotes the official web address (URL) of a local authority, providing access to its online resources and services." ;
  rdfs:domain ontofhrs:LocalAuthority ;
  rdfs:range xsd:anyURI .

ontofhrs:Cafe a rdfs:Class ;
  rdfs:label "Cafe" ;
  rdfs:comment "A business establishment where people can drink coffee, tea, and other beverages and eat light meals and snacks." ;
  rdfs:subClassOf ontofhrs:BusinessEstablishment .

ontofhrs:FoodTransporter a rdfs:Class ;
  rdfs:label "Food Transporter" ;
  rdfs:comment "A business establishment that transports food products from manufacturers and producers to retailers, restaurants and other outlets." ;
  rdfs:subClassOf ontofhrs:BusinessEstablishment .

ontofhrs:GuestHouse a rdfs:Class ;
  rdfs:label "Guest House" ;
  rdfs:comment "A lodging establishment in a private house, usually smaller than a hotel, that offers travellers overnight stays and occasionally meals." ;
  rdfs:subClassOf ontofhrs:BusinessEstablishment .

ontofhrs:FarmerFoodFacility a rdfs:Class ;
  rdfs:label "Farmer Food Facility" ;
  rdfs:comment "A business establishment where farmers process, package and sell locally produced food or drink." ;
  rdfs:subClassOf ontofhrs:BusinessEstablishment .

ontofhrs:SchoolCanteen a rdfs:Class ;
  rdfs:label "School Canteen" ;
  rdfs:comment "A canteen that offers food and drinks to students and staff in a school." ;
  rdfs:subClassOf ontofhrs:Canteen .

<http://www.opengis.net/ont/geosparql#wktLiteral> a rdfs:Datatype .
