-
Notifications
You must be signed in to change notification settings - Fork 23
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
Support :prologue header argument in ob-sparql.el #74
Comments
johanwk
changed the title
Support :prologue header argument
Support :prologue header argument in ob-sparql.el
Mar 20, 2024
@johanwk Why do you have |
No, the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A small change to
org-babel-expand-body:sparql
allows for:prologue
and:epilogue
header arguments on SPARQL blocks in org-mode. With this, the list of query prefixes can kept in a single place, and sparql queries take up less space in the org file.I find the following works for me -- replacing
(insert body)
in the current version oforg-babel-expand-body:sparql
to add the contents of prologue and epilogue header arguments.How this can be used:
First, keep prefixes in block of its own. Here, the prefixes are neatly listed in an org table.
Second, put the
:prologue
header argument in a property drawer for a section.The text was updated successfully, but these errors were encountered: