From e7e7aac99e9a5c14034ac1c81d53acef1434abb6 Mon Sep 17 00:00:00 2001 From: Dustin Whitney Date: Wed, 16 Oct 2019 20:21:18 -0400 Subject: [PATCH] updated web project --- server/src/main.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/src/main.rs b/server/src/main.rs index 3c2cd587..5918593a 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -148,9 +148,10 @@ fn evaluate_sparql_query( 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(),