Closed azaroth42 closed 5 years ago
>>> from cromulent import model >>> a = model.Activity() >>> b = model.Activity() >>> a.ends_before_the_start_of = b >>> print model.factory.toString(a, compact=False) { "@context": "https://linked.art/ns/v1/linked-art.json", "id": "http://lod.example.org/museum/Activity/0", "type": "Activity", "ends_before_the_start_of": [ { "id": "http://lod.example.org/museum/Activity/1", "type": "Activity" } ] }