aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
Diffstat (limited to 'gn3')
-rw-r--r--gn3/api/metadata.py3
-rw-r--r--gn3/db/constants.py3
-rw-r--r--gn3/db/rdf.py1
3 files changed, 4 insertions, 3 deletions
diff --git a/gn3/api/metadata.py b/gn3/api/metadata.py
index f51616e..4ce32e0 100644
--- a/gn3/api/metadata.py
+++ b/gn3/api/metadata.py
@@ -16,13 +16,12 @@ from gn3.auth.authorisation.errors import AuthorisationError
from gn3.db.datasets import (retrieve_metadata,
save_metadata,
get_history)
-from gn3.db.rdf import RDF_PREFIXES
from gn3.db.rdf import (query_frame_and_compact,
query_and_compact,
get_wiki_entries_by_symbol)
from gn3.db.constants import (
RDF_PREFIXES, BASE_CONTEXT,
- DATASET_CONTEXT, SEARCH_CONTEXT,
+ DATASET_CONTEXT,
DATASET_SEARCH_CONTEXT, PUBLICATION_CONTEXT,
PHENOTYPE_CONTEXT
)
diff --git a/gn3/db/constants.py b/gn3/db/constants.py
index 231dc8b..a8c9dc7 100644
--- a/gn3/db/constants.py
+++ b/gn3/db/constants.py
@@ -1,3 +1,6 @@
+"""
+This module contains some constants used in other modules.
+"""
PREFIXES = {
"dcat": "http://www.w3.org/ns/dcat#",
"dct": "http://purl.org/dc/terms/",
diff --git a/gn3/db/rdf.py b/gn3/db/rdf.py
index 4fd47cb..e7942be 100644
--- a/gn3/db/rdf.py
+++ b/gn3/db/rdf.py
@@ -87,7 +87,6 @@ CONSTRUCT {
"reason": "gnt:reason",
"species": "gnt:species",
"pubmed_id": "dct:references",
- "web_url": "foaf:homepage",
"email": "foaf:mbox",
"initial": "gnt:initial",
"comment": "rdfs:comment"