Skip to contents

retrieve ancestor 'sets'

Usage

ancestors(oe)

Arguments

oe

owlents instance

Value

a list of sets

Examples

pa = get_ordo_owl_path()
o2 = try(reticulate::import("owlready2"), silent=TRUE)
if (!inherits(o2, "try-error")) {
 orde = setup_entities(pa)
 orde
 ancestors(orde[1:5])
 labels(orde[1:5])
}