-
Notifications
You must be signed in to change notification settings - Fork 1
Advanced Features
sorokine edited this page Apr 23, 2012
·
4 revisions
SOFT has two directives for combining several SOFT files into a single ontology:
\include file.soft
# will include a soft file as if the files are concatenated together
\comprise file.soft
# will include a soft file with its section becoming subsections in the present context
To save typing if you have many repeating entities use ~ character to copy the remainder of the line from the previous line:
cat:c -s-> cat:d
cat:e -s-> ~
cat:f~
that is equivalent to
cat:c -s-> cat:d
cat:e -s-> cat:d
cat:f -s-> cat:d
use \ character to show line continuations:
cat:c \\
-has_part-> \\
cat:b
is the same as
cat:c -has_part-> cat:b
-
*denotes an entity that does not belong to the current section - relation arrow may point in either direction