Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(3)  |  Derive(0)  |  Import(5)
An binary N3 Filter: A built-in which evaluates to a boolean

src/f/u/FuXi-1.4.1.production/lib/Rete/Network.py   FuXi(Download)
from rdflib.syntax.NamespaceManager import NamespaceManager
from ReteVocabulary import RETE_NS
from RuleStore import N3RuleStore,N3Builtin, Formula
OWL_NS    = Namespace("http://www.w3.org/2002/07/owl#")
Any = None
        if not isinstance(node,BuiltInAlphaNode) and node.builtin:
            s,p,o = currentPattern
            node = BuiltInAlphaNode(N3Builtin(p,self.ruleStore.filters[p](s,o),s,o))
        return node
 

src/r/d/RDF.py-HEAD/FuXi/Rete/Network.py   RDF.py(Download)
from rdflib.namespace import NamespaceManager
from ReteVocabulary import RETE_NS
from RuleStore import N3RuleStore,N3Builtin, Formula
OWL_NS    = Namespace("http://www.w3.org/2002/07/owl#")
Any = None
        if not isinstance(node,BuiltInAlphaNode) and node.builtin:
            s,p,o = currentPattern
            node = BuiltInAlphaNode(N3Builtin(p,self.ruleStore.filters[p](s,o),s,o))
        return node
 

src/f/u/FuXi-HEAD/lib/Rete/Network.py   FuXi(Download)
 
from .ReteVocabulary import RETE_NS
from .RuleStore import (
    Formula,
    N3Builtin,
        if not isinstance(node, BuiltInAlphaNode) and node.builtin:
            s, p, o = currentPattern
            node = BuiltInAlphaNode(N3Builtin(p, self.ruleStore.filters[p](s, o), s, o))
        return node
 

src/f/u/FuXi-1.4.1.production/lib/Rete/BetaNode.py   FuXi(Download)
from AlphaNode import AlphaNode, BuiltInAlphaNode, ReteToken
from Node import Node
from RuleStore import N3Builtin
from IteratorAlgebra import hash_join
from Util import xcombine

src/r/d/RDF.py-HEAD/FuXi/Rete/BetaNode.py   RDF.py(Download)
from AlphaNode import AlphaNode, BuiltInAlphaNode, ReteToken
from Node import Node
from RuleStore import N3Builtin
from IteratorAlgebra import hash_join
from Util import xcombine