Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Covers GROUP_CONCAT behavior with language tags #130

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions sparql/sparql11/aggregates/agg-groupconcat-4.rq
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
PREFIX : <http://www.example.org/>
ASK {
{SELECT (GROUP_CONCAT(?o) AS ?g) WHERE {
VALUES ?o { "1"@en "2"@en }
}}
FILTER(?g = "1 2"@en || ?g = "2 1"@en)
}
5 changes: 5 additions & 0 deletions sparql/sparql11/aggregates/agg-groupconcat-4.srx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0"?>
<sparql xmlns="http://www.w3.org/2005/sparql-results#">
<head/>
<boolean>true</boolean>
</sparql>
7 changes: 7 additions & 0 deletions sparql/sparql11/aggregates/agg-groupconcat-5.rq
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
PREFIX : <http://www.example.org/>
ASK {
{SELECT (GROUP_CONCAT(?o) AS ?g) WHERE {
VALUES ?o { "1"@en "2"@fr }
}}
FILTER(?g = "1 2" || ?g = "2 1")
}
7 changes: 7 additions & 0 deletions sparql/sparql11/aggregates/agg-groupconcat-5.srx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
PREFIX : <http://www.example.org/>
ASK {
{SELECT (GROUP_CONCAT(?o) AS ?g) WHERE {
VALUES ?o { "1"@en "2"@fr }
}}
FILTER(?g = "1 2" || ?g = "2 1")
}
17 changes: 17 additions & 0 deletions sparql/sparql11/aggregates/manifest.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
:agg-groupconcat-01
:agg-groupconcat-02
:agg-groupconcat-03
:agg-groupconcat-04
:agg-groupconcat-05
:agg-sum-01
:agg-sum-02
:agg-avg-01
Expand Down Expand Up @@ -213,6 +215,21 @@
mf:result <agg-groupconcat-3.srx>
.

:agg-groupconcat-04 rdf:type mf:QueryEvaluationTest ;
mf:name "GROUP_CONCAT with same language tag" ;
mf:feature sparql:group_concat ;
mf:action
[ qt:query <agg-groupconcat-4.rq> ] ;
mf:result <agg-groupconcat-4.srx>
.
:agg-groupconcat-05 rdf:type mf:QueryEvaluationTest ;
mf:name "GROUP_CONCAT with different language tags" ;
mf:feature sparql:group_concat ;
mf:action
[ qt:query <agg-groupconcat-5.rq> ] ;
mf:result <agg-groupconcat-5.srx>
.

:agg-avg-01 rdf:type mf:QueryEvaluationTest ;
mf:name "AVG" ;
mf:feature sparql:avg ;
Expand Down
Loading