ancestors | R Documentation |
retrieve ancestor 'sets'
ancestors(oe)
oe |
owlents instance |
a list of sets
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])
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.