Title: Duplicate resource in JSON-LD frame output with embed=LAST · Issue #332 · jsonld-java/jsonld-java · GitHub
Open Graph Title: Duplicate resource in JSON-LD frame output with embed=LAST · Issue #332 · jsonld-java/jsonld-java
X Title: Duplicate resource in JSON-LD frame output with embed=LAST · Issue #332 · jsonld-java/jsonld-java
Description: The framing algorithm sometime keeps two occurrences of the resource with all attributes even if embed=LAST. Json-LD input { "@context" : { "@vocab" : "http://www.example.net/" }, "@id": "#doc", "@type": "Document", "content": { "@list":...
Open Graph Description: The framing algorithm sometime keeps two occurrences of the resource with all attributes even if embed=LAST. Json-LD input { "@context" : { "@vocab" : "http://www.example.net/" }, "@id": "#doc", "@...
X Description: The framing algorithm sometime keeps two occurrences of the resource with all attributes even if embed=LAST. Json-LD input { "@context" : { "@vocab" : "http://www.example.n...
Opengraph URL: https://github.com/jsonld-java/jsonld-java/issues/332
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Duplicate resource in JSON-LD frame output with embed=LAST","articleBody":"The framing algorithm sometime keeps two occurrences of the resource with all attributes even if embed=LAST.\r\nJson-LD input\r\n```\r\n{\r\n\t\"@context\" : {\r\n\t\t\"@vocab\" : \"http://www.example.net/\"\r\n\t},\r\n\t\"@id\": \"#doc\",\r\n\t\"@type\": \"Document\",\r\n\t\"content\": {\r\n\t\t\"@list\": [\r\n\t\t\t{\r\n\t\t\t\t\"@id\": \"#question\",\r\n\t\t\t\t\"@type\": \"Question\",\r\n\t\t\t\t\"label\" : \"Why am I here twice?\"\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t\"@id\": \"#block\",\r\n\t\t\t\t\"predicate\": {\r\n\t\t\t\t\t\"@id\": \"#question\"\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t]\r\n\t}\r\n}\r\n```\r\nFrame:\r\n```\r\n{\r\n\t\"@context\" : {\r\n\t\t\"@vocab\" : \"http://www.example.net/\"\r\n\t},\r\n\t\"@type\" : \"Document\"\r\n}\r\n```\r\nCuttent buggy output:\r\n```\r\n{\r\n \"@context\" : {\r\n \"@vocab\" : \"http://www.example.net/\"\r\n },\r\n \"@graph\" : [ {\r\n \"@id\" : \"#doc\",\r\n \"@type\" : \"Document\",\r\n \"content\" : {\r\n \"@list\" : [ {\r\n \"@id\" : \"#question\",\r\n \"@type\" : \"Question\", //This attr should not be here, it is printed later\r\n \"label\" : \"Why am I here twice?\" //This attr should not be here, it is printed later\r\n }, {\r\n \"@id\" : \"#block\",\r\n \"predicate\" : {\r\n \"@id\" : \"#question\",\r\n \"@type\" : \"Question\",\r\n \"label\" : \"Why am I here twice?\"\r\n }\r\n } ]\r\n }\r\n } ]\r\n}\r\n\r\n```\r\nI will make PR with failing test case soon and link it here","author":{"url":"https://github.com/pvojtechovsky","@type":"Person","name":"pvojtechovsky"},"datePublished":"2022-08-02T06:42:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/332/jsonld-java/issues/332"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:384db5ea-1f88-9f45-036e-d2c0ac35fd49 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B6E8:63CEC:5C0851:7C3249:6972804F |
| html-safe-nonce | a97057dc2c9155d085094547423b44c0cce1702fcb91938426487f58bf423d3c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNkU4OjYzQ0VDOjVDMDg1MTo3QzMyNDk6Njk3MjgwNEYiLCJ2aXNpdG9yX2lkIjoiNjQyNjA5NzI3MzY3NDAzOTM3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c9dc39c227ef1c499f46077165b8770101b3bb9476258a58b2cbdedbc51d7053 |
| hovercard-subject-tag | issue:1325362895 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/jsonld-java/jsonld-java/332/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b5d765bca6f1a09c3141723bbfc4728b79a5b74799fea918cefb8badcce090cc/jsonld-java/jsonld-java/issues/332 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b5d765bca6f1a09c3141723bbfc4728b79a5b74799fea918cefb8badcce090cc/jsonld-java/jsonld-java/issues/332 |
| og:image:alt | The framing algorithm sometime keeps two occurrences of the resource with all attributes even if embed=LAST. Json-LD input { "@context" : { "@vocab" : "http://www.example.net/" }, "@id": "#doc", "@... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pvojtechovsky |
| hostname | github.com |
| expected-hostname | github.com |
| None | f3cc591a09ecfa43f68be4fde9ec95eccfdf6298db2cd7d08e9eae6c9f833329 |
| turbo-cache-control | no-preview |
| go-import | github.com/jsonld-java/jsonld-java git https://github.com/jsonld-java/jsonld-java.git |
| octolytics-dimension-user_id | 4359856 |
| octolytics-dimension-user_login | jsonld-java |
| octolytics-dimension-repository_id | 2988730 |
| octolytics-dimension-repository_nwo | jsonld-java/jsonld-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 2988730 |
| octolytics-dimension-repository_network_root_nwo | jsonld-java/jsonld-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 208d56d4b5936bcb8a1d3b43096d573261817603 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width