code: private static String getAdjacentBlankNodeName(Map<String, Object> node, String id) {
          return "blank node".equals(node.get("type"))
                  && (!node.containsKey("value") || !Obj.equals(node.get("value"), id))
                          ? (String) node.get("value")
                          : null;
      }
docs: A helper function that gets the blank node name from an RDF quad node
  (subject or object). If the node is a blank node and its value does not
  match the given blank node ID, it will be returned.
  
  @param node
  the RDF quad node.
  @param id
  the ID of the blank node to look next to.
  
  @return the adjacent blank node name or null if none was found.