about summary refs log tree commit diff
path: root/examples/ontology.scm
diff options
context:
space:
mode:
authorMunyoki Kilyungi2026-02-03 07:11:39 +0300
committerMunyoki Kilyungi2026-02-03 07:11:39 +0300
commit886b15909340b50b6aef0059a8a0756259ae3a00 (patch)
treead85fb8be9f6165d7ac89a61206d42f57fa2cfdd /examples/ontology.scm
parent91295f5f4d2f04249101f9b1539b72b17b38a51e (diff)
downloadgn-transform-databases-886b15909340b50b6aef0059a8a0756259ae3a00.tar.gz
Update phenotypes.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'examples/ontology.scm')
-rwxr-xr-xexamples/ontology.scm9
1 files changed, 6 insertions, 3 deletions
diff --git a/examples/ontology.scm b/examples/ontology.scm
index eb4064c..a834045 100755
--- a/examples/ontology.scm
+++ b/examples/ontology.scm
@@ -199,6 +199,9 @@
       (triple 'gnc:phenotype 'a 'owl:Class)
       (triple 'gnc:phenotype 'a 'skos:Concept)
       (triple 'gnc:phenotype 'rdfs:label "A phenotype.")
+      (triple 'gnc:phenotype_trait 'a 'owl:Class)
+      (triple 'gnc:phenotype_trait 'a 'skos:Concept)
+      (triple 'gnc:phenotype_trait 'rdfs:label "A phenotype trait.")
       (triple 'gnt:abbreviation 'a 'owl:ObjectProperty)
       (triple 'gnt:abbreviation 'rdfs:domain 'gnc:phenotype)
       (triple 'gnt:abbreviation 'skos:definition "The abbreviation used for this resource")
@@ -229,6 +232,6 @@
       (triple 'gnt:submitter 'rdfs:domain 'gnc:phenotype)
       (triple 'gnt:submitter 'skos:definition "A person who submitted this resource to GN")
       (triple 'gnt:submitter 'skos:definition "A person who submitted this resource to GN")
-      (triple 'gnt:trait_id 'a 'owl:ObjectProperty)
-      (triple 'gnt:trait_id 'rdfs:domain 'gnc:phenotype)
-      (triple 'gnt:trait_id 'skos:definition "This is the unique trait id assigned from GeneNetwork"))))
+      (triple 'gnt:has_phenotype_trait 'a 'owl:ObjectProperty)
+      (triple 'gnt:has_phenotype_trait 'rdfs:domain 'gnc:set)
+      (triple 'gnt:has_phenotype_trait 'skos:definition "This is the unique trait id assigned from GeneNetwork for a a phenotype.   It's a combination of the set name and the phenotype's post pub abbreviation."))))