<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def extract_entity(found):
 """Copy found entity to a dict."""

    obj = dict()
    for prop in found.entity.property:
        obj[prop.name] = prop.value.string_value
    return obj