Instantiate an owl_xml object
owl_xml.Rd
Instantiate a python owl.xml
object from the
pyDOID package (powered by
reticulate). The file will be loaded
into memory when instantiated. Though named "owl" this method will also work
for RDF files.
Classes & Methods
The owl.xml
class thinly wraps a small set of python
rdflib methods to enable SPARQL
1.1 queries, with the following methods:
owl_xml$query(query, reload)
: Execute a SPARQL 1.1 query.query
may be a string or the path to a .sparql/.rq file. Usereload = TRUE
to force reload a file into memory; useful when iterating through releases/tags withDOrepo$tag_iterate()
.owl_xml$load()
: Manually load a file into memory. Generally, this should not be necessary.
See also
Other pyDOID classes:
DOrepo()