aboutsummaryrefslogtreecommitdiff
path: root/examples/dump-phenotype.scm
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dump-phenotype.scm')
-rwxr-xr-xexamples/dump-phenotype.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/dump-phenotype.scm b/examples/dump-phenotype.scm
index f73f19f..ed10b24 100755
--- a/examples/dump-phenotype.scm
+++ b/examples/dump-phenotype.scm
@@ -34,7 +34,7 @@
'pre "_" 'post)
#:separator ""
#:proc string-capitalize-first)
- (set rdf:type 'gnc:phenotype)
+ (set rdf:type 'gnc:phenotypeDataset)
(set rdfs:label (field PublishFreeze Name))
(set skos:prefLabel (field PublishFreeze FullName))
(set skos:altLabel (field PublishFreeze ShortName))
@@ -59,6 +59,8 @@
;; I.e. traits that have no associated vectors
"WHERE PublishFreeze.public > 0 AND PublishFreeze.confidentiality < 1 AND PublishFreeze.Id IS NOT NULL")
(schema-triples
+ (gnc:phenotype a skos:Concept)
+ (gnc:phenotype skos:description "This is a set of controlled terms that are used to describe a given phenotype")
(gnt:abbreviation a owl:ObjectProperty)
(gnt:abbreviation rdfs:domain gnc:phenotype)
(gnt:abbreviation skos:definition "The abbreviation used for this resource")