ancestors_names: obtain list of names of a set of ancestors

View source: R/owl_ops.R

ancestors_namesR Documentation

obtain list of names of a set of ancestors

Description

obtain list of names of a set of ancestors

Usage

ancestors_names(anclist)

Arguments

anclist

output of 'ancestors'

Value

list of vectors of character()

Note

non-entities are removed and names are extracted

Examples

pa = get_ordo_owl_path()
o2 = try(reticulate::import("owlready2"), silent=TRUE)
if (!inherits(o2, "try-error")) {
 orde = setup_entities(pa)
 al = ancestors(orde[1001:1002])
 ancestors_names(al)
}

vjcitn/ontoProc documentation built on Jan. 9, 2025, 3:21 p.m.