Best Practices for Ontology Naming

When creating ontologies for classification features there are many drop-downs that seem to take the same information. As an example, if we create a RadioQuestion global classification
there is a class name and class value box. We get yet another field to enter each answer option. It is not clear to me what the difference between the name and value fields are for classes, especially binary classification. If I am classifying images of avocados and I want to know whether the pit is showing, my ontology is riddled with duplicate information to get the radio button:


This makes for rather unpleasant parsing of the Label objects, e.g.
{“featureId”:“xyz”,“schemaId”:“xyz”,“scope”:“global”,“title”:“avocado?”,“value”:“avocado”,“answer”:{“featureId”:“xyz”,“schemaId”:“xyz”,“title”:“yes”,“value”:“yes”,“position”:0}}

What is the best practices on using these fields (particularly for binary classification) to prevent redundant information?

Hello @sstansell ,

So the only value we requires is the name for classification:

We will generate a snake case version for the value automatically, the purpose of having a value is for anything related to MAL or Ground truth import but in case you want to have it your way, well you can have it your.

lb.Classification(class_type=lb.Classification.Type.RADIO,
                          name="radio_question",
                          options=[
                              lb.Option(value="first_radio_answer"),
                              lb.Option(value="second_radio_answer")
                          ])

Same goes, for the options.

Hope that helps.