rdfalchemy.sparql.SPARQLGraph:
provides (some) rdflib api via http to a SPARQL endpoint
gives 'read-only' access to the graph
constructor takes http endpoint and repository name
e.g.
rdfalchemy.sparql.sesame2.SesameGraph:
openrdf-sesame graph via http
Uses the sesame2 HTTP communication protocol
to provide rdflib type api constructor takes http endpoint and repository name
e.g.
rdfalchemy.sparql.parsers._SPARQLHandler:
Abstract base class for parsing the response stream of a sparql query
Real classhes should subclass from here but should not do too much during __init__
rdfalchemy.descriptors.rdfAbstract:
Abstract base class for descriptors
Descriptors are to map class instance variables to predicates
optional cacheName is where to store items
range_type is the rdf:type of the range of this predicate
rdfalchemy.descriptors.owlTransitive:
owlTransitive is a descriptor based on a transitive predicate
The predicate should be of type owl:TransitiveProperty
rdfalchemy.descriptors.rdfList:
This is a Discriptor
Expects to return a list of values (could be a list of one)
__set__ will set the predicate as a RDF List
rdfalchemy.descriptors.rdfSingle:
This is a Discriptor
Takes a the URI of the predicate at initialization
Expects to return a single item
on Assignment will set that value to the
ONLY triple with that subject,predicate pair
rdfalchemy.descriptors.rdfBest:
This is a Discriptor that returns one value that is the
"best" result out of possible multiple matches
rdfalchemy.descriptors.rdfLocale:
This is like rdfBest with a predefined select_fun to select
from multiple choices like labels or comments and select the one
with the correct locale