Skip to content
sorokine edited this page Apr 23, 2012 · 4 revisions

SOFT Advanced Features

Combining Multiple SOFT Files

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

ditto

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

Line Continuations

use \ character to show line continuations:


cat:c \\   
-has_part-> \\
cat:b

is the same as


cat:c -has_part-> cat:b

Other

  • * denotes an entity that does not belong to the current section
  • relation arrow may point in either direction

Clone this wiki locally