en:site:recherche:logiciels:sparqlwithspark:star
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:site:recherche:logiciels:sparqlwithspark:star [15/09/2016 10:11] – hubert | en:site:recherche:logiciels:sparqlwithspark:star [16/09/2016 23:09] (current) – [SPARQL Hybrid DF : plan for Spark v1.5] hubert | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | {{indexmenu_n> | + | {{indexmenu_n> | 
| - | ====== Star shape queries over DrugBank  | + | ====== Star shape query plans====== | 
| - | SPARQL  | + | === SPARQL  | 
| - | Star with 3 branches | + | < | 
| - | + | ||
| - | < | + | |
| - | SELECT ?x ?a ?b | + | |
| - | WHERE { | + | |
| - |  ?x < | + | |
| - |  ?x < | + | |
| - |  ? | + | |
| - | </ | + | |
| - | + | ||
| - | SPARQL SQL | + | |
| - | < | + | |
| SELECT t1.s, t2.o, t3.o | SELECT t1.s, t2.o, t3.o | ||
| FROM triple t1, triple t2, triple t3 | FROM triple t1, triple t2, triple t3 | ||
| Line 26: | Line 15: | ||
| </ | </ | ||
| - | Star with 5 branches | ||
| - | < | ||
| - | SELECT ?x ?a ?b ?c ?d | ||
| - | WHERE { | ||
| - |  ?x < | ||
| - |  ?x < | ||
| - |  ? | ||
| - |  ?x < | ||
| - |  ?x < | ||
| - | } | ||
| - | </ | ||
| - | Star with 10 branches | ||
| - | < | ||
| - | SELECT ?x ?a ?b ?c ?d ?g ?h ?i | ||
| - | WHERE { | ||
| - |  ?x < | ||
| - |  ?x < | ||
| - |  ? | ||
| - |  ?x < | ||
| - |  ?x < | ||
| - |  ?x < | ||
| - |  ?x < | ||
| - |  ?x < | ||
| - |  ?x < | ||
| - |  ?x < | ||
| - | } | ||
| - | </ | ||
| - | |||
| - | Star with 15 branches | ||
| - | < | ||
| - | SELECT ?x ?a ?b ?c ?d ?g ?h ?i ?j ?k ?l | ||
| - | WHERE { | ||
| - |  ?x < | ||
| - |  ?x < | ||
| - |  ? | ||
| - |  ?x < | ||
| - |  ?x < | ||
| - |  ?x < | ||
| - |  ?x < | ||
| - |  ?x < | ||
| - |  ?x < | ||
| - |  ?x < | ||
| - |  ?x < | ||
| - |  ?x < | ||
| - |  ?x < | ||
| - |  ?x < | ||
| - |  ?x < | ||
| - | </ | ||
| ==== SPARQL Hybrid DF : plan for Spark v1.5==== | ==== SPARQL Hybrid DF : plan for Spark v1.5==== | ||
| - | < | + | < | 
| import scala.collection.mutable.ListBuffer | import scala.collection.mutable.ListBuffer | ||
| import scala.collection.mutable.ArrayBuffer | import scala.collection.mutable.ArrayBuffer | ||
en/site/recherche/logiciels/sparqlwithspark/star.1473927069.txt.gz · Last modified:  by hubert
                
                