We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I want to use relative URLs for my subjects (who doesn't!). However:
base <...>
declare base-uri "...";
XSPARQL just ignores them and doesn't output @base.
@base
I post-process the output with this pipeline in Makefile:
Makefile
%.ttl: xsparql.xsparql %.xml xsparql xsparql.xsparql input=$*.xml -f TEMP.ttl > /dev/null riot --syntax ttl --formatted ttl --base "..." TEMP.ttl |\ perl -00e '@a=<>; print shift @a; print sort @a' > $*.ttl rm TEMP.ttl
It pretty-prints with riot while specifying the base, then finally sorts by "paragraph" (turtle clause)
riot
base
The text was updated successfully, but these errors were encountered:
-f
No branches or pull requests
I want to use relative URLs for my subjects (who doesn't!). However:
base <...>
has no effect :-(declare base-uri "...";
doesn't fit anywhere. I tried several spots according to https://rawgit2.com/VladimirAlexiev/xsparql/master/doc/grammar.xhtml#baseURIDecl. But anyway, it's to specify the base of external URLs to be fetched, not the base of RDF terms.XSPARQL just ignores them and doesn't output
@base
.I post-process the output with this pipeline in
Makefile
:It pretty-prints with
riot
while specifying thebase
, then finally sorts by "paragraph" (turtle clause)The text was updated successfully, but these errors were encountered: