-
Notifications
You must be signed in to change notification settings - Fork 50
Datalog notes
Jacob Nelson edited this page Oct 23, 2012
·
12 revisions
- Datalog allows general recursion; SPARQL only allows structural recursion in recent version
- Lots of research on optimization in the 80's
- Some commerical success (http://www.logicblox.com/)
- applications that generate queries
- alerts
- people who write queries
- client database
- pull-down menu-ish thing
- originally sgi uv, porting to xmt2
- lexis-nexis
{{{ blue-modern alice->bob: Test bob->alice: Test response }}}
- triple:
{ id, name, address }
-
id
is unique -
id
maps to multiplename
s -
name
maps to multipleaddresses
- find all ids that share two or more addresses with another id
- or that share single address, compute distance function on name and select if close enough
- select
- project
- join
- others
- aggregation
- union
- application-specific stuff
- greenplum (has some column-oriented stuff but not fully
- virtuoso (13-hour tournament query)
- SPARQL benchmarks? (http://blog.dydra.com/2011/05/27/sp2b-benchmarks)
-
word problems
-
c loops
-
sp^2bench : a sparql benchmark suite (icde 09)
- q7 is the one that's hard.
-
relational algebra (database textbook: )