Assertion: graph's node | /r/CapableOf | satisfy criterion
Facets:
Source sentences:
text: // Check that we haven't already visited this part of the graph if (visited.contains(node)) { return null; } visited.insert(node); // Test to see if this node satisfies the criteria if (criteria.apply(node.value)) { return node; } //