ontology-mapper
Map materials science terms, crystal structures, and sample descriptions to ontology classes and properties. Supports any ontology registered in ontology_registry.json. Use when translating natural-language material descriptions to ontology terms, annotating simulation inputs with ontology metadata, or mapping crystal parameters (space group, Bravais lattice, lattice constants) to standardized ontology representations.
npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill ontology-mapper --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Ontology Mapper ## Goal Translate real-world materials science descriptions into standardized ontology annotations. Given terms like "FCC copper" or structured data like `{"material": "iron", "structure": "BCC", "lattice_a": 2.87}`, produce the corresponding ontology classes and properties for any registered ontology. ## Requirements - Python 3.8+ - No external dependencies (Python standard library only) - Requires ontology-explorer's summary JSON and `ontology_registry.json` - Per-ontology mapping config (`<name>_mappings.json`) for ontology-specific synonyms and labels ## Inputs to Gather | Input | Description | Example | |-------|-------------|---------| | Ontology | Ontology name from registry | `cmso`, `asmo` | | Term(s) | Natural-language materials concept(s) | `"unit cell"`, `"FCC,copper,lattice"` | | Crystal system | One of the 7 crystal systems | `cubic`, `hexagonal` | | Bravais lattice | Lattice type (symbol or common name) | `FCC`, `cF`, `BCC` | | Space group | Space group number (1-230) | `225` | | Lattice parameters | a, b, c in angstroms; alpha, beta, gamma in degrees | `a=3.615` | | Sample description | JSON dict with material properties | `{"material":"copper","st
- Goal
- Requirements
- Inputs to Gather
- Decision Guidance
- Script Outputs (JSON Fields)
- Workflow
- Conversational Workflow Example
- CLI Examples
- Adding a New Ontology
- Error Handling
- Interpretation Guidance
- Limitations
- References
- Version History
Map a single concept python3 skills/ontology/ontology-mapper/scripts/concept_mapper.py \ Map multiple terms Map crystal parameters (with ontology-specific labels) python3 skills/ontology/ontology-mapper/scripts/crystal_mapper.py \ Map crystal parameters (generic labels, no ontology specified) Annotate a full sample python3 skills/ontology/ontology-mapper/scripts/sample_annotator.py \
What does the ontology-mapper skill do?
Map materials science terms, crystal structures, and sample descriptions to ontology classes and properties. Supports any ontology registered in ontology_registry.json. Use when translating natural-language material descriptions to ontology terms, annotating simulation inputs with ontology metadata, or mapping crystal parameters (space group, Bravais lattice, lattice constants) to standardized ontology representations.
How do I install it?
Run `npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill ontology-mapper --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From FreedomIntelligence/OpenClaw-Medical-Skills, a repository with 2,909 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
