def count(self, s, p, o, s_blank, o_l, o_blank, statement): if p == 'http://www.w3.org/2000/01/rdf-schema#label' and not dh.query_distinct_subject( s, 2): self.results['count'] += 1 dh.set_distinct_subject(s, 2)
def count(self, s, p, o, s_blank, o_l, o_blank, statement): if statement.subject.is_resource and not dh.query_distinct_subject(s, 0): self.results['count'] += 1 dh.set_distinct_subject(s, 0)
def count(self, s, p, o, s_blank, o_l, o_blank, statement): if p == 'http://www.w3.org/2000/01/rdf-schema#label' and not dh.query_distinct_subject(s, 2): self.results['count'] += 1 dh.set_distinct_subject(s, 2)
def count(self, s, p, o, s_blank, o_l, o_blank, statement): if p == 'http://www.w3.org/1999/02/22-rdf-syntax-ns#type' and not dh.query_distinct_subject(s, 1): self.results['count'] += 1 dh.set_distinct_subject(s, 1)
def count(self, s, p, o, s_blank, o_l, o_blank, statement): if statement.subject.is_resource and not dh.query_distinct_subject( s, 0): self.results['count'] += 1 dh.set_distinct_subject(s, 0)
def count(self, s, p, o, s_blank, o_l, o_blank, statement): if p == 'http://www.w3.org/1999/02/22-rdf-syntax-ns#type' and not dh.query_distinct_subject( s, 1): self.results['count'] += 1 dh.set_distinct_subject(s, 1)