mrmechko / pytrips

GNU General Public License v2.0
6 stars 2 forks source link

Accessor for axioms/definitions #31

Closed anyhannah closed 5 years ago

anyhannah commented 5 years ago

Two functions added:

  1. Look up definitions of an ont type; e.g. ont['asleep-val'].definitions
  2. find ont types whose definitions have the given ont type; e.g. ont['d::move']
anyhannah commented 5 years ago

Correction: Returned definitions are (nested) lists of strings.