locel_add_e2o
bindings::slim_ocel_bindingsSourceAdd an E2O (event-to-object) relationship with the given qualifier.
Multiple qualifiers between the same (event, object) pair are allowed. Re-adding the exact same (event, object, qualifier) triple is a no-op. Returns true on success.
Errors. If either index is out of range.
An Event Index
An Object Index
import r4pm
# Also: .json, .json.gz, .xml.gz, .ocel.csv, .ocel.csv.gz, ...
ocel = r4pm.import_item('SlimLinkedOCEL', 'ocel.xml')
res = r4pm.bindings.locel_add_e2o(ocel, 1, 1, 'places')