Skip to content

Commit ad7634c

Browse files
committed
Uplift "ontology" and "rdfData"
1 parent 285d090 commit ad7634c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ogc/bblocks/register-context.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ transform:
1010
| .shaclShapes |= (if length > 0 then to_entries | map({ "prof:hasArtifact": .value, "rdfs:seeAlso": "bblocks://\(.key)", "prof:hasRole": "role:validation", "dct:format": "text/turtle", "dct:conformsTo": "shacl:" }) else null end)
1111
| .schema |= (if length > 0 then to_entries | map({ "prof:hasArtifact": .value , "prof:hasRole": "role:schema", "dct:format": .key, "dct:conformsTo": "https://json-schema.org/draft/2020-12/schema" }) else null end)
1212
| .openAPIDocument |= if . then { "prof:hasArtifact": . , "prof:hasRole": "role:schema", "dct:format": "application/yaml", "dct:conformsTo": "https://spec.openapis.org/oas/v3.1.0.html" } else null end
13+
| .ontology |= if . then { "prof:hasArtifact": . , "prof:hasRole": "role:specification", "dct:format": "text/turtle", "dct:conformsTo": "http://www.w3.org/2002/07/owl#Ontology" } else null end
14+
| .rdfData |= if length > 0 then map({ "prof:hasArtifact": . , "prof:hasRole": "role:data", "dct:format": "text/turtle" }) else [] end
1315
| .dependsOn |= if length > 0 then map("bblocks://\(.)") else null end
1416
| .profileOf |= if length > 0 then map("bblocks://\(.)") else null end
1517
| if $CS_URI then ."skos:topConceptOf" = {"@id": $CS_URI} end
@@ -145,3 +147,9 @@ context:
145147
'@type': '@id'
146148
rdfs:seeAlso:
147149
'@type': '@id'
150+
ontology:
151+
'@id': prof:hasResource
152+
'@type': '@id'
153+
rdfData:
154+
'@id': prof:hasResource
155+
'@type': '@id'

0 commit comments

Comments
 (0)