ddlog
ddlog copied to clipboard
Compiler for writing DeepDive applications in a Datalog-like language — ⚠️🚧🛑 REPO MOVED TO DEEPDIVE 👇🏿
This rule ``` @weight(f) tag(w, "GROOVY") :- features(w, f). ``` is compiled as if it's ``` @weight(f) tag(w, t) :- features(w, f). ```
(At least in the dynamic multinomial branch) the spouse example can barely finish because the grounding SQL of a binary factor is on top of a double-self-join where each base...
Currently SQL functions such as random() that has zero arguments are not accepted using deepdive compile. Here is Jaeho's note: > Actually, I took a brief look at ddlog compiler...
To be more pragmatic for real users, sharing common schema declaration, etc. will be necessary. One easy way to implement this is with the `cpp` C/C++ macro processor and let...
I have a ddlog file shown below. Note that the last reference to the nlp table has the wrong schema. When the ddlog file is compiled, there was no error...
Just tried writing a query like `blah(wordidxs[1] - 3) :- ....` , but cannot combine `-` with array indexing
The types used in function (udf) declaration should accept two forms: - [x] 1. Using `rows like X` (similar to the currently only supported `like X` syntax): ``` function f...
In ddlog, if you don't specify a table layout, arbitrary queries are being set up as views. If you later decide to "materialize" the view by writing a table definition...
Some important warnings should fail the build, such as non-exaustive pattern matching, motivated by #77.
I first thought it was a JVM booting latency issue and optimized that a bit, but didn't help much (1-2 seconds saving after first launch). I just did a dumb...