- From: John Walker <john.walker@semaku.com>
- Date: Thu, 9 Jul 2020 05:59:18 +0000
- To: "public-json-ld-wg@w3.org" <public-json-ld-wg@w3.org>
- Message-ID: <AM0PR02MB54289C3AB261B9A92C32F2879A640@AM0PR02MB5428.eurprd02.prod.outlook.com>
Hello, I'm not entirely sure if this is a bug, but I observe some odd behavior when framing lists. For example I have some properties with a list value, where that property is not present for on resource of a certain type. https://json-ld.org/playground/#startTab=tab-framed&json-ld=%7B%22%40context%22%3A%7B%22%40vocab%22%3A%22http%3A%2F%2Fwww.w3.org%2Fns%2Fshacl%23%22%2C%22xone%22%3A%7B%22%40type%22%3A%22%40id%22%2C%22%40container%22%3A%22%40list%22%7D%7D%2C%22%40graph%22%3A%5B%7B%22%40id%22%3A%22http%3A%2F%2Fexample.com%2Fa%22%2C%22%40type%22%3A%22PropertyShape%22%2C%22name%22%3A%22a%22%2C%22xone%22%3A%5B%7B%22%40id%22%3A%22_%3Abar%22%2C%22name%22%3A%22bar%22%7D%2C%7B%22%40id%22%3A%22_%3Abaz%22%2C%22name%22%3A%22baz%22%7D%5D%7D%2C%7B%22%40id%22%3A%22http%3A%2F%2Fexample.com%2Fb%22%2C%22%40type%22%3A%22PropertyShape%22%2C%22name%22%3A%22b%22%2C%22xone%22%3A%5B%7B%22%40id%22%3A%22_%3Abaz%22%2C%22name%22%3A%22baz%22%7D%2C%7B%22%40id%22%3A%22_%3Abar%22%2C%22name%22%3A%22bar%22%7D%5D%7D%2C%7B%22%40id%22%3A%22http%3A%2F%2Fexample.com%2Fc%22%2C%22%40type%22%3A%22PropertyShape%22%2C%22name%22%3A%22c%22%2C%22xone%22%3A%5B%5D%7D%2C%7B%22%40id%22%3A%22http%3A%2F%2Fexample.com%2Fd%22%2C%22%40type%22%3A%22PropertyShape%22%2C%22name%22%3A%22d%22%7D%5D%7D&frame=%7B%22%40context%22%3A%7B%22%40vocab%22%3A%22http%3A%2F%2Fwww.w3.org%2Fns%2Fshacl%23%22%2C%22xone%22%3A%7B%22%40type%22%3A%22%40id%22%2C%22%40container%22%3A%22%40list%22%7D%7D%2C%22%40type%22%3A%22PropertyShape%22%2C%22xone%22%3A%7B%22%40embed%22%3A%22%40never%22%7D%7D In the framed output we see { "@id": "http://example.com/d", "@type": "PropertyShape", "name": "d", "http://www.w3.org/ns/shacl#xone": null } Where I'd have expected { "@id": "http://example.com/d", "@type": "PropertyShape", "name": "d", "xone": null } Is the observed behavior correct? Regards, John Walker Principal Consultant & co-founder Semaku B.V. | Torenallee 20 (SFJ 3.065) | 5617 BC Eindhoven | T +31 6 42590072 | https://semaku.com/ KvK: 58031405 | BTW: NL852842156B01 | IBAN: NL94 INGB 0008 3219 95
Received on Thursday, 9 July 2020 05:59:36 UTC