From a8e175f0991e8582e5a7920d3feb654934e0eb1d Mon Sep 17 00:00:00 2001 From: Vincent Emonet Date: Wed, 22 May 2024 10:28:48 +0200 Subject: [PATCH] Fix the query to get UniProt version (the graph is now https instead of http), and add a .gitignore file to ignore the target folder and generated examples_*.ttl files --- .gitignore | 2 ++ uniprot/24.ttl | 15 +++++++-------- 2 files changed, 9 insertions(+), 8 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..23e4304c4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/target/ +/examples_*.ttl diff --git a/uniprot/24.ttl b/uniprot/24.ttl index 51c921ec8..f04c15091 100644 --- a/uniprot/24.ttl +++ b/uniprot/24.ttl @@ -1,18 +1,17 @@ -prefix ex: -prefix up: -prefix sh: +prefix ex: +prefix up: +prefix sh: prefix schema: prefix rdf: -prefix rdfs: +prefix rdfs: ex:24 a sh:SPARQLSelectExecutable, sh:SPARQLExecutable ; sh:prefixes _:sparql_examples_prefixes ; schema:target ; rdfs:comment """Find the release number of the uniprot data that is currently being queried""" ; - sh:select """SELECT - ?version -FROM + sh:select """SELECT ?version +FROM WHERE -{ +{ [] ?version }""" .