about summary refs log tree commit diff
path: root/examples/ontology.scm
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ontology.scm')
-rwxr-xr-xexamples/ontology.scm23
1 files changed, 22 insertions, 1 deletions
diff --git a/examples/ontology.scm b/examples/ontology.scm
index 3d58ecb..4be8bd1 100755
--- a/examples/ontology.scm
+++ b/examples/ontology.scm
@@ -237,6 +237,9 @@
       (triple 'gnt:has_phenotype_data 'skos:definition "This resource has phenotype data.")
 
       ;; Genotypes
+      (triple 'gnc:dna_marker 'a 'owl:Class)
+      (triple 'gnc:dna_marker 'a 'skos:Concept)
+      (triple 'gnc:dna_marker 'rdfs:label "A DNA Marker or SNP")
       (triple 'gnt:has_genotype_data 'rdf:type 'owl:ObjectProperty)
       (triple 'gnt:has_genotype_data 'rdfs:label "this resources has genotype data.")
       (triple 'gnt:has_genotype_data 'rdfs:comment "Associates a resource with its genotype data.")
@@ -246,4 +249,22 @@
       (triple 'gnt:has_marker_count 'rdf:type 'owl:ObjectProperty)
       (triple 'gnt:has_marker_count 'rdfs:label "this resources has N number of dna markers/SNPs.")
       (triple 'gnt:has_marker_count 'rdfs:domain 'xsd:integer)
-      (triple 'gnt:has_marker_count 'rdfs:range 'dcat:Dataset))))
+      (triple 'gnt:has_marker_count 'rdfs:range 'dcat:Dataset)
+      (triple 'gnt:chr 'a 'qb:MeasureProperty)
+      (triple 'gnt:chr 'a 'rdf:Property)
+      (triple 'gnt:chr 'rdfs:label "Chromosome")
+      (triple 'gnt:chr 'rdfs:domain 'gnc:marker)
+      (triple 'gnt:chr 'rdfs:range 'rdfs:Literal)
+      (triple 'gnt:chr 'rdfs:subPropertyOf 'sdmx-measure:obsValue)
+      (triple 'gnt:mb 'rdfs:label "Megabase")
+      (triple 'gnt:mb 'rdfs:domain 'gnc:marker)
+      (triple 'gnt:mb 'rdfs:range 'rdfs:Literal)
+      (triple 'gnt:mb 'rdfs:subPropertyOf 'sdmx-measure:obsValue)
+      (triple 'gnt:sequence 'rdfs:label "Sequence")
+      (triple 'gnt:sequence 'rdfs:domain 'gnc:marker)
+      (triple 'gnt:sequence 'rdfs:range 'rdfs:Literal)
+      (triple 'gnt:sequence 'rdfs:subPropertyOf 'sdmx-measure:obsValue)
+      (triple 'gnt:source 'rdfs:label "Source")
+      (triple 'gnt:source 'rdfs:domain 'gnc:marker)
+      (triple 'gnt:source 'rdfs:range 'rdfs:Literal)
+      (triple 'gnt:source 'rdfs:subPropertyOf 'sdmx-measure:obsValue))))