Page 34
What vector search is good at, and what it is not
Getting documents in
Building the lexical graph
Retrieval, in six steps
Two graphs, on purpose
Extraction that knows what to look for
Make the credit policy queryable
40 minChunk the Meridian Credit Policy PDF, extract concepts, build a small lexical graph in Fuseki, embed the chunks into a local vector index, then run a hybrid retrieval that answers the arrears question with a page citation and links the answer to the ontology class.
make lab-up # once, starts Postgres + Fuseki + Ontop
make lab lab10-graphrag
Full instructions, starter files and the solution are in
labs/modules/lab10-graphrag/README.md. The lab checks its own
work, so you will know if it passed.
Quiz
7 questions, pass mark 70%. Answers are explained either way, so a wrong guess is not wasted.