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

Missing variable substitution in FILTER #13

Open
lroffia opened this issue Jul 14, 2020 · 1 comment
Open

Missing variable substitution in FILTER #13

lroffia opened this issue Jul 14, 2020 · 1 comment

Comments

@lroffia
Copy link
Contributor

lroffia commented Jul 14, 2020

"IRRIGATION_REQUEST_BY_DAY": {
"sparql": "SELECT * FROM <http://swamp-project.org/cbec/irrigation> WHERE {?irr rdf:type swamp:IrrigationRequest ; time:inXSDDateTimeStamp ?timestamp ; swamp:issuedBy swamp:CBEC ; swamp:hasCurrentStatus swamp:Scheduled ; swamp:requestNumber ?requestNumber ; swamp:reservationNumber ?reservationNumber ; swamp:hasField ?fieldUri ; swamp:hasStatus ?status . ?status time:inXSDDateTimeStamp ?stime ; swamp:requestStatus ?reqStatus . FILTER(contains(?timestamp,?day))}",
			"forcedBindings": {
				"day": {
					"type": "literal",
					"value": "2020-07-14"
				}
			}
		}

It seems like "?day" is not substituted within the query.

@relu91
Copy link
Member

relu91 commented Jul 23, 2020

It seems that the query bench correctly substitutes the variable. See here. Can you provide more context? i.e. client version, a small snippet to reproduce the issue, etc. ?

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