src/core/sparql/query.hpp
SPARQLQuery(PatternGroup g, int nvars, std::vector<ssid_t> &required_vars)
        : pattern_group(g) {
        result.nvars = nvars;
        result.required_vars = required_vars;
        result.v2c_map.resize(nvars, NO_RESULT);
    }
// build a query by existing query template
build a query by existing query template
build a query by existing query template
SPARQLQuery(PatternGroup g, int nvars, std::vector<ssid_t> &required_vars)
        : pattern_group(g) {
        result.nvars = nvars;
        result.required_vars = required_vars;
        result.v2c_map.resize(nvars, NO_RESULT);
    }
SPARQLQuery ( PatternGroup g , int nvars , std :: vector < ssid_t > & required_vars ) : pattern_group ( g ) { result . nvars = nvars ; result . required_vars = required_vars ; result . v2c_map . resize ( nvars , NO_RESULT ) ; }
build a query by existing query template
build a query by existing query template