def rules(self, t, cycle_num): """ @param t: a triple (in the form of a tuple) @param cycle_num: which cycle are we in, starting with 1. This value is forwarded to all local rules; it is also used locally to collect the bnodes in the graph. """ OWLRL_Semantics.rules(self, t, cycle_num) if self.rdfs: CustomRDFSSemantics.rules(self, t, cycle_num)
def rules(self, t, cycle_num): """ :param t: A triple (in the form of a tuple). :type t: tuple :param cycle_num: Which cycle are we in, starting with 1. This value is forwarded to all local rules; it is also used locally to collect the bnodes in the graph. :type cycle_num: int """ OWLRL_Semantics.rules(self, t, cycle_num) if self.rdfs: RDFS_Semantics.rules(self, t, cycle_num)