This repository was archived by the owner on Oct 22, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
This repository was archived by the owner on Oct 22, 2025. It is now read-only.
Current demo validates differently between shex and shacl (e.g. schema.org Event and Recipe samples) #42
Copy link
Copy link
Open
Description
Relaying from Aaron:
I pasted the first http://schema.org/Event example into the tool and it passed as error free with ShEx validation, but generated 4 errors with SHACL...
(I have verified this -- @danbri)
{
"@context": "https://schema.org",
"@type": "MusicGroup",
"event": [
{
"@type": "Event",
"location": "Memphis, TN, US",
"offers": "ticketmaster.com/foofighters/may20-2011",
"startDate": "2011-05-20",
"url": "foo-fighters-may20-fedexforum"
},
{
"@type": "Event",
"location": "Council Bluffs, IA, US",
"offers": "ticketmaster.com/foofighters/may23-2011",
"startDate": "2011-05-23",
"url": "foo-fighters-may23-midamericacenter"
}
],
"image": [
"foofighters-1.jpg",
"foofighters-2.jpg",
"foofighters-3.jpg"
],
"name": "Foo Fighters",
"track": [
{
"@type": "MusicRecording",
"audio": "foo-fighters-rope-play.html",
"duration": "PT4M5S",
"inAlbum": "foo-fighters-wasting-light.html",
"interactionStatistic": {
"@type": "InteractionCounter",
"interactionType": "https://schema.org/ListenAction",
"userInteractionCount": "14300"
},
"name": "Rope",
"offers": "foo-fighters-rope-buy.html",
"url": "foo-fighters-rope.html"
},
{
"@type": "MusicRecording",
"audio": "foo-fighters-everlong-play.html",
"duration": "PT6M33S",
"inAlbum": "foo-fighters-color-and-shape.html",
"name": "Everlong",
"interactionStatistic": {
"@type": "InteractionCounter",
"interactionType": "https://schema.org/ListenAction",
"userInteractionCount": "11700"
},
"offers": "foo-fighters-everlong-buy.html",
"url": "foo-fighters-everlong.html"
}
],
"subjectOf": {
"@type": "VideoObject",
"description": "Catch this exclusive interview with Dave Grohl and the Foo Fighters about their new album, Rope.",
"duration": "PT1M33S",
"name": "Interview with the Foo Fighters",
"thumbnail": "foo-fighters-interview-thumb.jpg",
"interactionStatistic": {
"@type": "InteractionCounter",
"interactionType": "https://schema.org/CommentAction",
"userInteractionCount": "18"
}
}
}Metadata
Metadata
Assignees
Labels
No labels
