home.social

#datalog — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #datalog, aggregated by home.social.

  1. Prolog nezmizel. Jeho hlavní myšlenku dnes potkáváme v nástrojích, které se Prologu na první pohled nepodobají: v CodeQL pro analýzu kódu, v Rego pro policy-as-code, v Z3 pro práci s omezeními a v Leanu pro formální důkazy. Každý řeší jiný problém, ale všechny připomínají totéž: někdy je lepší popsat vztahy, pravidla, omezení nebo tvrzení než vrstvit další if.

    https://zdrojak.cz/clanky/prolog-nezmizel-jen-dnes-zije-v-jinych-nastrojich/
  2. Prolog nezmizel. Jeho hlavní myšlenku dnes potkáváme v nástrojích, které se Prologu na první pohled nepodobají: v CodeQL pro analýzu kódu, v Rego pro policy-as-code, v Z3 pro práci s omezeními a v Leanu pro formální důkazy. Každý řeší jiný problém, ale všechny připomínají totéž: někdy je lepší popsat vztahy, pravidla, omezení nebo tvrzení než vrstvit další if.

    https://zdrojak.cz/clanky/prolog-nezmizel-jen-dnes-zije-v-jinych-nastrojich/
  3. Как я построил 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 итераций.

    habr.com/ru/articles/1003064/

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

  4. 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.

  5. 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”

    cybertec-postgresql.com/en/sup

  6. 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.

  7. TFW you optimize your compiler to the point where it realizes that your test case is a no-op.

    #Draupnir #Datalog

  8. 🚀 Breaking #news from the cutting-edge world of #database theory: some genius just discovered that "SQL" and "Datalog" are still things! 😲 Apparently, when you combine ancient #tech with buzzwords like "relational #algebra of the environment," you can create a mind-numbing blog post that rivals Ambien. 😴💤
    philipzucker.com/compose_datal #theory #SQL #Datalog #relational #HackerNews #ngated

  9. 🚀 Breaking #news from the cutting-edge world of #database theory: some genius just discovered that "SQL" and "Datalog" are still things! 😲 Apparently, when you combine ancient #tech with buzzwords like "relational #algebra of the environment," you can create a mind-numbing blog post that rivals Ambien. 😴💤
    philipzucker.com/compose_datal #theory #SQL #Datalog #relational #HackerNews #ngated

  10. 🚀 Breaking #news from the cutting-edge world of #database theory: some genius just discovered that "SQL" and "Datalog" are still things! 😲 Apparently, when you combine ancient #tech with buzzwords like "relational #algebra of the environment," you can create a mind-numbing blog post that rivals Ambien. 😴💤
    philipzucker.com/compose_datal #theory #SQL #Datalog #relational #HackerNews #ngated

  11. 🚀 Breaking #news from the cutting-edge world of #database theory: some genius just discovered that "SQL" and "Datalog" are still things! 😲 Apparently, when you combine ancient #tech with buzzwords like "relational #algebra of the environment," you can create a mind-numbing blog post that rivals Ambien. 😴💤
    philipzucker.com/compose_datal #theory #SQL #Datalog #relational #HackerNews #ngated

  12. 🚀 Breaking #news from the cutting-edge world of #database theory: some genius just discovered that "SQL" and "Datalog" are still things! 😲 Apparently, when you combine ancient #tech with buzzwords like "relational #algebra of the environment," you can create a mind-numbing blog post that rivals Ambien. 😴💤
    philipzucker.com/compose_datal #theory #SQL #Datalog #relational #HackerNews #ngated

  13. [New Blog Post] Compositional Datalog on SQL: Relational Algebra of the Environment #datalog #database #sql philipzucker.com/compose_datal

  14. Datalog in Rust: A workshop-inspired project to build an interactive Datalog engine, emphasizing usability & performance. Covers parsing, fact storage, & rule eval with program analysis demos.
    #Rust #Datalog #prorgamming #rustlang

    github.com/frankmcsherry/blog/

  15. 🦀✨ Ah, yes, another riveting tale of someone cramming #Datalog into #Rust because who doesn't love combining obscure technologies for funsies? 🚀🔧 It's like trying to fit a square peg in a round hole and calling it innovation—now with extra GitHub links for the brave souls who pretend to care. 🎉💾
    github.com/frankmcsherry/blog/ #Innovation #TechHumor #ObscureTech #HackerNews #ngated

  16. OMG #logseq queries what in the hell is this marvel yahoo answers #DataLog

  17. 🥸 Ah, #Scallop, the language of choice for those who can't decide between symbols and neurons, as if #AI needed more seasoning. 🧂 Just what we needed: another "revolutionary" tool, based on #Datalog, to baffle even the most dedicated programmers. ⚠️ Perfect for when you want your Python code to be even less comprehensible. 🐍
    scallop-lang.org/ #programming #humor #HackerNews #ngated

  18. Idea of on top of is interesting. It is marry 2 big camps and give more tools and power . go even forward and add more user friendly document based interface for on top of that could be translated to . Unfortunately we still has no tools for and on user device . I see that terminus store and effective engine improvemented in give a hope

  19. Idea of #propertygraph on top of #rdf is interesting. It is marry 2 big camps and give more tools and power . #terminusdb go even forward and add more user friendly document based interface for #linkeddata on top of #jsonld that could be translated to #rdf. Unfortunately we still has no tools for #edge and on user device . I see that terminus #hdt store and effective #datalog engine improvemented in #rust give a hope

  20. Idea of #propertygraph on top of #rdf is interesting. It is marry 2 big camps and give more tools and power . #terminusdb go even forward and add more user friendly document based interface for #linkeddata on top of #jsonld that could be translated to #rdf. Unfortunately we still has no tools for #edge and on user device . I see that terminus #hdt store and effective #datalog engine improvemented in #rust give a hope

  21. Idea of #propertygraph on top of #rdf is interesting. It is marry 2 big camps and give more tools and power . #terminusdb go even forward and add more user friendly document based interface for #linkeddata on top of #jsonld that could be translated to #rdf. Unfortunately we still has no tools for #edge and on user device . I see that terminus #hdt store and effective #datalog engine improvemented in #rust give a hope

  22. Idea of #propertygraph on top of #rdf is interesting. It is marry 2 big camps and give more tools and power . #terminusdb go even forward and add more user friendly document based interface for #linkeddata on top of #jsonld that could be translated to #rdf. Unfortunately we still has no tools for #edge and on user device . I see that terminus #hdt store and effective #datalog engine improvemented in #rust give a hope

  23. volodymyrpavlyshyn.medium.com/

    So, go from to on steroids.

    How does help us simplify structure? When using a different kind of graph.

    Yep, all this is a pure relational model that works better with a . Relational databases could be a good choice for and applications

  24. volodymyrpavlyshyn.medium.com/

    So, go from #directedgraph to #hypergraph on steroids.

    How does #namedgraph help us simplify structure? When using a different kind of graph.

    Yep, all this is a pure relational model that works better with a #datalog. Relational databases could be a good choice for #personalknowledge #graphs and #ai #empowered applications

  25. volodymyrpavlyshyn.medium.com/

    So, go from #directedgraph to #hypergraph on steroids.

    How does #namedgraph help us simplify structure? When using a different kind of graph.

    Yep, all this is a pure relational model that works better with a #datalog. Relational databases could be a good choice for #personalknowledge #graphs and #ai #empowered applications

  26. volodymyrpavlyshyn.medium.com/

    So, go from #directedgraph to #hypergraph on steroids.

    How does #namedgraph help us simplify structure? When using a different kind of graph.

    Yep, all this is a pure relational model that works better with a #datalog. Relational databases could be a good choice for #personalknowledge #graphs and #ai #empowered applications