Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
saref4city
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SAREF
saref4city
Commits
17af82d5
Commit
17af82d5
authored
4 years ago
by
María
Browse files
Options
Downloads
Patches
Plain Diff
Added example for SAREF4CITY
parent
7211e601
No related branches found
No related tags found
1 merge request
!3
Add example1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
examples/CITY example 1.jpg
+0
-0
0 additions, 0 deletions
examples/CITY example 1.jpg
examples/example1.ttl
+445
-0
445 additions, 0 deletions
examples/example1.ttl
with
445 additions
and
0 deletions
examples/CITY example 1.jpg
0 → 100644
+
0
−
0
View file @
17af82d5
174 KiB
This diff is collapsed.
Click to expand it.
examples/example1.ttl
+
445
−
0
View file @
17af82d5
@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.4
05013
;
geo:
long
-3.8
39349
.
### 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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment