# OWL ontology, rendered from the LinkML model.
@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#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .

<https://joinedcontext.com/models/praha/praha-akce/views/7cqeq7isebohdgjkpie6ejqd5hqzacqm> a owl:Ontology ;
  rdfs:label "praha-akce" .

<https://w3id.org/linkml/Any> a owl:Class ;
  rdfs:label "Any" ;
  rdfs:comment "Any value: an inlined object whose class this view does not show." .

<https://uri.etsi.org/ngsi-ld/default-context/Event> a owl:Class ;
  rdfs:label "Event" ;
  rdfs:comment "One public event: its name, its start and a link are required (owner 2026-10-22); its place as a GPS point is expected and filled from the source or the venue table, its organizer kept where the source names one, the rest kept where the source gives it." .

<https://uri.etsi.org/ngsi-ld/default-context/PointOfInterest> a owl:Class ;
  rdfs:label "PointOfInterest" ;
  rdfs:comment "One venue of the venue table (seeds/bbsk-events/venues.csv): a hall, a square, a museum where events take place, one entity per real place (table rows of one name within 50 m are one venue), its id the OpenStreetMap object of its building or a hash of its town, name and point (DM-141)." .

<https://uri.etsi.org/ngsi-ld/default-context/address> a owl:ObjectProperty ;
  rdfs:label "address" ;
  rdfs:range <https://w3id.org/linkml/Any> ;
  rdfs:comment "The postal address of the venue, field by field (Smart Data Models' common PostalAddress); `addressLocality` is the town a calendar filters on. A field the source leaves out is absent, never guessed." .

<https://uri.etsi.org/ngsi-ld/default-context/areaServed> a owl:DatatypeProperty ;
  rdfs:label "areaServed" ;
  rdfs:range xsd:string ;
  rdfs:comment "The municipality the event or the venue belongs to, by its official name (`Detva`, `Košice`): the key a count or a filter per town reads, on every event (DM-141)." .

<https://uri.etsi.org/ngsi-ld/default-context/audience> a owl:DatatypeProperty ;
  rdfs:label "audience" ;
  rdfs:range xsd:string ;
  rdfs:comment "Who the event is for, in Smart Data Models' Event codes; set with the category `children-family`, `children` when the source or the name says children, else `family`." .

<https://uri.etsi.org/ngsi-ld/default-context/category> a owl:DatatypeProperty ;
  rdfs:label "category" ;
  rdfs:range xsd:string ;
  rdfs:comment "The event's main category, one code of the platform's list of 16 (docs API/12-event-categories.md), picked by the rule table seeds/event-categories.json from the source's own word, the name or the kind of body that announced it (`music`, `sport`), else by the decision model's cached answer. A list of one, as Smart Data Models' Event writes `category`; absent while neither has named the event." .

<https://uri.etsi.org/ngsi-ld/default-context/categorySource> a owl:DatatypeProperty ;
  rdfs:label "categorySource" ;
  rdfs:range xsd:string ;
  rdfs:comment "How `category` was picked: `rule` the rule table, `model` the decision model's cached answer for an event no rule decides (scripts/events-classify.py)." .

<https://uri.etsi.org/ngsi-ld/default-context/dataProvider> a owl:DatatypeProperty ;
  rdfs:label "dataProvider" ;
  rdfs:range xsd:string ;
  rdfs:comment "Who announced the event (the town, the region, the cultural body), as the credit names it." .

<https://uri.etsi.org/ngsi-ld/default-context/dateModified> a owl:DatatypeProperty ;
  rdfs:label "dateModified" ;
  rdfs:range xsd:dateTime ;
  rdfs:comment "When the source last changed the record." .

<http://purl.org/dc/terms/description> a owl:DatatypeProperty ;
  rdfs:label "description" ;
  rdfs:range xsd:string ;
  rdfs:comment "What the source says about the event, as plain text without markup." .

<https://uri.etsi.org/ngsi-ld/default-context/endDate> a owl:DatatypeProperty ;
  rdfs:label "endDate" ;
  rdfs:range xsd:string ;
  rdfs:comment "When the event ends, written as `startDate`; for a whole-day event its last day, inclusive. Absent when the source gives no end: the calendar then shows the start alone." .

<https://uri.etsi.org/ngsi-ld/default-context/eventCategory> a owl:DatatypeProperty ;
  rdfs:label "eventCategory" ;
  rdfs:range xsd:string ;
  rdfs:comment "The kind of event in the source's own words (`koncert`, `výstava`, `šport`), kept so `category` can be traced back to it." .

