Package org.aksw.facete.v4.impl
Class FacetedRelationQuery
java.lang.Object
org.aksw.facete.v4.impl.FacetedRelationQuery
Deprecated.
A faceted relation query is backed by a relation.
Faceted queries can be started over each of its columns in order to constrain the matching rows.
A faceted query is an intensional description of a set of resources, whereas if left unconstrained then the set of
resources are those present in the column.
Similar to SPARQL queries, which have CONSTRUCT and SELECT query forms, there are different ways
for how to project the underlying bindings.
COLUMNS is akin to select queries, where the projection is specified as a flat list of facet paths.
TREE corresponds to a hierarchical table. In this format columns can not be arbitrarily arranged: It is only possible to
reorder siblings.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDeprecated.Controls the result type for this query and which attributes are in effect. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Supplier<org.aksw.jenax.sparql.fragment.api.Fragment>Deprecated.protected FacetConstraintsDeprecated.static final org.apache.jena.graph.NodeDeprecated.protected Set<TreeQueryNode>Deprecated.The set of facet paths which to project.protected List<TreeQueryNode>Deprecated.Deprecated.protected FacetedRelationQuery.QueryTypeDeprecated.protected StringDeprecated.protected TreeData<TreeQueryNode>Deprecated.protected com.google.common.collect.BiMap<org.apache.jena.sparql.core.Var,FacetedQuery> Deprecated.Each variable has its own tree query structure -
Constructor Summary
ConstructorsConstructorDescriptionFacetedRelationQuery(Supplier<org.aksw.jenax.sparql.fragment.api.Fragment> baseRelation) Deprecated.FacetedRelationQuery(Supplier<org.aksw.jenax.sparql.fragment.api.Fragment> baseRelation, String scopeName) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Create a new faceted relation query with all constraints applied.Deprecated.Convenience function if there is only a single root variablegetFacetedQuery(org.apache.jena.sparql.core.Var var) Deprecated.Deprecated.Deprecated.booleanisVisible(org.aksw.jenax.path.core.FacetPath path) Deprecated.static voidDeprecated.static FacetedRelationQueryof(org.aksw.jenax.sparql.fragment.api.Fragment relation) Deprecated.
-
Field Details
-
baseRelation
Deprecated. -
INITIAL_VAR
public static final org.apache.jena.graph.Node INITIAL_VARDeprecated. -
varToRoot
Deprecated.Each variable has its own tree query structure -
constraints
Deprecated. -
projection
Deprecated. -
queryType
Deprecated. -
treeProjection
Deprecated. -
listProjection
Deprecated. -
scopeName
Deprecated. -
isVisible
Deprecated.The set of facet paths which to project. Applies to both tree and list projections.
-
-
Constructor Details
-
Method Details
-
isVisible
public boolean isVisible(org.aksw.jenax.path.core.FacetPath path) Deprecated. -
getScopeBaseName
Deprecated. -
getProjection
Deprecated. -
of
Deprecated. -
getFacetedQuery
Deprecated.Convenience function if there is only a single root variable -
getFacetedQuery
Deprecated. -
availableRows
Deprecated.Create a new faceted relation query with all constraints applied. The returned query's constraints are thus empty. The contained graph pattern may be used for querying or for further faceted search. This method is akin to FacetNode.availableValues() -
main
Deprecated.
-