On 11/20/13 11:14 AM, Rose Beck wrote:
Actually I am performing benchmarking with virtuoso and by default certain graphs and quads are already present in it. And I am not able to delete them. Therefore I am curious if I could store all my quads in a separate place (like a super graph), which would allow me to perform benchmarking.

You could associate them with a graph group.

You can also use NOT FROM <graph-iri> in your queries which has the opposite effect of FROM .
Also is there a way to delete all the default graphs and quads in virtuoso before loading new quads into it.

Thanks a lot for helping


You can clear any graph using: clear graph <graph-iri> .

Kingsley

On Wed, Nov 20, 2013 at 9:32 PM, Kingsley Idehen <[email protected] <mailto:[email protected]>> wrote:

    On 11/20/13 8:25 AM, Rose Beck wrote:
    I loaded quads into virtuoso using:


    ./isql 1111 dba dba
    SQL> 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
    [email protected]  
<mailto:[email protected]>
    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  
<http://www.openlinksw.com/blog/%7Ekidehen>
    Twitter Profile:https://twitter.com/kidehen
    Google+ Profile:https://plus.google.com/+KingsleyIdehen/about
    LinkedIn Profile:http://www.linkedin.com/in/kidehen





    
------------------------------------------------------------------------------
    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
    [email protected]
    <mailto:[email protected]>
    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




Attachment: 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to