diff options
| author | Munyoki Kilyungi | 2026-02-05 18:09:42 +0300 |
|---|---|---|
| committer | Munyoki Kilyungi | 2026-02-05 18:09:42 +0300 |
| commit | d078ef4f51a3b47e7013f061698b5da0a95ebf55 (patch) | |
| tree | a1849dfe1edca3fa6a25bfb828dcc39447b31970 | |
| parent | e9ba1a39b596f96149c5320ab6b452d8324bbb37 (diff) | |
| download | gn-transform-databases-d078ef4f51a3b47e7013f061698b5da0a95ebf55.tar.gz | |
Update ontology.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| -rwxr-xr-x | examples/genotype-datasets.scm | 7 | ||||
| -rwxr-xr-x | examples/ontology.scm | 13 |
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) + ))) |
