Package org.aksw.jena_sparql_api.views
package org.aksw.jena_sparql_api.views
-
ClassDescriptionThe following optimizations are currently implemented: - f(argsA) = f(argsB) -> argA_0 = argB_0 && ...CandidateViewSelector<T extends IViewDef>EquiMap<K,
V> A map where keys can be stated as equivalent.Class for retrieval of an expression's argumentsImplementations of this class transform expressions as to eliminate all RDF term expressions.Evaluator for expressions.Convert an Op expression in SPARQL syntax, that is, the reverse of algebra generationThis class is used to take substitute an expressions for variables in another expression.Can replace nodes with expressionsOpViewInstanceJoin<T extends IViewDef>TODO Switch to a trie data structureRDF term types[SPARQL level] A restrictedExpr is comprised of - An SPARQL expression - restrictions associated with its corresponding value after evaluation (under some interpretation) Example: Some expression can be declared to yield integers in the range [0..4] or uris with certain prefixes.Problem: Create V1 { ?s label ?o2 .Macro Expansion, e.g.An SparqlView definition.Deprecated.Methods of this class are invoked for each rdf-function after all its arguments have been pushed.Iterator for iterating all of a list's subLists with a given offset (default 0) and increasing size.In its current state this class only hides the copying that should be avoided by a viewValueSet<T>Deprecated.A variable binding maps query vars to sets of view variables.VarConst<K,V> A variable definition binds a set of SPARQL variables to a set of corresponding defining expressions A variable definition consists of a - a restricted expression that defines the variable - an optional set of restriction expressions that restricts the variables set of values //apply to the variable under this definition The expression can either be: - a constant NodeValue that directly associates the variable with a constant - an expression of type E_RdfTermCtor, - other expression types probably do not make sense here - at least I don't see use cases for them (yet).ViewInstance<T extends IViewDef>View instances relate variables (usually those of of a SPARQL query subject to rewriting) to the variables and constants of a view.Compares views by their name.