code: function _listToRDF(list, namer, subject, predicate, triples) {
    var first = {type: 'IRI', value: RDF_FIRST};
    var rest = {type: 'IRI', value: RDF_REST};
    var nil = {type: 'IRI', value: RDF_NIL};
  
    for(var i = 0; i < list.length; ++i) {
      var item = list[i];
  
      var blankNode = {type: 'blank node', value: namer.getName()};
      triples.push({subject: subject, predicate: predicate, object: blankNode});
  
      subject = blankNode;
      predicate = first;
      var object = _objectToRDF(item);
      triples.push({subject: subject, predicate: predicate, object: object});
  
      predicate = rest;
    }
  
    triples.push({subject: subject, predicate: predicate, object: nil});
  }
docs: Converts a @list value into linked list of blank node RDF triples
  (an RDF collection).
  
  @param list the @list value.
  @param namer a UniqueNamer for assigning blank node names.
  @param subject the subject for the head of the list.
  @param predicate the predicate for the head of the list.
  @param triples the array of triples to append to.