org.aksw.simba.benchmark

## Class Queries

- java.lang.Object
- - org.aksw.simba.benchmark.Queries

-     public class Queries
      extends java.lang.Object

  Benchmark Queries.
  Author:
    Saleem

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Queries()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static java.util.Set<java.lang.String>` | `getBenchmarkQueries(java.lang.String queryFileWithStats, int numberOfQueries)` Get benchmark queries
    `static void` | `main(java.lang.String[] args)`
    `static void` | `printBenchmarkQueries(java.util.Set<java.lang.String> queries, java.lang.String outputDir)` Print benchmark queries into console

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Queries

          public Queries()

  - ### Method Detail

    - #### main

          public static void main(java.lang.String[] args)
                           throws java.io.IOException,
                                  org.openrdf.repository.RepositoryException,
                                  org.openrdf.query.MalformedQueryException,
                                  org.openrdf.query.QueryEvaluationException

      Throws:
        `java.io.IOException`
        `org.openrdf.repository.RepositoryException`
        `org.openrdf.query.MalformedQueryException`
        `org.openrdf.query.QueryEvaluationException`

    - #### getBenchmarkQueries

          public static java.util.Set<java.lang.String> getBenchmarkQueries(java.lang.String queryFileWithStats,
                                                                            int numberOfQueries)
                                                                     throws java.io.IOException

      Get benchmark queries
      Parameters:
        `queryFileWithStats` - Clean queries file with stats
        `numberOfQueries` - The number of queries to be included in benchmark
      Returns:
        queries The required benchmark queries
      Throws:
        `java.io.IOException`

    - #### printBenchmarkQueries

          public static void printBenchmarkQueries(java.util.Set<java.lang.String> queries,
                                                   java.lang.String outputDir)
                                            throws java.io.IOException

      Print benchmark queries into console
      Parameters:
        `queries` - queries
        `outputDir` - output dir
      Throws:
        `java.io.IOException`