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

All Samples(3)  |  Call(0)  |  Derive(0)  |  Import(3)
Utility class for quickly generating URIRefs with a common prefix

>>> from rdflib import Namespace
>>> n = Namespace("http://example.org/")
>>> n.Person # as attribute
rdflib.term.URIRef(u'http://example.org/Person')
>>> n['first-name'] # as item - for things that are not valid python identifiers
rdflib.term.URIRef(u'http://example.org/first-name')

src/r/d/RDF.py-HEAD/FuXi/LP/testSeralizationOfEval.py   RDF.py(Download)
 
import sys, os, unittest
from BackwardFixpointProcedure import BFP_RULE, BFP_NS
from FuXi.Horn.PositiveConditions import Uniterm
from FuXi.Horn.HornRules import Rule, Clause
from rdflib import Literal, Variable
from rdflib.namespace import RDF
 
nsBindings = {
    u'bfp'  : BFP_NS, 

src/f/u/FuXi-HEAD/lib/LP/testSeralizationOfEval.py   FuXi(Download)
import unittest
from rdflib import Literal, RDF, Variable
from .BackwardFixpointProcedure import BFP_RULE, BFP_NS
from FuXi.Horn.PositiveConditions import Uniterm
from FuXi.Horn.HornRules import Rule, Clause
 
nsBindings = {
    u'bfp'  : BFP_NS, 

src/f/u/FuXi-1.4.1.production/lib/LP/testSeralizationOfEval.py   FuXi(Download)
 
import sys, os, unittest
from BackwardFixpointProcedure import BFP_RULE, BFP_NS
from FuXi.Horn.PositiveConditions import Uniterm
from FuXi.Horn.HornRules import Rule, Clause
from rdflib import Literal, RDF, Variable
 
nsBindings = {
    u'bfp'  : BFP_NS,