retrieve ancestor 'sets'
ancestors(oe)
owlents instance
a list of sets
pa = get_ordo_owl_path()
orde = setup_entities(pa)
orde
#> owlents instance with 15239 classes.
ancestors(orde[1:5])
#> $`4.0`
#> {by.4.0, owl.Thing}
#>
#> $Orphanet_10
#> {ORDO.Orphanet_C001, ORDO.Orphanet_557493, owl.Thing, ORDO.Orphanet_377789, ORDO.Orphanet_10}
#>
#> $Orphanet_377789
#> {ORDO.Orphanet_377789, ORDO.Orphanet_557493, owl.Thing, ORDO.Orphanet_C001}
#>
#> $Orphanet_557493
#> {ORDO.Orphanet_557493, owl.Thing, ORDO.Orphanet_C001}
#>
#> $Orphanet_102283
#> {ORDO.Orphanet_87277, ORDO.Orphanet_68341, ORDO.Orphanet_C001, ORDO.Orphanet_557492, ORDO.Orphanet_102369, ORDO.Orphanet_93890, owl.Thing, ORDO.Orphanet_98006, ORDO.Orphanet_102283}
#>
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"