code: def _values(metadata, rel):
      
      result = []
      for r in metadata:
          if(r[REL] == rel):
              result.append(r[VAL])
  
      return result
docs: Searches a set <metadata> to find all relations <rel>
      Returns a list of the values of those relations
      (A list, because a rel can occur more than once)