Class FacetedRelationQuery

java.lang.Object
org.aksw.facete.v4.impl.FacetedRelationQuery

@Deprecated public class FacetedRelationQuery extends Object
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.
  • Field Details

    • baseRelation

      protected Supplier<org.aksw.jenax.sparql.fragment.api.Fragment> baseRelation
      Deprecated.
    • INITIAL_VAR

      public static final org.apache.jena.graph.Node INITIAL_VAR
      Deprecated.
    • varToRoot

      protected com.google.common.collect.BiMap<org.apache.jena.sparql.core.Var,FacetedQuery> varToRoot
      Deprecated.
      Each variable has its own tree query structure
    • constraints

      protected FacetConstraints constraints
      Deprecated.
    • projection

      protected List<FacetNode> projection
      Deprecated.
    • queryType

      protected FacetedRelationQuery.QueryType queryType
      Deprecated.
    • treeProjection

      protected TreeData<TreeQueryNode> treeProjection
      Deprecated.
    • listProjection

      protected List<TreeQueryNode> listProjection
      Deprecated.
    • scopeName

      protected String scopeName
      Deprecated.
    • isVisible

      protected Set<TreeQueryNode> isVisible
      Deprecated.
      The set of facet paths which to project. Applies to both tree and list projections.
  • Constructor Details

    • FacetedRelationQuery

      public FacetedRelationQuery(Supplier<org.aksw.jenax.sparql.fragment.api.Fragment> baseRelation)
      Deprecated.
    • FacetedRelationQuery

      public FacetedRelationQuery(Supplier<org.aksw.jenax.sparql.fragment.api.Fragment> baseRelation, String scopeName)
      Deprecated.
  • Method Details

    • isVisible

      public boolean isVisible(org.aksw.jenax.path.core.FacetPath path)
      Deprecated.
    • getScopeBaseName

      public String getScopeBaseName()
      Deprecated.
    • getProjection

      public List<FacetNode> getProjection()
      Deprecated.
    • of

      public static FacetedRelationQuery of(org.aksw.jenax.sparql.fragment.api.Fragment relation)
      Deprecated.
    • getFacetedQuery

      public FacetedQuery getFacetedQuery()
      Deprecated.
      Convenience function if there is only a single root variable
    • getFacetedQuery

      public FacetedQuery getFacetedQuery(org.apache.jena.sparql.core.Var var)
      Deprecated.
    • availableRows

      public FacetedRelationQuery 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

      public static void main(String[] args)
      Deprecated.