# 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/barcelona/barcelona/views/nrejx2f5acew32ryrnslxvo23s3xmsxd> a owl:Ontology ;
  rdfs:label "barcelona" .

<https://uri.etsi.org/ngsi-ld/default-context/CityWork> a owl:Class ;
  rdfs:label "CityWork" ;
  rdfs:comment "One work on Barcelona's public space, in execution, stopped or finished within 30 days, with its outline, its dates and its promoter. The constructor is left out." .

<https://uri.etsi.org/ngsi-ld/default-context/areaServed> a owl:DatatypeProperty ;
  rdfs:label "areaServed" ;
  rdfs:range xsd:string ;
  rdfs:comment "Where the entity is as the city names it: the barri of a station, a well or a tourist flat, the place of a work (a street and number, a square, a park)." .

<https://uri.etsi.org/ngsi-ld/default-context/awardAmount> a owl:DatatypeProperty ;
  rdfs:label "awardAmount" ;
  rdfs:range xsd:float ;
  rdfs:comment "The budget the work was awarded for, in euros." .

<https://uri.etsi.org/ngsi-ld/default-context/contractingAuthority> a owl:DatatypeProperty ;
  rdfs:label "contractingAuthority" ;
  rdfs:range xsd:string ;
  rdfs:comment "The work's promoter, a public body, utility or company; left out when it may name a person." .

<https://uri.etsi.org/ngsi-ld/default-context/dataProvider> a owl:DatatypeProperty ;
  rdfs:label "dataProvider" ;
  rdfs:range xsd:string ;
  rdfs:comment "Who publishes the data the entity was read from, with the credit its licence asks for." .

<http://purl.org/dc/terms/description> a owl:DatatypeProperty ;
  rdfs:label "description" ;
  rdfs:range xsd:string ;
  rdfs:comment "The work's description as the city publishes it, in Catalan." .

<https://uri.etsi.org/ngsi-ld/default-context/endDate> a owl:DatatypeProperty ;
  rdfs:label "endDate" ;
  rdfs:range xsd:dateTime ;
  rdfs:comment "The last day, local midnight in Europe/Madrid: of an event (absent when the agenda gives none) or the planned last day of a work on the public space." .

<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/name> a owl:DatatypeProperty ;
  rdfs:label "name" ;
  rdfs:range xsd:string ;
  rdfs:comment "The name as the city publishes it, in Catalan (a station, an event, a facility, a street section and its stretch, a street address, a district or barri, a work, a tourist flat by its register number)." .

<https://uri.etsi.org/ngsi-ld/default-context/refDistrict> a owl:DatatypeProperty ;
  rdfs:label "refDistrict" ;
  rdfs:range xsd:anyURI ;
  rdfs:comment "The district the work lies in, when it lies in one district only." .

<https://uri.etsi.org/ngsi-ld/default-context/seeAlso> a owl:DatatypeProperty ;
  rdfs:label "seeAlso" ;
  rdfs:range xsd:anyURI ;
  rdfs:comment "The work's page on the city's works site." .

<https://uri.etsi.org/ngsi-ld/default-context/source> a owl:DatatypeProperty ;
  rdfs:label "source" ;
  rdfs:range xsd:anyURI ;
  rdfs:comment "The open-data file or the Open Data BCN dataset the entity was read from." .

<https://uri.etsi.org/ngsi-ld/default-context/startDate> a owl:DatatypeProperty ;
  rdfs:label "startDate" ;
  rdfs:range xsd:dateTime ;
  rdfs:comment "The first day, local midnight in Europe/Madrid: of an event (the agenda publishes the day, its hours sit in a free-text timetable) or of a work on the public space." .

<https://uri.etsi.org/ngsi-ld/default-context/tenderAmount> a owl:DatatypeProperty ;
  rdfs:label "tenderAmount" ;
  rdfs:range xsd:float ;
  rdfs:comment "The budget the work was put out to tender with, in euros." .

<https://uri.etsi.org/ngsi-ld/default-context/territorialArea> a owl:DatatypeProperty ;
  rdfs:label "territorialArea" ;
  rdfs:range xsd:string ;
  rdfs:comment "Every district the work touches, by name, separated by \"; \"." .

<https://uri.etsi.org/ngsi-ld/default-context/workCategory> a owl:DatatypeProperty ;
  rdfs:label "workCategory" ;
  rdfs:range xsd:string ;
  rdfs:comment "The city's kind of work, in Catalan (Urbanització, Serveis, Clavegueram...)." .

<https://uri.etsi.org/ngsi-ld/default-context/workNumber> a owl:DatatypeProperty ;
  rdfs:label "workNumber" ;
  rdfs:range xsd:string ;
  rdfs:comment "The city's code of the work, such as 05-2025G0074 (district, year, number)." .

<https://uri.etsi.org/ngsi-ld/default-context/workState> a owl:DatatypeProperty ;
  rdfs:label "workState" ;
  rdfs:range xsd:string ;
  rdfs:comment "Where the work stands, in the Smart Data Model's terms." .

<https://uri.etsi.org/ngsi-ld/default-context/workStateLabel> a owl:DatatypeProperty ;
  rdfs:label "workStateLabel" ;
  rdfs:range xsd:string ;
  rdfs:comment "The work's state as the city writes it, in Catalan (En execució, Aturada, Finalitzada)." .
