Skip to content

Commit 9a1af4b

Browse files
committed
byArtist expects MusicGroup, not Person
1 parent c5d1317 commit 9a1af4b

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

data/examples.txt

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2532,7 +2532,7 @@ RDFA:
25322532
<meta content="8" property="numTracks" />
25332533
<meta content="Alt/Punk" property="genre" />
25342534

2535-
<h2 property="byArtist" typeof="MusicGroup">
2535+
<h2 property="byArtist" typeof="MusicGroup">
25362536
<span property="name">Radiohead</span>
25372537
</h2>
25382538

@@ -12209,7 +12209,7 @@ MICRODATA:
1220912209
<span itemprop="name" content="John Doe">by John Doe</span>
1221012210
</div>
1221112211
<div itemprop="about" itemscope itemtype="http://schema.org/MusicRecording">
12212-
<div itemprop="byArtist" itemscope itemtype="http://schema.org/Person">
12212+
<div itemprop="byArtist" itemscope itemtype="http://schema.org/MusicGroup">
1221312213
<meta itemprop="name" content="Bob Dylan" />
1221412214
</div>
1221512215
</div>
@@ -12219,7 +12219,7 @@ MICRODATA:
1221912219
<span itemprop="position">5</span>
1222012220
<div itemprop="item" itemscope itemtype="http://schema.org/MusicRecording">
1222112221
<span itemprop="name">If Not For You</span>
12222-
<div itemprop="byArtist" itemscope itemtype="http://schema.org/Person">
12222+
<div itemprop="byArtist" itemscope itemtype="http://schema.org/MusicGroup">
1222312223
<span itemprop="name">George Harrison</span>
1222412224
</div>
1222512225
</div>
@@ -12228,7 +12228,7 @@ MICRODATA:
1222812228
<span itemprop="position">4</span>
1222912229
<div itemprop="item" itemscope itemtype="http://schema.org/MusicRecording">
1223012230
<span itemprop="name">The Times They Are A-Changin'</span>
12231-
<div itemprop="byArtist" itemscope itemtype="http://schema.org/Person">
12231+
<div itemprop="byArtist" itemscope itemtype="http://schema.org/MusicGroup">
1223212232
<span itemprop="name">Tracy Chapman</span>
1223312233
</div>
1223412234
</div>
@@ -12237,10 +12237,10 @@ MICRODATA:
1223712237
<span itemprop="position">3</span>
1223812238
<div itemprop="item" itemscope itemtype="http://schema.org/MusicRecording">
1223912239
<span itemprop="name">It Ain't Me Babe</span>
12240-
<div itemprop="byArtist" itemscope itemtype="http://schema.org/Person">
12240+
<div itemprop="byArtist" itemscope itemtype="http://schema.org/MusicGroup">
1224112241
<span itemprop="name">Johnny Cash</span>
1224212242
</div>
12243-
<div itemprop="byArtist" itemscope itemtype="http://schema.org/Person">
12243+
<div itemprop="byArtist" itemscope itemtype="http://schema.org/MusicGroup">
1224412244
<span itemprop="name">June Carter Cash</span>
1224512245
</div>
1224612246
</div>
@@ -12249,7 +12249,7 @@ MICRODATA:
1224912249
<span itemprop="position">2</span>
1225012250
<div itemprop="item" itemscope itemtype="http://schema.org/MusicRecording">
1225112251
<span itemprop="name">Don't Think Twice It's Alright</span>
12252-
<div itemprop="byArtist" itemscope itemtype="http://schema.org/Person">
12252+
<div itemprop="byArtist" itemscope itemtype="http://schema.org/MusicGroup">
1225312253
<span itemprop="name">Waylon Jennings</span>
1225412254
</div>
1225512255
</div>
@@ -12258,7 +12258,7 @@ MICRODATA:
1225812258
<span itemprop="position">1</span>
1225912259
<div itemprop="item" itemscope itemtype="http://schema.org/MusicRecording">
1226012260
<span itemprop="name">All Along the Watchtower</span>
12261-
<div itemprop="byArtist" itemscope itemtype="http://schema.org/Person">
12261+
<div itemprop="byArtist" itemscope itemtype="http://schema.org/MusicGroup">
1226212262
<span itemprop="name">Jimi Hendrix</span>
1226312263
</div>
1226412264
</div>
@@ -12273,7 +12273,7 @@ RDFA:
1227312273
<span property="name" content="John Doe">by John Doe</span>
1227412274
</div>
1227512275
<div property="about" typeof="MusicRecording">
12276-
<div property="byArtist" typeof="Person">
12276+
<div property="byArtist" typeof="MusicGroup">
1227712277
<meta property="name" content="Bob Dylan" />
1227812278
</div>
1227912279
</div>
@@ -12283,7 +12283,7 @@ RDFA:
1228312283
<span property="position">5</span>
1228412284
<div property="item" typeof="MusicRecording">
1228512285
<span property="name">If Not For You</span>
12286-
<div property="byArtist" typeof="Person">
12286+
<div property="byArtist" typeof="MusicGroup">
1228712287
<span property="name">George Harrison</span>
1228812288
</div>
1228912289
</div>
@@ -12292,7 +12292,7 @@ RDFA:
1229212292
<span property="position">4</span>
1229312293
<div property="item" typeof="MusicRecording">
1229412294
<span property="name">The Times They Are A-Changin'</span>
12295-
<div property="byArtist" typeof="Person">
12295+
<div property="byArtist" typeof="MusicGroup">
1229612296
<span property="name">Tracy Chapman</span>
1229712297
</div>
1229812298
</div>
@@ -12301,10 +12301,10 @@ RDFA:
1230112301
<span property="position">3</span>
1230212302
<div property="item" typeof="MusicRecording">
1230312303
<span property="name">It Ain't Me Babe</span>
12304-
<div property="byArtist" typeof="Person">
12304+
<div property="byArtist" typeof="MusicGroup">
1230512305
<span property="name">Johnny Cash</span>
1230612306
</div>
12307-
<div property="byArtist" typeof="Person">
12307+
<div property="byArtist" typeof="MusicGroup">
1230812308
<span property="name">June Carter Cash</span>
1230912309
</div>
1231012310
</div>
@@ -12313,7 +12313,7 @@ RDFA:
1231312313
<span property="position">2</span>
1231412314
<div property="item" typeof="MusicRecording">
1231512315
<span property="name">Don't Think Twice It's Alright</span>
12316-
<div property="byArtist" typeof="Person">
12316+
<div property="byArtist" typeof="MusicGroup">
1231712317
<span property="name">Waylon Jennings</span>
1231812318
</div>
1231912319
</div>
@@ -12322,7 +12322,7 @@ RDFA:
1232212322
<span property="position">1</span>
1232312323
<div property="item" typeof="MusicRecording">
1232412324
<span property="name">All Along the Watchtower</span>
12325-
<div property="byArtist" typeof="Person">
12325+
<div property="byArtist" typeof="MusicGroup">
1232612326
<span property="name">Jimi Hendrix</span>
1232712327
</div>
1232812328
</div>
@@ -12341,7 +12341,7 @@ JSON:
1234112341
"about: {
1234212342
"@type": "MusicRecording",
1234312343
"byArtist": {
12344-
"@type": "Person",
12344+
"@type": "MusicGroup",
1234512345
"name": "Bob Dylan"
1234612346
}
1234712347
},
@@ -12355,7 +12355,7 @@ JSON:
1235512355
"@type": "MusicRecording",
1235612356
"name": "If Not For You",
1235712357
"byArtist": {
12358-
"@type": "Person",
12358+
"@type": "MusicGroup",
1235912359
"name": "George Harrison"
1236012360
}
1236112361
}
@@ -12367,7 +12367,7 @@ JSON:
1236712367
"@type": "MusicRecording",
1236812368
"name": "The Times They Are A-Changin'",
1236912369
"byArtist": {
12370-
"@type": "Person",
12370+
"@type": "MusicGroup",
1237112371
"name": "Tracy Chapman"
1237212372
}
1237312373
}
@@ -12380,7 +12380,7 @@ JSON:
1238012380
"name": "It Ain't Me Babe",
1238112381
"byArtist": [
1238212382
{
12383-
"@type": "Person",
12383+
"@type": "MusicGroup",
1238412384
"name": "Johnny Cash"
1238512385
},
1238612386
{
@@ -12397,7 +12397,7 @@ JSON:
1239712397
"@type": "MusicRecording",
1239812398
"name": "Don't Think Twice It's Alright",
1239912399
"byArtist": {
12400-
"@type": "Person",
12400+
"@type": "MusicGroup",
1240112401
"name": "Waylon Jennings"
1240212402
}
1240312403
}
@@ -12409,7 +12409,7 @@ JSON:
1240912409
"@type": "MusicRecording",
1241012410
"name": "All Along the Watchtower",
1241112411
"byArtist": {
12412-
"@type": "Person",
12412+
"@type": "MusicGroup",
1241312413
"name": "Jimi Hendrix"
1241412414
}
1241512415
}

0 commit comments

Comments
 (0)