Closed gothub closed 9 years ago
insertRelationship now accepts NULL values for arguments 'subjectID' and 'objectIDs', which will cause a type of 'blank' to be assigned and a unique blank node identifier to be created, for example:
insertRelationship(dp, subjectID=NULL, objectIDs="thing1", predicate="http://www.myns.org/hadThing")
fixed in commit ddfb5915739b0ed654e45da33e24ac33881da94f
A NULL value can be specified for subject, object in both Statement and Node in the redland package to create blank nodes for which redland will assign a unique node id. Update insertRelationship to support this.