Serialization of a relation with an attribute should be updated. Currently it is serialized into a SpanWithAttribute. However, SpanAttribute would be sufficient because it describes the start and end positions of the element/relation it belongs to.
See de.ids_mannheim.korap.query.TestSpanRelationQueryJSON.testMatchBothRelationNodesWithAttribute()
The KoralQuery used in the test should also be simplified by removing layer and match in koral:span.
Serialization of a relation with an attribute should be updated. Currently it is serialized into a SpanWithAttribute. However, SpanAttribute would be sufficient because it describes the start and end positions of the element/relation it belongs to.
See de.ids_mannheim.korap.query.TestSpanRelationQueryJSON.testMatchBothRelationNodesWithAttribute()
The KoralQuery used in the test should also be simplified by removing layer and match in koral:span.