org.aksw.simba.benchmark.startup

## Class QueryEvaluation

- java.lang.Object
- - org.aksw.simba.benchmark.startup.QueryEvaluation

-     public class QueryEvaluation
      extends java.lang.Object

  Use this class to benchmark different triple stores based on the benchmark queries generated by FEASIBLE
  Author:
    Saleem

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static org.openrdf.repository.RepositoryConnection` | `con`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `QueryEvaluation()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static java.lang.String` | `addNamedGraph(java.lang.String query, java.lang.String namedGraph)` Add named graph to a query if one doesnt exist
    `static double` | `getMean(java.util.List<java.lang.Long> runTimes)` Get the mean of the runtimes values
    `static void` | `initializeRepoConnection(java.lang.String endpointUrl)` Initialize repository for a SPARQL endpoint
    `static void` | `main(java.lang.String[] args)`

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

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

- - ### Field Detail

    - #### con

          public static org.openrdf.repository.RepositoryConnection con

  - ### Constructor Detail

    - #### QueryEvaluation

          public QueryEvaluation()

  - ### Method Detail

    - #### main

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

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

    - #### getMean

          public static double getMean(java.util.List<java.lang.Long> runTimes)

      Get the mean of the runtimes values
      Parameters:
        `vector` - Vector
      Returns:
        Mean

    - #### initializeRepoConnection

          public static void initializeRepoConnection(java.lang.String endpointUrl)
                                               throws org.openrdf.repository.RepositoryException

      Initialize repository for a SPARQL endpoint
      Parameters:
        `endpointUrl` - Endpoint Url
      Throws:
        `org.openrdf.repository.RepositoryException`

    - #### addNamedGraph

          public static java.lang.String addNamedGraph(java.lang.String query,
                                                       java.lang.String namedGraph)

      Add named graph to a query if one doesnt exist
      Parameters:
        `query` - query
        `namedGraph` - NamedGraph
      Returns:
        New query with named graph