hydra.dsl.query module

DSL functions for hydra.query.

hydra.dsl.query.edge(type: TypedTerm[Name], out: TypedTerm[object], in_: TypedTerm[object]) TypedTerm[Edge]

DSL constructor for hydra.query.Edge.

hydra.dsl.query.edge_in(x: TypedTerm[Edge]) TypedTerm[object]

DSL accessor for the in field of hydra.query.Edge.

hydra.dsl.query.edge_out(x: TypedTerm[Edge]) TypedTerm[object]

DSL accessor for the out field of hydra.query.Edge.

hydra.dsl.query.edge_type(x: TypedTerm[Edge]) TypedTerm[Name]

DSL accessor for the type field of hydra.query.Edge.

hydra.dsl.query.edge_with_in(original: TypedTerm[Edge], new_val: TypedTerm[object]) TypedTerm[Edge]

DSL updater for the in field of hydra.query.Edge.

hydra.dsl.query.edge_with_out(original: TypedTerm[Edge], new_val: TypedTerm[object]) TypedTerm[Edge]

DSL updater for the out field of hydra.query.Edge.

hydra.dsl.query.edge_with_type(original: TypedTerm[Edge], new_val: TypedTerm[Name]) TypedTerm[Edge]

DSL updater for the type field of hydra.query.Edge.

hydra.dsl.query.graph_pattern(graph: TypedTerm[Name], patterns: TypedTerm[Sequence[Pattern]]) TypedTerm[GraphPattern]

DSL constructor for hydra.query.GraphPattern.

hydra.dsl.query.graph_pattern_graph(x: TypedTerm[GraphPattern]) TypedTerm[Name]

DSL accessor for the graph field of hydra.query.GraphPattern.

hydra.dsl.query.graph_pattern_patterns(x: TypedTerm[GraphPattern]) TypedTerm[Sequence[Pattern]]

DSL accessor for the patterns field of hydra.query.GraphPattern.

hydra.dsl.query.graph_pattern_with_graph(original: TypedTerm[GraphPattern], new_val: TypedTerm[Name]) TypedTerm[GraphPattern]

DSL updater for the graph field of hydra.query.GraphPattern.

hydra.dsl.query.graph_pattern_with_patterns(original: TypedTerm[GraphPattern], new_val: TypedTerm[Sequence[Pattern]]) TypedTerm[GraphPattern]

DSL updater for the patterns field of hydra.query.GraphPattern.

hydra.dsl.query.node_term(x: TypedTerm[Term]) TypedTerm[Node_]

DSL injection for the term variant of hydra.query.Node.

hydra.dsl.query.node_variable(x: TypedTerm[Variable]) TypedTerm[Node_]

DSL injection for the variable variant of hydra.query.Node.

hydra.dsl.query.path_equation(left: TypedTerm[Path], right: TypedTerm[Path]) TypedTerm[PathEquation]

DSL constructor for hydra.query.PathEquation.

hydra.dsl.query.path_equation_left(x: TypedTerm[PathEquation]) TypedTerm[Path]

DSL accessor for the left field of hydra.query.PathEquation.

hydra.dsl.query.path_equation_right(x: TypedTerm[PathEquation]) TypedTerm[Path]

DSL accessor for the right field of hydra.query.PathEquation.

hydra.dsl.query.path_equation_with_left(original: TypedTerm[PathEquation], new_val: TypedTerm[Path]) TypedTerm[PathEquation]

DSL updater for the left field of hydra.query.PathEquation.

hydra.dsl.query.path_equation_with_right(original: TypedTerm[PathEquation], new_val: TypedTerm[Path]) TypedTerm[PathEquation]

DSL updater for the right field of hydra.query.PathEquation.

hydra.dsl.query.path_inverse(x: TypedTerm[Path]) TypedTerm[Path]

DSL injection for the inverse variant of hydra.query.Path.

hydra.dsl.query.path_regex(x: TypedTerm[RegexSequence]) TypedTerm[Path]

DSL injection for the regex variant of hydra.query.Path.

