= null || indata('selected', 'value', datum.treeAncestors.id)"
            }
          ]
        },
        {
          "name": "filtered-aggregate",
          "source": "filtered",
          "transform": [{ "type": "aggregate", "groupby": ["id"] }]
        },
        {
          "name": "children-of-selected",
          "source": "selected",
          "transform": [
            {
              "type": "lookup",
              "from": "tree-ancestors-flatt",
              "key": "id",
              "fields":