Skip to content

JSON-LD to Turtle serialization eats up @id with no value#497

@csarven

Description

@csarven

re: #496 (comment)

http://example.org/resourceA contains:
{"@id": "http://example.net/note#foo", "http://schema.org/citation":{"@id": "http://example.org/article#results" } }

$ curl -H'Accept: text/turtle' http://example.org/resourceA @prefix note: <http://example.net/note#>. @prefix schem: <http://schema.org/>. @prefix n0: <http://example.org/article#>. note:foo schem:citation n0:results . 

Looks good to me.

http://example.org/resourceB contains:
{"@id": "", "http://schema.org/citation":{"@id": "http://example.org/article#results" } }

$ curl -H'Accept: text/turtle' http://example.org/resourceB 

No body.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions