Skip to main content

Chunk index

The zero-based position of the chunk within its source document.

ApplicationsDatatype property
IRI
http://ontology.naas.ai/abi/document/chunk_index
Module
document · Applications

Domain and range​

Domain
Chunk
Range
xsd:integer

Examples​

  • The first chunk of a document has chunk_index 0.
Turtle
@prefix ex: <https://example.org/> .

ex:chunk1 a <http://ontology.naas.ai/abi/document/Chunk> . # Chunk

ex:chunk1 <http://ontology.naas.ai/abi/document/chunk_index> 1 . # chunk index
SPARQL

# Pairs linked by "chunk index"
SELECT ?subject ?object WHERE {
?subject <http://ontology.naas.ai/abi/document/chunk_index> ?object .
}
LIMIT 100