Step#

class biopax-explorer.pattern.pattern.Step(core, add_children=True, op='UNION')[source]#

Bases: Step

This class holds two kinds of data: - a list of EntityNodes used to generate a SPARQL query, or - a LocalProcessing that enables local in-memory filter operations on entities.

Args:

core (list): A list of EntityNodes used to generate a SPARQL query. add_children (bool): Whether to add children nodes (default is True). op (str): The operation to apply when combining multiple Step objects (default is “UNION”).