| 30 | |
| 31 | namespace { |
| 32 | auto parseQuery(std::string query, |
| 33 | const std::vector<DatasetClause>& datasets = {}) { |
| 34 | static EncodedIriManager evM; |
| 35 | return SparqlParser::parseQuery(&evM, std::move(query), datasets); |
| 36 | } |
| 37 | |
| 38 | // Run the given SPARQL `query` on the given Turtle `kg` and export the result |
| 39 | // as the `mediaType`. `mediaType` must be TSV or CSV. |
no outgoing calls
no test coverage detected