Hi!

I am using OrientDb community v 1.7.9. I have loaded data from a .nt file 
using the sail loader  
https://github.com/tinkerpop/blueprints/blob/master/blueprints-graph-sail/src/main/java/com/tinkerpop/blueprints/oupls/sail/SailLoader.java
 
<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Ftinkerpop%2Fblueprints%2Fblob%2Fmaster%2Fblueprints-graph-sail%2Fsrc%2Fmain%2Fjava%2Fcom%2Ftinkerpop%2Fblueprints%2Foupls%2Fsail%2FSailLoader.java&sa=D&sntz=1&usg=AFQjCNFSJMsK2R1cWjDANwIK4P4n89xY3A>
 

While I am able to run a query such as:
SELECT * WHERE {?s ?p ?o} LIMIT 3

I have been unable to run the query:

SELECT ?p ?o WHERE {<
http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/ProductType1> ?p 
?o} LIMIT 3 even though the file does have the said the records.

I came across this post recently: 
https://github.com/tinkerpop/blueprints/issues/510 which seems to cover the 
same problem that I am facing.

I tried the suggestions by the author to use:

 graph.setUseVertexFieldsForEdgeLabels(false);

 graph.setUseClassForEdgeLabel(false);


But it still has not solved the problem for me.

I am not using the ODocument structure however, rather the graph storage. 

I have also attached here copies of my code. I would be extremely grateful 
if anyone could help me here with this issue, I have been struggling for a 
long time with this.


PS: I also tried using the sesame sparql engine in another manner to solve 
this issue and it resulted in the exact same problem. You can read the 
discussion here at: 
https://groups.google.com/forum/#!topic/sesame-users/QAx3BaOfKwo



-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: squeryold.java.rtf
Description: RTF file

Attachment: LoadData.java.rtf
Description: RTF file

Reply via email to