hydra.dsl.query.path_step(x: TypedTerm[Step]) TypedTerm[Path]

DSL injection for the step variant of hydra.query.Path.

hydra.dsl.query.pattern_conjunction(x: TypedTerm[Sequence[Pattern]]) TypedTerm[Pattern]

DSL injection for the conjunction variant of hydra.query.Pattern.

hydra.dsl.query.pattern_disjunction(x: TypedTerm[Sequence[Pattern]]) TypedTerm[Pattern]

DSL injection for the disjunction variant of hydra.query.Pattern.

hydra.dsl.query.pattern_graph(x: TypedTerm[GraphPattern]) TypedTerm[Pattern]

DSL injection for the graph variant of hydra.query.Pattern.

hydra.dsl.query.pattern_implication(antecedent: TypedTerm[Pattern], consequent: TypedTerm[Pattern]) TypedTerm[PatternImplication]

DSL constructor for hydra.query.PatternImplication.

hydra.dsl.query.pattern_implication_antecedent(x: TypedTerm[PatternImplication]) TypedTerm[Pattern]

DSL accessor for the antecedent field of hydra.query.PatternImplication.

hydra.dsl.query.pattern_implication_consequent(x: TypedTerm[PatternImplication]) TypedTerm[Pattern]

DSL accessor for the consequent field of hydra.query.PatternImplication.

hydra.dsl.query.pattern_implication_with_antecedent(original: TypedTerm[PatternImplication], new_val: TypedTerm[Pattern]) TypedTerm[PatternImplication]

DSL updater for the antecedent field of hydra.query.PatternImplication.

hydra.dsl.query.pattern_implication_with_consequent(original: TypedTerm[PatternImplication], new_val: TypedTerm[Pattern]) TypedTerm[PatternImplication]

DSL updater for the consequent field of hydra.query.PatternImplication.

hydra.dsl.query.pattern_negation(x: TypedTerm[Pattern]) TypedTerm[Pattern]

DSL injection for the negation variant of hydra.query.Pattern.

hydra.dsl.query.pattern_triple(x: TypedTerm[TriplePattern]) TypedTerm[Pattern]

DSL injection for the triple variant of hydra.query.Pattern.

hydra.dsl.query.query(variables: TypedTerm[Sequence[Variable]], patterns: TypedTerm[Sequence[Pattern]]) TypedTerm[Query]

DSL constructor for hydra.query.Query.

hydra.dsl.query.query_patterns(x: TypedTerm[Query]) TypedTerm[Sequence[Pattern]]

DSL accessor for the patterns field of hydra.query.Query.

hydra.dsl.query.query_variables(x: TypedTerm[Query]) TypedTerm[Sequence[Variable]]

DSL accessor for the variables field of hydra.query.Query.

hydra.dsl.query.query_with_patterns(original: TypedTerm[Query], new_val: TypedTerm[Sequence[Pattern]]) TypedTerm[Query]

DSL updater for the patterns field of hydra.query.Query.

hydra.dsl.query.query_with_variables(original: TypedTerm[Query], new_val: TypedTerm[Sequence[Variable]]) TypedTerm[Query]

DSL updater for the variables field of hydra.query.Query.

hydra.dsl.query.range_(min: TypedTerm[int], max: TypedTerm[int]) TypedTerm[Range]

DSL constructor for hydra.query.Range.

hydra.dsl.query.range_max(x: TypedTerm[Range]) TypedTerm[int]

DSL accessor for the max field of hydra.query.Range.

hydra.dsl.query.range_min(x: TypedTerm[Range]) TypedTerm[int]

DSL accessor for the min field of hydra.query.Range.

hydra.dsl.query.range_with_max(original: TypedTerm[Range], new_val: TypedTerm[int]) TypedTerm[Range]

DSL updater for the max field of hydra.query.Range.

hydra.dsl.query.range_with_min(original: TypedTerm[Range], new_val: TypedTerm[int]) TypedTerm[Range]

DSL updater for the min field of hydra.query.Range.

