aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-10-03 12:49:43 +0300
committerBonfaceKilz2023-10-27 13:45:32 +0300
commit47a10086b305e062b0c7b32c40fe222714407084 (patch)
tree5475522a9ccae7e407b9ec6473282078a6925cb5
parentc1e488035f2d896a2c4a0e20639c44b381aa2081 (diff)
downloadgenenetwork3-47a10086b305e062b0c7b32c40fe222714407084.tar.gz
Update RDF prefixes.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rw-r--r--gn3/db/rdf.py19
1 files changed, 13 insertions, 6 deletions
diff --git a/gn3/db/rdf.py b/gn3/db/rdf.py
index ad2e3be..80b32fa 100644
--- a/gn3/db/rdf.py
+++ b/gn3/db/rdf.py
@@ -13,20 +13,27 @@ from SPARQLWrapper import JSON, SPARQLWrapper
from gn3.monads import MonadicDict
-RDF_PREFIXES = """PREFIX dct: <http://purl.org/dc/terms/>
+RDF_PREFIXES = """
+PREFIX dcat: <http://www.w3.org/ns/dcat#>
+PREFIX dct: <http://purl.org/dc/terms/>
+PREFIX ex: <http://example.org/stuff/1.0/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX generif: <http://www.ncbi.nlm.nih.gov/gene?cmd=Retrieve&dopt=Graphics&list_uids=>
-PREFIX gn: <http://genenetwork.org/>
+PREFIX genotype: <http://genenetwork.org/genotype/>
+PREFIX gn: <http://genenetwork.org/id/>
+PREFIX gnc: <http://genenetwork.org/category/>
+PREFIX gnt: <http://genenetwork.org/term/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
+PREFIX phenotype: <http://genenetwork.org/phenotype/>
+PREFIX publication: <http://genenetwork.org/publication/>
PREFIX pubmed: <http://rdf.ncbi.nlm.nih.gov/pubmed/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
-PREFIX ncbiTaxon: <https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=>
+PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
+PREFIX taxon: <https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=>
PREFIX up: <http://purl.uniprot.org/core/>
+PREFIX xkos: <http://rdf-vocabulary.ddialliance.org/xkos#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
-PREFIX publication: <http://genenetwork.org/publication/>
-PREFIX phenotype: <http://genenetwork.org/phenotype/>
-PREFIX genotype: <http://genenetwork.org/genotype/>
"""