setup_entities | R Documentation |
construct owlents instance from an owl file
setup_entities(owlfn)
owlfn |
character(1) path to valid owl ontology |
instance of owlents, which is a list with clnames ( a vector of term names in form '[namespace]_[tag]'), allents (a list with python references to owlready2 entities, that can be operated on using owlready2.EntityClass methods), owlfn (filename), iri (IRI), call (record of call producing the entity.)
pa = get_ordo_owl_path()
orde = setup_entities(pa)
orde
ancestors(orde[1000:1001])
labels(orde[1000:1001])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.