コード例 #1
0
ファイル: CombinedClosure.py プロジェクト: pombredanne/OWL-RL
	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: RDFS_Semantics.rules(self, t, cycle_num)
コード例 #2
0
 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:
         RDFS_Semantics.rules(self, t, cycle_num)