def get_all_classes(owl_data):
    """Get classes from given owl JSON-LD data."""
    classes = list()
    for obj in owl_data["defines"]:
        if obj["@type"] == "http://www.w3.org/2002/07/owl#Class":
            classes.append(obj)
    return classes