Hi Weiqi,

You can create your RyaAccumulo repository and upload data on it via 
openrdf-workbench (http://server/openrdf-workbench/), Instead of using Web JSP 
endpoint you can calculate the execution time by sending queries on your own 
java code. You can get the repository using HTTPRepository method, for example:

        private static final String 
SESAME_SERVER="http://192.168.33.30:8080/openrdf-sesame”; //sesame server’s path
        private static final String repositoryID="Federation1”; //same as your 
repository id on workbench
                
        Repository repo1 = new HTTPRepository(SESAME_SERVER, repositoryID);

Then this repo1 could be initialized and get connected to be queried. Rest of 
the code is similar as the Direct Code you found on GitHub. You can find more 
example on openrdf sesame tutorial (http://archive.rdf4j.org/users/ch08.html).

Bests,

Fan

> On Feb 12, 2019, at 1:16 AM, 徐炜淇 <xuwe...@tju.edu.cn> wrote:
> 
> Hi
> I cannot get the execution time when I query data by Web JSP endpoint, if I 
> want to get the query time, do I need to change the method?
> When I use the Web REST endpoint, I cannot find 'The War sets up a Web REST 
> endpoint at http://server/web.rya/queryrdf' [0]
> Can you help me to get the Rya query time?
> Please!
> 
> 
> 
> 
> [0] 
> https://github.com/apache/incubator-rya/blob/rel/rya-incubating-3.2.10/extras/rya.manual/src/site/markdown/querydata.md#web-rest-endpoint
> 
> 
> 
> 

Reply via email to