diff --git a/examples/CITY example 1.jpg b/examples/CITY example 1.jpg new file mode 100644 index 0000000000000000000000000000000000000000..1ddc993d8c17cf0f8314b91bb5efac741502f482 Binary files /dev/null and b/examples/CITY example 1.jpg differ diff --git a/examples/example1.ttl b/examples/example1.ttl index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..6591dbca5694d9b6c6b647b068a294cbe15f82b9 100644 --- a/examples/example1.ttl +++ b/examples/example1.ttl @@ -0,0 +1,445 @@ +@prefix : <https://saref.etsi.org/saref4city/data/city/example1/> . +@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> . +@prefix owl: <http://www.w3.org/2002/07/owl#> . +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . +@prefix xml: <http://www.w3.org/XML/1998/namespace> . +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . +@prefix time: <http://www.w3.org/2006/time#> . +@prefix saref: <https://saref.etsi.org/core/> . +@prefix s4envi: <https://w3id.org/saref4envi#> . +@prefix wurvoc: <http://www.wurvoc.org/vocabularies/om-1.8/> . +@prefix dcterms: <http://purl.org/dc/terms/> . +@base <https://saref.etsi.org/saref4city/data/city/example1/ . + +<https://saref.etsi.org/saref4city/data/city/example1/> rdf:type owl:Ontology ; + owl:versionIRI <https://saref.etsi.org/saref4city/data/city/example1/> ; + dcterms:publisher <http://www.oeg-upm.net/> ; + dcterms:creator <http://purl.org/net/mpoveda> , + <http://www.garcia-castro.com/foaf.rdf#me> ; + dcterms:license <http://purl.org/NET/rdflicense/cc-by4.0> ; + rdfs:comment "Example of use for the SAREF extension for Smart Cities"@en ; + owl:versionInfo "1.0" . + +################################################################# +# Annotation properties +################################################################# + +### http://purl.org/dc/elements/1.1/publisher +dcterms:publisher rdf:type owl:AnnotationProperty . + + +### http://purl.org/dc/terms/creator +dcterms:creator rdf:type owl:AnnotationProperty . + + +### http://purl.org/dc/terms/license +dcterms:license rdf:type owl:AnnotationProperty . + + +### http://www.w3.org/2003/01/geo/wgs84_pos#lat +geo:lat rdf:type owl:AnnotationProperty . + + +### http://www.w3.org/2003/01/geo/wgs84_pos#long +geo:long rdf:type owl:AnnotationProperty . + + +################################################################# +# Object Properties +################################################################# + +### http://purl.org/vocab/cpsv#physicallyAvailableAt +<http://purl.org/vocab/cpsv#physicallyAvailableAt> rdf:type owl:ObjectProperty . + + +### http://purl.org/vocab/cpsv#provides +<http://purl.org/vocab/cpsv#provides> rdf:type owl:ObjectProperty . + + +### http://purl.org/vocab/cpsv#uses +<http://purl.org/vocab/cpsv#uses> rdf:type owl:ObjectProperty . + + +### http://www.opengis.net/ont/geosparql#hasGeometry +<http://www.opengis.net/ont/geosparql#hasGeometry> rdf:type owl:ObjectProperty . + + +### http://www.opengis.net/ont/geosparql#sfContains +<http://www.opengis.net/ont/geosparql#sfContains> rdf:type owl:ObjectProperty . + + +### http://www.opengis.net/ont/geosparql#sfWithin +<http://www.opengis.net/ont/geosparql#sfWithin> rdf:type owl:ObjectProperty . + + +### http://www.w3.org/2003/01/geo/wgs84_pos#location +geo:location rdf:type owl:ObjectProperty . + + +### https://saref.etsi.org/core/hasFeatureOfInterest +saref:hasFeatureOfInterest rdf:type owl:ObjectProperty . + + +### https://saref.etsi.org/core/hasProperty +saref:hasProperty rdf:type owl:ObjectProperty . + + +### https://saref.etsi.org/core/isMeasuredIn +saref:isMeasuredIn rdf:type owl:ObjectProperty . + + +### https://saref.etsi.org/core/measurementMadeBy +saref:measurementMadeBy rdf:type owl:ObjectProperty . + + +### https://saref.etsi.org/core/relatesToProperty +saref:relatesToProperty rdf:type owl:ObjectProperty . + + +### https://saref.etsi.org/saref4city/assesses +<https://saref.etsi.org/saref4city/assesses> rdf:type owl:ObjectProperty . + + +### https://saref.etsi.org/saref4city/hasAccesibility +<https://saref.etsi.org/saref4city/hasAccesibility> rdf:type owl:ObjectProperty . + + +### https://saref.etsi.org/saref4city/hasCalculationPeriod +<https://saref.etsi.org/saref4city/hasCalculationPeriod> rdf:type owl:ObjectProperty . + + +### https://saref.etsi.org/saref4city/involvesFacility +<https://saref.etsi.org/saref4city/involvesFacility> rdf:type owl:ObjectProperty . + + +### https://saref.etsi.org/saref4city/isAssessedBy +<https://saref.etsi.org/saref4city/isAssessedBy> rdf:type owl:ObjectProperty . + + +### https://saref.etsi.org/saref4city/isAvailableInLanguage +<https://saref.etsi.org/saref4city/isAvailableInLanguage> rdf:type owl:ObjectProperty . + + +### https://saref.etsi.org/saref4city/isDerivedFrom +<https://saref.etsi.org/saref4city/isDerivedFrom> rdf:type owl:ObjectProperty . + + +### https://saref.etsi.org/saref4city/isKPIOf +<https://saref.etsi.org/saref4city/isKPIOf> rdf:type owl:ObjectProperty . + + +### https://saref.etsi.org/saref4city/isOrganizedBy +<https://saref.etsi.org/saref4city/isOrganizedBy> rdf:type owl:ObjectProperty . + + +### https://saref.etsi.org/saref4city/isSubEventOf +<https://saref.etsi.org/saref4city/isSubEventOf> rdf:type owl:ObjectProperty . + + +### https://saref.etsi.org/saref4city/quantifiesKPI +<https://saref.etsi.org/saref4city/quantifiesKPI> rdf:type owl:ObjectProperty . + + +### https://saref.etsi.org/saref4city/refersToTime +<https://saref.etsi.org/saref4city/refersToTime> rdf:type owl:ObjectProperty . + + +### https://saref.etsi.org/saref4city/takesPlaceAtFacility +<https://saref.etsi.org/saref4city/takesPlaceAtFacility> rdf:type owl:ObjectProperty . + + +################################################################# +# Data properties +################################################################# + +### https://saref.etsi.org/core/hasValue +saref:hasValue rdf:type owl:DatatypeProperty . + + +### https://saref.etsi.org/saref4city/hasCreationDate +<https://saref.etsi.org/saref4city/hasCreationDate> rdf:type owl:DatatypeProperty . + + +################################################################# +# Classes +################################################################# + +### http://purl.org/dc/terms/LinguisticSystem +dcterms:LinguisticSystem rdf:type owl:Class . + + +### http://purl.org/vocab/cpsv#PublicService +<http://purl.org/vocab/cpsv#PublicService> rdf:type owl:Class . + + +### http://www.opengis.net/ont/geosparql#Geometry +<http://www.opengis.net/ont/geosparql#Geometry> rdf:type owl:Class . + + +### http://www.opengis.net/ont/geosparql#SpatialObject +<http://www.opengis.net/ont/geosparql#SpatialObject> rdf:type owl:Class . + + +### http://www.w3.org/2003/01/geo/wgs84_pos#Point +geo:Point rdf:type owl:Class . + + +### http://www.w3.org/2006/time#TemporalEntity +time:TemporalEntity rdf:type owl:Class . + + +### http://www.w3.org/ns/org#Organization +<http://www.w3.org/ns/org#Organization> rdf:type owl:Class . + + +### http://xmlns.com/foaf/0.1/Person +<http://xmlns.com/foaf/0.1/Person> rdf:type owl:Class . + + +### https://saref.etsi.org/core/Device +saref:Device rdf:type owl:Class . + + +### https://saref.etsi.org/core/FeatureOfInterest +saref:FeatureOfInterest rdf:type owl:Class . + + +### https://saref.etsi.org/core/Measurement +saref:Measurement rdf:type owl:Class . + + +### https://saref.etsi.org/core/Property +saref:Property rdf:type owl:Class . + + +### https://saref.etsi.org/core/UnitOfMeasure +saref:UnitOfMeasure rdf:type owl:Class . + + +### https://saref.etsi.org/saref4bldg/Building +<https://saref.etsi.org/saref4bldg/Building> rdf:type owl:Class . + + +### https://saref.etsi.org/saref4city/Agent +<https://saref.etsi.org/saref4city/Agent> rdf:type owl:Class . + + +### https://saref.etsi.org/saref4city/CityObject +<https://saref.etsi.org/saref4city/CityObject> rdf:type owl:Class . + + +### https://saref.etsi.org/saref4city/Event +<https://saref.etsi.org/saref4city/Event> rdf:type owl:Class . + + +### https://saref.etsi.org/saref4city/Facility +<https://saref.etsi.org/saref4city/Facility> rdf:type owl:Class . + + +### https://saref.etsi.org/saref4city/KeyPerformanceIndicator +<https://saref.etsi.org/saref4city/KeyPerformanceIndicator> rdf:type owl:Class . + + +### https://saref.etsi.org/saref4city/KeyPerformanceIndicatorAssessment +<https://saref.etsi.org/saref4city/KeyPerformanceIndicatorAssessment> rdf:type owl:Class . + + +### https://saref.etsi.org/saref4city/Neighbourhood +<https://saref.etsi.org/saref4city/Neighbourhood> rdf:type owl:Class . + + +### https://saref.etsi.org/saref4city/PublicAdministration +<https://saref.etsi.org/saref4city/PublicAdministration> rdf:type owl:Class . + + +### https://saref.etsi.org/saref4envi/Lamppost +<https://saref.etsi.org/saref4envi/Lamppost> rdf:type owl:Class . + + +################################################################# +# Individuals +################################################################# + +### http://lexvo.org/id/iso639-3/spa +<http://lexvo.org/id/iso639-3/spa> rdf:type owl:NamedIndividual , + dcterms:LinguisticSystem . + + +### http://www.ontology-of-units-of-measure.org/resource/om-2/kilometrePerHour +<http://www.ontology-of-units-of-measure.org/resource/om-2/kilometrePerHour> rdf:type owl:NamedIndividual , + saref:UnitOfMeasure . + + +### https://saref.etsi.org/saref4city/data/city/example1#2018-11-20 +<https://saref.etsi.org/saref4city/data/city/example1#2018-11-20> rdf:type owl:NamedIndividual , + time:TemporalEntity . + + +### https://saref.etsi.org/saref4city/data/city/example1/BasketArena7 +<https://saref.etsi.org/saref4city/data/city/example1/BasketArena7> rdf:type owl:NamedIndividual , + <https://saref.etsi.org/saref4city/Facility> . + + +### https://saref.etsi.org/saref4city/data/city/example1/BasketMatch23 +<https://saref.etsi.org/saref4city/data/city/example1/BasketMatch23> rdf:type owl:NamedIndividual , + <https://saref.etsi.org/saref4city/Event> ; + <https://saref.etsi.org/saref4city/hasAccesibility> <https://saref.etsi.org/saref4city/data/city/example1/Metro> ; + <https://saref.etsi.org/saref4city/isOrganizedBy> <https://saref.etsi.org/saref4city/data/city/example1/City4> ; + <https://saref.etsi.org/saref4city/isSubEventOf> <https://saref.etsi.org/saref4city/data/city/example1/BasketWeek2018> ; + <https://saref.etsi.org/saref4city/takesPlaceAtFacility> <https://saref.etsi.org/saref4city/data/city/example1/BasketArena7> . + + +### https://saref.etsi.org/saref4city/data/city/example1/BasketWeek2018 +<https://saref.etsi.org/saref4city/data/city/example1/BasketWeek2018> rdf:type owl:NamedIndividual , + <https://saref.etsi.org/saref4city/Event> . + + +### https://saref.etsi.org/saref4city/data/city/example1/Building54 +<https://saref.etsi.org/saref4city/data/city/example1/Building54> rdf:type owl:NamedIndividual , + <https://saref.etsi.org/saref4bldg/Building> , + <https://saref.etsi.org/saref4city/CityObject> . + + +### https://saref.etsi.org/saref4city/data/city/example1/Bus33Service +<https://saref.etsi.org/saref4city/data/city/example1/Bus33Service> rdf:type owl:NamedIndividual , + <http://purl.org/vocab/cpsv#PublicService> . + + +### https://saref.etsi.org/saref4city/data/city/example1/Camera1 +<https://saref.etsi.org/saref4city/data/city/example1/Camera1> rdf:type owl:NamedIndividual , + saref:Device . + + +### https://saref.etsi.org/saref4city/data/city/example1/Camera1Measurement200 +<https://saref.etsi.org/saref4city/data/city/example1/Camera1Measurement200> rdf:type owl:NamedIndividual , + saref:Measurement ; + saref:hasFeatureOfInterest <https://saref.etsi.org/saref4city/data/city/example1/Car35> ; + saref:isMeasuredIn <http://www.ontology-of-units-of-measure.org/resource/om-2/kilometrePerHour> ; + saref:measurementMadeBy <https://saref.etsi.org/saref4city/data/city/example1/Camera1> ; + saref:relatesToProperty <https://saref.etsi.org/saref4city/data/city/example1/Speed> ; + saref:hasValue "35.0"^^xsd:float . + + +### https://saref.etsi.org/saref4city/data/city/example1/Car35 +<https://saref.etsi.org/saref4city/data/city/example1/Car35> rdf:type owl:NamedIndividual , + <http://www.opengis.net/ont/geosparql#SpatialObject> , + saref:FeatureOfInterest ; + geo:location <https://saref.etsi.org/saref4city/data/city/example1/CarLocation2018-11-20T13-30-00> ; + saref:hasProperty <https://saref.etsi.org/saref4city/data/city/example1/Speed> . + + +### https://saref.etsi.org/saref4city/data/city/example1/CarLocation2018-11-20T13-30-00 +<https://saref.etsi.org/saref4city/data/city/example1/CarLocation2018-11-20T13-30-00> rdf:type owl:NamedIndividual , + geo:Point ; + <http://www.opengis.net/ont/geosparql#sfWithin> <https://saref.etsi.org/saref4city/data/city/example1/RoadSegment50> ; + geo:lat 40.405013 ; + geo:long -3.839349 . + + +### https://saref.etsi.org/saref4city/data/city/example1/CarsSpeed2018-11-20 +<https://saref.etsi.org/saref4city/data/city/example1/CarsSpeed2018-11-20> rdf:type owl:NamedIndividual , + saref:Measurement . + + +### https://saref.etsi.org/saref4city/data/city/example1/Citizen11111 +<https://saref.etsi.org/saref4city/data/city/example1/Citizen11111> rdf:type owl:NamedIndividual , + <http://xmlns.com/foaf/0.1/Person> , + <https://saref.etsi.org/saref4city/Agent> ; + <http://purl.org/vocab/cpsv#uses> <https://saref.etsi.org/saref4city/data/city/example1/Bus33Service> . + + +### https://saref.etsi.org/saref4city/data/city/example1/City4 +<https://saref.etsi.org/saref4city/data/city/example1/City4> rdf:type owl:NamedIndividual , + <https://saref.etsi.org/saref4city/Agent> , + <https://saref.etsi.org/saref4city/PublicAdministration> ; + <http://purl.org/vocab/cpsv#provides> <https://saref.etsi.org/saref4city/data/city/example1/HealthService123> . + + +### https://saref.etsi.org/saref4city/data/city/example1/GMapsAPI2018-11-20 +<https://saref.etsi.org/saref4city/data/city/example1/GMapsAPI2018-11-20> rdf:type owl:NamedIndividual , + saref:Measurement . + + +### https://saref.etsi.org/saref4city/data/city/example1/HealthService123 +<https://saref.etsi.org/saref4city/data/city/example1/HealthService123> rdf:type owl:NamedIndividual , + <http://purl.org/vocab/cpsv#PublicService> ; + <http://purl.org/vocab/cpsv#physicallyAvailableAt> <https://saref.etsi.org/saref4city/data/city/example1/Neighbourhood34> ; + <https://saref.etsi.org/saref4city/involvesFacility> <https://saref.etsi.org/saref4city/data/city/example1/BasketArena7> ; + <https://saref.etsi.org/saref4city/isAvailableInLanguage> <http://lexvo.org/id/iso639-3/spa> . + + +### https://saref.etsi.org/saref4city/data/city/example1/Lamppost6 +<https://saref.etsi.org/saref4city/data/city/example1/Lamppost6> rdf:type owl:NamedIndividual , + <https://saref.etsi.org/saref4city/CityObject> , + <https://saref.etsi.org/saref4envi/Lamppost> . + + +### https://saref.etsi.org/saref4city/data/city/example1/Metro +<https://saref.etsi.org/saref4city/data/city/example1/Metro> rdf:type owl:NamedIndividual . + + +### https://saref.etsi.org/saref4city/data/city/example1/Neighbourhood34 +<https://saref.etsi.org/saref4city/data/city/example1/Neighbourhood34> rdf:type owl:NamedIndividual , + <https://saref.etsi.org/saref4city/Neighbourhood> ; + <http://www.opengis.net/ont/geosparql#sfWithin> <https://saref.etsi.org/saref4city/data/city/example1/City4> . + + +### https://saref.etsi.org/saref4city/data/city/example1/Pollution2018-11-20 +<https://saref.etsi.org/saref4city/data/city/example1/Pollution2018-11-20> rdf:type owl:NamedIndividual , + saref:Measurement . + + +### https://saref.etsi.org/saref4city/data/city/example1/RoadCongestion +<https://saref.etsi.org/saref4city/data/city/example1/RoadCongestion> rdf:type owl:NamedIndividual , + <https://saref.etsi.org/saref4city/KeyPerformanceIndicator> ; + <https://saref.etsi.org/saref4city/hasCalculationPeriod> <https://saref.etsi.org/saref4city/data/city/example1/RoadCongestionPeriod> ; + <https://saref.etsi.org/saref4city/isKPIOf> <https://saref.etsi.org/saref4city/data/city/example1/RoadSegment50Geometry> . + + +### https://saref.etsi.org/saref4city/data/city/example1/RoadCongestionPeriod +<https://saref.etsi.org/saref4city/data/city/example1/RoadCongestionPeriod> rdf:type owl:NamedIndividual , + time:TemporalEntity . + + +### https://saref.etsi.org/saref4city/data/city/example1/RoadSegment50 +<https://saref.etsi.org/saref4city/data/city/example1/RoadSegment50> rdf:type owl:NamedIndividual , + <http://www.opengis.net/ont/geosparql#SpatialObject> ; + <http://www.opengis.net/ont/geosparql#hasGeometry> <https://saref.etsi.org/saref4city/data/city/example1/RoadSegment50Geometry> ; + <http://www.opengis.net/ont/geosparql#sfContains> <https://saref.etsi.org/saref4city/data/city/example1/Building54> , + <https://saref.etsi.org/saref4city/data/city/example1/CarLocation2018-11-20T13-30-00> , + <https://saref.etsi.org/saref4city/data/city/example1/Lamppost6> . + + +### https://saref.etsi.org/saref4city/data/city/example1/RoadSegment50Congestion2018-11-20T13-30-00 +<https://saref.etsi.org/saref4city/data/city/example1/RoadSegment50Congestion2018-11-20T13-30-00> rdf:type owl:NamedIndividual , + <https://saref.etsi.org/saref4city/KeyPerformanceIndicatorAssessment> ; + <https://saref.etsi.org/saref4city/assesses> <https://saref.etsi.org/saref4city/data/city/example1/RoadSegment50> ; + <https://saref.etsi.org/saref4city/isAssessedBy> <https://saref.etsi.org/saref4city/data/city/example1/City4> ; + <https://saref.etsi.org/saref4city/isDerivedFrom> <https://saref.etsi.org/saref4city/data/city/example1/CarsSpeed2018-11-20> , + <https://saref.etsi.org/saref4city/data/city/example1/GMapsAPI2018-11-20> , + <https://saref.etsi.org/saref4city/data/city/example1/Pollution2018-11-20> ; + <https://saref.etsi.org/saref4city/quantifiesKPI> <https://saref.etsi.org/saref4city/data/city/example1/RoadCongestion> ; + <https://saref.etsi.org/saref4city/refersToTime> <https://saref.etsi.org/saref4city/data/city/example1#2018-11-20> ; + saref:hasValue "70%" ; + <https://saref.etsi.org/saref4city/hasCreationDate> "2018-11-20T13:20:00"^^xsd:dateTime . + + +### https://saref.etsi.org/saref4city/data/city/example1/RoadSegment50Geometry +<https://saref.etsi.org/saref4city/data/city/example1/RoadSegment50Geometry> rdf:type owl:NamedIndividual , + <http://www.opengis.net/ont/geosparql#Geometry> . + + +### https://saref.etsi.org/saref4city/data/city/example1/Speed +<https://saref.etsi.org/saref4city/data/city/example1/Speed> rdf:type owl:NamedIndividual , + saref:Property . + + +### https://saref.etsi.org/saref4city/data/city/example1/TransportCo +<https://saref.etsi.org/saref4city/data/city/example1/TransportCo> rdf:type owl:NamedIndividual , + <http://www.w3.org/ns/org#Organization> , + <https://saref.etsi.org/saref4city/Agent> ; + <http://purl.org/vocab/cpsv#provides> <https://saref.etsi.org/saref4city/data/city/example1/Bus33Service> . + + +### Generated by the OWL API (version 4.5.9.2019-02-01T07:24:44Z) https://github.com/owlcs/owlapi