W3C home > Mailing lists > Public > public-schemaorg@w3.org > April 2017

Decision tree schema

From: Krzysztof Tomasz Zembrowski <krzysztof@zembrowski.com>
Date: Wed, 19 Apr 2017 14:26:01 +0200
Message-Id: <D4F7B6E6-2C99-43F8-80E7-C6EECF233904@zembrowski.com>
To: public-schemaorg@w3.org
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:12:35 UTC