Implement simple RDF-ish triple based write API

Objective: no more hassling with complicated relational data model.
Documentation: see wiki