about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xexamples/genotype-datasets.scm7
-rwxr-xr-xexamples/ontology.scm13
2 files changed, 11 insertions, 9 deletions
diff --git a/examples/genotype-datasets.scm b/examples/genotype-datasets.scm
index f140600..6f3a1cb 100755
--- a/examples/genotype-datasets.scm
+++ b/examples/genotype-datasets.scm
@@ -20,13 +20,6 @@
            (inner-join InbredSet "ON InbredSet.Id = InfoFiles.InbredSetId")
            (inner-join GenoFreeze "ON GenoFreeze.InbredSetId = InbredSet.Id"))
           "WHERE GenoFreeze.public > 0 GROUP BY Datasets.DatasetId")
-  (schema-triples
-   (gnt:has_genotype_data rdf:type owl:ObjectProperty)
-   (gnt:has_genotype_data rdfs:label "this resources has genotype data.")
-   (gnt:has_genotype_data rdfs:comment "Associates a resource with its genotype data.")
-   (gnt:has_genotype_data rdfs:domain gnc:set)
-   (gnt:has_genotype_data rdfs:range dcat:Dataset)
-   (gnt:has_genotype_data rdfs:subPropertyOf dct:relation))
   (triples (string->identifier "set" (field InbredSet Name InbredSetName) #:separator "_")
     (set gnt:has_genotype_data (string->identifier "dataset" (field GenoFreeze Name) #:separator "_"))))
 
diff --git a/examples/ontology.scm b/examples/ontology.scm
index 2e03c53..561bcd3 100755
--- a/examples/ontology.scm
+++ b/examples/ontology.scm
@@ -38,7 +38,7 @@
       (triple 'gnc:population_category 'a 'xkos:ClassificationLevel)
       (triple 'gnc:population_category 'rdfs:label "Population Category")
       (triple 'gnc:population_category 'skos:inScheme 'gnc:resource_classification_scheme)
-      (triple 'gnc:population_category 'skos:prefLabel "Species")
+      (triple 'gnc:population_category 'skos:prefLabel "Population Category")
       (triple 'gnc:population_category 'xkos:depth "3")
       (triple 'gnc:population_category 'xkos:nextLevel 'gnc:set)
       (triple 'gnc:population_category 'xkos:previousLevel 'gnc:species)
@@ -234,4 +234,13 @@
       (triple 'gnt:submitter 'skos:definition "A person who submitted this resource to GN")
       (triple 'gnt:has_phenotype_data 'a 'owl:ObjectProperty)
       (triple 'gnt:has_phenotype_data 'rdfs:domain 'gnc:set)
-      (triple 'gnt:has_phenotype_data 'skos:definition "This resource has phenotype data."))))
+      (triple 'gnt:has_phenotype_data 'skos:definition "This resource has phenotype data.")
+
+      ;; Genotypes
+      (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.")
+      (triple 'gnt:has_genotype_data 'rdfs:domain 'gnc:set)
+      (triple 'gnt:has_genotype_data 'rdfs:range 'dcat:Dataset)
+      (triple 'gnt:has_genotype_data 'rdfs:subPropertyOf 'dct:relation)
+      )))