With the Drupal / YAD7 Y module, arbitrary data can be stored and readily retrieved using triplets.
Y goes much further than that, though. You can store, retrieve, retrieve and process raw database records, Drupal entities, and arbitrary XML data using Y utilities.