Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
SAREF
saref4agri
Commits
b279343e
Commit
b279343e
authored
Jun 06, 2020
by
Maxime Lefrançois
Browse files
solved inconsistencies in examples
parent
56a0b9a5
Pipeline
#185
passed with stage
in 37 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
examples/exampleIrrigationUseCase1.ttl
View file @
b279343e
...
...
@@ -67,7 +67,7 @@ ex:ArvalisIrrinovStation01SoilSensor02
ex:
ArvalisIrrinovStation01SoilSensor02ObservationAtPT24H2016-06-14T000000_0200
rdf:
type
owl:
NamedIndividual
;
rdf:
type
saref:
Measurement
;
saref:
hasValue
"1490.0"
^^
xsd:
double
;
saref:
hasValue
"1490.0"
^^
xsd:
float
;
saref:
isMeasuredIn
om:
millibar
;
saref:
relatesToProperty
s4agri:
SoilMoisture
;
.
...
...
examples/saref4agri-ex1.ttl
View file @
b279343e
...
...
@@ -19,7 +19,7 @@
dcterms:
license
<https://forge.etsi.org/etsi-software-license>
;
dcterms:
conformsTo
<https://saref.etsi.org/core/v3.1.1/>
;
dcterms:
conformsTo
<https://saref.etsi.org/saref4agri/v1.1.2/>
;
dcterms:
conformsTo
<http://purl.obolibrary.org/obo/>
;
dcterms:
conformsTo
obo:
TAXRANK_0000017,
obo:
TAXRANK_0000004
,
obo:
TAXRANK_0000006
,
obo:
TAXRANK_0000016
,
obo:
TAXRANK_0000003
;
dcterms:
title
"SAREF4AGRI example"
@en
;
dcterms:
description
"SAREF4AGRI example"
@en
.
...
...
@@ -58,14 +58,14 @@ ex:CompostIntake
.
ex:
Compost_2019-02-02
rdf:
type
saref:
Measurement
;
saref:
hasValue
370
;
saref:
hasValue
"
370
"
^^
xsd:
float
;
saref:
isMeasuredIn
<http://www.wurvoc.org/vocabularies/om-1.8/Liter>
;
saref:
relatesToProperty
ex:
CompostIntake
;
.
ex:
Compost_2019-02-16
rdf:
type
saref:
Measurement
;
saref:
hasF
ea
t
ure
OfInterest
ex:
Parcel_East
;
saref:
hasValue
240
;
saref:
isM
ea
s
ure
mentOf
ex:
Parcel_East
;
saref:
hasValue
"
240
"
^^
xsd:
float
;
saref:
isMeasuredIn
<http://www.wurvoc.org/vocabularies/om-1.8/Liter>
;
saref:
relatesToProperty
ex:
CompostIntake
;
.
...
...
@@ -79,7 +79,7 @@ ex:Cow1
obo:
TAXRANK_1000000
ex:
Animalia
;
obo:
TAXRANK_1000000
ex:
Bos_Taurus
;
obo:
TAXRANK_1000000
ex:
Bovidae
;
s4agri:
hasBirthDate
"2016-05-29
"
^^
xsd:
string
;
s4agri:
hasBirthDate
"2016-05-29
T00:00:00"
^^
xsd:
dateTime
;
s4agri:
isMemberOf
ex:
Cow_Group_A
;
.
ex:
Cow2
...
...
@@ -87,7 +87,7 @@ ex:Cow2
obo:
TAXRANK_1000000
ex:
Animalia
;
obo:
TAXRANK_1000000
ex:
Bos_Taurus
;
obo:
TAXRANK_1000000
ex:
Bovidae
;
s4agri:
hasBirthDate
"2016-05-22
"
^^
xsd:
string
;
s4agri:
hasBirthDate
"2016-05-22
T00:00:00"
^^
xsd:
dateTime
;
s4agri:
isMemberOf
ex:
Cow_Group_A
;
.
ex:
Cow3
...
...
@@ -95,7 +95,7 @@ ex:Cow3
obo:
TAXRANK_1000000
ex:
Animalia
;
obo:
TAXRANK_1000000
ex:
Bos_Taurus
;
obo:
TAXRANK_1000000
ex:
Bovidae
;
s4agri:
hasBirthDate
"2018-03-15
"
^^
xsd:
string
;
s4agri:
hasBirthDate
"2018-03-15
T00:00:00"
^^
xsd:
dateTime
;
.
ex:
Cow_1_Birth
rdf:
type
owl:
NamedIndividual
;
...
...
@@ -115,15 +115,15 @@ ex:Cow_3_Birth
.
ex:
Cow_Activity_2019_03_01-14_00
rdf:
type
saref:
Measurement
;
saref:
hasF
ea
t
ure
OfInterest
ex:
Cow3
;
saref:
hasValue
"20"
^^
xsd:
string
;
saref:
isM
ea
s
ure
mentOf
ex:
Cow3
;
saref:
hasValue
"20"
^^
xsd:
float
;
saref:
isMeasuredIn
time:
minute
;
saref:
relatesToProperty
ex:
Eating_Activity_in_minutes_per__hour
;
.
ex:
Cow_Activity_2019_03_01-15_00
rdf:
type
saref:
Measurement
;
saref:
hasF
ea
t
ure
OfInterest
ex:
Cow3
;
saref:
hasValue
"15"
^^
xsd:
string
;
saref:
isM
ea
s
ure
mentOf
ex:
Cow3
;
saref:
hasValue
"15"
^^
xsd:
float
;
saref:
isMeasuredIn
time:
minute
;
saref:
relatesToProperty
ex:
Eating_Activity_in_minutes_per__hour
;
.
...
...
@@ -152,7 +152,6 @@ ex:CropYield
rdfs:
comment
"Produced crops (i.e. cultivated plant)"
@en
;
rdfs:
label
"Crop Yield"
^^
xsd:
string
;
rdfs:
subClassOf
s4agri:
Yield
;
;
.
ex:
Cyperales
...
...
@@ -164,7 +163,7 @@ ex:EatingActivitySensor
rdfs:
subClassOf
saref:
Sensor
;
.
ex:
Eating_Activity_in_minutes_per__hour
rdf:
type
s
4agri
:
Property
;
rdf:
type
s
aref
:
Property
;
.
ex:
EggYield
rdf:
type
owl:
Class
;
...
...
@@ -187,6 +186,9 @@ ex:Farm_Jansen_and_Sons_Eindhoven
s4agri:
contains
ex:
Parcel_South
;
s4agri:
contains
ex:
Parcel_West
;
.
foaf:
Person
a
owl:
Class
.
ex:
Farmer
rdf:
type
owl:
Class
;
rdfs:
comment
"A Person which is a farmer as profession"
^^
xsd:
string
;
...
...
@@ -208,7 +210,7 @@ ex:Greenhouse
<https://saref.etsi.org/saref4agri/v1.1.2/example/saref4agri-ex1/H._Jansen>
rdf:
type
ex:
Farmer
;
s4agri:
isMemberOf
ex:
Jansen_and_Sons
;
s4agri:
hasName
"Hendricus Jansen"
@en
;
s4agri:
hasName
"Hendricus Jansen"
;
.
ex:
Heated_Glass_Greenhouse
rdf:
type
ex:
Greenhouse
;
...
...
@@ -222,7 +224,7 @@ ex:Intake_Sugar_Corn
<https://saref.etsi.org/saref4agri/v1.1.2/example/saref4agri-ex1/J._Jansen>
rdf:
type
ex:
Farmer
;
s4agri:
isMemberOf
ex:
Jansen_and_Sons
;
s4agri:
hasName
"Johannes Jansen"
@en
;
s4agri:
hasName
"Johannes Jansen"
;
.
ex:
Jansen_and_Sons
rdf:
type
ex:
FarmHolding
;
...
...
@@ -244,7 +246,6 @@ ex:MeatYield
rdf:
type
owl:
Class
;
rdfs:
label
"Meat Yield"
^^
xsd:
string
;
rdfs:
subClassOf
s4agri:
Yield
;
;
.
...
...
@@ -275,43 +276,43 @@ ex:Milk_Cow_Meat
.
ex:
Milk_Yield_2019-03-01_1
rdf:
type
saref:
Measurement
;
saref:
hasF
ea
t
ure
OfInterest
ex:
Cow_Group_A
;
saref:
hasValue
"4
,
7"
@en
;
saref:
isM
ea
s
ure
mentOf
ex:
Cow_Group_A
;
saref:
hasValue
"4
.
7"
^^
xsd:
float
;
saref:
isMeasuredIn
<http://www.wurvoc.org/vocabularies/om-1.8/Liter>
;
saref:
relatesToProperty
ex:
MilkYield
;
.
ex:
Milk_Yield_2019-03-01_2
rdf:
type
saref:
Measurement
;
saref:
hasF
ea
t
ure
OfInterest
ex:
Cow_Group_A
;
saref:
hasValue
"3
,
9"
@en
;
saref:
isM
ea
s
ure
mentOf
ex:
Cow_Group_A
;
saref:
hasValue
"3
.
9"
^^
xsd:
float
;
saref:
isMeasuredIn
<http://www.wurvoc.org/vocabularies/om-1.8/Liter>
;
saref:
relatesToProperty
ex:
MilkYield
;
.
ex:
Milk_Yield_2019-03-02_1
rdf:
type
saref:
Measurement
;
saref:
hasF
ea
t
ure
OfInterest
ex:
Cow_Group_A
;
saref:
hasValue
"2
,
1"
@en
;
saref:
isM
ea
s
ure
mentOf
ex:
Cow_Group_A
;
saref:
hasValue
"2
.
1"
^^
xsd:
float
;
saref:
isMeasuredIn
<http://www.wurvoc.org/vocabularies/om-1.8/Liter>
;
saref:
relatesToProperty
ex:
MilkYield
;
.
ex:
Milk_Yield_2019-03-02_2
rdf:
type
saref:
Measurement
;
saref:
hasF
ea
t
ure
OfInterest
ex:
Cow_Group_A
;
saref:
hasValue
"2
,
7"
@en
;
saref:
isM
ea
s
ure
mentOf
ex:
Cow_Group_A
;
saref:
hasValue
"2
.
7"
^^
xsd:
float
;
saref:
isMeasuredIn
<http://www.wurvoc.org/vocabularies/om-1.8/Liter>
;
saref:
relatesToProperty
ex:
MilkYield
;
.
ex:
Milk_Yield_2019-03-03_1
rdf:
type
saref:
Measurement
;
saref:
hasF
ea
t
ure
OfInterest
ex:
Cow_Group_B
;
saref:
hasValue
"5
,
2"
@en
;
saref:
isM
ea
s
ure
mentOf
ex:
Cow_Group_B
;
saref:
hasValue
"5
.
2"
^^
xsd:
float
;
saref:
isMeasuredIn
<http://www.wurvoc.org/vocabularies/om-1.8/Liter>
;
saref:
relatesToProperty
ex:
MilkYield
;
.
ex:
Milk_Yield_2019-03-03_2
rdf:
type
saref:
Measurement
;
saref:
hasF
ea
t
ure
OfInterest
ex:
Cow_Group_B
;
saref:
hasValue
"3
,
7"
@en
;
saref:
isM
ea
s
ure
mentOf
ex:
Cow_Group_B
;
saref:
hasValue
"3
.
7"
^^
xsd:
float
;
saref:
isMeasuredIn
<http://www.wurvoc.org/vocabularies/om-1.8/Liter>
;
saref:
relatesToProperty
ex:
MilkYield
;
.
...
...
@@ -335,13 +336,13 @@ ex:MovementActivitySensor
ex:
Parcel_East
rdf:
type
s4agri:
Parcel
;
s4agri:
contains
ex:
Sugar_Snaps_1
;
s4agri:
hasName
"Field Frontyard"
^^
xsd:
string
;
s4agri:
hasName
"Field Frontyard"
;
s4agri:
receives
ex:
Compost_2019-02-16
;
.
ex:
Parcel_North
rdf:
type
s4agri:
Parcel
;
s4agri:
contains
ex:
Cow_Group_A
;
s4agri:
hasName
"Grazing Plot"
^^
xsd:
string
;
s4agri:
hasName
"Grazing Plot"
;
.
ex:
Parcel_South
rdf:
type
s4agri:
Parcel
;
...
...
@@ -364,21 +365,20 @@ ex:Rosanae_Fabales
rdfs:
label
"Rosanae Fabales"
^^
xsd:
string
;
.
ex:
Soil_Acidity
rdf:
type
s4agri:
Property
;
rdf:
type
saref:
Property
;
rdfs:
label
"Acidity"
^^
xsd:
string
;
.
ex:
Soil_Acidity_2019_03_04
rdf:
type
saref:
Measurement
;
saref:
hasF
ea
t
ure
OfInterest
ex:
Parcel_East
;
saref:
hasValue
"7.4"
^^
xsd:
string
;
saref:
isM
ea
s
ure
mentOf
ex:
Parcel_East
;
saref:
hasValue
"7.4"
^^
xsd:
float
;
saref:
isMeasuredIn
<http://www.wurvoc.org/vocabularies/om-1.8/Acidity>
;
saref:
relatesToProperty
ex:
Soil_Acidity
;
.
ex:
Soil_Acidity_2019_03_05
rdf:
type
saref:
Measurement
;
saref:
hasF
ea
t
ure
OfInterest
ex:
Parcel_East
;
saref:
hasValue
"7.5"
^^
xsd:
string
;
saref:
isM
ea
s
ure
mentOf
ex:
Parcel_East
;
saref:
hasValue
"7.5"
^^
xsd:
float
;
saref:
isMeasuredIn
<http://www.wurvoc.org/vocabularies/om-1.8/Acidity>
;
saref:
relatesToProperty
ex:
Soil_Acidity
;
.
...
...
@@ -431,9 +431,9 @@ ex:Vermicompost
rdf:
type
obo:
TAXRANK_0000006
;
rdfs:
label
"Zea mays L."
^^
xsd:
string
;
.
s4agri:
Location
rdf:
type
owl:
ObjectProperty
;
.
#
s4agri:Location
# does not exist in SAREF4AGRI
#
rdf:type owl:ObjectProperty ;
#
.
s4agri:
hasID
rdf:
type
owl:
ObjectProperty
;
.
...
...
@@ -441,15 +441,12 @@ s4agri:hasMember
rdf:
type
owl:
ObjectProperty
;
rdfs:
label
"has member"
^^
xsd:
string
;
.
s4agri:
hasPlantDate
rdf:
type
owl:
ObjectProperty
;
.
s4agri:
hasSpace
rdf:
type
owl:
ObjectProperty
;
.
s4agri:
isProducedBy
rdf:
type
owl:
ObjectProperty
;
.
# s4agri:hasSpace # does not exist in SAREF4AGRI
# rdf:type owl:ObjectProperty ;
# .
# s4agri:isProducedBy # does not exist in SAREF4AGRI
# rdf:type owl:ObjectProperty ;
# .
s4agri:
managesFarm
rdf:
type
owl:
ObjectProperty
;
...
...
@@ -458,8 +455,8 @@ s4agri:managesFarm
s4agri:
receives
rdf:
type
owl:
ObjectProperty
;
.
saref:
hasF
ea
t
ure
OfInterest
owl:
inverseOf
saref:
isF
ea
t
ure
OfInterestOf
;
saref:
isM
ea
s
ure
mentOf
owl:
inverseOf
saref:
hasM
ea
s
ure
ment
;
.
<http://www.wurvoc.org/vocabularies/om-1.8/Acidity>
rdf:
type
saref:
UnitOfMeasure
;
...
...
ontology/saref4agri.ttl
View file @
b279343e
...
...
@@ -341,7 +341,7 @@ s4agri:managesFarm rdf:type owl:ObjectProperty ;
### https://saref.etsi.org/saref4agri/receives
s4agri:
receives
rdf:
type
owl:
ObjectProperty
;
rdfs:
subPropertyOf
saref:
has
Property
;
rdfs:
subPropertyOf
saref:
has
Measurement
;
rdfs:
comment
"A relation to represent the intake/consumption of certain substances in a Crop."
@en
;
rdfs:
label
"receives"
@en
.
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment