@classmethod
def _from_dict(cls, _dict):
    """Initialize a DisambiguationResult object from a json dictionary."""
    args = {}
    if 'name' in _dict:
        args['name'] = _dict.get('name')
    if 'dbpedia_resource' in _dict:
        args['dbpedia_resource'] = _dict.get('dbpedia_resource')
    if 'subtype' in _dict:
        args['subtype'] = _dict.get('subtype')
    return cls(**args)
