about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xexamples/dataset-metadata.scm53
1 files changed, 2 insertions, 51 deletions
diff --git a/examples/dataset-metadata.scm b/examples/dataset-metadata.scm
index fba04ce..442663a 100755
--- a/examples/dataset-metadata.scm
+++ b/examples/dataset-metadata.scm
@@ -110,9 +110,6 @@
    (gnt:hasTissue rdfs:domain dcat:Dataset)
    (gnt:hasTissue a owl:ObjectProperty)
    (gnt:hasTissue skos:definition "Tissues this resource has")
-   (gnt:hasTissueInfo rdfs:domain dcat:Dataset)
-   (gnt:hasTissueInfo a owl:ObjectProperty)
-   (gnt:hasTissueInfo skos:definition "Metadata about Tissue for this resource")
    (gnt:usesNormalization rdfs:domain dcat:Dataset)
    (gnt:usesNormalization a owl:ObjectProperty)
    (gnt:usesNormalization skos:definition "Normalization techniques this resource has")
@@ -122,34 +119,10 @@
    (gnt:hasGeoSeriesId rdfs:domain dcat:Dataset)
    (gnt:hasGeoSeriesId a owl:ObjectProperty)
    (gnt:hasGeoSeriesId skos:definition "id of record in NCBI database")
-   (gnt:hasExperimentDesignInfo rdfs:domain dcat:Dataset)
-   (gnt:hasExperimentDesignInfo rdfs:label "Experiment Design")
-   (gnt:hasExperimentDesignInfo a owl:ObjectProperty)
-   (gnt:hasExperimentDesignInfo skos:definition "Information about how the experiment was designed")
-   (gnt:hasNotes rdfs:domain dcat:Dataset)
-   (gnt:hasNotes a owl:ObjectProperty)
-   (gnt:hasNotes rdfs:label "Notes")
-   (gnt:hasNotes skos:definition "Extra Notes about this dataset")
-   (gnt:hasDataProcessingInfo rdfs:domain dcat:Dataset)
-   (gnt:hasDataProcessingInfo rdfs:label "About Data Processing")
-   (gnt:hasDataProcessingInfo a owl:ObjectProperty)
-   (gnt:hasDataProcessingInfo skos:definition "Information about how this dataset was processed")
-   (gnt:hasPlatformInfo rdfs:domain dcat:Dataset)
-   (gnt:hasPlatformInfo a owl:ObjectProperty)
-   (gnt:hasPlatformInfo rdfs:label "About Platform")
-   (gnt:hasPlatformInfo skos:definition "Information about the platform that was used with this dataset")
-   (gnt:hasCaseInfo rdfs:domain dcat:Dataset)
-   (gnt:hasCaseInfo rdfs:label "About Case")
-   (gnt:hasCaseInfo a owl:ObjectProperty)
-   (gnt:hasCaseInfo skos:definition "Information about the cases used in this platform")
    (gnt:hasExperimentType rdfs:domain dcat:Dataset)
    (gnt:hasExperimentType rdfs:label "Experiment Type Metadata")
    (gnt:hasExperimentType a owl:ObjectProperty)
-   (gnt:hasExperimentType skos:definition "Information about the experiment type")
-   (gnt:hasAcknowledgement rdfs:domain dcat:Dataset)
-   (gnt:hasAcknowledgement rdfs:label "Acknowledgement")
-   (gnt:hasAcknowledgement a owl:ObjectProperty)
-   (gnt:hasAcknowledgement skos:definition "People to acknowledge"))
+   (gnt:hasExperimentType skos:definition "Information about the experiment type"))
   (triples (string->identifier
             "" (regexp-substitute/global #f "[^A-Za-z0-9:]"
                                          (field InfoFiles InfoPageName)
@@ -210,8 +183,6 @@
     (set gnt:usesPlatform
          (string->identifier "platform"
                              (field GeneChip Name GeneChip)))
-    (set dct:description
-         (sanitize-rdf-string (field Datasets Summary)))
     (set gnt:hasGeoSeriesId
          (let ((s
                 (string-match "GSE[0-9]*"
@@ -219,24 +190,6 @@
            (if s (ontology
                   'geoSeries: (match:substring s))
                "")))
-    (set gnt:hasTissueInfo
-         (sanitize-rdf-string (field Datasets AboutTissue)))
-    (set gnt:hasContentInfo (sanitize-rdf-string (field InfoFiles Specifics)))
-    (set gnt:hasCaseInfo
-         (sanitize-rdf-string
-          (field Datasets AboutCases)))
-    (set gnt:hasPlatformInfo
-         (sanitize-rdf-string
-          (field Datasets AboutPlatform)))
-    (set gnt:hasDataProcessingInfo
-         (sanitize-rdf-string
-          (field Datasets AboutDataProcessing)))
-    (set gnt:hasNotes
-         (sanitize-rdf-string
-          (field Datasets Notes)))
-    (set gnt:hasExperimentDesignInfo
-         (sanitize-rdf-string
-          (field Datasets ExperimentDesign)))
     (set dct:creator
          (sanitize-rdf-string
           (field Datasets Contributors)))
@@ -245,9 +198,7 @@
           (regexp-substitute/global
            #f "^[Nn]one$"
            (field Datasets Citation)
-           "")))
-    (set gnt:hasAcknowledgement (sanitize-rdf-string
-                                 (field Datasets Acknowledgment)))))
+           "")))))
 
 ;; These are phenotype datasets that don't have Infofile metadata
 (define-transformer publishfreeze