RunKit + npm: @arces-wot/sepa-js

node v10.24.1
endpointsharetweet
var Bench = require("@arces-wot/sepa-js").bench var bench = new Bench() var query = bench.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))}",{ day:{ "type": "literal", "value": "2020-07-14" } }) console.log(query)
Created from: https://npm.runkit.com/%40arces-wot%2Fsepa-js
Loading…