You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the first case bNode.getBlankNodeId() will return anonId (which is most probably a string). In the second case the actual blank node id is wrapped in an AnonIdStr object.
Which variant is the official interface?
The text was updated successfully, but these errors were encountered:
In the
NodeFactory
there are two ways to create a blank node (bNode
):NodeFactory.createAnon(anonId)
NodeFactory.createFromTalisRdfJson(talisJson)
(e.g. called withvar talisJson = { value : '_:anna', type : 'bnode' }
)In the first case
bNode.getBlankNodeId()
will returnanonId
(which is most probably a string). In the second case the actual blank node id is wrapped in anAnonIdStr
object.Which variant is the official interface?
The text was updated successfully, but these errors were encountered: