Take a look at this example code: https://github.com/apache/incubator-rya/blob/master/extras/indexingExample/src/main/java/RyaDirectExample.java
See the method testAddAndDelete() It inserts triples using a sparql insert statement, queries, then deletes. If you want to load lots of triples, see this document, it describes several ways to load data: https://github.com/apache/incubator-rya/blob/master/extras/rya.manual/src/site/markdown/loaddata.md For logging, just have a properties file on the class path like this: https://github.com/apache/incubator-rya/blob/master/extras/indexingExample/src/main/java/log4j.properties This one logs to the standard-out I think. Let us know if you have more questions. david. david. On Mon, Mar 25, 2019 at 10:30 AM 徐炜淇 <xuwe...@tju.edu.cn> wrote: > Hi, > I want know the sequence of loadData and the sequence of query, for > example: load data A, first execute loadOne.class, and second execute > loadTwo.class... And query data, execute queryOne.class at first, and so > on. And I can find only a few logs when I run Rya. > But I can't find any documents to answer my question. I tried to debug > Rya-project to get the sequence of load and query but failed. > Please, I need your help! > > > Best, > Weiqi > > > > > > >