- ontologize(text): Promise<{
entities: Entity[];
rejected_relations: {
name: string;
source: string;
target: string;
}[];
relations: {
name: string;
source: string;
target: string;
}[];
text: string;
validated_relations: {
name: string;
source: string;
target: string;
}[];
}> Returns Promise<{
entities: Entity[];
rejected_relations: {
name: string;
source: string;
target: string;
}[];
relations: {
name: string;
source: string;
target: string;
}[];
text: string;
validated_relations: {
name: string;
source: string;
target: string;
}[];
}>