convert_to_obograph_remote
- convert_to_obograph_remote(iri: str, *, json_path: None | str | Path = None, check: bool = True, reason: bool = True) ParseResults [source]
Convert a remote OWL/OBO file to an OBO Graph JSON object.
- Parameters:
iri – The IRI for a remote OWL or OBO file
json_path – The optional path to store the intermediate OBO Graph JSON file generated by ROBOT. If not given, the OBO Graph JSON file will be put in a temporary directory and deleted after the function finishes.
check – By default, the OBO writer strictly enforces document structure rules <http://owlcollab.github.io/oboformat/doc/obo-syntax.html#4>. If an ontology violates these, the convert to OBO operation will fail. These checks can be ignored by setting this to false.
reason – Turn on ontology reasoning
- Returns:
An object with the parsed OBO Graph JSON and text output from the ROBOT conversion program