Return all the statements in the model that match the given pattern.
Any combination of s, p and o can be None, and any None slot is
treated as a wildcard that matches any value in the model. A list
is returned comprising all the statement objects that match the
arguments.
flags keyword arguments map to the listed arguments with 'Flags'
append to the name. Where the value is any combination of
IGNORE_CASE and REGEX.
http://www.w3.org/TR/rdf-mt/#RDFRules [7.3 RDFS Entailment Rules]
An RDFS entailment rule (rdfs7) can be applied to 'enhance' and/or optimize this calculation