aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-08-02 15:25:41 +0300
committerMunyoki Kilyungi2023-08-02 15:25:41 +0300
commit4ee13bab45aa1d1c878cb8afd1a7f72348cb17ed (patch)
tree15f0cc9a2e2e5196e281ade75d102615e1a968b7 /examples
parent7f6e68ba846f1c2aae6e88ef392a00ed425f36ad (diff)
downloadgn-transform-databases-4ee13bab45aa1d1c878cb8afd1a7f72348cb17ed.tar.gz
Correct the associations between subject and object
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/dump-species-metadata.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/dump-species-metadata.scm b/examples/dump-species-metadata.scm
index 4f468df..d2c5123 100755
--- a/examples/dump-species-metadata.scm
+++ b/examples/dump-species-metadata.scm
@@ -32,10 +32,10 @@
(tables (Species))
(schema-triples
(gnc:species rdf:type owl:Class)
- (gnt:name rdfs:range gnc:species)
- (gnt:binomialName rdfs:range gnc:species)
- (gnt:family rdfs:range gnc:species)
- (gnt:organism rdfs:range gnc:species))
+ (gnt:name rdfs:domain gnc:species)
+ (gnt:binomialName rdfs:domain gnc:species)
+ (gnt:family rdfs:domain gnc:species)
+ (gnt:organism rdfs:domain gnc:species))
(triples
(string->identifier "" (remap-species-identifiers (field Species Fullname))
#:separator ""
@@ -53,8 +53,8 @@
(schema-triples
(gnc:strain rdf:subClassOf gnc:species)
(gnt:species rdfs:domain gnc:strain)
- (gnt:alias rdfs:range gnc:strain)
- (gnt:symbol rdfs:range gnc:strain))
+ (gnt:alias rdfs:domain gnc:strain)
+ (gnt:symbol rdfs:domain gnc:strain))
(triples (string->identifier
""
(regexp-substitute/global