This is the shortest backend validation flow.
cargo run --bin http_servercurl http://localhost:8080/health
curl http://localhost:8080/ops/statuscurl -X POST http://localhost:8080/api/queries \
-H "Content-Type: application/json" \
-d '{
"query_id": "test_query",
"janusql": "PREFIX ex: <http://example.org/> SELECT ?s ?p ?o FROM NAMED WINDOW ex:w ON STREAM ex:sensorStream [START 0 END 9999999999999] WHERE { WINDOW ex:w { ?s ?p ?o . } }"
}'curl -X POST http://localhost:8080/api/queries/test_query/startws://localhost:8080/api/queries/test_query/results
curl -X POST http://localhost:8080/api/queries/test_query/stop
curl -X DELETE http://localhost:8080/api/queries/test_querycurl -X POST http://localhost:8080/api/replay/start \
-H "Content-Type: application/json" \
-d '{
"input_file": "data/sensors.nq",
"broker_type": "none",
"topics": ["sensors"],
"rate_of_publishing": 1000,
"loop_file": false,
"add_timestamps": true
}'Check replay metrics:
curl http://localhost:8080/api/replay/statusFor the maintained frontend, use:
https://github.com/SolidLabResearch/janus-dashboard