On 11/20/13 8:25 AM, Rose Beck wrote:
I loaded quads into virtuoso using:./isql 1111 dba dbaSQL> DB.DBA.TTLP_MT (file_to_string_output ('/usr/local/virtuoso-opensource/share/virtuoso/vad/tmp/dbpedia.nq'), '', '<http://localhost:8890/DAV/test1>',512);when I ran the following query I could see that the quads were indeed loaded:sparql select distinct ?g where{graph ?g{?a ?b ?c}};Listed all the graphs whoch were in dbpedia.nq (For example, if my quad is <a> <b> <c> <d>. Then the above given query gave <d>)However, the query given below gives no results:SQL> SPARQL select * from <http://localhost:8890/DAV/test1> where{?a ?b ?c};Can someone please help me by telling me the correct method of loading quads into virtuoso?I'll be highly thankful for the same. Also do I need to specify the name of the graphin dbpedia.nq.graph?Its been a lot of days since I have posted at the product support forum(). But I did not find any satisfiable answer. Therefore I am posting here. Hoping someone will help me out.Rose PhD
This is because when processing Quads, the 4th element in the quad is treated as the Graph IRI (which is why your other query returned the expected result). In this case, graph IRI parameter of the bulk loader isn't being used. In this case, we should be using the graph IRI parameter to designate a graph group.
Kingsley
------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ Virtuoso-users mailing list Virtuoso-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/virtuoso-users
-- Regards, Kingsley Idehen Founder & CEO OpenLink Software Company Web: http://www.openlinksw.com Personal Weblog: http://www.openlinksw.com/blog/~kidehen Twitter Profile: https://twitter.com/kidehen Google+ Profile: https://plus.google.com/+KingsleyIdehen/about LinkedIn Profile: http://www.linkedin.com/in/kidehen
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________ Virtuoso-users mailing list Virtuoso-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/virtuoso-users