-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
2 changed files
with
9 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/target/ | ||
/examples_*.ttl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,17 @@ | ||
prefix ex: <https://sparql.uniprot.org/.well-known/sparql-examples/> | ||
prefix up: <http://purl.uniprot.org/core/> | ||
prefix sh: <http://www.w3.org/ns/shacl#> | ||
prefix ex: <https://sparql.uniprot.org/.well-known/sparql-examples/> | ||
prefix up: <http://purl.uniprot.org/core/> | ||
prefix sh: <http://www.w3.org/ns/shacl#> | ||
prefix schema:<https://schema.org/> | ||
prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
prefix rdfs:<http://www.w3.org/2000/01/rdf-schema#> | ||
prefix rdfs:<http://www.w3.org/2000/01/rdf-schema#> | ||
ex:24 | ||
a sh:SPARQLSelectExecutable, sh:SPARQLExecutable ; | ||
sh:prefixes _:sparql_examples_prefixes ; | ||
schema:target <https://sparql.uniprot.org/sparql/> ; | ||
rdfs:comment """Find the release number of the uniprot data that is currently being queried""" ; | ||
sh:select """SELECT | ||
?version | ||
FROM <http://sparql.uniprot.org/.well-known/void> | ||
sh:select """SELECT ?version | ||
FROM <https://sparql.uniprot.org/.well-known/void> | ||
WHERE | ||
{ | ||
{ | ||
[] <http://purl.org/pav/version> ?version | ||
}""" . |