-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example 9 has different results in the playground #525
Comments
A similar issue occurs for Example 14, this looks as follows in the JSON-LD Playground (again: uglier because of {
"@context": {
"@version": 1.1,
"@vocab": "http://example.org/"
},
"@graph": [
{
"@id": "http://example.org/library",
"@type": "Library",
"contains": {
"@id": "http://example.org/library/the-republic",
"@type": "Book",
"contains": {
"@id": "http://example.org/library/the-republic#introduction",
"@type": "Chapter",
"description": "An introductory chapter on The Republic.",
"title": "The Introduction"
},
"creator": {
"@language": "el-latn",
"@value": "Plátōn"
},
"title": {
"@language": "el-latn",
"@value": "Res Publica"
}
},
"location": {
"@language": "el-latn",
"@value": "Athína"
}
},
{
"@id": "http://example.org/library/the-republic",
"@type": "Book",
"contains": null,
"creator": [
{
"@language": "el-latn",
"@value": "Plátōn"
},
{
"@language": "grc",
"@value": "Πλάτων"
},
{
"@language": "en",
"@value": "Plato"
}
],
"location": null,
"title": [
{
"@language": "grc",
"@value": "Πολιτεία"
},
{
"@language": "el-latn",
"@value": "Res Publica"
},
{
"@language": "en",
"@value": "The Republic"
}
]
}
]
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example 8 in the standard document looks very different in the JSON-LD Playground (accessed through the "Open in playground" button from the standard document). This is example 8:
In the standard, it looks as follows:
But in JSON-LD Playground, it looks as follows:
^ Notice that the use of
@graph
andnull
, together with the repetition of the values "Book', "Plato", and "The Republic", makes this snippet uglier than the one in the standard documentThis is the live link to the playground: link
Expected
The same example to look identical (or at least more similar) in the document and in the playground.
The text was updated successfully, but these errors were encountered: