This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:site:recherche:logiciels:sparqlwithspark:star [16/09/2016 23:04] hubert |
en:site:recherche:logiciels:sparqlwithspark:star [16/09/2016 23:09] (current) hubert [SPARQL Hybrid DF : plan for Spark v1.5] |
||
---|---|---|---|
Line 5: | Line 5: | ||
=== SPARQL SQL for a star with 3 branches === | === SPARQL SQL for a star with 3 branches === | ||
- | <code> | + | <code 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 18: | Line 18: | ||
==== SPARQL Hybrid DF : plan for Spark v1.5==== | ==== SPARQL Hybrid DF : plan for Spark v1.5==== | ||
- | <code> | + | <code scala> |
import scala.collection.mutable.ListBuffer | import scala.collection.mutable.ListBuffer | ||
import scala.collection.mutable.ArrayBuffer | import scala.collection.mutable.ArrayBuffer |