Skip to content

Commit

Permalink
add two completely trivial universal templates as examples
Browse files Browse the repository at this point in the history
  • Loading branch information
kltm committed Sep 15, 2017
1 parent 37c1c62 commit 5d6c0de
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
17 changes: 17 additions & 0 deletions context/go/sparql-templates/trivial-01.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
title:
"Trival query."
handle:
"trivial01"
description:
"A completely trivial query."
tags:
- "TODO"
endpoint:
"https://rdf.geneontology.org/sparql"
query: >
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT * WHERE {
?sub ?pred ?obj .
}
LIMIT 10
17 changes: 17 additions & 0 deletions context/go/sparql-templates/trivial-02.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
title:
"Trival query (longer)."
handle:
"trivial02"
description:
"A completely trivial query, with a higher limit."
tags:
- "TODO"
endpoint:
"https://rdf.geneontology.org/sparql"
query: >
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT * WHERE {
?sub ?pred ?obj .
}
LIMIT 20

0 comments on commit 5d6c0de

Please sign in to comment.