{
    "query": {
        "@type": "koral:group",
        "operation": "operation:sequence",
        "operands": [
            {
                "@type": "koral:reference",
                "operation": "operation:focus",
                "classRef": [2],
                "operands": [{
                    "@type": "koral:group",
                    "operation": "operation:relation",
                    "operands": [
                        {
                            "@type": "koral:reference",
                            "operation": "operation:focus",
                            "classRef": [1],
                            "operands": [{
                                "@type": "koral:group",
                                "operation": "operation:sequence",
                                "operands": [
                                    {
                                        "@type": "koral:group",
                                        "operation": "operation:class",
                                        "classOut": 2,
                                        "operands": [{
                                            "@type": "koral:token",
                                            "wrap": {
                                                "@type": "koral:term",
                                                "layer": "p",
                                                "key": "V",
                                                "match": "match:eq"
                                            }
                                        }]
                                    },
                                    {
                                        "@type": "koral:group",
                                        "operation": "operation:class",
                                        "classOut": 1,
                                        "operands": [{
                                            "@type": "koral:span",
                                            "layer": "c",
                                            "key": "NP",
                                            "match": "match:eq"
                                        }]
                                    }                                    
                                ],
                                "inOrder": true
                            }]
                        },
                        {
                            "@type": "koral:group",
                            "operation": "operation:class",
                            "classOut": 3,
                            "operands": [{
                                "@type": "koral:token",
                                "wrap": {
                                    "@type": "koral:term",
                                    "layer": "p",
                                    "key": "P",
                                    "match": "match:eq"
                                }
                            }]
                        }
                    ],
                    "relType": {
                        "@type": "koral:relation",
                        "wrap": {
                            "@type": "koral:term",
                            "foundry": "mate",
                            "layer": "d",
                            "key" : "HEAD"
                        }
                    }
                }]
            },
            {
                "@type": "koral:reference",
                "operation": "operation:focus",
                "classRef": [3]
            }
        ],
        "inOrder": true
    },
    "meta": {}
}
