aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-12-19 20:32:54 +0300
committerMunyoki Kilyungi2023-12-22 11:53:22 +0300
commit71a9553bd12c848f76fdab63c77a6b00ec3e62e7 (patch)
treeab5b6cffe7796ef5ea42110d56ade4d51940ff11 /examples
parent98b8397f788ac109a4c45bcfd5ecdef25dbd2b98 (diff)
downloadgn-transform-databases-71a9553bd12c848f76fdab63c77a6b00ec3e62e7.tar.gz
Replace gnc:GeneSymbol with gnc:Gene.
A GeneSymbol != Gene. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/genelist.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/genelist.scm b/examples/genelist.scm
index d6337bf..6b8c3e5 100755
--- a/examples/genelist.scm
+++ b/examples/genelist.scm
@@ -19,8 +19,8 @@
(schema-triples
(gnt:gene rdfs:domain gnc:GeneSymbol)
(gnt:belongsToSpecies rdfs:domain gnc:GeneSymbol)
- (gnc:GeneSymbol a rdfs:Class)
- (gnc:GeneSymbol rdfs:label "Gene Symbol")
+ (gnc:Gene a rdfs:Class)
+ (gnc:Gene rdfs:label "Gene")
(gnt:hasGeneId a owl:ObjectProperty)
(gnt:hasGeneId rdfs:domain gnc:NCBIWikiEntry)
(gnt:hasGeneId skos:definition "The GeneId of this this resource")
@@ -86,7 +86,7 @@
(field ("CONCAT_WS('_', GeneSymbol, GeneID, AlignID)" GENE_UID)))
'pre "_" 'post)
#:proc (lambda (x) x))
- (set rdf:type 'gnc:GeneSymbol)
+ (set rdf:type 'gnc:Gene)
(set gnt:geneSymbol (field GeneList GeneSymbol))
(set dct:description (sanitize-rdf-string (field GeneList GeneDescription)))
(set gnt:hasGeneId (ontology 'gene: (field GeneList GeneId)))