All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bigdata.rdf.sparql.ast.eval.aggregate-divide.rq Maven / Gradle / Ivy

There is a newer version: 2.1.4
Show newest version
prefix :  
prefix xsd:  

SELECT ?_set17
      (coalesce((COUNT(?_set16) / SAMPLE(?_set19)), 0) AS ?_set10)

WITH {
      SELECT DISTINCT ?_set12
      WHERE {
          ?_set13 :p1 ?_set12.
      }
      ORDER BY ?_set12
      LIMIT 4
} AS %_set15

WHERE {
      ?_set13 :i2d ?_set16.
      {
          SELECT (COUNT(?_set16) AS ?_set19)
          WHERE {
              ?_set13 :i2d  ?_set16.
              ?_set13 :i2c  ?_set17.
              ?_set13 :p1  ?_set12 
              INCLUDE %_set15
          }
      }
      ?_set13 :i2c ?_set17 .
      ?_set13 :p1 ?_set12
      INCLUDE %_set15

}
GROUP BY ?_set17
ORDER BY DESC(?_set10)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy