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])
}
#>                                                                         4.0 
#>                                                                 "CC BY 4.0" 
#>                                                                 Orphanet_10 
#>                                                          "48,XXYY syndrome" 
#>                                                             Orphanet_377789 
#>                                                     "Malformation syndrome" 
#>                                                             Orphanet_557493 
#>                                                                  "disorder" 
#>                                                             Orphanet_102283 
#> "Multiple congenital anomalies/dysmorphic syndrome-intellectual disability"