/** * Creates the SPARQL representation of the parse field query. * * @param query A field query implementation that additionally supports a field to variable * mapping * @param includeFields if <code>false</code> only the root is selected (selected fields are * ignored) * @param limit if > 0 than the limit defined by the query is overridden by the parsed value * @param endpointType The type of the Endpoint (used to write optimized queries for endpoint type * specific extensions * @return the SPARQL query as String * @see * org.apache.stanbol.entityhub.query.sparql.SparqlQueryUtils#createSparqlSelectQuery(org.apache.stanbol.entityhub.query.sparql.SparqlFieldQuery, * boolean, int, SparqlEndpointTypeEnum) */ @Deprecated public static String createSparqlSelectQuery( SparqlFieldQuery query, boolean includeFields, int limit, EndpointTypeEnum endpointType) { SparqlEndpointTypeEnum type = endpointType == null ? null : SparqlEndpointTypeEnum.valueOf(endpointType.name()); return org.apache.stanbol.entityhub.query.sparql.SparqlQueryUtils.createSparqlSelectQuery( query, includeFields, limit, type); }