Extract the given :attr:`data` into a
    :class:`~.ExtractedLinkedDataResult` with the resulting data
    stripped of any Linked Data specifics. Any missing Linked Data
    properties are returned as ``None`` in the resulting
    :class:`~.ExtractLinkedDataResult`.

    Does not modify the given :attr:`data`.

def _extract_ld_data(data, data_format=None, **kwargs):
    """Extract the given :attr:`data` into a
    :class:`~.ExtractedLinkedDataResult` with the resulting data
    stripped of any Linked Data specifics. Any missing Linked Data
    properties are returned as ``None`` in the resulting
    :class:`~.ExtractLinkedDataResult`.

    Does not modify the given :attr:`data`.
    """
    if not data_format:
        data_format = _get_format_from_data(data)

    extract_ld_data_fn = _data_format_resolver(data_format, {
        'jsonld': _extract_ld_data_from_jsonld,
        'json': _extract_ld_data_from_json,
        'ipld': _extract_ld_data_from_ipld,
    })
    return extract_ld_data_fn(data, **kwargs)