Has Chunk
A file has one or more chunks.
ApplicationsObject property
Domain and range​
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