| Home | Trees | Index | Help |
|---|
|
rdflib
BNode
Collection
compat
constants: Deprecated.
events: Dirt Simple Events
exceptions
FileInputSource
Graph: Instanciating Graphs with default store (IOMemory) and default
identifier (a BNode):
Identifier
interfaces
Journal
Literal
Namespace
Node
plugin
QueryResult
RDF
RDFS
sparql: For a general description of the SPARQL API, see the separate, more
complete description.
graphPattern: Graph pattern class used by the SPARQL implementation
parser: SPARQL Lexer, Parser and Function-Mapper
By Shawn Brown <http://shawnbrown.com/contact>
TO DO:
swap current parser functions for Michelp's pyparsing setup
add mapping for FILTER/constraints
typed literals
integer, double or boolean abbreviations
language tags (e.g., @fr)
nested OPTIONALs ???
blank node and RDF collection syntax ???
GRAPH statements ???
CURRENTLY SUPPORTED:
Simple SELECT queries
Predicate-object and object list shorthand
(e.g., ?x foaf:name ?name ; foaf:mbox ?mbox ; vcard:TITLE ?title)
Multi-line/triple-quoted literals
BASE, PREFIX, SELECT, WHERE, UNION, OPTIONAL, multiple UNIONs and multiple
OPTIONALs (but not nested OPTIONALs)
USAGE:
#from sparql_lpm import doSPARQL
from rdflib.sparql.parser import doSPARQL
...load graph...
QueryResult
sparql: SPARQL implementation on top of RDFLib
sparqlGraph: Some utility functions built on the top of rdflib
sparqlOperators
Statement
store
AbstractSQLStore
AuditableStorage: This wrapper intercepts calls through the store interface
And implements thread-safe logging of destructive operations (adds / removes) in reverse.
Concurrent
FOPLRelationalModel
BinaryRelationPartition: The set of classes used to model the 3 'partitions' for N3
assertions.
QuadSlot: Utility functions associated with RDF terms:...
RelationalHash: This module implements two hash tables for identifiers and values that
facilitate maximal index lookups and minimal redundancy (since
identifiers and values are stored once only and referred to by integer
half-md5-hashes).
IOMemory
Memory
MySQL
NodePickler
REGEXMatching: This wrapper intercepts calls through the store interface which make
use of The REGEXTerm class to represent matches by REGEX instead of
literal comparison Implemented for stores that don't support this and
essentially provides the support by replacing the REGEXTerms by wildcards
(None) and matching against the results from the store it's wrapping
Sleepycat
StringInputSource
syntax
NamespaceManager
parsers
n3p
n3meta: n3meta - For use with n3p.py.
n3p: N3P - An N3 Parser using n3.n3
Author: Sean B.
n3proc: n3proc - An N3 Processor using n3.n3
Author: Sean B.
uripath: Uniform Resource Identifier (URI) path manipulation,
above the access layer
The name of this module and the functions are somewhat
arbitrary; they hark to other parts of the python
library; e.g.
N3Parser
NTParser
ntriples: N-Triples Parser
License: GPL 2, W3C, BSD, or MIT
Author: Sean B.
RDFaParser: RDFa parser.
RDFXMLHandler
RDFXMLParser
TriXHandler
TriXParser
serializer
serializers
xml_names
term_utils
TripleStore: Deprecated; use Graph.
URIRef
URLInputSource
util
Variable
__builtin__.object:
The most base type
rdflib.syntax.serializers.AbstractSerializer.AbstractSerializer
__builtin__.basestring:
Type basestring cannot be instantiated; it is the base for str and
unicode.
__builtin__.unicode:
unicode(string [, encoding[, errors]]) -> object
rdflib.Identifier.Identifier:
See http://www.w3.org/2002/07/rdf-identifer-terminology/ regarding
choice of terminology.
rdflib.BNode.BNode:
BNodes
rdflib.Literal.Literal:
http://www.w3.org/TR/rdf-concepts/#section-Graph-Literal
rdflib.URIRef.URIRef
rdflib.Variable.Variable
rdflib.syntax.parsers.ntriples.Node
rdflib.store.REGEXMatching.REGEXTerm
rdflib.store.FOPLRelationalModel.BinaryRelationPartition.BinaryRelationPartition:
The common ancestor of the three partitions for assertions.
rdflib.store.FOPLRelationalModel.BinaryRelationPartition.AssociativeBox:
The partition associated with assertions of class membership (formally
known - in Description Logics - as an Associative Box) This partition is
for all assertions where the property is rdf:type see:
http://en.wikipedia.org/wiki/Description_Logic#Modelling_in_Description_Logics
rdflib.store.FOPLRelationalModel.BinaryRelationPartition.NamedBinaryRelations:
Partition associated with assertions where the predicate isn't
rdf:type and the object isn't a literal
rdflib.store.FOPLRelationalModel.BinaryRelationPartition.NamedLiteralProperties:
The partition associated with assertions where the object is a
Literal.
rdflib.Collection.Collection:
See 3.3.5 Emulating container types:
http://docs.python.org/ref/sequence-types.html#l2h-232
rdflib.store.Concurrent.Concurrent
rdflib.events.Dispatcher:
An object that can dispatch events to a privately managed group of
subscribers.
rdflib.syntax.parsers.RDFXMLHandler.ElementHandler
rdflib.events.Event:
An event is a container for attributes.
rdflib.store.StoreCreatedEvent:
This event is fired when the Store is created, it has the folloing
attribute:
rdflib.store.TripleAddedEvent:
This event is fired when a triple is added, it has the following
attributes:
rdflib.store.TripleRemovedEvent:
This event is fired when a triple is removed, it has the following
attributes:
rdflib.FileInputSource.FileInputSource
rdflib.Journal.JournalReader:
Reads a journal of store events into a store.
rdflib.Journal.JournalWriter:
Writes a journal of the store events.
__builtin__.list:
list() -> new list list(sequence) -> new list initialized from
sequence's items
rdflib.syntax.parsers.n3p.n3p.N3Parser
rdflib.syntax.NamespaceManager.NamespaceManager
rdflib.Node.Node:
A Node in the Graph.
rdflib.Graph.Graph:
An RDF Graph
The constructor accepts one argument, the 'store'
that will be used to store the graph data (see the 'store'
package for stores currently shipped with rdflib).
rdflib.Graph.ConjunctiveGraph
rdflib.Graph.BackwardCompatGraph
rdflib.TripleStore.TripleStore:
Depcrecated.
rdflib.Graph.ReadOnlyGraphAggregate:
Utility class for treating a set of graphs as a single graph
rdflib.Graph.QuotedGraph
rdflib.Identifier.Identifier:
See http://www.w3.org/2002/07/rdf-identifer-terminology/ regarding
choice of terminology.
rdflib.BNode.BNode:
BNodes
rdflib.Literal.Literal:
http://www.w3.org/TR/rdf-concepts/#section-Graph-Literal
rdflib.URIRef.URIRef
rdflib.Variable.Variable
rdflib.Statement.Statement
rdflib.store.NodePickler.NodePickler
rdflib.syntax.parsers.ntriples.NTriplesParser:
An N-Triples Parser.
rdflib.syntax.parsers.n3p.n3proc.NTriplesSink
rdflib.syntax.parsers.NTParser.NTSink
rdflib.syntax.parsers.Parser
rdflib.sparql.Processor
rdflib.syntax.serializers.QNameProvider.QNameProvider
rdflib.QueryResult.QueryResult:
A common class for representing query result in a variety of formats,
namely:
rdflib.sparql.QueryResult.SPARQLQueryResult:
Query result class for SPARQL
rdflib.syntax.parsers.RDFaParser.RDFaSink
rdflib.store.Concurrent.ResponsibleGenerator:
A generator that will help clean up when it is done being used.
rdflib.Graph.Seq:
Wrapper around an RDF Seq resource
rdflib.syntax.serializer.Serializer
rdflib.syntax.serializers.Serializer
rdflib.syntax.parsers.N3Parser.Sink
rdflib.syntax.parsers.ntriples.Sink
rdflib.store.Store
rdflib.store.AbstractSQLStore.AbstractSQLStore:
SQL-92 formula-aware implementation of an rdflib Store.
rdflib.store.AuditableStorage.AuditableStorage
rdflib.store.IOMemory.IOMemory:
An integer-key-optimized-context-aware-in-memory store.
rdflib.store.Memory.Memory:
An in memory implementation of a triple store.
rdflib.store.MySQL.MySQL:
MySQL implementation of FOPL Relational Model as an rdflib Store
rdflib.store.REGEXMatching.REGEXMatching
rdflib.store.Sleepycat.Sleepycat
rdflib.StringInputSource.StringInputSource
unittest.TestCase:
A class whose instances are single test cases.
__builtin__.tuple:
tuple() -> an empty tuple tuple(sequence) -> tuple initialized
from sequence's items
__builtin__.type:
type(object) -> the object's type type(name, bases, dict) -> a
new type
rdflib.URLInputSource.URLInputSource
rdflib.syntax.serializers.XMLWriter.XMLWriter
exceptions.Exception:
Common base class for all exceptions.
rdflib.exceptions.Error:
Base class for rdflib exceptions.
rdflib.exceptions.ParserDispatchNameClashError:
Name clash...
rdflib.exceptions.ParserDispatchNameError:
No name set...
rdflib.exceptions.ParserError:
RDF Parser error.
rdflib.sparql.sparqlGraph.RDFSValidityError:
An RDFS statement is not properly used
rdflib.exceptions.SerializerDispatchNameClashError:
Name clash...
rdflib.exceptions.SerializerDispatchNameError:
No name set...
rdflib.sparql.sparql.SPARQLError:
Am SPARQL error has been detected
rdflib.exceptions.TypeCheckError:
Parts of assertions are subject to type checks.
rdflib.exceptions.ContextTypeError:
Context of an assertion must be an instance of URIRef.
rdflib.exceptions.ObjectTypeError:
Object of an assertion must be an instance of URIRef, Literal, or
BNode.
rdflib.exceptions.PredicateTypeError:
Predicate of an assertion must be an instance of URIRef.
rdflib.exceptions.SubjectTypeError:
Subject of an assertion must be an instance of URIRef.
rdflib.exceptions.UniquenessError:
A uniqueness assumption was made in the context, and that is not
true
rdflib.Graph.ModificationException
rdflib.syntax.parsers.n3p.n3proc.ParseError
rdflib.syntax.parsers.ntriples.ParseError
exceptions.StandardError:
Base class for all standard Python exceptions.
exceptions.AssertionError:
Assertion failed.
rdflib.Graph.UnSupportedAggregateOperation
rdflib.sparql.QueryResult.SPARQLXMLWriter
rdflib.sparql.graphPattern.GraphPattern:
Storage of one Graph Pattern, ie, the pattern tuples and the possible
(functional) constraints (filters)
rdflib.sparql.graphPattern.BasicGraphPattern:
One, justified, problem with the current definition of GraphPattern is that it makes it difficult
for users to use a literal of the type "?XXX", because any
string beginning with "?" will be considered to be an unbound
variable.
rdflib.sparql.sparql.PatternBNode:
A class to encapsulate a BNode in a Pattern.
rdflib.sparql.sparql.Query:
Result of a SPARQL query.
rdflib.sparql.sparql.SPARQL:
A wrapper class around the RDFLib triple store implementing the Sparql
utilities.
rdflib.sparql.sparqlGraph.SPARQLGraph:
A wrapper class around the original triple store, that includes some
additional utility methods
rdflib.sparql.sparql.Unbound:
A class to encapsulate a query variable.
rdflib.store.AbstractSQLStore.SQLGenerator
rdflib.store.AbstractSQLStore.AbstractSQLStore:
SQL-92 formula-aware implementation of an rdflib Store.
rdflib.store.FOPLRelationalModel.QuadSlot.QuadSlot
rdflib.store.FOPLRelationalModel.RelationalHash.RelationalHash
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Mon Oct 23 14:11:27 2006 | http://epydoc.sf.net |