Skip to content

Step 2: Reuse

3 min · step 2 of 8

Introduction#

Check whether someone has already modeled your subject, and record what you found.

Reuse saves you work, and it makes your ontology easier to share. Even a “we looked and found nothing” is worth a note, because someone will ask later. You can read the full guide to this step in Method.

What you’ll make#

One design decision, a note that explains a choice, saying you’re starting from scratch and why.

Run the commands#

Run the okb reuse none command and give your reason:

okb reuse none --why "No coffee vocabulary is small enough to teach with, so this ontology starts from scratch. A real café would look at a food or beverage vocabulary first."
Recorded that no existing ontology was reused, with your reason as a design decision.

Read the output#

  • okb confirms in one line and keeps your reason with the ontology.
  • A reader in a year can see that you looked, and why you chose not to reuse.

Check your work#

okb status
okb step next
Espresso drinks  · 0 classes · 0 slots · 0 instances · 6 questions

✓ 1. Determine the domain and scope
✓ 2. Consider reusing existing ontologies ◀ you are here
     ✓ Reuse has been considered and recorded
○ 3. Enumerate important terms
○ 4. Define the classes and the class hierarchy
○ 5. Define the properties of classes (slots)
○ 6. Define the facets of the slots
○ 7. Create instances
○ 8. Review against your questions, and iterate

Validator (steps 1–2): ✗ 0  ! 0  i 0   okb validate for details

Step 2 looks done. When you're happy with it: okb step next

Now on step 3. (To read a step's guide without moving: okb explain 3)

Step 3 of 8: Enumerate important terms

  Goal: Brainstorm every term you'd want to make statements about or explain to a user, without
  worrying yet about what kind of thing each one is.
  Why it matters: It separates what matters from how to model it. Trying to do both at once is
  the main reason beginners freeze.

Questions to answer
  • What are the things we'd like to talk about?
  • What properties do those things have?
  • What would we like to say about those things?
  • Read your competency questions: which nouns and verbs appear in them?

You're done when
  ○ At least 10 terms listed

Tips
  • Include nouns (wine, winery), adjectives and properties (color, body, sweet), and verbs
  (produces, goes well with).
  • Overlaps and duplicates are fine here. You'll sort them out in Steps 4 and 5.
  • Mine your competency questions and any documents you collected in Step 2.

In Ontology 101's wine example
  Terms in the wine example include wine, grape, winery, location, a wine's color, body, flavor
  and sugar content, fish, red meat and white wine.

Commands
  okb term add

Common mistakes

  • Letting this step stall you. A quick search is enough for a first version.
  • Skipping the record. Step 2 isn’t complete without it.

Next step#

You recorded that you’re building from scratch, and why. Next, you’ll brainstorm the words people use about coffee.

View page source