1 Reply Latest reply on Apr 20, 2015 3:47 PM by alwu-Oracle

    counting and grouping with sem_match

    Cindy Mcmullen-Oracle

      How would this be translated to SEM_MATCH?

       

       

      SELECT DISTINCT ?u1 (COUNT(?time) as ?pCount) WHERE {
                      
      GRAPH ?g1 { ?u1 w:follows ?u2 . ?u2 w:followsTime ?time . }
                      
      FILTER (?time <= 604800000 ) }
                      
      GROUP BY ?u1 ORDER BY DESC(?pCount) LIMIT 10