Skip to content

Commit

Permalink
add rawQuery for reference
Browse files Browse the repository at this point in the history
  • Loading branch information
jingjingwang committed Aug 10, 2015
1 parent 6cf871f commit c6b169f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,5 +180,6 @@
}
],
"logicalRa": "",
"rawQuery": ""
"rawQuery": "CC(x, x) :- Edge(x, y); CC(y, MIN(v)) :- CC(x, v), Edge(x, y); CC(y, MIN(v)) :- CC(y, v);",
"language": "datalog"
}
3 changes: 2 additions & 1 deletion jsonQueries/transitive_closure_jwang/transitive_closure.json
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@
}
],
"logicalRa": "",
"rawQuery": "",
"rawQuery": "TC(x, y) :- TC(x, v), Edges(v, y);",
"language": "datalog",
"ftMode": "REJOIN"
}

1 comment on commit c6b169f

@senderista
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure how your recursion for TC is grounded (but I'm a Datalog novice). Wouldn't it be something like

TC(x, y) :- Edges(x, y)
TC(x, z) :- TC(x, y), Edges(y, z)

Please sign in to comment.