Skip to content

Commit

Permalink
Update "vegetation-mapping-protocol-shapes ->foliage-projective-cover…
Browse files Browse the repository at this point in the history
…" datatype to Integer in SHACL shapes
  • Loading branch information
Javier Sanchez committed Aug 30, 2024
1 parent 998a8ae commit 61e3c94
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@ PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
<urn:test:vegetation-mapping-protocol-shapes:invalid:foliage-projective-cover:datatype>
a tern:Observation ;
void:inDataset <https://example.com/dataset/1> ;
rdfs:comment "Invalid result - the datatype of the value of the result node must be `xsd:float`." ;
rdfs:comment "Invalid result - the datatype of the value of the result node must be `xsd:integer`." ;
sosa:hasFeatureOfInterest [
a tern:FeatureOfInterest ;
void:inDataset <https://example.com/dataset/1> ;
tern:featureType <http://linked.data.gov.au/def/tern-cv/32834f36-a478-45be-97f4-ff2ff51e9f5c>
] ;
sosa:hasResult [
a
tern:Float ,
tern:Integer ,
tern:Value ;
rdf:value 3 ;
rdf:value "33.81"^^xsd:float ;
sosa:isResultOf <urn:test:vegetation-mapping-protocol-shapes:invalid:foliage-projective-cover:datatype> ;
tern:unit unit:PERCENT
] ;
sosa:hasSimpleResult 3 ;
sosa:hasSimpleResult "33.81"^^xsd:float ;
sosa:observedProperty <https://linked.data.gov.au/def/nrm/0378976a-0018-4604-826d-1886ca5f38c3> ;
sosa:phenomenonTime <https://example.com/observation/foliage-projective-cover/b91c54f2-9354-43ee-8412-09974fd2c23c/phenomenonTime> ;
sosa:resultTime "2022-09-27T05:38:47.117000+00:00"^^xsd:dateTime ;
Expand All @@ -46,13 +46,13 @@ PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
] ;
sosa:hasResult [
a
tern:Float ,
tern:Integer ,
tern:Value ;
rdf:value "33.81"^^xsd:float ;
rdf:value 33 ;
sosa:isResultOf <urn:test:vegetation-mapping-protocol-shapes:invalid:foliage-projective-cover:feature-type> ;
tern:unit unit:PERCENT
] ;
sosa:hasSimpleResult "33.81"^^xsd:float ;
sosa:hasSimpleResult 33 ;
sosa:observedProperty <https://linked.data.gov.au/def/nrm/0378976a-0018-4604-826d-1886ca5f38c3> ;
sosa:phenomenonTime <https://example.com/observation/foliage-projective-cover/b91c54f2-9354-43ee-8412-09974fd2c23c/phenomenonTime> ;
sosa:resultTime "2022-09-27T05:38:47.117000+00:00"^^xsd:dateTime ;
Expand All @@ -70,13 +70,13 @@ PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
] ;
sosa:hasResult [
a
tern:Float ,
tern:Integer ,
tern:Value ;
rdf:value "33.81"^^xsd:float ;
rdf:value 33 ;
sosa:isResultOf <urn:test:vegetation-mapping-protocol-shapes:invalid:foliage-projective-cover:simple-result> ;
tern:unit unit:PERCENT
] ;
sosa:hasSimpleResult "13.56"^^xsd:float ;
sosa:hasSimpleResult 13 ;
sosa:observedProperty <https://linked.data.gov.au/def/nrm/0378976a-0018-4604-826d-1886ca5f38c3> ;
sosa:phenomenonTime <https://example.com/observation/foliage-projective-cover/b91c54f2-9354-43ee-8412-09974fd2c23c/phenomenonTime> ;
sosa:resultTime "2022-09-27T05:38:47.117000+00:00"^^xsd:dateTime ;
Expand All @@ -94,13 +94,13 @@ PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
] ;
sosa:hasResult [
a
tern:Float ,
tern:Integer ,
tern:Value ;
rdf:value "33.81"^^xsd:float ;
rdf:value 33 ;
sosa:isResultOf <urn:test:vegetation-mapping-protocol-shapes:invalid:foliage-projective-cover:unit-of-measure> ;
tern:unit <urn:fake:unit>
] ;
sosa:hasSimpleResult "33.81"^^xsd:float ;
sosa:hasSimpleResult 33 ;
sosa:observedProperty <https://linked.data.gov.au/def/nrm/0378976a-0018-4604-826d-1886ca5f38c3> ;
sosa:phenomenonTime <https://example.com/observation/foliage-projective-cover/b91c54f2-9354-43ee-8412-09974fd2c23c/phenomenonTime> ;
sosa:resultTime "2022-09-27T05:38:47.117000+00:00"^^xsd:dateTime ;
Expand All @@ -118,13 +118,13 @@ PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
] ;
sosa:hasResult [
a
tern:Float ,
tern:Integer ,
tern:Value ;
rdf:value "33.81"^^xsd:float ;
rdf:value 33 ;
sosa:isResultOf <urn:test:vegetation-mapping-protocol-shapes:invalid:foliage-projective-cover:used-procedure> ;
tern:unit unit:PERCENT
] ;
sosa:hasSimpleResult "33.81"^^xsd:float ;
sosa:hasSimpleResult 33 ;
sosa:observedProperty <https://linked.data.gov.au/def/nrm/0378976a-0018-4604-826d-1886ca5f38c3> ;
sosa:phenomenonTime <https://example.com/observation/foliage-projective-cover/b91c54f2-9354-43ee-8412-09974fd2c23c/phenomenonTime> ;
sosa:resultTime "2022-09-27T05:38:47.117000+00:00"^^xsd:dateTime ;
Expand All @@ -142,13 +142,13 @@ PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
] ;
sosa:hasResult [
a
tern:Float ,
tern:Integer ,
tern:Value ;
rdf:value "-1.11"^^xsd:float ;
rdf:value -1 ;
sosa:isResultOf <urn:test:vegetation-mapping-protocol-shapes:invalid:foliage-projective-cover:value-range> ;
tern:unit unit:PERCENT
] ;
sosa:hasSimpleResult "-1.11"^^xsd:float ;
sosa:hasSimpleResult -1 ;
sosa:observedProperty <https://linked.data.gov.au/def/nrm/0378976a-0018-4604-826d-1886ca5f38c3> ;
sosa:phenomenonTime <https://example.com/observation/foliage-projective-cover/b91c54f2-9354-43ee-8412-09974fd2c23c/phenomenonTime> ;
sosa:resultTime "2022-09-27T05:38:47.117000+00:00"^^xsd:dateTime ;
Expand All @@ -158,19 +158,19 @@ PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
<urn:test:vegetation-mapping-protocol-shapes:invalid:foliage-projective-cover:value-type>
a tern:Observation ;
void:inDataset <https://example.com/dataset/1> ;
rdfs:comment "Invalid result - the value of the result node must be `tern:Float`." ;
rdfs:comment "Invalid result - the value of the result node must be `tern:Integer`." ;
sosa:hasFeatureOfInterest [
a tern:FeatureOfInterest ;
void:inDataset <https://example.com/dataset/1> ;
tern:featureType <http://linked.data.gov.au/def/tern-cv/32834f36-a478-45be-97f4-ff2ff51e9f5c>
] ;
sosa:hasResult [
a tern:Value ;
rdf:value "33.81"^^xsd:float ;
rdf:value 33 ;
sosa:isResultOf <urn:test:vegetation-mapping-protocol-shapes:invalid:foliage-projective-cover:value-type> ;
tern:unit unit:PERCENT
] ;
sosa:hasSimpleResult "33.81"^^xsd:float ;
sosa:hasSimpleResult 33 ;
sosa:observedProperty <https://linked.data.gov.au/def/nrm/0378976a-0018-4604-826d-1886ca5f38c3> ;
sosa:phenomenonTime <https://example.com/observation/foliage-projective-cover/b91c54f2-9354-43ee-8412-09974fd2c23c/phenomenonTime> ;
sosa:resultTime "2022-09-27T05:38:47.117000+00:00"^^xsd:dateTime ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
urnc:Requirement ;
dcterms:source "Ecological Monitoring System - Australia Protocols" ;
reg:status reg:statusSubmitted ;
sh:datatype xsd:float ;
sh:datatype xsd:integer ;
sh:description "Value _MUST_ be between 1 and 100 inclusive." ;
sh:maxInclusive 100 ;
sh:message "The result _MUST_ have a value between 1 and 100 inclusively." ;
Expand Down Expand Up @@ -166,9 +166,9 @@ PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
urnc:Requirement ;
dcterms:source "Ecological Monitoring System - Australia Protocols" ;
reg:status reg:statusSubmitted ;
sh:class tern:Float ;
sh:description "The value of `sosa:hasResult` _MUST_ be a `tern:Float`." ;
sh:message "The result _MUST_ be an instance of `tern:Float`." ;
sh:class tern:Integer ;
sh:description "The value of `sosa:hasResult` _MUST_ be a `tern:Integer`." ;
sh:message "The result _MUST_ be an instance of `tern:Integer`." ;
sh:name "Value type" ;
sh:path sosa:hasResult ;
sh:target [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
] ;
sosa:hasResult [
a
tern:Float ,
tern:Integer ,
tern:Value ;
rdf:value "33.81"^^xsd:float ;
rdf:value 33 ;
sosa:isResultOf <urn:test:vegetation-mapping-protocol-shapes:valid:foliage-projective-cover> ;
tern:unit unit:PERCENT
] ;
sosa:hasSimpleResult "33.81"^^xsd:float ;
sosa:hasSimpleResult 33 ;
sosa:observedProperty <https://linked.data.gov.au/def/nrm/0378976a-0018-4604-826d-1886ca5f38c3> ;
sosa:phenomenonTime <https://example.com/observation/foliage-projective-cover/b91c54f2-9354-43ee-8412-09974fd2c23c/phenomenonTime> ;
sosa:resultTime "2022-09-27T05:38:47.117000+00:00"^^xsd:dateTime ;
Expand Down

0 comments on commit 61e3c94

Please sign in to comment.