Closed cthoyt closed 17 hours ago
The new output looks nicer, but it's an exaggeration to say the old output is "very difficult to read".
It's good that this PR doesn't break the syntax (your robot convert
check). It's also important to check that it doesn't change the content.
@cthoyt Can you fix the conflict, please?
Nico asked me to double check the content in https://github.com/obophenotype/ncbitaxon/pull/88#discussion_r1361906045 and I realized that the turtle was very difficult to read. This PR updates the way the turtle is output (but not its content).
It mostly rearranges indentation and where semicolons
;
are put. A notable change is I use nested objects for dbxrefs, which reduces some more visual clutter such as inI checked with
python3 src/ncbitaxon.py build/taxdmp.zip ncbitaxon.ttl
androbot convert -i ncbitaxon.ttl -o ncbitaxon.owl
that this still makes valid and correct turtle that can be converted to OWL