annotation / stam

Stand-off Text Annotation Model (STAM) is a data model for stand-off-text annotation where any information on a text is represented as an annotation. This repository contains the model's full specification, extensions, schemas, examples and documentation.
https://annotation.github.io/stam/
Creative Commons Attribution Share Alike 4.0 International
17 stars 2 forks source link

Add LIMIT keyword to STAMQL #25

Closed proycon closed 5 months ago

proycon commented 5 months ago

Add and implement a LIMIT keyword to the query language that allows limiting a result sequence to only n results: LIMIT n, or that allows taking arbitrary ranges LIMIT m,n. Ideally with support for negative numbers, for end-aligned results, e.g. LIMIT -5 gives the last five results whereas LIMIT 5 give the first five.