<commit_before># Simple Ontology FormaT (SOFT)

SOFT is a human-readable and human-editable ontology format.  SOFT
files can be created and modified using basic text editor like vi or
emacs and processed using common command-line Unix tools like grep or
diff.  SOFT supports representation of ontologies as triples similar
to RDF and n3 formats.  Support for time-indexed relations is in the
development.  In addition to triples, SOFT supports storing of entity
properties in CSV format or relational database.

SOFT ontologies can be rendered as diagrams using Graphviz layout
engine (http://graphviz.org) with support for advanced styles.
Currently software support for SOFT is implemented as perl module
SOFT.pm.  Such functionality as parsing, validating, and writing of
the SOFT and its associated files is available.  Also ontologies in
SOFT format can be converted into Graphviz gv files for diagram
rendering or into plain text for use in other programs.

# SOFT Data Model

* relations in ontologies are represented as triples using the
  following syntax:
```
cat:category1 -relation-> cat:category2
```<commit_msg>example added to a readme file<commit_after># Simple Ontology FormaT (SOFT)

SOFT is a human-readable and human-editable ontology format.  SOFT
files can be created and modified using basic text editor like vi or
emacs and processed using common command-line Unix tools like grep or
diff.  SOFT supports representation of ontologies as triples similar
to RDF and n3 formats.  Support for time-indexed relations is in the
development.  In addition to triples, SOFT supports storing of entity
properties in CSV format or relational database.

SOFT ontologies can be rendered as diagrams using Graphviz layout
engine (http://graphviz.org) with support for advanced styles.
Currently software support for SOFT is implemented as perl module
SOFT.pm.  Such functionality as parsing, validating, and writing of
the SOFT and its associated files is available.  Also ontologies in
SOFT format can be converted into Graphviz gv files for diagram
rendering or into plain text for use in other programs.

## SOFT Specification in 5 Lines
```

# Simple Ontology FormaT (*.soft)
#
# [section]
# [[subsection]]
# entity_type:enity_name -relation_name-> entity_type:enity_name 
```
## SOFT Example 
```

# this is a comment (ignored)
    
[Healthy_Food]
cat:apples -subcat-> cat:fruits
cat:oranges -subcat-> cat:fruits
```
and it renders in

![SOFT Example 1](wiki/example1.png)

# SOFT Data Model

* relations in ontologies are represented as triples using the
  following syntax:
```
cat:category1 -relation-> cat:category2
```
{'fraction_non_alphanumeric': 0.05458680818802123, 'fraction_numerical': 0.003411675511751327, 'mean_word_length': 4.699784017278618, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1384952', 'n_tokens_mistral': 741, 'n_tokens_neox': 706, 'n_words': 362}