Skip to content

Instantly share code, notes, and snippets.

@der
Created March 7, 2018 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save der/7e1e711c6341df417e9ff18416bd1a5c to your computer and use it in GitHub Desktop.
Save der/7e1e711c6341df417e9ff18416bd1a5c to your computer and use it in GitHub Desktop.
fuseki mem test - failing script
#!/bin/bash
echo "== Step 1a"
curl --header 'Accept: application/trig' http://localhost:3030/ds
echo "----"
s-put http://localhost:3030/ds/data http://localhost/graph5 update.ttl
echo "== Step 1b"
curl --header 'Accept: application/trig' http://localhost:3030/ds
echo "----"
echo "== Step 2a"
rupdate --service=http://localhost:3030/ds/update --file U1.ru
echo "----"
curl --header 'Accept: application/trig' http://localhost:3030/ds
echo "----"
echo "== Step 3a"
rsparql --service http://localhost:3030/ds/query 'SELECT * WHERE {Graph ?G {?s ?p ?o}} ORDER BY ?G'
echo "----"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment