diff options
| author | Munyoki Kilyungi | 2026-01-26 15:16:18 +0300 |
|---|---|---|
| committer | Munyoki Kilyungi | 2026-01-26 15:20:26 +0300 |
| commit | f3d93fe801b057be02457d80dccf9aba085d60e9 (patch) | |
| tree | 14432285e859e831ab5c8551ece590cee9a58cc6 | |
| parent | e76cf122277b927debeba886a91f6fe1908da077 (diff) | |
| download | gn-transform-databases-f3d93fe801b057be02457d80dccf9aba085d60e9.tar.gz | |
Add species families fan-out.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| -rwxr-xr-x | examples/classification.scm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/classification.scm b/examples/classification.scm index 580a559..1fe1504 100755 --- a/examples/classification.scm +++ b/examples/classification.scm @@ -183,6 +183,14 @@ (annotate-field (field InbredSet FamilyOrder) '^^xsd:integer)))) +(define-transformer species-families-fanout + (tables (Species)) + (schema-triples + (gnt:has_family_order_id a owl:DatatypeProperty)) + (triples (string->identifier "family" (field Species Family) #:separator "_") + (set gnt:has_species + (string->identifier "" (remap-species-identifiers (field Species Fullname)))))) + (let* ((option-spec |
