Update to include sparql_insert() support.
Add basic predicate derivation.