For the complete documentation index, see llms.txt. This page is also available as Markdown.

Bulk Update

Simplified example of bulk update for InterLex terms.

Prerequisite code

Please see Bulk Addfor all prequisite code

Bulk Update

from ontquery.interlex import interlex_client 
from ilxutils.sql import production_sql

# from_backup=True only avaliable if used cmd `backup_ilx` once ilxutils was installed
sql = production_sql(from_backup=True)


terms = sql.get_terms()
syn = sql.get_synonyms()
annotations = sql.get_annotations()
ex = sql.get_existing_ids()
superclass = sql.get_superclasses()
relationship = sql.get_relationships()

# Client
ilx_cli = interlex_client('scicrunch.org').ilx_cli

The docstring for the update_entity!

Last updated