diff options
author | Munyoki Kilyungi | 2023-04-27 10:58:45 +0300 |
---|---|---|
committer | BonfaceKilz | 2023-05-26 08:40:22 +0300 |
commit | dff2861c54ee096196d2f843f306068f6a1a81dd (patch) | |
tree | 2b5a1b51723a09cadadfa5e6108317416d209149 | |
parent | 2c06368d6fa8f45db14d7d90f44973c622d5c1ba (diff) | |
download | gn-transform-databases-dff2861c54ee096196d2f843f306068f6a1a81dd.tar.gz |
Update how Species are dumped
* dump.scm (dump-species): Rename gn:menuName to gn:displayName. Add
gn:family and up:organism triplets.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rwxr-xr-x | dump.scm | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -383,13 +383,16 @@ must be remedied." (tables (Species)) (schema-triples (gn:name rdfs:range rdfs:Literal) - (gn:menuname rdfs:range rdfs:Literal) - (gn:binomialName rdfs:range rdfs:Literal)) + (gn:displayName rdfs:range rdfs:Literal) + (gn:binomialName rdfs:range rdfs:Literal) + (gn:family rdfs:range rdfs:Literal)) (triples (binomial-name->species-id (field Species FullName)) (set rdf:type 'gn:species) (set gn:name (field Species SpeciesName)) - (set gn:menuName (field Species MenuName)) - (set gn:binomialName (field Species FullName)))) + (set gn:displayName (field Species MenuName)) + (set gn:binomialName (field Species FullName)) + (set gn:family (field Species Family)) + (set up:organism (ontology 'taxon: (field Species TaxonomyId))))) (define-dump dump-strain (tables (Strain |