QueryColor(
EventPartner(
FilterFirst(
FilterCollision(
Events, FilterUnique(SceneAtStart, Z C S)
)
), FilterUnique(SceneAtStart, Z C S)
)
)
{
"nodes": [
{
"inputs": [],
"type": "start_scene"
},
{
"side_inputs": [
"<Z>",
"<C>",
"<S>"
],
"inputs": [
0
],
"type": "filter_unique"
},
{
"inputs": [],
"type": "events"
},
{
"inputs": [
2, 1
],
"type": "filter_events"
},
{
"inputs": [
3
],
"type": "filter_collision"
},
{
"inputs": [
4
],
"type": "filter_first"
},
{
"inputs": [
1, 5
],
"type": "event_partner"
},
{
"inputs": [
6
],
"type": "query_color"
}
],
"params": [
{
"type": "Size",
"name": "<Z>"
},
{
"type": "Color",
"name": "<C>"
},
{
"type": "Shape",
"name": "<S>"
}
],
"constraints": []
}
automatically.
To give an example, following program,
should be converted to following JSON question template,
automatically.