File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 44
55example usage:
66```bash
7- sparqlquery path/to/data.ttl -q "SELECT ?x WHERE {?x a foaf:Person. }"
7+ sq path/to/data.ttl -q "SELECT ?x WHERE {?x a foaf:Person. }"
88 rdfpipe test.ttl | sparqlquery - -q "SELECT ?x WHERE {?x a foaf:Person. }" --format json
9- sparqlquery data.ttl -q "ASK {:john a foaf:Person}" --format xml | grep true
10- sparqlquery path/to/data.ttl --query-file query.rq
11- sparqlquery data1.ttl data2.ttl -q "DESCRIBE <http://example.com/john>" --format turtle:+spacious
12- sparqlquery http://example.com/sparqlendpoint --query-file query.rq
13- sparqlquery http://example.com/sparqlendpoint --query-file query.rq --username user --password secret
14- sparqlquery /pyth/to/berkeley.db -q "SELECT ?x WHERE {?x a foaf:Person. }" --remote-storetype BerkeleyDB
9+ sq data.ttl -q "ASK {:john a foaf:Person}" --format xml | grep true
10+ sq path/to/data.ttl --query-file query.rq
11+ sq data1.ttl data2.ttl -q "DESCRIBE <http://example.com/john>" --format turtle:+spacious
12+ sq http://example.com/sparqlendpoint --query-file query.rq
13+ sq http://example.com/sparqlendpoint --query-file query.rq --username user --password secret
14+ sq /pyth/to/berkeley.db -q "SELECT ?x WHERE {?x a foaf:Person. }" --remote-storetype BerkeleyDB
1515```
1616
1717Tip: You can check the truth value for an ASK query, by regex in stdout for 'true'
You can’t perform that action at this time.
0 commit comments