Title: omit doesn't work for multiple objects · Issue #316 · jsonld-java/jsonld-java · GitHub
Open Graph Title: omit doesn't work for multiple objects · Issue #316 · jsonld-java/jsonld-java
X Title: omit doesn't work for multiple objects · Issue #316 · jsonld-java/jsonld-java
Description: I'm getting back following even though I've specified to omit graph { "@context" : [ "http://cambridgesemantics.com/ontologies/2018/06/MetadataDictionary/ClassConcept", "http://cambridgesemantics.com/ontologies/2018/06/MetadataDictionary...
Open Graph Description: I'm getting back following even though I've specified to omit graph { "@context" : [ "http://cambridgesemantics.com/ontologies/2018/06/MetadataDictionary/ClassConcept", "http://cambridgesemantics.c...
X Description: I'm getting back following even though I've specified to omit graph { "@context" : [ "http://cambridgesemantics.com/ontologies/2018/06/MetadataDictionary/ClassConcept", ...
Opengraph URL: https://github.com/jsonld-java/jsonld-java/issues/316
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"omit doesn't work for multiple objects","articleBody":"I'm getting back following even though I've specified to omit graph\r\n\r\n```\r\n{\r\n \"@context\" : [ \"http://cambridgesemantics.com/ontologies/2018/06/MetadataDictionary/ClassConcept\", \"http://cambridgesemantics.com/ontologies/2018/06/MetadataDictionary/PrimaryKey\", \"http://cambridgesemantics.com/ontologies/2018/06/MetadataDictionary/MetadataDictionary\" ],\r\n \"@graph\" : [ {\r\n \"uri\" : \"http://test1\",\r\n \"type\" : \"metaframe:MetadataDictionary\",\r\n \"metaDataConcepts\" : {\r\n \"uri\" : \"http://testc1\",\r\n \"type\" : \"metaframe:ClassConcept\",\r\n \"primaryKey\" : [ {\r\n \"uri\" : \"http://pk1\",\r\n \"type\" : \"metaframe:PrimaryKey\",\r\n \"priority\" : \"5\"\r\n }, {\r\n \"uri\" : \"http://pk2\",\r\n \"type\" : \"metaframe:PrimaryKey\",\r\n \"priority\" : \"6\"\r\n } ]\r\n },\r\n \"title\" : \"test1\"\r\n }, {\r\n \"uri\" : \"http://test2\",\r\n \"type\" : \"metaframe:MetadataDictionary\",\r\n \"title\" : \"test2\"\r\n } ]\r\n}\r\n```\r\n\r\nI see\r\n```\r\n2.3.4 Omit graph flag\r\nThe omit graph flag determines if framed output containing a single node object is contained within @graph, or not. The initial value for the omit graph flag is set using the omitGraph option, or based on the processing mode; if processing mode is json-ld-1.0, the output always includes a @graph member, otherwise, the @graph member is used only to describe multiple node objects, consistent with compaction. See § 4.2.2 Framing Algorithm for a further discussion.\r\n```\r\n\r\nwhich seems to indicate \"@graph member is used only to describe multiple node\".. But what do I do if I want no graph at all and I just want a list of the objects?","author":{"url":"https://github.com/garpinc","@type":"Person","name":"garpinc"},"datePublished":"2021-06-07T13:45:46.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/316/jsonld-java/issues/316"}
| 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:ba65eafd-fddb-fe5a-eb44-1d9c3d7d0259 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A25E:126498:16F984B:200A3EB:6972747A |
| html-safe-nonce | 695caf393a6d961ee47764ef2252a5c0f6205a16a09f00509ed3791389fe0915 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjVFOjEyNjQ5ODoxNkY5ODRCOjIwMEEzRUI6Njk3Mjc0N0EiLCJ2aXNpdG9yX2lkIjoiNTUyODkxMDA3OTA1OTk4MTQzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d05035a69d8171bd08999add5fb45b4af0892611b7755685ae97cbc0470a4cf1 |
| hovercard-subject-tag | issue:913567769 |
| 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/316/issue_layout |
| twitter:image | https://opengraph.githubassets.com/aeb6ee6cc78f99a3356eadeaaf5f7d630544dfcdcf8a711e612c124f561a20f7/jsonld-java/jsonld-java/issues/316 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/aeb6ee6cc78f99a3356eadeaaf5f7d630544dfcdcf8a711e612c124f561a20f7/jsonld-java/jsonld-java/issues/316 |
| og:image:alt | I'm getting back following even though I've specified to omit graph { "@context" : [ "http://cambridgesemantics.com/ontologies/2018/06/MetadataDictionary/ClassConcept", "http://cambridgesemantics.c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | garpinc |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3be355d8ea7ca74c4edec03a70ecaa8211862649e90886d88a4db13e6778e4c3 |
| 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 | 4ae5b6c1e16519c3e3ad37a388f7cca2192a79a8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width