def get_all_properties(owl_data):
    """Get properties from given owl JSON-LD data."""
    properties = list()
    for obj in owl_data["defines"]:
        obj_type = obj["@type"]
        if type(obj_type) == list:
            for prop in obj_type:
                if prop["@id"] == "http://www.w3.org/2002/07/owl#ObjectProperty":
                    properties.append(obj)
        elif type(obj_type) == dict:
            if obj_type["@id"] == "http://www.w3.org/2002/07/owl#ObjectProperty":
                properties.append(obj)

    return properties