World.get

Node get(Node subject, Node predicate, Node obj)

Find a single node matching a triple pattern. Like findNodes() but only returns the first item.

Parameters

subjectA subject URI (can be null for wildcard)
predicatePredicate URI
objObject (can be null for wildcard)

Returns

The first found node or null