Skip to content

Commit

Permalink
Update examples to load context from https.
Browse files Browse the repository at this point in the history
See issue #151.
  • Loading branch information
mbjones committed Jan 29, 2022
1 parent 7a1b6ef commit 16a482e
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 28 deletions.
4 changes: 1 addition & 3 deletions examples/data-repository/full.jsonld
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"@context": {
"@vocab": "http://schema.org/"
},
"@context": "https://schema.org/",
"@type": ["Service", "ResearchProject", "WebSite"],
"@id": "http://lod.bco-dmo.org/id/affiliation/191",
"legalName": "Biological and Chemical Data Management Office",
Expand Down
4 changes: 1 addition & 3 deletions examples/data-repository/minimal.jsonld
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"@context": {
"@vocab": "http://schema.org/"
},
"@context": "https://schema.org/",
"@type": ["Service", "ResearchProject"],
"legalName": "Example Data Repository",
"name": "ExDaRepo",
Expand Down
14 changes: 8 additions & 6 deletions examples/dataset/full.jsonld
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"@context": {
"@vocab": "http://schema.org/",
"prov": "http://www.w3.org/ns/prov#",
"provone": "http://purl.dataone.org/provone/2015/01/15/ontology#",
"spdx": "http://spdx.org/rdf/terms#"
},
"@context": [
"https://schema.org/",
{
"prov": "http://www.w3.org/ns/prov#",
"provone": "http://purl.dataone.org/provone/2015/01/15/ontology#",
"spdx": "http://spdx.org/rdf/terms#"
}
],
"@id": "http://lod.example-data-repository.org/id/dataset/3300",
"identifier": {
"@type": "PropertyValue",
Expand Down
4 changes: 1 addition & 3 deletions examples/dataset/minimal.jsonld
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"@context": {
"@vocab": "http://schema.org/"
},
"@context": "https://schema.org/",
"@type": "Dataset",
"@id": "https://example.org/datasets/1234567890",
"identifier": "doi:10.1234/1234567890",
Expand Down
27 changes: 14 additions & 13 deletions examples/dataset/temporalCoverage.jsonld
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{
"@context": {
"@vocab": "http://schema.org/",
"@context": [
"https://schema.org/",
{
"time": "http://www.w3.org/2006/time#",
"gstime": "http://schema.geoschemas.org/contexts/temporal#",
"ts": "http://resource.geosciml.org/vocabulary/timescale/",
"icsc": "http://resource.geosciml.org/clashttps://vocabs.ardc.edu.au/repository/api/lda/csiro/international-chronostratigraphic-chart/geologic-time-scale-2020/resource?uri=http://resource.geosciml.org/classifier/ics/ischart/Boundariessifier/ics/ischart/"
},
}
],
"@graph": [
{
"@type": "Dataset",
Expand All @@ -32,8 +34,7 @@
"time:inTimePosition": {
"@type": "time:TimePosition",
"time:hasTRS": {"@id": "gstime:MillionsOfYears"},
"time:numericPosition": 0.76,
}
"time:numericPosition": 0.76
}
}
},
Expand All @@ -46,8 +47,8 @@
"time:inTimePosition": {
"@type": "time:TimePosition",
"time:hasTRS": {"@id": "gstest:BillionsOfYears"},
"time:numericPosition": 4.404,
}
"time:numericPosition": 4.404
},
"gstime:uncertainty": 0.008,
"gstime:uncertaintySigma": 2
}
Expand All @@ -64,8 +65,8 @@
"@type": "time:TimePosition",
"rdfs:comment": "beginning is older bound of age envelop",
"time:hasTRS": {"@id": "gstime:MillionsOfYears"},
"time:numericPosition": 18.0,
}
"time:numericPosition": 18.0
},
"gstime:uncertainty": 0.35,
"gstime:uncertaintySigma": 2
},
Expand All @@ -75,8 +76,8 @@
"@type": "time:TimePosition",
"rdfs:comment": "ending is younger bound of age envelop",
"time:hasTRS": {"@id": "gstime:MillionsOfYears"},
"time:numericPosition": 12.7,
}
"time:numericPosition": 12.7
},
"gstime:uncertainty": 0.4,
"gstime:uncertaintySigma": 2
}
Expand All @@ -91,8 +92,8 @@
"time:inTimePosition": {
"@type": "time:TimePosition",
"time:hasTRS": {"@id": "gstime:ThousandsOfYears"},
"time:numericPosition": 2460,
}
"time:numericPosition": 2460
},
"gstime:uncertaintyOlder": 130,
"gstime:uncertaintyYounger": 80,
"gstime:uncertaintySigma": 1
Expand Down

0 comments on commit 16a482e

Please sign in to comment.