Debian Codegraph @

tests/sparql/aggregate/group-concat-1.rq

raw
1 # Test GROUP_CONCAT() with SEPARATOR
2 PREFIX ex: <http://example.org/>
3 SELECT ?state (GROUP_CONCAT(?name ; SEPARATOR = '\n') AS ?residents)
4 WHERE
5 {
6 ?person ex:name ?name .
7 ?person ex:livesIn ?state
8 }
9 GROUP BY ?state