hydra.dsl.query.regex_quantifier_at_least(x: TypedTerm[int]) TypedTerm[RegexQuantifier]

DSL injection for the atLeast variant of hydra.query.RegexQuantifier.

hydra.dsl.query.regex_quantifier_exactly(x: TypedTerm[int]) TypedTerm[RegexQuantifier]

DSL injection for the exactly variant of hydra.query.RegexQuantifier.

hydra.dsl.query.regex_quantifier_range(x: TypedTerm[Range]) TypedTerm[RegexQuantifier]

DSL injection for the range variant of hydra.query.RegexQuantifier.

hydra.dsl.query.regex_sequence(path: TypedTerm[Path], quantifier: TypedTerm[RegexQuantifier]) TypedTerm[RegexSequence]

DSL constructor for hydra.query.RegexSequence.

hydra.dsl.query.regex_sequence_path(x: TypedTerm[RegexSequence]) TypedTerm[Path]

DSL accessor for the path field of hydra.query.RegexSequence.

hydra.dsl.query.regex_sequence_quantifier(x: TypedTerm[RegexSequence]) TypedTerm[RegexQuantifier]

DSL accessor for the quantifier field of hydra.query.RegexSequence.

hydra.dsl.query.regex_sequence_with_path(original: TypedTerm[RegexSequence], new_val: TypedTerm[Path]) TypedTerm[RegexSequence]

DSL updater for the path field of hydra.query.RegexSequence.

hydra.dsl.query.regex_sequence_with_quantifier(original: TypedTerm[RegexSequence], new_val: TypedTerm[RegexQuantifier]) TypedTerm[RegexSequence]

DSL updater for the quantifier field of hydra.query.RegexSequence.

hydra.dsl.query.step_compare(x: TypedTerm[ComparisonConstraint]) TypedTerm[Step]

DSL injection for the compare variant of hydra.query.Step.

hydra.dsl.query.step_edge(x: TypedTerm[Edge]) TypedTerm[Step]

DSL injection for the edge variant of hydra.query.Step.

hydra.dsl.query.step_project(x: TypedTerm[Projection]) TypedTerm[Step]

DSL injection for the project variant of hydra.query.Step.

hydra.dsl.query.triple_pattern(subject: TypedTerm[Node_], predicate: TypedTerm[Path], object: TypedTerm[Node_]) TypedTerm[TriplePattern]

DSL constructor for hydra.query.TriplePattern.

hydra.dsl.query.triple_pattern_object(x: TypedTerm[TriplePattern]) TypedTerm[Node_]

DSL accessor for the object field of hydra.query.TriplePattern.

hydra.dsl.query.triple_pattern_predicate(x: TypedTerm[TriplePattern]) TypedTerm[Path]

DSL accessor for the predicate field of hydra.query.TriplePattern.

hydra.dsl.query.triple_pattern_subject(x: TypedTerm[TriplePattern]) TypedTerm[Node_]

DSL accessor for the subject field of hydra.query.TriplePattern.

hydra.dsl.query.triple_pattern_with_object(original: TypedTerm[TriplePattern], new_val: TypedTerm[Node_]) TypedTerm[TriplePattern]

DSL updater for the object field of hydra.query.TriplePattern.

hydra.dsl.query.triple_pattern_with_predicate(original: TypedTerm[TriplePattern], new_val: TypedTerm[Path]) TypedTerm[TriplePattern]

DSL updater for the predicate field of hydra.query.TriplePattern.

hydra.dsl.query.triple_pattern_with_subject(original: TypedTerm[TriplePattern], new_val: TypedTerm[Node_]) TypedTerm[TriplePattern]

DSL updater for the subject field of hydra.query.TriplePattern.

hydra.dsl.query.un_variable(x: TypedTerm[Variable]) TypedTerm[str]

DSL accessor for the body of hydra.query.Variable.

hydra.dsl.query.variable(x: TypedTerm[str]) TypedTerm[Variable]

DSL constructor for the hydra.query.Variable wrapper.