Adding raw predicate database retrevial

+ Nilesh Patel
+ Alex Fortier