aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/dump-dataset-metadata.scm1
-rwxr-xr-xexamples/dump-phenotype.scm3
-rwxr-xr-xexamples/dump-probesetfreeze.scm3
3 files changed, 5 insertions, 2 deletions
diff --git a/examples/dump-dataset-metadata.scm b/examples/dump-dataset-metadata.scm
index ef4adf0..37e0f2a 100755
--- a/examples/dump-dataset-metadata.scm
+++ b/examples/dump-dataset-metadata.scm
@@ -93,6 +93,7 @@
(left-join GeneChip "USING (GeneChipId)"))
"WHERE GN_AccesionId IS NOT NULL AND ((PublishFreeze.public > 0 AND PublishFreeze.confidentiality < 1) OR (GenoFreeze.public > 0 AND GenoFreeze.confidentiality < 1) OR (ProbeSetFreeze.public > 0 AND ProbeSetFreeze.confidentiality < 1))")
(schema-triples
+ (gn:dataset rdfs:range rdfs:Literal)
(gn:datasetOfInvestigator rdfs:domain gn:dataset)
(gn:datasetOfInvestigator rdfs:range foaf:Person)
(gn:datasetOfInbredSet rdfs:domain gn:dataset)
diff --git a/examples/dump-phenotype.scm b/examples/dump-phenotype.scm
index 113c367..d7d940f 100755
--- a/examples/dump-phenotype.scm
+++ b/examples/dump-phenotype.scm
@@ -34,7 +34,8 @@
(gn:name rdfs:range rdfs:Literal)
(gn:fullName rdfs:range rdfs:Literal)
(gn:shortName rdfs:range rdfs:Literal)
- (gn:createTime rdfs:range rdfs:Literal))
+ (gn:createTime rdfs:range rdfs:Literal)
+ (gn:phenotypeDataset rdf:subClassOf gn:dataset))
(triples (string->identifier "dataset" (field PublishFreeze Name))
(set rdf:type 'gn:phenotypeDataset)
(set gn:name (field PublishFreeze Name))
diff --git a/examples/dump-probesetfreeze.scm b/examples/dump-probesetfreeze.scm
index e1fe572..fb46120 100755
--- a/examples/dump-probesetfreeze.scm
+++ b/examples/dump-probesetfreeze.scm
@@ -39,7 +39,8 @@
"WHERE ProbeSetFreeze.public > 0 AND InfoFiles.InfoPageName IS NULL GROUP BY ProbeFreeze.Id")
(schema-triples
(gn:avgMethod rdfs:range rdfs:Literal)
- (gn:dataScale rdfs:range rdfs:Literal))
+ (gn:dataScale rdfs:range rdfs:Literal)
+ (gn:probesetDataset rdf:subClassOf gn:dataset))
(triples
(ontology 'probeset:
(regexp-substitute/global #f "[^A-Za-z0-9:]"