about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-11-22 12:50:04 +0300
committerMunyoki Kilyungi2023-11-22 12:50:04 +0300
commit15e42bcf7df4901def42da382198573652e7bd0f (patch)
treeeb42b442b191b205546288d0b181865976d496f0
parent1514f919130a06b3b943847745aca86fb90a2bcd (diff)
downloadgn-transform-databases-15e42bcf7df4901def42da382198573652e7bd0f.tar.gz
Add Species join when during RDF ProbeSet transform.
We add the species join since when constructing resource links, this
table is required.

Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rwxr-xr-xexamples/probeset.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/probeset.scm b/examples/probeset.scm
index e01fe84..646c3df 100755
--- a/examples/probeset.scm
+++ b/examples/probeset.scm
@@ -13,7 +13,8 @@
 
 (define-transformer probeset
   (tables (ProbeSet
-           (left-join GeneChip "ON GeneChip.Id = ProbeSet.ChipId")))
+           (left-join GeneChip "ON GeneChip.Id = ProbeSet.ChipId")
+           (left-join Species "ON GeneChip.SpeciesId = Species.Id")))
   (schema-triples
    (gnt:hasChip a owl:ObjectProperty)
    (gnt:hasChip rdfs:domain gnc:Probeset)