<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def from_url(url: str, **kwargs) -> BELGraph: """Load a BEL graph from a URL resource. :param url: A valid URL pointing to a BEL document The remaining keyword arguments are passed to :func:`pybel.io.line_utils.parse_lines`. """

    log.info('Loading from url: %s', url)
    res = download(url)
    lines = (line.decode('utf-8') for line in res.iter_lines())

    graph = BELGraph(path=url)
    parse_lines(graph=graph, lines=lines, **kwargs)
    return graph