Skip to content

Missing variable substitution in FILTER #13

Description

@lroffia
"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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions