[conradL@qimr13054 ~]$ stardog-admin db create -n test
Loading complete.
Inserted 0 triples in 00:00:00.782 at 0.0K triples/sec
Successfully created database 'test'.
[conradL@qimr13054 ~]$ for n in `seq 1 3`; do queryfile="test$n.sparql"; echo ==$queryfile==; cat $queryfile; stardog query test $queryfile; done
==test1.sparql==
#
#
#
SELECT *
WHERE {
?s ?p ?o
}
+-------+-------+-------+
| s | p | o |
+-------+-------+-------+
+-------+-------+-------+
Query returned 0 results in 00:00:00.030
==test2.sparql==
#
#
#
SELECT *
WHERE {
?s ?p ?o
}
+-------+-------+-------+
| s | p | o |
+-------+-------+-------+
+-------+-------+-------+
Query returned 0 results in 00:00:00.029
==test3.sparql==
#
#
#
SELECT *
WHERE {
?s ?p ?o
}
Not a valid query string or a file: Encountered " "select" "SELECT "" at line 4, column 1.
Was expecting one of:
<EOF>
";" ...
"base" ...
"prefix" ...
"load" ...
"clear" ...
"drop" ...
"add" ...
"move" ...
"copy" ...
"create" ...
"insert" ...
"delete" ...
"with" ...