# Hints for Exploring Hierarchies
 
# KEHOME/help/ExploreHierarchy.html
# Feb/14/2007

·        Caveat: Some questions and commands will abort with infinite loops.

·        ke –q –m –cyc                       # load Cyc Upper Ontology

·        do find od *phone* done;      # use wild cards to find concepts

·        people := ? isu Person;         # use dollar variable to save list of results

·        . is Person;                             # use current concept to save typing

·        . has ?; . rel ?;                       # all recorded facts in Cyc Upper Ontology

·        . isc* ?;                                  # subhierarchy

·        . isc**2 ?;                              # first two levels of subhierarchy

·        . isa* ?;                                  # all paths to Thing (you won’t believe how many)

·        . has comment = ?;                # almost as good as a definition

·        exit;                                        # exit mKE