aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2021-09-14 13:15:20 +0530
committerArun Isaac2021-09-14 13:39:45 +0530
commit90ebac7c591eed229ab4374ce82281ba889e19d6 (patch)
tree561d87454dc1e0b13656aa186489c9f9459a76c2
parentb1c9b0a0869b4164416dc7dc9b599057b6787c24 (diff)
downloadgn-transform-databases-90ebac7c591eed229ab4374ce82281ba889e19d6.tar.gz
Do not define sub-properties of rdfs:label.
* dump.scm (dump-publication, dump-tissue): Do not define any property to be a sub-property of rdfs:label.
-rwxr-xr-xdump.scm3
1 files changed, 0 insertions, 3 deletions
diff --git a/dump.scm b/dump.scm
index b354c5e..88e0bbc 100755
--- a/dump.scm
+++ b/dump.scm
@@ -231,7 +231,6 @@ Lab_code, Submitter, Owner, Authorized_Users FROM Phenotype"))
(let ((id (string-append "gn:publication"
(number->string (assoc-ref alist "Id")))))
(triple id 'rdf:type 'gn:publication)
- (triple 'gn:title 'rdfs:subPropertyOf 'rdfs:label)
(scm->triples
(append-map (match-lambda
(('gn:id . _) '())
@@ -270,8 +269,6 @@ INNER JOIN InbredSet USING (InbredSetId)"))
(define (dump-tissue db)
;; The Name and TissueName fields seem to be identical. BIRN_lex_ID
;; and BIRN_lex_Name are mostly NULL.
- ;; TODO: Use standard ontology.
- (triple 'gn:name 'rdfs:subPropertyOf 'rdfs:label)
(sql-for-each (match-lambda
(((_ . name)
(_ . short-name))