Skip to main content

Has Chunk

A file has one or more chunks.

ApplicationsObject property
IRI
http://ontology.naas.ai/abi/document/hasChunk
Inverse of
is Chunk Of
Module
document · Applications

Domain and range​

Domain
File
Range
Chunk

Examples​

  • The file 'report.md' has chunks produced by the MarkdownToVectorProcessor.
Turtle
@prefix ex: <https://example.org/> .

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

ex:file1 <http://ontology.naas.ai/abi/document/hasChunk> ex:chunk1 . # has Chunk
SPARQL

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