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

Feature - Use IRI as the identifier of query #25

Open
keski opened this issue Jan 15, 2018 · 0 comments
Open

Feature - Use IRI as the identifier of query #25

keski opened this issue Jan 15, 2018 · 0 comments

Comments

@keski
Copy link

keski commented Jan 15, 2018

Is there a reason why continuous queries cannot be identified using as a resource (IRI)? If there is no particular reason for this I would propose making this change in the parse. I've tried this locally and everything seems to work fine. Would this have any unforeseen consequences for the C-SPARQL execution engine?

Example query:

REGISTER STREAM <http://stream2> AS
SELECT *
FROM NAMED STREAM <http://stream1> [RANGE 1s STEP 1s]
WHERE {
   ?s ?p ?o
}

Grammar/master.jj

(t = <SINGLELETTERTEXT> { queryName = queryName + t.image ; } | t = <NUMBERS> { queryName = queryName + t.image ; })+ <SPACE> < AS > { setCsparqlQueryName(queryName.trim()); }

to

( t = <IRIref> <SPACE> < AS > { setCsparqlQueryName(t.image); } )
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

1 participant