Hey,
Even on closing the manager, I did not see any change.. any further ideas??
Thanks!
The best thing to do is not dive straight into a complex SPARQL query, but look
to see if the particular triples you think are lost are actually there. You can
do this with simple SPARQL queries or drop
Hi all,
I am working with Neo4j system and Sparql queries as a part of my thesis
and I am very very new these concepts. I have loaded the RDF dataset into
Neo4j and now trying to query the results. My problem is, only half of my
query is working and giving results but the query as a whole is
Hi Shri,
Question: Why do you have a TransactionalGraphManager as, in your code, you are
not writing anything to disk? This makes me believe that you have another
snippet of code that is writing data to the graph. Are you sure all your data
is in the graph? -- How did you construct dataset
Hi Marko,
Yes I have another separate file for loading the data( .NT format). Let me
know if I should tell anything more clearly, sorry for being slow...
snippet :
Neo4jGraph neo = new Neo4jGraph(dataset);
Sail sail = new GraphSail(neo);
sail.initialize();
CommitManager
Hi,
Where are you defining your RDFHandler (TripleHandler). Can I see that class
please?
Thanks,
Marko.
http://markorodriguez.com
On Aug 31, 2011, at 7:25 AM, shri wrote:
Hi Marko,
Yes I have another separate file for loading the data( .NT format). Let me
know if I should tell anything
Hello Marko,
here is my TripleHandler class:
public class TripleHandler implements RDFHandler {
private SailConnection sc;
private CommitManager manager;
public TripleHandler(SailConnection sc, CommitManager manager) {
this.sc = sc;
Hi,
When you are done with the file, you should close your manager.
I believe should do the trick:
public void endRDF() throws RDFHandlerException {
manager.close();
}
// NOTE: I don't know the specifics of RDFHandler, but it sounds like endRDF()
is the method
7 matches
Mail list logo