<https://uri.etsi.org/ngsi-ld/location> a owl:DatatypeProperty ;
  rdfs:label "location" ;
  rdfs:range xsd:string ;
  rdfs:comment "Where the entity is, as GeoJSON geometry." .

<https://uri.etsi.org/ngsi-ld/default-context/locationPrecision> a owl:DatatypeProperty ;
  rdfs:label "locationPrecision" ;
  rdfs:range xsd:string ;
  rdfs:comment "How close `location` is to the venue: `source` the publisher's own point, `building` the venue's building (the address register or a venue checked against OpenStreetMap), `office` the organizer's or the town's office standing in for a venue nobody placed, `centre` the town's centre. A map draws `office` and `centre` as approximate." .

<https://uri.etsi.org/ngsi-ld/default-context/locationSource> a owl:DatatypeProperty ;
  rdfs:label "locationSource" ;
  rdfs:range xsd:string ;
  rdfs:comment "Who placed `location`: `feed` the publisher, `register-adries`, `overpass`, `nominatim` or `hand` the venue table's row (seeds/bbsk-events/venues.csv), `towns` the town table's office or centre." .

<https://uri.etsi.org/ngsi-ld/default-context/name> a owl:DatatypeProperty ;
  rdfs:label "name" ;
  rdfs:range xsd:string ;
  rdfs:comment "The title of the event as the source writes it, in its own language (Czech or Slovak)." .

<https://uri.etsi.org/ngsi-ld/default-context/organizer> a owl:ObjectProperty ;
  rdfs:label "organizer" ;
  rdfs:range <https://w3id.org/linkml/Any> ;
  rdfs:comment "Who runs the event: the museum, the school, the town or the named performer, never the feed or the aggregator that announced it (that is `dataProvider`). Its name and its web site only, never a person's e-mail or phone." .

<https://uri.etsi.org/ngsi-ld/default-context/refPointOfInterest> a owl:ObjectProperty ;
  rdfs:label "refPointOfInterest" ;
  rdfs:range <https://uri.etsi.org/ngsi-ld/default-context/PointOfInterest> ;
  owl:inverseOf <https://uri.etsi.org/ngsi-ld/default-context/venueEvents> ;
  rdfs:comment "The venue as a PointOfInterest of this space, when the venue table placed the event; every event held there links the same one (DM-141)." .

<https://uri.etsi.org/ngsi-ld/default-context/source> a owl:DatatypeProperty ;
  rdfs:label "source" ;
  rdfs:range xsd:anyURI ;
  rdfs:comment "The feed or the page the pipeline read the event from." .

<https://uri.etsi.org/ngsi-ld/default-context/sourceId> a owl:DatatypeProperty ;
  rdfs:label "sourceId" ;
  rdfs:range xsd:string ;
  rdfs:comment "The event's own identifier at its source, so a record can be traced back." .

<https://uri.etsi.org/ngsi-ld/default-context/startDate> a owl:DatatypeProperty ;
  rdfs:label "startDate" ;
  rdfs:range xsd:string ;
  rdfs:comment "When the event starts: an RFC 3339 instant with its offset (`2026-11-14T19:00:00+01:00`, Europe/Bratislava as the source publishes it), or a date alone (`2026-11-14`) for an event that lasts whole days." .

<https://uri.etsi.org/ngsi-ld/default-context/url> a owl:DatatypeProperty ;
  rdfs:label "url" ;
  rdfs:range xsd:anyURI ;
  rdfs:comment "An http(s) link a person opens: the page of the event at its source, where they read more or buy a ticket, else the organizer's page that lists its events." .

<https://uri.etsi.org/ngsi-ld/default-context/venue> a owl:DatatypeProperty ;
  rdfs:label "venue" ;
  rdfs:range xsd:string ;
  rdfs:comment "The name of the place, as the source writes it (a hall, a square, a museum)." .

<https://uri.etsi.org/ngsi-ld/default-context/venueEvents> a owl:ObjectProperty ;
  rdfs:label "venueEvents" ;
  rdfs:range <https://uri.etsi.org/ngsi-ld/default-context/Event> ;
  owl:inverseOf <https://uri.etsi.org/ngsi-ld/default-context/refPointOfInterest> ;
  rdfs:comment "The events held at this venue, computed from their refPointOfInterest and never stored." .
