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

Improve CONSTRUCT detection #15

Open
abrisse opened this issue Mar 12, 2018 · 1 comment
Open

Improve CONSTRUCT detection #15

abrisse opened this issue Mar 12, 2018 · 1 comment

Comments

@abrisse
Copy link
Member

abrisse commented Mar 12, 2018

See https://github.com/ruby-rdf/rdf-sesame/blob/develop/lib/rdf/sesame/repository.rb#L311

Today the detection of SPARQL Construct to define the default format to text/plain is quite ugly (based on regular expression /bconstruct/b). It should be removed or enhance.

@Richard-Degenne
Copy link

FWIW, according to the SPARQL specs, the formal definition of a Construct query is that the first word after the prologue is CONSTRUCT.

That shouldn't be that hard to parse properly?

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

No branches or pull requests

2 participants