Skip to content

Commit e63980a

Browse files
committed
small edits to docs
1 parent 1e37a5b commit e63980a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Options:
9999

100100
#### Listing Ontologies
101101

102-
`onotoenv list-ontologies` will display a list of ontology names in the workspace.
102+
`ontoenv list-ontologies` will display a list of ontology names in the workspace.
103103

104104
`ontoenv dump` will print out an alphabetized list of all ontologies in the workspace, their imports, number of triples, and other metadata.
105105

@@ -117,8 +117,11 @@ If GraphViz is installed, `ontoenv dep-graph` will output a PDF graph representa
117117
from ontoenv import Config, OntoEnv
118118
from rdflib import Graph
119119

120-
# create config object
120+
# create config object. This assumes you have a 'brick' folder locally storing some ontologies
121121
cfg = Config(["brick"], strict=False, offline=True)
122+
# can also create an 'empty' config object if there are no local ontologies
123+
# cfg = Config(strict=False, offline=True)
124+
122125
# make the environment
123126
env = OntoEnv(cfg)
124127

0 commit comments

Comments
 (0)