Skip to content

Commit

Permalink
Update metadata schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
bherr2 committed May 23, 2024
1 parent 4dd8361 commit 99c5f28
Show file tree
Hide file tree
Showing 11 changed files with 34 additions and 34 deletions.
6 changes: 3 additions & 3 deletions schemas/src/digital-objects/2d-ftu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,14 @@ classes:
AnnotationAssertion( dct:title {{iri}} "{{metadata.title|e}}" )
AnnotationAssertion( dct:description {{iri}} "{{metadata.description|e}}" )
{% for creator_iri in metadata.created_by %}
AnnotationAssertion( dct:creator {{iri}} "{{creator_iri|e}}" )
AnnotationAssertion( dct:creator {{iri}} {{creator_iri|e}} )
{% endfor %}
AnnotationAssertion( schema:version {{iri}} "{{metadata.version|e}}" )
AnnotationAssertion( schema:dateCreated {{iri}} "{{metadata.creation_date|e}}" )
AnnotationAssertion( dct:license {{iri}} "{{metadata.license|e}}" )
AnnotationAssertion( dct:publisher {{iri}} "{{metadata.publisher|e}}" )
AnnotationAssertion( rdfs:seeAlso {{iri}} "{{metadata.see_also|e}}" )
AnnotationAssertion( prov:wasDerivedFrom {{iri}} "{{metadata.derived_from|e}}" )
AnnotationAssertion( rdfs:seeAlso {{iri}} {{metadata.see_also|e}} )
AnnotationAssertion( prov:wasDerivedFrom {{iri}} {{metadata.derived_from|e}} )
slots:
id:
Expand Down
6 changes: 3 additions & 3 deletions schemas/src/digital-objects/asct-b.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,14 @@ classes:
AnnotationAssertion( dct:title {{iri}} "{{metadata.title|e}}" )
AnnotationAssertion( dct:description {{iri}} "{{metadata.description|e}}" )
{% for creator_iri in metadata.created_by %}
AnnotationAssertion( dct:creator {{iri}} "{{creator_iri|e}}" )
AnnotationAssertion( dct:creator {{iri}} {{creator_iri|e}} )
{% endfor %}
AnnotationAssertion( schema:version {{iri}} "{{metadata.version|e}}" )
AnnotationAssertion( schema:dateCreated {{iri}} "{{metadata.creation_date|e}}" )
AnnotationAssertion( dct:license {{iri}} "{{metadata.license|e}}" )
AnnotationAssertion( dct:publisher {{iri}} "{{metadata.publisher|e}}" )
AnnotationAssertion( rdfs:seeAlso {{iri}} "{{metadata.see_also|e}}" )
AnnotationAssertion( prov:wasDerivedFrom {{iri}} "{{metadata.derived_from|e}}" )
AnnotationAssertion( rdfs:seeAlso {{iri}} {{metadata.see_also|e}} )
AnnotationAssertion( prov:wasDerivedFrom {{iri}} {{metadata.derived_from|e}} )
slots:
id:
Expand Down
6 changes: 3 additions & 3 deletions schemas/src/digital-objects/basic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ classes:
AnnotationAssertion( dct:title {{iri}} "{{metadata.title|e}}" )
AnnotationAssertion( dct:description {{iri}} "{{metadata.description|e}}" )
{% for creator_iri in metadata.created_by %}
AnnotationAssertion( dct:creator {{iri}} "{{creator_iri|e}}" )
AnnotationAssertion( dct:creator {{iri}} {{creator_iri|e}} )
{% endfor %}
AnnotationAssertion( schema:version {{iri}} "{{metadata.version|e}}" )
AnnotationAssertion( schema:dateCreated {{iri}} "{{metadata.creation_date|e}}" )
AnnotationAssertion( dct:license {{iri}} "{{metadata.license|e}}" )
AnnotationAssertion( dct:publisher {{iri}} "{{metadata.publisher|e}}" )
AnnotationAssertion( rdfs:seeAlso {{iri}} "{{metadata.see_also|e}}" )
AnnotationAssertion( prov:wasDerivedFrom {{iri}} "{{metadata.derived_from|e}}" )
AnnotationAssertion( rdfs:seeAlso {{iri}} {{metadata.see_also|e}} )
AnnotationAssertion( prov:wasDerivedFrom {{iri}} {{metadata.derived_from|e}} )
slots:
created_by:
Expand Down
8 changes: 4 additions & 4 deletions schemas/src/digital-objects/collection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ classes:
AnnotationAssertion( dct:title {{iri}} "{{metadata.title|e}}" )
AnnotationAssertion( dct:description {{iri}} "{{metadata.description|e}}" )
{% for creator_iri in metadata.created_by %}
AnnotationAssertion( dct:creator {{iri}} "{{creator_iri|e}}" )
AnnotationAssertion( dct:creator {{iri}} {{creator_iri|e}} )
{% endfor %}
AnnotationAssertion( schema:version {{iri}} "{{metadata.version|e}}" )
AnnotationAssertion( schema:dateCreated {{iri}} "{{metadata.creation_date|e}}" )
AnnotationAssertion( dct:license {{iri}} "{{metadata.license|e}}" )
AnnotationAssertion( dct:publisher {{iri}} "{{metadata.publisher|e}}" )
AnnotationAssertion( rdfs:seeAlso {{iri}} "{{metadata.see_also|e}}" )
AnnotationAssertion( prov:wasDerivedFrom {{iri}} "{{metadata.derived_from|e}}" )
AnnotationAssertion( rdfs:seeAlso {{iri}} {{metadata.see_also|e}} )
AnnotationAssertion( prov:wasDerivedFrom {{iri}} {{metadata.derived_from|e}} )
{% for member_iri in metadata.had_member %}
AnnotationAssertion( prov:hadMember {{iri}} "{{member_iri|e}}" )
AnnotationAssertion( prov:hadMember {{iri}} {{member_iri|e}} )
{% endfor %}
CollectionMetadata:
Expand Down
6 changes: 3 additions & 3 deletions schemas/src/digital-objects/ds-graph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -204,14 +204,14 @@ classes:
AnnotationAssertion( dct:title {{iri}} "{{metadata.title|e}}" )
AnnotationAssertion( dct:description {{iri}} "{{metadata.description|e}}" )
{% for creator_iri in metadata.created_by %}
AnnotationAssertion( dct:creator {{iri}} "{{creator_iri|e}}" )
AnnotationAssertion( dct:creator {{iri}} {{creator_iri|e}} )
{% endfor %}
AnnotationAssertion( schema:version {{iri}} "{{metadata.version|e}}" )
AnnotationAssertion( schema:dateCreated {{iri}} "{{metadata.creation_date|e}}" )
AnnotationAssertion( dct:license {{iri}} "{{metadata.license|e}}" )
AnnotationAssertion( dct:publisher {{iri}} "{{metadata.publisher|e}}" )
AnnotationAssertion( rdfs:seeAlso {{iri}} "{{metadata.see_also|e}}" )
AnnotationAssertion( prov:wasDerivedFrom {{iri}} "{{metadata.derived_from|e}}" )
AnnotationAssertion( rdfs:seeAlso {{iri}} {{metadata.see_also|e}} )
AnnotationAssertion( prov:wasDerivedFrom {{iri}} {{metadata.derived_from|e}} )
slots:
partially_overlaps:
Expand Down
6 changes: 3 additions & 3 deletions schemas/src/digital-objects/graph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ classes:
AnnotationAssertion( dct:title {{iri}} "{{metadata.title|e}}" )
AnnotationAssertion( dct:description {{iri}} "{{metadata.description|e}}" )
{% for creator_iri in metadata.created_by %}
AnnotationAssertion( dct:creator {{iri}} "{{creator_iri|e}}" )
AnnotationAssertion( dct:creator {{iri}} {{creator_iri|e}} )
{% endfor %}
AnnotationAssertion( schema:version {{iri}} "{{metadata.version|e}}" )
AnnotationAssertion( schema:dateCreated {{iri}} "{{metadata.creation_date|e}}" )
AnnotationAssertion( dct:license {{iri}} "{{metadata.license|e}}" )
AnnotationAssertion( dct:publisher {{iri}} "{{metadata.publisher|e}}" )
AnnotationAssertion( rdfs:seeAlso {{iri}} "{{metadata.see_also|e}}" )
AnnotationAssertion( prov:wasDerivedFrom {{iri}} "{{metadata.derived_from|e}}" )
AnnotationAssertion( rdfs:seeAlso {{iri}} {{metadata.see_also|e}} )
AnnotationAssertion( prov:wasDerivedFrom {{iri}} {{metadata.derived_from|e}} )
slots:
created_by:
Expand Down
6 changes: 3 additions & 3 deletions schemas/src/digital-objects/landmark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,14 @@ classes:
AnnotationAssertion( dct:title {{iri}} "{{metadata.title|e}}" )
AnnotationAssertion( dct:description {{iri}} "{{metadata.description|e}}" )
{% for creator_iri in metadata.created_by %}
AnnotationAssertion( dct:creator {{iri}} "{{creator_iri|e}}" )
AnnotationAssertion( dct:creator {{iri}} {{creator_iri|e}} )
{% endfor %}
AnnotationAssertion( schema:version {{iri}} "{{metadata.version|e}}" )
AnnotationAssertion( schema:dateCreated {{iri}} "{{metadata.creation_date|e}}" )
AnnotationAssertion( dct:license {{iri}} "{{metadata.license|e}}" )
AnnotationAssertion( dct:publisher {{iri}} "{{metadata.publisher|e}}" )
AnnotationAssertion( rdfs:seeAlso {{iri}} "{{metadata.see_also|e}}" )
AnnotationAssertion( prov:wasDerivedFrom {{iri}} "{{metadata.derived_from|e}}" )
AnnotationAssertion( rdfs:seeAlso {{iri}} {{metadata.see_also|e}} )
AnnotationAssertion( prov:wasDerivedFrom {{iri}} {{metadata.derived_from|e}} )
slots:
created_by:
Expand Down
8 changes: 4 additions & 4 deletions schemas/src/digital-objects/omap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ classes:
{% for protein in detects %}
SubClassOf(
Annotation(ccf:rationale "{{rationale}}")
{{antibody_id}}
{{antibody_id}}
ObjectSomeValuesFrom(ccf:detects {{protein}})
)
{% endfor %}
Expand Down Expand Up @@ -159,14 +159,14 @@ classes:
AnnotationAssertion( dct:title {{iri}} "{{metadata.title|e}}" )
AnnotationAssertion( dct:description {{iri}} "{{metadata.description|e}}" )
{% for creator_iri in metadata.created_by %}
AnnotationAssertion( dct:creator {{iri}} "{{creator_iri|e}}" )
AnnotationAssertion( dct:creator {{iri}} {{creator_iri|e}} )
{% endfor %}
AnnotationAssertion( schema:version {{iri}} "{{metadata.version|e}}" )
AnnotationAssertion( schema:dateCreated {{iri}} "{{metadata.creation_date|e}}" )
AnnotationAssertion( dct:license {{iri}} "{{metadata.license|e}}" )
AnnotationAssertion( dct:publisher {{iri}} "{{metadata.publisher|e}}" )
AnnotationAssertion( rdfs:seeAlso {{iri}} "{{metadata.see_also|e}}" )
AnnotationAssertion( prov:wasDerivedFrom {{iri}} "{{metadata.derived_from|e}}" )
AnnotationAssertion( rdfs:seeAlso {{iri}} {{metadata.see_also|e}} )
AnnotationAssertion( prov:wasDerivedFrom {{iri}} {{metadata.derived_from|e}} )
slots:
created_by:
Expand Down
6 changes: 3 additions & 3 deletions schemas/src/digital-objects/ref-organ.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,14 +181,14 @@ classes:
AnnotationAssertion( dct:title {{iri}} "{{metadata.title|e}}" )
AnnotationAssertion( dct:description {{iri}} "{{metadata.description|e}}" )
{% for creator_iri in metadata.created_by %}
AnnotationAssertion( dct:creator {{iri}} "{{creator_iri|e}}" )
AnnotationAssertion( dct:creator {{iri}} {{creator_iri|e}} )
{% endfor %}
AnnotationAssertion( schema:version {{iri}} "{{metadata.version|e}}" )
AnnotationAssertion( schema:dateCreated {{iri}} "{{metadata.creation_date|e}}" )
AnnotationAssertion( dct:license {{iri}} "{{metadata.license|e}}" )
AnnotationAssertion( dct:publisher {{iri}} "{{metadata.publisher|e}}" )
AnnotationAssertion( rdfs:seeAlso {{iri}} "{{metadata.see_also|e}}" )
AnnotationAssertion( prov:wasDerivedFrom {{iri}} "{{metadata.derived_from|e}}" )
AnnotationAssertion( rdfs:seeAlso {{iri}} {{metadata.see_also|e}} )
AnnotationAssertion( prov:wasDerivedFrom {{iri}} {{metadata.derived_from|e}} )
slots:
created_by:
Expand Down
6 changes: 3 additions & 3 deletions schemas/src/digital-objects/vocab.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ classes:
AnnotationAssertion( dct:title {{iri}} "{{metadata.title|e}}" )
AnnotationAssertion( dct:description {{iri}} "{{metadata.description|e}}" )
{% for creator_iri in metadata.created_by %}
AnnotationAssertion( dct:creator {{iri}} "{{creator_iri|e}}" )
AnnotationAssertion( dct:creator {{iri}} {{creator_iri|e}} )
{% endfor %}
AnnotationAssertion( schema:version {{iri}} "{{metadata.version|e}}" )
AnnotationAssertion( schema:dateCreated {{iri}} "{{metadata.creation_date|e}}" )
AnnotationAssertion( dct:license {{iri}} "{{metadata.license|e}}" )
AnnotationAssertion( dct:publisher {{iri}} "{{metadata.publisher|e}}" )
AnnotationAssertion( rdfs:seeAlso {{iri}} "{{metadata.see_also|e}}" )
AnnotationAssertion( prov:wasDerivedFrom {{iri}} "{{metadata.derived_from|e}}" )
AnnotationAssertion( rdfs:seeAlso {{iri}} {{metadata.see_also|e}} )
AnnotationAssertion( prov:wasDerivedFrom {{iri}} {{metadata.derived_from|e}} )
slots:
created_by:
Expand Down
4 changes: 2 additions & 2 deletions schemas/src/shared/metadata-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ slots:
had_member:
multivalued: true
inlined_as_list: true
range: Dataset
range: uriorcurie
slot_uri: prov:hadMember

# Dublin Core properties
Expand All @@ -172,7 +172,7 @@ slots:
required: true
multivalued: true
inlined_as_list: true
range: Creator
range: uriorcurie
slot_uri: dct:creator

# Schema.org properties
Expand Down

0 comments on commit 99c5f28

Please sign in to comment.