about summary refs log tree commit diff
path: root/examples/datasets.scm
diff options
context:
space:
mode:
Diffstat (limited to 'examples/datasets.scm')
-rwxr-xr-xexamples/datasets.scm50
1 files changed, 2 insertions, 48 deletions
diff --git a/examples/datasets.scm b/examples/datasets.scm
index 8abb84f..85a5aee 100755
--- a/examples/datasets.scm
+++ b/examples/datasets.scm
@@ -21,58 +21,11 @@
           ;; Skip monkey datasets
           "WHERE InfoFiles.InfoPageName NOT LIKE 'INIA_MacFas_%'"
           "GROUP BY Datasets.DatasetId")
-  (schema-triples
-    (gnt:has_case_info a owl:ObjectProperty)
-    (gnt:has_case_info rdfs:comment "Information about the cases used in this platform")
-    (gnt:has_case_info rdfs:domain dcat:Dataset)
-    (gnt:has_case_info rdfs:label "About Case")
-    (gnt:has_citation a owl:ObjectProperty)
-    (gnt:has_citation rdfs:comment "Citation for this dataset")
-    (gnt:has_citation rdfs:domain dcat:Dataset)
-    (gnt:has_citation rdfs:label "Citation")
-    (gnt:has_contributors a owl:ObjectProperty)
-    (gnt:has_contributors rdfs:comment "Contributors of this resource")
-    (gnt:has_contributors rdfs:comment "Contributors of this resource")
-    (gnt:has_contributors rdfs:domain dcat:Dataset)
-    (gnt:has_contributors rdfs:label "Contributors")
-    (gnt:has_data_processing_info a owl:ObjectProperty)
-    (gnt:has_data_processing_info rdfs:comment "Information about how this dataset was processed")
-    (gnt:has_data_processing_info rdfs:domain dcat:Dataset)
-    (gnt:has_data_processing_info rdfs:label "About Data Processing")
-    (gnt:has_experiment_design a owl:ObjectProperty)
-    (gnt:has_experiment_design rdfs:comment "Experiment Design for this resource")
-    (gnt:has_experiment_design rdfs:domain dcat:Dataset)
-    (gnt:has_experiment_design rdfs:label "Experiment Design")
-    (gnt:has_experiment_design_info a owl:ObjectProperty)
-    (gnt:has_experiment_design_info rdfs:comment "Information about how the experiment was designed")
-    (gnt:has_experiment_design_info rdfs:domain dcat:Dataset)
-    (gnt:has_experiment_design_info rdfs:label "Experiment Design")
-    (gnt:has_experiment_type a owl:ObjectProperty)
-    (gnt:has_experiment_type rdfs:comment "Information about the experiment type")
-    (gnt:has_experiment_type rdfs:domain dcat:Dataset)
-    (gnt:has_experiment_type rdfs:label "Experiment Type Metadata")
-    (gnt:has_platform_info a owl:ObjectProperty)
-    (gnt:has_platform_info rdfs:comment "Information about the platform that was used with this dataset")
-    (gnt:has_platform_info rdfs:domain dcat:Dataset)
-    (gnt:has_platform_info rdfs:label "About Platform")
-    (gnt:has_samples a owl:ObjectProperty)
-    (gnt:has_samples rdfs:domain dcat:Dataset)
-    (gnt:has_samples rdfs:label "Samples")
-    (gnt:has_specifics a owl:ObjectProperty)
-    (gnt:has_specifics rdfs:comment "Has specifics")
-    (gnt:has_specifics rdfs:domain dcat:Dataset)
-    (gnt:has_specifics rdfs:label "Specifics")
-    (gnt:has_summary a owl:ObjectProperty)
-    (gnt:has_summary rdfs:comment "Summary information about dataset")
-    (gnt:has_summary rdfs:domain dcat:Dataset)
-    (gnt:has_summary rdfs:label "Summary")
-    (gnt:has_tissue_info a owl:ObjectProperty)
-    (gnt:has_tissue_info rdfs:domain dcat:Dataset)
-    (gnt:has_tissue_info rdfs:label "Metadata about Tissue for this resource"))
   (triples (string->identifier "dataset" (field InfoFiles InfoPageName) #:separator "_")
     (set rdf:type 'dcat:Dataset)
     (set dct:title (normalize-string-field (field InfoFiles InfoPageName)))
     (set dct:identifier (format #f "GN~a" (field InfoFiles GN_AccesionId)))
+    (set gnt:has_genotype_files (string->symbol (format #f "gn-files:GN~a%2F" (field InfoFiles GN_AccesionId))))
     (set gnt:has_strain
          (string->identifier "set" (field InbredSet Name InbredSetName) #:separator "_"))
     (set gnt:has_experiment_type
@@ -153,6 +106,7 @@
       ("gn:" "<http://rdf.genenetwork.org/v1/id/>")
       ("gnc:" "<http://rdf.genenetwork.org/v1/category/>")
       ("gnt:" "<http://rdf.genenetwork.org/v1/term/>")
+      ("gn-files:" "<http://files.genenetwork.org/current/>")
       ("rdf:" "<http://www.w3.org/1999/02/22-rdf-syntax-ns#>")
       ("rdfs:" "<http://www.w3.org/2000/01/rdf-schema#>")
       ("owl:" "<http://www.w3.org/2002/07/owl#>")