Skip to content

Commit

Permalink
Fix examples which were fetching from remote repositories.
Browse files Browse the repository at this point in the history
  • Loading branch information
gkellogg committed Aug 26, 2023
1 parent 35223f1 commit 6f5ee63
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -308,15 +308,15 @@ a full set of RDF formats.
### Command line processing

sparql execute --dataset etc/doap.ttl etc/from_default.rq
sparql execute -e "SELECT * FROM <etc/doap.ttl> WHERE { ?s ?p ?o }"
sparql execute --dataset etc/doap.ttl -e "SELECT * FROM <etc/doap.ttl> WHERE { ?s ?p ?o }"

# Generate SPARQL Algebra Expression (SSE) format
sparql parse etc/input.rq
sparql parse -e "SELECT * WHERE { ?s ?p ?o }"

# Generate SPARQL Query from SSE
sparql parse --sse etc/input.sse --format sparql
sparql parse --sse --format sparql -e "(dataset (<http://usefulinc.com/ns/doap>) (bgp (triple ?s ?p ?o))))"
sparql parse --sse --format sparql -e "(dataset (<etc/doap.ttl>) (bgp (triple ?s ?p ?o))))"

# Run query using SSE input
sparql execute --dataset etc/doap.ttl --sse etc/input.sse
Expand Down
2 changes: 1 addition & 1 deletion etc/from_default.rq
Original file line number Diff line number Diff line change
@@ -1 +1 @@
SELECT * FROM <http://usefulinc.com/ns/doap> WHERE { ?s ?p ?o }
SELECT * FROM <etc/doap.ttl> WHERE { ?s ?p ?o }
2 changes: 1 addition & 1 deletion etc/input.sse
Original file line number Diff line number Diff line change
@@ -1 +1 @@
(dataset (<http://usefulinc.com/ns/doap>) (bgp (triple ?s ?p ?o))))
(dataset (<etc/doap.ttl>) (bgp (triple ?s ?p ?o))))

0 comments on commit 6f5ee63

Please sign in to comment.