I have a graph on which I run following query:
SELECT ?b,?c,?rel1,?d,?rel2,?g,?y
WHERE{
<something1> ?b ?c . ?c ?rel1 ?d. ?d ?rel2 ?g. <something2> ?y ?g.
}
It takes about 23 seconds. Now, if I execute following queries:
1. Find all nodes (and relationships) from <something1> (?c)
2. Find all nodes (and relationships) from above (?d1)
3. Find all nodes (and relationships) from <something2> (?g)
4. Find all nodes (and relationships) from above (?d2)
Find paths using the above four using simple python functions. This process
takes less than a second.
Is there anything that I am doing wrong here?
Regards
Abhishek
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users