World.ask

bool ask(Node subject, Node predicate, Node obj) @nogc nothrow

Return true if a statement matching the pattern exists. Any of the three arguments may be null (wildcard).

Parameters

subjectSubject URI (null for wildcard)
predicatePredicate URI (null for wildcard)
objObject (null for wildcard)

Returns

true if a statement matches the pattern