Created
March 6, 2018 17:27
-
-
Save afs/cd6953b06985dde37a9581134ec13165 to your computer and use it in GitHub Desktop.
DER example (2108-03-06)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "== Step 1a" | |
curl --header 'Accept: application/trig' http://localhost:3030/ds | |
echo "----" | |
s-put http://localhost:3030/ds/data http://localhost:3030/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 | |
curl --header 'Accept: application/trig' http://localhost:3030/ds | |
echo "== Step 2b" | |
echo "----" | |
echo "== Step 3a" | |
rsparql --service http://localhost:3030/ds/query 'SELECT * WHERE {Graph ?G {?s ?p ?o}} ORDER BY ?G' | |
echo "== Step 3b" | |
echo "== Step 4a" | |
s-query --service http://localhost:3030/ds/query --output text 'SELECT * WHERE {Graph ?G {?s ?p ?o}} ORDER BY ?G' | |
echo "== Step 4b" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment