updated web project

pull/11/head
Dustin Whitney 5 years ago
parent 5912e4c40b
commit e7e7aac99e
  1. 5
      server/src/main.rs

@ -148,9 +148,10 @@ fn evaluate_sparql_query<R: RepositoryConnection>(
request: &Request,
) -> Response {
//TODO: stream
match connection.prepare_query(query, QueryOptions::default()) {
let options = QueryOptions::default();
match connection.prepare_query(query, None) {
Ok(query) => {
let results = query.exec().unwrap();
let results = query.exec(&options).unwrap();
if let QueryResult::Graph(_) = results {
let supported_formats = [
GraphSyntax::NTriples.media_type(),

Loading…
Cancel
Save