about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2026-04-20 09:42:18 +0300
committerMunyoki Kilyungi2026-04-20 09:45:51 +0300
commit7f7272be9e0c43a2b80ccecb4055cec58b888514 (patch)
treef9012dd3afdcb85385bde0377e81a9704bcf57d3
parent399d12d79d82d2c35b65f83e4ec4880b1e31ca81 (diff)
downloadgn-transform-databases-7f7272be9e0c43a2b80ccecb4055cec58b888514.tar.gz
Add new term for traits page.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rwxr-xr-xexamples/ontology.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/ontology.scm b/examples/ontology.scm
index 07e1759..7ea9c4f 100755
--- a/examples/ontology.scm
+++ b/examples/ontology.scm
@@ -36,6 +36,15 @@
       (prefix "pubmed:" "<http://rdf.ncbi.nlm.nih.gov/pubmed/>")
       (prefix "schema:" "<https://schema.org/>")
       (newline)
+      (triple 'gnt:has_trait_page 'a 'owl:ObjectProperty)
+      (triple 'gnt:has_trait_page 'rdfs:label "has traits page")
+      (triple 'gnt:has_trait_page 'rdfs:comment "Links a trait resource to its GeneNetwork web interface page for interactive exploration.")
+      (triple 'gnt:has_trait_page 'skos:definition "Provides a resolvable HTTP link to the GeneNetwork trait interface for a given phenotype trait or dataset entry.")
+      (triple 'gnt:has_trait_page 'rdfs:domain 'gnc:phenotype_trait)
+      (triple 'gnt:has_trait_page 'rdfs:range 'gnc:resource_link)
+      (triple 'gnt:has_trait_page 'schema:domainIncludes 'gnc:phenotype)
+      (triple 'gnt:has_trait_page 'schema:domainIncludes 'dcat:Dataset)
+      (triple 'gnt:has_trait_page 'rdfs:subPropertyOf 'schema:url)
       ;; Minimal BFO bridge for GN terms.
       (triple 'gnc:resource_entity 'a 'owl:Class)
       (triple 'gnc:resource_entity 'rdfs:label "GeneNetwork resource entity")