aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-08-28 13:59:30 +0300
committerMunyoki Kilyungi2023-08-28 14:29:26 +0300
commit7e57ddf400437f803461cc34d9e113fbeec98822 (patch)
tree12c1d72a392637bcc9ff8d2a16eba9321dcf60a8
parentd5afeeca70445c4e57bb8dd942ee3f9165fbe104 (diff)
downloadgn-transform-databases-7e57ddf400437f803461cc34d9e113fbeec98822.tar.gz
Replace gnc:probeset with gnc:Probeset
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rwxr-xr-xexamples/probeset.scm48
1 files changed, 22 insertions, 26 deletions
diff --git a/examples/probeset.scm b/examples/probeset.scm
index fa2fff6..b2ba3df 100755
--- a/examples/probeset.scm
+++ b/examples/probeset.scm
@@ -15,47 +15,43 @@
(tables (ProbeSet
(left-join GeneChip "ON GeneChip.Id = ProbeSet.ChipId")))
(schema-triples
- (gnc:probeset a skos:Concept)
- (gnc:probeset
- skos:description
- "This is a set of controlled terms that are used to describe a given probeset")
(gnt:hasChip a owl:ObjectProperty)
- (gnt:hasChip rdfs:domain gnc:probeset)
+ (gnt:hasChip rdfs:domain gnc:Probeset)
(gnt:hasTargetId a owl:ObjectProperty)
- (gnt:hasTargetId rdfs:domain gnc:probeset)
- (gnt:symbol rdfs:domain gnc:probeset)
+ (gnt:hasTargetId rdfs:domain gnc:Probeset)
+ (gnt:symbol rdfs:domain gnc:Probeset)
(gnt:targetsRegion a owl:ObjectProperty)
- (gnt:targetsRegion rdfs:domain gnc:probeset)
- (gnt:chr rdfs:domain gnc:probeset)
- (gnt:mb rdfs:domain gnc:probeset)
- (gnt:mbMm8 rdfs:domain gnc:probeset)
- (gnt:mb2016 rdfs:domain gnc:probeset)
+ (gnt:targetsRegion rdfs:domain gnc:Probeset)
+ (gnt:chr rdfs:domain gnc:Probeset)
+ (gnt:mb rdfs:domain gnc:Probeset)
+ (gnt:mbMm8 rdfs:domain gnc:Probeset)
+ (gnt:mb2016 rdfs:domain gnc:Probeset)
(gnt:hasSpecificity a owl:ObjectProperty)
- (gnt:hasSpecificity rdfs:domain gnc:probeset)
+ (gnt:hasSpecificity rdfs:domain gnc:Probeset)
(gnt:hasBlatScore a owl:ObjectProperty)
- (gnt:hasBlatScore rdfs:domain gnc:probeset)
+ (gnt:hasBlatScore rdfs:domain gnc:Probeset)
(gnt:hasBlatMbStart a owl:ObjectProperty)
- (gnt:hasBlatMbStart rdfs:domain gnc:probeset)
+ (gnt:hasBlatMbStart rdfs:domain gnc:Probeset)
(gnt:hasBlatMbStart2016 a owl:ObjectProperty)
- (gnt:hasBlatMbStart2016 rdfs:domain gnc:probeset)
+ (gnt:hasBlatMbStart2016 rdfs:domain gnc:Probeset)
(gnt:hasBlatMbEnd a owl:ObjectProperty)
- (gnt:hasBlatMbEnd rdfs:domain gnc:probeset)
+ (gnt:hasBlatMbEnd rdfs:domain gnc:Probeset)
(gnt:hasBlatMbEnd2016 a owl:ObjectProperty)
- (gnt:hasBlatMbEnd2016 rdfs:domain gnc:probeset)
+ (gnt:hasBlatMbEnd2016 rdfs:domain gnc:Probeset)
(gnt:hasBlatSeq a owl:ObjectProperty)
- (gnt:hasBlatSeq rdfs:domain gnc:probeset)
+ (gnt:hasBlatSeq rdfs:domain gnc:Probeset)
(gnt:hasTargetSeq a owl:ObjectProperty)
- (gnt:hasTargetSeq rdfs:domain gnc:probeset)
+ (gnt:hasTargetSeq rdfs:domain gnc:Probeset)
(gnt:hasHomologeneId a owl:ObjectProperty)
- (gnt:hasHomologeneId rdfs:domain gnc:probeset)
+ (gnt:hasHomologeneId rdfs:domain gnc:Probeset)
(gnt:hasPubChemId a owl:ObjectProperty)
- (gnt:hasPubChemId rdfs:domain gnc:probeset)
+ (gnt:hasPubChemId rdfs:domain gnc:Probeset)
(gnt:hasKeggId a owl:ObjectProperty)
- (gnt:hasKeggId rdfs:domain gnc:probeset)
+ (gnt:hasKeggId rdfs:domain gnc:Probeset)
(gnt:hasOmimId a owl:ObjectProperty)
- (gnt:hasOmimId rdfs:domain gnc:probeset)
+ (gnt:hasOmimId rdfs:domain gnc:Probeset)
(gnt:hasChebiId a owl:ObjectProperty)
- (gnt:hasChebiId rdfs:domain gnc:probeset))
+ (gnt:hasChebiId rdfs:domain gnc:Probeset))
(triples
(let ((id (field ("IF(NULLIF(TRIM(ProbeSet.Name), '') IS NULL, '', TRIM(ProbeSet.Name))"
ProbeSetIdName)))
@@ -68,7 +64,7 @@
#f "[^A-Za-z0-9:]"
id
'pre "_" 'post))))
- (set rdf:type 'gnc:probeset)
+ (set rdf:type 'gnc:Probeset)
(set rdfs:label (field ProbeSet Name))
(set skos:altLabel
(replace-substrings