Have I ever mentioned that I think #triplestores, especially ones that use a #datalog query language. are absolutely brilliant? It’s strange that they aren’t more widely used. #clojure #RDF #edn #lisp #databases
This is a good #Datalog tutorial I needed: https://dbai.tuwien.ac.at/proj/dlv/tutorial/
The DLV Tutorial

Как я построил Graph RAG систСму с Ρ‚ΠΎΡ‡Π½ΠΎΡΡ‚ΡŒΡŽ 96.7% Π·Π° 5 Π΄Π½Π΅ΠΉ: ΠΎΡ‚ Π½Π°ΡƒΡ‡Π½Ρ‹Ρ… статСй Π΄ΠΎ production-ready ΠΏΠ°ΠΉΠΏΠ»Π°ΠΉΠ½Π°

Π― Ρ€Π΅Π°Π»ΠΈΠ·ΠΎΠ²Π°Π» Graph RAG систСму, которая ΠΊΠΎΠΌΠ±ΠΈΠ½ΠΈΡ€ΡƒΠ΅Ρ‚ 5 Ρ‚Π΅Ρ…Π½ΠΈΠΊ ΠΈΠ· свСТих Π½Π°ΡƒΡ‡Π½Ρ‹Ρ… статСй (KET-RAG, HippoRAG 2, VectorCypher) Π² Π΅Π΄ΠΈΠ½Ρ‹ΠΉ ΠΏΠ°ΠΉΠΏΠ»Π°ΠΉΠ½ с Π΄Π΅ΠΊΠ»Π°Ρ€Π°Ρ‚ΠΈΠ²Π½Ρ‹ΠΌ Datalog reasoning-Π΄Π²ΠΈΠΆΠΊΠΎΠΌ, ΠΏΠΎΠ»Π½ΠΎΠΉ провСнансной трассировкой ΠΈ Ρ‚ΠΈΠΏΠΈΠ·ΠΈΡ€ΠΎΠ²Π°Π½Π½Ρ‹ΠΌ API. Π Π΅Π·ΡƒΠ»ΡŒΡ‚Π°Ρ‚: 174/180 (96.7%) Π½Π° билингвальном Π±Π΅Π½Ρ‡ΠΌΠ°Ρ€ΠΊΠ΅ ΠΈΠ· 30 вопросов, ΠΎΡ†Π΅Π½Ρ‘Π½Π½Ρ‹Ρ… Π² 6 Ρ€Π΅ΠΆΠΈΠΌΠ°Ρ… retrieval. Π’Ρ€ΠΈ Ρ€Π΅ΠΆΠΈΠΌΠ° достигли 100%. Π’ ΡΡ‚Π°Ρ‚ΡŒΠ΅ β€” Π°Ρ€Ρ…ΠΈΡ‚Π΅ΠΊΡ‚ΡƒΡ€Π°, 10 ΡƒΡ€ΠΎΠΊΠΎΠ² ΠΎΠΏΡ‚ΠΈΠΌΠΈΠ·Π°Ρ†ΠΈΠΈ ΠΈ ΡΠ²ΠΎΠ»ΡŽΡ†ΠΈΡ ΠΎΡ‚ 38% Π΄ΠΎ 96.7% Π·Π° 10 ΠΈΡ‚Π΅Ρ€Π°Ρ†ΠΈΠΉ.

https://habr.com/ru/articles/1003064/

#GraphRAG #RAG #Neo4j #NLP #LLM #Python #Datalog #Knowledge_Graph #embeddings #PageRank

Как я построил Graph RAG систСму с Ρ‚ΠΎΡ‡Π½ΠΎΡΡ‚ΡŒΡŽ 96.7% Π·Π° 5 Π΄Π½Π΅ΠΉ: ΠΎΡ‚ Π½Π°ΡƒΡ‡Π½Ρ‹Ρ… статСй Π΄ΠΎ production-ready ΠΏΠ°ΠΉΠΏΠ»Π°ΠΉΠ½Π°

Skeleton Indexing (KDD 2025) + HippoRAG 2 (ICML 2025) + VectorCypher + Datalog Reasoning + 10 ΠΈΡ‚Π΅Ρ€Π°Ρ†ΠΈΠΉ ΠΎΠΏΡ‚ΠΈΠΌΠΈΠ·Π°Ρ†ΠΈΠΈ TL;DR Π― Ρ€Π΅Π°Π»ΠΈΠ·ΠΎΠ²Π°Π» Graph RAG систСму, которая ΠΊΠΎΠΌΠ±ΠΈΠ½ΠΈΡ€ΡƒΠ΅Ρ‚ 5 Ρ‚Π΅Ρ…Π½ΠΈΠΊ ΠΈΠ· свСТих Π½Π°ΡƒΡ‡Π½Ρ‹Ρ…...

Π₯Π°Π±Ρ€
Why does no one use #Datalog as a database language? It’s so much simpler than #SQL and much easier to write. I mean, I already know the answerβ€”AI winter, unconventional computation model, and combinatorial explosions in complex queriesβ€”but it still feels unfair for such an elegant technology to just go to waste.
I feel tempted to write a toy(ish) #Datalog database similar to Datomic in #OCaml, just to understand how that type of DBs work, and to learn how to optimize Datalog queries. Maybe not the most efficient way to learn, but I think it's most fun.
Split #mangle #datalog repo into go and Rust repos and moved from GitHub to Codeberg today ... getting organized: https://codeberg.org/TauCeti
TauCeti

Codeberg is a non-profit community-led organization that aims to help free and open source projects prosper by giving them a safe and friendly home.

Codeberg.org

duuuude....

https://github.com/danja/dogalog

I might need to install npm.

#datalog #music

GitHub - danja/dogalog: livecoding prolog style

livecoding prolog style. Contribute to danja/dogalog development by creating an account on GitHub.

GitHub

Even though I mostly use #Datalog databases these days (mostly #Datomic), many #PostgreSQL tidbits make me (unreasonably?) happy. Like this one: β€œAggregate first - join later”

https://www.cybertec-postgresql.com/en/super-fast-aggregations-in-postgresql-19/

Super fast aggregations in PostgreSQL 19

This blog talks aggregations in PostgreSQL version 19. Read in, check use cases and learn more about the feature.

CYBERTEC PostgreSQL | Services & Support

Recursion in #Draupnir is getting closer, making it very nearly a proper #Datalog compiler. What would normally be a simple task is becoming considerably harder due to the need to support general monoid bases for the relations (which we want for cleaner aggregates than Souffle), as well as the need to handle batch scheduling to support disk.

The main challenge so far has been coming up with an execution plan that safely batches each iteration, while playing nicely with our push+pull scheduler, and simultaneously making sure that it maintains the correct arity of each tuple. Not hard... but very finicky.

We've come up with a pretty clean set of extensions to our logical pipeline DAG that seem like they elegantly capture recursion, and compiling a simple (count the paths) query to the logical stage appears to be producing a sensible graph. This has revealed some bugs in the pipeline optimizer, and we still need to add support into the interpreter... but it's progressing.

There are many datalog implementations, but there is only one that has a mangle in its logo. #Mangle #datalog