--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
stardog+unsubscribe@clarkparsia.com
For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en
---
You received this message because you are subscribed to the Google Groups "Stardog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stardog+unsubscribe@clarkparsia.com.
I've enabled reasoning for both queries.
This is the top query which matches <http://example.com/1> ?b ?c. and then ?c ?d ?e. It runs in around 500 ms.
Distinct [cardinality=1]
  Projection(?sgrlcogn AS ?subject, ?b AS ?predicate, ?c AS ?object; 
            ?c AS ?subject, ?d AS ?predicate, ?e AS ?object) [cardinality=1] 
    Bind((<http://example.com/1> AS ?sgrlcogn)) [cardinality=1] 
      HashJoinOuter[?c] [cardinality=1] 
        Property(<http://example.com/1>, ?b, ?c) 
        Property(?c, ?d, ?e)And this is the other query, where I specify each predicate. It runs in around 50 ms (10x faster then the one above)
Distinct [cardinality=1]
  Projection(?jbnpbxlx AS ?subject, ?b AS ?predicate, ?c AS ?object;
            ?jbnpbxlx AS ?subject, ?knjyjcst AS ?predicate, ?friend AS ?object;
            ?friend AS ?subject, ?yvoyruhb AS ?predicate, ?name AS ?object) [cardinality=1]
    Bind((<http://example.com/friend> AS ?knjyjcst) (<http://example.com/1> AS ?jbnpbxlx) (<http://example.com/name> AS ?yvoyruhb)) [cardinality=1]
      LoopJoinOuter[_] [cardinality=1]
        Property(<http://example.com/1>, ?b, ?c)
        MergeJoinOuter[?friend] [cardinality=1]
          Scan[SPOC](<http://example.com/1>, <http://example.com/friend>, ?friend) [cardinality=1]
          Scan[PSOC](?friend, <http://example.com/name>, ?name) [cardinality=100K]
For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en
---
You received this message because you are subscribed to the Google Groups "Stardog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stardog+u...@clarkparsia.com.
Reduced [cardinality=1]
  Projection(?qxohfjan AS ?subject, ?b AS ?predicate, ?c AS ?object; 
            ?c AS ?subject, ?d AS ?predicate, ?e AS ?object) [cardinality=1] 
    Bind((<http://example.com/1> AS ?qxohfjan)) [cardinality=1] 
      MergeJoinOuter[?c] [cardinality=1] 
        Sort(?c) [cardinality=1] 
          Scan[SPOC](<http://example.com/1>, ?b, ?c) [cardinality=1] 
        Scan[SPOC](?c, ?d, ?e) [cardinality=600K]