Decision tree schema

Dear all,

does a schema for a decision tree structure exist?

I'm wondering whether it's reasonable to output the whole decision tree (with all questions, decision possibilities and answers [the whole tree with all branches]) in the ld+json format.

Moreover, does it makes sense to nest it, like the following example:

Question
__ Choice
____ Answer
__ Choice
____ Question
______ Choice
________ Answer
______ Choice
________ Answer
cf. https://jsfiddle.net/zembrowski/q50L7t6f/

or

make it completely flat (with or without dependencies), like this example:

Question1
Question2
Choice1_1
Choice1_2
Choice2_1
Choice2_2
Answer1
Answer2
Answer3
and add a parameter to each element with the correlation.
cf. https://jsfiddle.net/zembrowski/hevu3jof/

Would be more than happy to read your thoughts on this topic.

Thank you in advance. 

Best regards,
Krzysztof

Received on Thursday, 20 April 2017 07:26:24 UTC