{3} embed_item(qualitative_concept) :- item(qualitative_concept).
{3} embed_item(mammal) :- item(mammal).
{3} embed_item(inorganic_chemical) :- item(inorganic_chemical).
{3} embed_item(congenital_abnormality) :- item(congenital_abnormality).
{3} embed_item(laboratory_or_test_result) :- item(laboratory_or_test_result).
{3} embed_item(professional_society) :- item(professional_society).
{3} embed_item(clinical_attribute) :- item(clinical_attribute).
{3} embed_item(age_group) :- item(age_group).
{3} embed_item(hazardous_or_poisonous_substance) :- item(hazardous_or_poisonous_substance).
{3} embed_item(archaeon) :- item(archaeon).
{3} embed_item(physical_object) :- item(physical_object).
{3} embed_item(amino_acid_sequence) :- item(amino_acid_sequence).
{3} embed_item(professional_or_occupational_group) :- item(professional_or_occupational_group).
{3} embed_item(group) :- item(group).
{3} embed_item(bird) :- item(bird).
{3} embed_item(daily_or_recreational_activity) :- item(daily_or_recreational_activity).
{3} embed_item(biomedical_occupation_or_discipline) :- item(biomedical_occupation_or_discipline).
{3} embed_item(classification) :- item(classification).
{3} embed_item(cell_or_molecular_dysfunction) :- item(cell_or_molecular_dysfunction).
{3} embed_item(cell_function) :- item(cell_function).
{3} embed_item(quantitative_concept) :- item(quantitative_concept).
{3} embed_item(lipid) :- item(lipid).
{3} embed_item(educational_activity) :- item(educational_activity).
{3} embed_item(body_system) :- item(body_system).
{3} embed_item(health_care_activity) :- item(health_care_activity).
{3} embed_item(injury_or_poisoning) :- item(injury_or_poisoning).
{3} embed_item(occupational_activity) :- item(occupational_activity).
{3} embed_item(research_device) :- item(research_device).
{3} embed_item(food) :- item(food).
{3} embed_item(bacterium) :- item(bacterium).
{3} embed_item(alga) :- item(alga).
{3} embed_item(organism_attribute) :- item(organism_attribute).
{3} embed_item(chemical) :- item(chemical).
{3} embed_item(carbohydrate_sequence) :- item(carbohydrate_sequence).
{3} embed_item(amphibian) :- item(amphibian).
{3} embed_item(tissue) :- item(tissue).
{3} embed_item(reptile) :- item(reptile).
{3} embed_item(carbohydrate) :- item(carbohydrate).
{3} embed_item(experimental_model_of_disease) :- item(experimental_model_of_disease).
{3} embed_item(neuroreactive_substance_or_biogenic_amine) :- item(neuroreactive_substance_or_biogenic_amine).
{3} embed_item(fungus) :- item(fungus).
{3} embed_item(organophosphorus_compound) :- item(organophosphorus_compound).
{3} embed_item(fully_formed_anatomical_structure) :- item(fully_formed_anatomical_structure).
{3} embed_item(therapeutic_or_preventive_procedure) :- item(therapeutic_or_preventive_procedure).
{3} embed_item(self_help_or_relief_organization) :- item(self_help_or_relief_organization).
{3} embed_item(cell) :- item(cell).
{3} embed_item(anatomical_structure) :- item(anatomical_structure).
{3} embed_item(finding) :- item(finding).
{3} embed_item(nucleic_acid_nucleoside_or_nucleotide) :- item(nucleic_acid_nucleoside_or_nucleotide).
{3} embed_item(physiologic_function) :- item(physiologic_function).
{3} embed_item(fish) :- item(fish).
{3} embed_item(body_part_organ_or_organ_component) :- item(body_part_organ_or_organ_component).
{3} embed_item(temporal_concept) :- item(temporal_concept).
{3} embed_item(phenomenon_or_process) :- item(phenomenon_or_process).
{3} embed_item(social_behavior) :- item(social_behavior).
{3} embed_item(genetic_function) :- item(genetic_function).
{3} embed_item(molecular_function) :- item(molecular_function).
{3} embed_item(body_location_or_region) :- item(body_location_or_region).
{3} embed_item(intellectual_product) :- item(intellectual_product).
{3} embed_item(substance) :- item(substance).
{3} embed_item(research_activity) :- item(research_activity).
{3} embed_item(pharmacologic_substance) :- item(pharmacologic_substance).
{3} embed_item(acquired_abnormality) :- item(acquired_abnormality).
{3} embed_item(vertebrate) :- item(vertebrate).
{3} embed_item(cell_component) :- item(cell_component).
{3} embed_item(biologically_active_substance) :- item(biologically_active_substance).
{3} embed_item(gene_or_genome) :- item(gene_or_genome).
{3} embed_item(medical_device) :- item(medical_device).
{3} embed_item(antibiotic) :- item(antibiotic).
{3} embed_item(human) :- item(human).
{3} embed_item(invertebrate) :- item(invertebrate).
{3} embed_item(sign_or_symptom) :- item(sign_or_symptom).
{3} embed_item(immunologic_factor) :- item(immunologic_factor).
{3} embed_item(anatomical_abnormality) :- item(anatomical_abnormality).
{3} embed_item(nucleotide_sequence) :- item(nucleotide_sequence).
{3} embed_item(biologic_function) :- item(biologic_function).
{3} embed_item(conceptual_entity) :- item(conceptual_entity).
{3} embed_item(population_group) :- item(population_group).
{3} embed_item(disease_or_syndrome) :- item(disease_or_syndrome).
{3} embed_item(molecular_biology_research_technique) :- item(molecular_biology_research_technique).
{3} embed_item(element_ion_or_isotope) :- item(element_ion_or_isotope).
{3} embed_item(behavior) :- item(behavior).
{3} embed_item(activity) :- item(activity).
{3} embed_item(language) :- item(language).
{3} embed_item(body_space_or_junction) :- item(body_space_or_junction).
{3} embed_item(regulation_or_law) :- item(regulation_or_law).
{3} embed_item(machine_activity) :- item(machine_activity).
{3} embed_item(entity) :- item(entity).
{3} embed_item(environmental_effect_of_humans) :- item(environmental_effect_of_humans).
{3} embed_item(neoplastic_process) :- item(neoplastic_process).
{3} embed_item(patient_or_disabled_group) :- item(patient_or_disabled_group).
{3} embed_item(health_care_related_organization) :- item(health_care_related_organization).
{3} embed_item(body_substance) :- item(body_substance).
{3} embed_item(occupation_or_discipline) :- item(occupation_or_discipline).
{3} embed_item(vitamin) :- item(vitamin).
{3} embed_item(manufactured_object) :- item(manufactured_object).
{3} embed_item(enzyme) :- item(enzyme).
{3} embed_item(receptor) :- item(receptor).
{3} embed_item(organic_chemical) :- item(organic_chemical).
{3} embed_item(pathologic_function) :- item(pathologic_function).
{3} embed_item(idea_or_concept) :- item(idea_or_concept).
{3} embed_item(organism_function) :- item(organism_function).
{3} embed_item(governmental_or_regulatory_activity) :- item(governmental_or_regulatory_activity).
{3} embed_item(mental_process) :- item(mental_process).
{3} embed_item(rickettsia_or_chlamydia) :- item(rickettsia_or_chlamydia).
{3} embed_item(diagnostic_procedure) :- item(diagnostic_procedure).
{3} embed_item(organ_or_tissue_function) :- item(organ_or_tissue_function).
{3} embed_item(group_attribute) :- item(group_attribute).
{3} embed_item(biomedical_or_dental_material) :- item(biomedical_or_dental_material).
{3} embed_item(mental_or_behavioral_dysfunction) :- item(mental_or_behavioral_dysfunction).
{3} embed_item(embryonic_structure) :- item(embryonic_structure).
{3} embed_item(spatial_concept) :- item(spatial_concept).
{3} embed_item(event) :- item(event).
{3} embed_item(plant) :- item(plant).
{3} embed_item(virus) :- item(virus).
{3} embed_item(geographic_area) :- item(geographic_area).
{3} embed_item(functional_concept) :- item(functional_concept).
{3} embed_item(indicator_reagent_or_diagnostic_aid) :- item(indicator_reagent_or_diagnostic_aid).
{3} embed_item(laboratory_procedure) :- item(laboratory_procedure).
{3} embed_item(animal) :- item(animal).
{3} embed_item(molecular_sequence) :- item(molecular_sequence).
{3} embed_item(eicosanoid) :- item(eicosanoid).
{3} embed_item(amino_acid_peptide_or_protein) :- item(amino_acid_peptide_or_protein).
{3} embed_item(individual_behavior) :- item(individual_behavior).
{3} embed_item(clinical_drug) :- item(clinical_drug).
{3} embed_item(chemical_viewed_functionally) :- item(chemical_viewed_functionally).
{3} embed_item(natural_phenomenon_or_process) :- item(natural_phenomenon_or_process).
{3} embed_item(hormone) :- item(hormone).
{3} embed_item(drug_delivery_device) :- item(drug_delivery_device).
{3} embed_item(family_group) :- item(family_group).
{3} embed_item(steroid) :- item(steroid).
{3} embed_item(human_caused_phenomenon_or_process) :- item(human_caused_phenomenon_or_process).
{3} embed_item(chemical_viewed_structurally) :- item(chemical_viewed_structurally).
{3} embed_item(organization) :- item(organization).
{3} embed_item(organism) :- item(organism).
{3} embed_rel(exhibits) :- rel(exhibits).
{3} embed_rel(precedes) :- rel(precedes).
{3} embed_rel(issue_in) :- rel(issue_in).
{3} embed_rel(indicates) :- rel(indicates).
{3} embed_rel(produces) :- rel(produces).
{3} embed_rel(location_of) :- rel(location_of).
{3} embed_rel(treats) :- rel(treats).
{3} embed_rel(contains) :- rel(contains).
{3} embed_rel(conceptually_related_to) :- rel(conceptually_related_to).
{3} embed_rel(derivative_of) :- rel(derivative_of).
{3} embed_rel(measures) :- rel(measures).
{3} embed_rel(evaluation_of) :- rel(evaluation_of).
{3} embed_rel(affects) :- rel(affects).
{3} embed_rel(co-occurs_with) :- rel(co-occurs_with).
{3} embed_rel(interconnects) :- rel(interconnects).
{3} embed_rel(prevents) :- rel(prevents).
{3} embed_rel(isa) :- rel(isa).
{3} embed_rel(causes) :- rel(causes).
{3} embed_rel(connected_to) :- rel(connected_to).
{3} embed_rel(assesses_effect_of) :- rel(assesses_effect_of).
{3} embed_rel(diagnoses) :- rel(diagnoses).
{3} embed_rel(process_of) :- rel(process_of).
{3} embed_rel(property_of) :- rel(property_of).
{3} embed_rel(ingredient_of) :- rel(ingredient_of).
{3} embed_rel(degree_of) :- rel(degree_of).
{3} embed_rel(conceptual_part_of) :- rel(conceptual_part_of).
{3} embed_rel(associated_with) :- rel(associated_with).
{3} embed_rel(interacts_with) :- rel(interacts_with).
{3} embed_rel(manages) :- rel(manages).
{3} embed_rel(surrounds) :- rel(surrounds).
{3} embed_rel(analyzes) :- rel(analyzes).
{3} embed_rel(disrupts) :- rel(disrupts).
{3} embed_rel(method_of) :- rel(method_of).
{3} embed_rel(complicates) :- rel(complicates).
{3} embed_rel(performs) :- rel(performs).
{3} embed_rel(result_of) :- rel(result_of).
{3} embed_rel(adjacent_to) :- rel(adjacent_to).
{3} embed_rel(practices) :- rel(practices).
{3} embed_rel(occurs_in) :- rel(occurs_in).
{3} embed_rel(uses) :- rel(uses).
{3} embed_rel(carries_out) :- rel(carries_out).
{3} embed_rel(developmental_form_of) :- rel(developmental_form_of).
{3} embed_rel(manifestation_of) :- rel(manifestation_of).
{3} embed_rel(measurement_of) :- rel(measurement_of).
{3} embed_rel(part_of) :- rel(part_of).
{3} embed_rel(consists_of) :- rel(consists_of).


embed_item1(X) :- {3,3} embed_item(X).
embed_item1(X) :- {3,3} embed_rel(R), {3,3} embed_item(Y), {3} r(R,X,Y).
embed_item2(Y) :- {3,3} embed_item(X), {3,3} embed_rel(R), {3} r(R,X,Y).
embed_item2(Y) :- {3,3} embed_item(Y).

{1,3} predict(X,R,Y) :- {3,3} embed_item1(X), {3,3} embed_item2(Y), {3,3} embed_rel(R).