diff options
Diffstat (limited to 'gn3')
-rw-r--r-- | gn3/db/rdf.py | 19 |
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/> """ |