Schema/constraint configuration in data #103
Replies: 5 comments
-
Candidate schema model: Atomic Schema |
Beta Was this translation helpful? Give feedback.
-
Candidate schema model: using OWL with a closed-world mode, as decided on for TerminusDB |
Beta Was this translation helpful? Give feedback.
-
Candidate schema model: SHACL (link to example).
|
Beta Was this translation helpful? Give feedback.
-
Candidate schema model: LinkML |
Beta Was this translation helpful? Give feedback.
-
Candidate schema model: JSON Type Definition {
"properties": {
"name": { "type": "string" },
"isAdmin": { "type": "boolean" }
},
"optionalProperties": {
"middleName": { "type": "string" }
}
} |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
what
Use (a sub-/super-set of) a schema language like SHACL or ShEx to define constraints, in the domain data.
why
Key to decentralised extensibility. See Realtime Information Sharing with RDF (paper).
Authorisation implications are being investigated in m-ld/m-ld-security-spec#2
Potential issue: schema constraint checking could be naively O(number of schema classes x number of subjects in the update), because a change may not include type information. Need to establish
@type
early.Beta Was this translation helpful? Give feedback.
All reactions