django-rdflib and postgresql - the best of both worlds
summary
Integrates django-rdflib with PostgreSQL full-text search by forking and fixing django-fts and rdflib, adding a custom manager that preserves chaining, a management command to rebuild all indices, result highlighting, and buffered bulk inserts (graph.commit) to avoid per-row synchronous inserts. Drops SQL constraints to speed writes, uses PostgreSQL stemming/dictionaries and a rank_field to sort by relevance, supports SPARQL and a Pythonic API, and powers the Brain Architecture Management System with immediate indexing and on-the-fly RDF/XML export.
AI-written summary · about
chapters (21)
- 0:00Intro
- 15:58Custom Manager
- 19:08Database Migration
- 22:13Sparkle alternative
- 22:48Writing from scratch
- 23:43Jungle integration
- 24:55Constraints
- 26:20Basic operations
- 26:51Simple triples
- 27:44Remove triples
- 28:46Sparkle
- 30:18Brain Architecture Management
- 31:38Search
- 32:17Terminal Nerve
- 33:27Extended Form
- 33:44Relevance Naming
- 34:44Full Text Search
- 35:07Complete Search
- 35:36Mixing Search Terms
- 36:59Highlighting
- 37:26Questions








