Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option to generate yaml file with results for performance comparison in example queries #120

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

tanmay-9
Copy link

  • Takes --queries-file argument with a yaml filename as input to read the queries (format of yaml file: {queries: [{query: str, sparql: str}]}
  • Takes --generate-output-file argument to specify whether to generate a yaml file which can be used for performance comparison web app.
  • Takes --output-basename and --backend-name arguments, so that the output file can be named {args.output_basename}.{args.backend_name}.results.yaml
  • Added support for qlever-results+json header to example-queries
  • When output file needs to be generated, automatically use tsv format to get results for non-qlever backends and qlever-results+json format for qlever backends to get runtime execution tree information.
  • Added ruamel.yaml as a dependency in pyproject.toml to work with yaml files.

@tanmay-9 tanmay-9 force-pushed the generate-yml-file-example-queries branch 2 times, most recently from 4737cb5 to a6751ba Compare January 25, 2025 01:25
@tanmay-9 tanmay-9 force-pushed the generate-yml-file-example-queries branch from a6751ba to 4b0aa23 Compare February 12, 2025 00:50
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.

1 participant