domains / families / data / ontology-validator
ontology-validator
separate
Validate material sample annotations and data structures against ontology constraints. Use when checking if CMSO annotations are correct, verifying that required properties are present, or validating that object property relationships have consistent domain and range. Catches unknown classes, unknown properties, domain mismatches, and missing required fields.
When to use
- checking if CMSO annotations are correct
- verifying that required properties are present
- validating that object property relationships have consistent domain and range
- catching unknown classes
- catching unknown properties
- catching domain mismatches
- catching missing required fields
When not to use
- Constraints file is manually curated, not derived from OWL axioms
- Does not validate data types (e.g., whether a value is actually a float vs string)
- Does not validate cardinality (e.g., exactly one space group per structure)
- Subclass checking uses simple parent traversal, not full OWL reasoning
Skill page
Source