From 5d6c0dea08c119ce44e7db2fe3d46bc36da2602f Mon Sep 17 00:00:00 2001 From: Seth Carbon Date: Fri, 15 Sep 2017 02:33:54 -0700 Subject: [PATCH] add two completely trivial universal templates as examples --- context/go/sparql-templates/trivial-01.yaml | 17 +++++++++++++++++ context/go/sparql-templates/trivial-02.yaml | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 context/go/sparql-templates/trivial-01.yaml create mode 100644 context/go/sparql-templates/trivial-02.yaml diff --git a/context/go/sparql-templates/trivial-01.yaml b/context/go/sparql-templates/trivial-01.yaml new file mode 100644 index 00000000..b8365107 --- /dev/null +++ b/context/go/sparql-templates/trivial-01.yaml @@ -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: + PREFIX rdfs: + SELECT * WHERE { + ?sub ?pred ?obj . + } + LIMIT 10 diff --git a/context/go/sparql-templates/trivial-02.yaml b/context/go/sparql-templates/trivial-02.yaml new file mode 100644 index 00000000..ccdf8c55 --- /dev/null +++ b/context/go/sparql-templates/trivial-02.yaml @@ -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: + PREFIX rdfs: + SELECT * WHERE { + ?sub ?pred ?obj . + } + LIMIT 20