Skip to content

Commit

Permalink
Remove endpoint from queries and add to endpoint.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
c-martinez committed May 2, 2020
1 parent 4baa248 commit 7289823
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 8 deletions.
16 changes: 16 additions & 0 deletions description.rq
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#+ description: Extended description of my query/operation.
#+ This can be a more extensive than the summary and in can span
#+ multiple lines.
#+
#+ Descriptions support (to some extent) [CommonMark](https://commonmark.org/help/).

PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX schema: <http://schema.org/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

SELECT ?band ?album ?genre WHERE {
?band rdf:type dbo:Band .
?album rdf:type schema:MusicAlbum .
?band dbo:genre ?genre .
?album dbo:artist ?band .
} LIMIT 100
2 changes: 1 addition & 1 deletion endpoint.rq
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#+ endpoint: https://dbpedia.org/sparql
#+ endpoint: https://other.default.endpoint/sparql

PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX schema: <http://schema.org/>
Expand Down
1 change: 1 addition & 0 deletions endpoint.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://dbpedia.org/sparql
1 change: 0 additions & 1 deletion endpoint_url.rq
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#+ endpoint: https://dbpedia.org/sparql
#+ endpoint_in_url: False

PREFIX dbo: <http://dbpedia.org/ontology/>
Expand Down
1 change: 0 additions & 1 deletion enumerate.rq
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#+ endpoint: https://dbpedia.org/sparql
#+ enumerate:
#+ - genre:
#+ - http://dbpedia.org/resource/Rock_music
Expand Down
1 change: 0 additions & 1 deletion method.rq
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#+ endpoint: https://dbpedia.org/sparql
#+ method: POST

PREFIX dbo: <http://dbpedia.org/ontology/>
Expand Down
1 change: 0 additions & 1 deletion pagination.rq
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#+ endpoint: https://dbpedia.org/sparql
#+ pagination: 5

PREFIX dbo: <http://dbpedia.org/ontology/>
Expand Down
2 changes: 1 addition & 1 deletion summary.rq
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#+ summary: This is the summary of my query/operation
#+ summary: This is the summary of my query/operation.

PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX schema: <http://schema.org/>
Expand Down
1 change: 0 additions & 1 deletion tags.rq
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#+ endpoint: https://dbpedia.org/sparql
#+ tags:
#+ - group1

Expand Down
1 change: 0 additions & 1 deletion transform.rq
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#+ endpoint: https://dbpedia.org/sparql
#+ transform: {
#+ "band": "?band",
#+ "album": "?album",
Expand Down

0 comments on commit 7289823

Please sign in to comment.