Skip to content

Use robot export to generate subset TSV files.#1186

Merged
gouttegd merged 1 commit intomasterfrom
use-robot-export-for-subset-tsv
Feb 21, 2025
Merged

Use robot export to generate subset TSV files.#1186
gouttegd merged 1 commit intomasterfrom
use-robot-export-for-subset-tsv

Conversation

@gouttegd
Copy link
Contributor

@gouttegd gouttegd commented Feb 20, 2025

For every subset, we produce a TSV file that is supposed to list the classes in the subset. This is done by a SPARQL query.

However, this can be done much more efficiently with a robot export command, which is what we do here. On some ontologies that I have tested (Uberon, CL), this is about 2 to 3 times faster.

This also automatically excludes blank nodes from the listing, contrary to the original SPARQL query.

closes #798

For every subset, we produce a TSV file that is supposed to list the
classes in the subset. This is done by a SPARQL query.

However, this can be done much more efficiently with a `robot export`
command, which is what we do here. On some ontologies that I have
tested (Uberon, CL), this is about 2 to 3 times faster.

This also automatically exclude blank nodes from the listing, contrary
to the original SPARQL query.

closes #798
@gouttegd gouttegd self-assigned this Feb 20, 2025
@gouttegd gouttegd requested a review from matentzn February 20, 2025 22:54
Copy link
Contributor

@matentzn matentzn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@gouttegd gouttegd merged commit f37b15d into master Feb 21, 2025
1 check passed
@gouttegd gouttegd deleted the use-robot-export-for-subset-tsv branch February 21, 2025 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Subset TSV makes a lot of noise in diff?

2 participants