Get the rdfs:label for a term
get_label(x, term_id, ...)character(1) label, or NA_character_ if not found.
goref <- semsql_connect(ontology = "go")
#> Connected to SemanticSQL database: /home/runner/.cache/R/BiocFileCache/51aa7efd341e_go.db
#> Primary ontology prefix: GO
get_label(goref, "GO:0006915") # "apoptotic process"
#> subject label
#> 1 GO:0006915 apoptotic process
disconnect(goref)
#> Disconnected from '51aa7efd341e_go.db'