Skip to content

Commit 547e7ef

Browse files
committed
Merge pull request #1 from vholland/sdo-music
Modified property names as discussed in partners meeting, cleaned up com...
2 parents 5f2c28a + 4ae004b commit 547e7ef

File tree

2 files changed

+24
-18
lines changed

2 files changed

+24
-18
lines changed

data/examples.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12052,8 +12052,8 @@ JSON:
1205212052
"http://www.wikidata.org/wiki/Q199585"
1205312053
],
1205412054
"image": "http://coverartarchive.org/release-group/bff544a7-56e0-3ed6-9e0f-3b676cca9111/front.jpg",
12055-
"hasAlbumProductionType": "http://schema.org/StudioAlbum",
12056-
"hasAlbumReleaseType": "http://schema.org/AlbumRelease",
12055+
"albumProductionType": "http://schema.org/StudioAlbum",
12056+
"albumReleaseType": "http://schema.org/AlbumRelease",
1205712057
"genre": "rock",
1205812058
"byArtist": {
1205912059
"@type": "MusicGroup",
@@ -12217,7 +12217,7 @@ JSON:
1221712217
"@type": "MusicRelease",
1221812218
"name": "The Beatles",
1221912219
"alternateName": "White Album",
12220-
"hasReleaseFormat": "http://schema.org/VinylFormat",
12220+
"musicReleaseFormat": "http://schema.org/VinylFormat",
1222112221
"duration": "PT1H33M50S",
1222212222
"inLanguage": "EN",
1222312223
"recordLabel": {

data/schema.rdfa

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6216,7 +6216,7 @@ Note that Event uses startDate/endDate instead of startTime/endTime, even when d
62166216
</div>
62176217
<div typeof="rdf:Property" resource="http://schema.org/genre">
62186218
<span class="h" property="rdfs:label">genre</span>
6219-
<span property="rdfs:comment">Genre of the creative work</span>
6219+
<span property="rdfs:comment">Genre of the creative work or group.</span>
62206220
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/CreativeWork">CreativeWork</a></span>
62216221
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Text">Text</a></span>
62226222
</div>
@@ -7849,6 +7849,20 @@ Note that Event uses startDate/endDate instead of startTime/endTime, even when d
78497849
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/DietarySupplement">DietarySupplement</a></span>
78507850
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/RecommendedDoseSchedule">RecommendedDoseSchedule</a></span>
78517851
</div>
7852+
<div typeof="rdf:Property" resource="http://schema.org/recordedAt">
7853+
<span class="h" property="rdfs:label">recordedAt</span>
7854+
<span property="rdfs:comment">The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.</span>
7855+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/CreativeWork">CreativeWork</a></span>
7856+
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Event">Event</a></span>
7857+
<link property="http://schema.org/inverseOf" href="http://schema.org/recordedAt"/>
7858+
</div>
7859+
<div typeof="rdf:Property" resource="http://schema.org/recordedIn">
7860+
<span class="h" property="rdfs:label">recordedIn</span>
7861+
<span property="rdfs:comment">The CreativeWork that captured all or part of this Event.</span>
7862+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/Event">Event</a></span>
7863+
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/CreativeWork">CreativeWork</a></span>
7864+
<link property="http://schema.org/inverseOf" href="http://schema.org/recordedIn"/>
7865+
</div>
78527866
<div typeof="rdf:Property" resource="http://schema.org/regionDrained">
78537867
<span class="h" property="rdfs:label">regionDrained</span>
78547868
<span property="rdfs:comment">The anatomical or organ system drained by this vessel; generally refers to a specific part of an organ.</span>
@@ -9982,15 +9996,15 @@ on public-vocabs@w3.org.</p>
99829996

99839997
<p>We begin by extending MusicAlbum.</p>
99849998

9985-
<div typeof="rdf:Property" resource="http://schema.org/hasAlbumProductionType">
9986-
<span class="h" property="rdfs:label">hasAlbumProductionType</span>
9999+
<div typeof="rdf:Property" resource="http://schema.org/albumProductionType">
10000+
<span class="h" property="rdfs:label">albumProductionType</span>
998710001
<span property="rdfs:comment">Classification of the album by it's type of content: soundtrack, live album, studio album, etc.</span>
998810002
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/MusicAlbum">MusicAlbum</a></span>
998910003
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/MusicAlbumProductionType">MusicAlbumProductionType</a></span>
999010004
<link property="dc:source" href="http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ"/>
999110005
</div>
9992-
<div typeof="rdf:Property" resource="http://schema.org/hasAlbumReleaseType">
9993-
<span class="h" property="rdfs:label">hasAlbumReleaseType</span>
10006+
<div typeof="rdf:Property" resource="http://schema.org/albumReleaseType">
10007+
<span class="h" property="rdfs:label">albumReleaseType</span>
999410008
<span property="rdfs:comment">The kind of release which this album is: single, EP or album.</span>
999510009
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/MusicAlbum">MusicAlbum</a></span>
999610010
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/MusicAlbumReleaseType">MusicAlbumReleaseType</a></span>
@@ -10199,14 +10213,6 @@ on public-vocabs@w3.org.</p>
1019910213

1020010214
<p>TODO: For discussion - do we need something like CreativeWorkContributionRole ?</p>
1020110215

10202-
<div typeof="rdf:Property" resource="http://schema.org/musicContributor">
10203-
<span class="h" property="rdfs:label">musicContributor</span>
10204-
<span property="rdfs:comment">Someone who contributed to the recording. For simple cases where the nature of the contribution is not defined, one can simply use Person or Organization. To describe the nature of the contribution, use OrganizationRole</span>
10205-
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/MusicRecording">MusicRecording</a></span>
10206-
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Person">Person</a></span>
10207-
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Organization">Organization</a></span>
10208-
<link property="dc:source" href="http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ"/>
10209-
</div>
1021010216
<div typeof="rdf:Property" resource="http://schema.org/isrcCode">
1021110217
<span class="h" property="rdfs:label">isrcCode</span>
1021210218
<span property="rdfs:comment">The International Standard Recording Code for the recording.</span>
@@ -10264,8 +10270,8 @@ on public-vocabs@w3.org.</p>
1026410270
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/MusicRelease">MusicRelease</a></span>
1026510271
</div>
1026610272

10267-
<div typeof="rdf:Property" resource="http://schema.org/hasReleaseFormat">
10268-
<span class="h" property="rdfs:label">hasReleaseFormat</span>
10273+
<div typeof="rdf:Property" resource="http://schema.org/musicReleaseFormat">
10274+
<span class="h" property="rdfs:label">musicReleaseFormat</span>
1026910275
<span property="rdfs:comment">Format of this release (the type of recording media used, ie. compact disc, digital media, LP, etc.).</span>
1027010276
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/MusicRelease">MusicRelease</a></span>
1027110277
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/MusicReleaseFormatType">MusicReleaseFormatType</a></span>

0 commit comments

Comments
 (0)