Skip to content
Open
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
5 changes: 5 additions & 0 deletions tests/sparql11-tests/data-sparql11/aggregates/agg-avg-01.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(prefix ((: <http://www.example.org/>))
(project (?avg)
(extend ((?avg ?.0))
(group () ((?.0 (avg ?o)))
(bgp (triple ?s :dec ?o))))))
6 changes: 6 additions & 0 deletions tests/sparql11-tests/data-sparql11/aggregates/agg-avg-02.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(prefix ((: <http://www.example.org/>))
(project (?s ?avg)
(filter (<= ?.0 2.0)
(extend ((?avg ?.0))
(group (?s) ((?.0 (avg ?o)))
(bgp (triple ?s ?p ?o)))))))
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(prefix ((: <http://www.example.org/>))
(filter (|| (= ?g "1 22") (= ?g "22 1"))
(project (?g)
(extend ((?g ?.0))
(group () ((?.0 (group_concat ?o)))
(bgp (triple ??0 :p1 ?o)))))))
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
(prefix ((: <http://www.example.org/>))
(project (?c)
(extend ((?c ?.0))
(group () ((?.0 (count)))
(filter (|| (&& (= ?p :p1) (|| (= ?g "1 22") (= ?g "22 1"))) (&& (= ?p :p2) (|| (|| (|| (|| (|| (= ?g "aaa bb c") (= ?g "aaa c bb")) (= ?g "bb aaa c")) (= ?g "bb c aaa")) (= ?g "c aaa bb")) (= ?g "c bb aaa"))))
(project (?p ?g)
(extend ((?g ?.0))
(group (?p) ((?.0 (group_concat ?o)))
(bgp (triple ??0 ?p ?o))))))))))
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(prefix ((: <http://www.example.org/>))
(filter (|| (= ?g "1:22") (= ?g "22:1"))
(project (?g)
(extend ((?g ?.0))
(group () ((?.0 (group_concat (separator ':') ?o)))
(bgp (triple ??0 :p1 ?o)))))))
5 changes: 5 additions & 0 deletions tests/sparql11-tests/data-sparql11/aggregates/agg-max-01.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(prefix ((: <http://www.example.org/>))
(project (?max)
(extend ((?max ?.0))
(group () ((?.0 (max ?o)))
(bgp (triple ?s ?p ?o))))))
5 changes: 5 additions & 0 deletions tests/sparql11-tests/data-sparql11/aggregates/agg-max-02.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(prefix ((: <http://www.example.org/>))
(project (?s ?max)
(extend ((?max ?.0))
(group (?s) ((?.0 (max ?o)))
(bgp (triple ?s ?p ?o))))))
5 changes: 5 additions & 0 deletions tests/sparql11-tests/data-sparql11/aggregates/agg-min-01.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(prefix ((: <http://www.example.org/>))
(project (?min)
(extend ((?min ?.0))
(group () ((?.0 (min ?o)))
(bgp (triple ?s :dec ?o))))))
5 changes: 5 additions & 0 deletions tests/sparql11-tests/data-sparql11/aggregates/agg-min-02.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(prefix ((: <http://www.example.org/>))
(project (?s ?min)
(extend ((?min ?.0))
(group (?s) ((?.0 (min ?o)))
(bgp (triple ?s ?p ?o))))))
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(prefix ((: <http://www.example.org/>))
(filter (|| (|| (= ?sample 1.0) (= ?sample 2.2)) (= ?sample 3.5))
(project (?sample)
(extend ((?sample ?.0))
(group () ((?.0 (sample ?o)))
(bgp (triple ?s :dec ?o)))))))
5 changes: 5 additions & 0 deletions tests/sparql11-tests/data-sparql11/aggregates/agg-sum-01.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(prefix ((: <http://www.example.org/>))
(project (?sum)
(extend ((?sum ?.0))
(group () ((?.0 (sum ?o)))
(bgp (triple ?s :dec ?o))))))
5 changes: 5 additions & 0 deletions tests/sparql11-tests/data-sparql11/aggregates/agg-sum-02.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(prefix ((: <http://www.example.org/>))
(project (?s ?sum)
(extend ((?sum ?.0))
(group (?s) ((?.0 (sum ?o)))
(bgp (triple ?s ?p ?o))))))
5 changes: 5 additions & 0 deletions tests/sparql11-tests/data-sparql11/aggregates/agg01.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(prefix ((: <http://www.example.org>))
(project (?C)
(extend ((?C ?.0))
(group () ((?.0 (count ?O)))
(bgp (triple ?S ?P ?O))))))
5 changes: 5 additions & 0 deletions tests/sparql11-tests/data-sparql11/aggregates/agg02.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(prefix ((: <http://www.example.org>))
(project (?P ?C)
(extend ((?C ?.0))
(group (?P) ((?.0 (count ?O)))
(bgp (triple ?S ?P ?O))))))
6 changes: 6 additions & 0 deletions tests/sparql11-tests/data-sparql11/aggregates/agg03.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(prefix ((: <http://www.example.org>))
(project (?P ?C)
(filter (> ?.0 2)
(extend ((?C ?.0))
(group (?P) ((?.0 (count ?O)))
(bgp (triple ?S ?P ?O)))))))
5 changes: 5 additions & 0 deletions tests/sparql11-tests/data-sparql11/aggregates/agg04.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(prefix ((: <http://www.example.org>))
(project (?C)
(extend ((?C ?.0))
(group () ((?.0 (count)))
(bgp (triple ?S ?P ?O))))))
5 changes: 5 additions & 0 deletions tests/sparql11-tests/data-sparql11/aggregates/agg05.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(prefix ((: <http://www.example.org>))
(project (?P ?C)
(extend ((?C ?.0))
(group (?P) ((?.0 (count)))
(bgp (triple ?S ?P ?O))))))
6 changes: 6 additions & 0 deletions tests/sparql11-tests/data-sparql11/aggregates/agg06.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(prefix ((: <http://www.example.org>))
(project (?C)
(filter (> ?.0 0)
(extend ((?C ?.0))
(group () ((?.0 (count)))
(bgp (triple ?S ?P ?O)))))))
6 changes: 6 additions & 0 deletions tests/sparql11-tests/data-sparql11/aggregates/agg07.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(prefix ((: <http://www.example.org>))
(project (?P ?C)
(filter (> ?.0 2)
(extend ((?C ?.0))
(group (?P) ((?.0 (count)))
(bgp (triple ?S ?P ?O)))))))
9 changes: 9 additions & 0 deletions tests/sparql11-tests/data-sparql11/aggregates/agg08.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
(prefix ((: <http://www.example.org/>))
(project (?O12 ?C)
(order (?O12)
(extend ((?O12 (+ ?O1 ?O2)) (?C ?.0))
(group ((?.1 (+ ?O1 ?O2))) ((?.0 (count ?O1)))
(bgp
(triple ?S :p ?O1)
(triple ?S :q ?O2)
))))))
5 changes: 5 additions & 0 deletions tests/sparql11-tests/data-sparql11/aggregates/agg09.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(prefix ((: <http://www.example.org/>))
(project (?P ?C)
(extend ((?C ?.0))
(group (?S) ((?.0 (count ?O)))
(bgp (triple ?S ?P ?O))))))
5 changes: 5 additions & 0 deletions tests/sparql11-tests/data-sparql11/aggregates/agg10.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(prefix ((: <http://www.example.org/>))
(project (?P ?C)
(extend ((?C ?.0))
(group () ((?.0 (count ?O)))
(bgp (triple ?S ?P ?O))))))
8 changes: 8 additions & 0 deletions tests/sparql11-tests/data-sparql11/aggregates/agg11.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
(prefix ((: <http://www.example.org/>))
(project (?O12 ?C)
(extend ((?O12 (+ ?O1 ?O2)) (?C ?.0))
(group (?S) ((?.0 (count ?O1)))
(bgp
(triple ?S :p ?O1)
(triple ?S :q ?O2)
)))))
8 changes: 8 additions & 0 deletions tests/sparql11-tests/data-sparql11/aggregates/agg12.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
(prefix ((: <http://www.example.org/>))
(project (?O1 ?C)
(extend ((?C ?.0))
(group ((?.1 (+ ?O1 ?O2))) ((?.0 (count ?O2)))
(bgp
(triple ?S :p ?O1)
(triple ?S :q ?O2)
)))))
4 changes: 4 additions & 0 deletions tests/sparql11-tests/data-sparql11/bind/bind01.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
(prefix ((: <http://example.org/>))
(project (?z)
(extend ((?z (+ ?o 10)))
(bgp (triple ?s ?p ?o)))))
4 changes: 4 additions & 0 deletions tests/sparql11-tests/data-sparql11/bind/bind02.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
(prefix ((: <http://example.org/>))
(project (?o ?z ?z2)
(extend ((?z (+ ?o 10)) (?z2 (+ ?o 100)))
(bgp (triple ?s ?p ?o)))))
6 changes: 6 additions & 0 deletions tests/sparql11-tests/data-sparql11/bind/bind03.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(prefix ((: <http://example.org/>))
(project (?z ?s1)
(join
(extend ((?z (+ ?o 1)))
(bgp (triple ?s ?p ?o)))
(bgp (triple ?s1 ?p1 ?z)))))
3 changes: 3 additions & 0 deletions tests/sparql11-tests/data-sparql11/bind/bind04.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(prefix ((: <http://example.org/>))
(extend ((?z ?nova))
(bgp (triple ?s ?p ?o))))
5 changes: 5 additions & 0 deletions tests/sparql11-tests/data-sparql11/bind/bind05.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(prefix ((: <http://example.org/>))
(project (?s ?p ?o ?z)
(filter (= ?z 3)
(extend ((?z (+ ?o 1)))
(bgp (triple ?s ?p ?o))))))
3 changes: 3 additions & 0 deletions tests/sparql11-tests/data-sparql11/bind/bind06.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(prefix ((: <http://example.org/>))
(extend ((?z (+ ?o 10)))
(bgp (triple ?s ?p ?o))))
9 changes: 9 additions & 0 deletions tests/sparql11-tests/data-sparql11/bind/bind07.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
(prefix ((: <http://example.org/>))
(project (?s ?p ?o ?z)
(join
(bgp (triple ?s ?p ?o))
(union
(extend ((?z (+ ?o 1)))
(table unit))
(extend ((?z (+ ?o 2)))
(table unit))))))
3 changes: 3 additions & 0 deletions tests/sparql11-tests/data-sparql11/entailment/d-ent-01.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(prefix ((xsd: <http://www.w3.org/2001/XMLSchema#>))
(project (?L)
(bgp (triple ?L <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> xsd:integer))))
9 changes: 9 additions & 0 deletions tests/sparql11-tests/data-sparql11/entailment/owlds01.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
(prefix ((: <http://example.org/x/>)
(rdfs: <http://www.w3.org/2000/01/rdf-schema#>)
(rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>))
(project (?x ?c)
(bgp
(triple ?x rdf:type ?c)
(triple ?c rdfs:subClassOf :c)
(triple ?x :p ??0)
)))
8 changes: 8 additions & 0 deletions tests/sparql11-tests/data-sparql11/entailment/owlds02.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
(prefix ((: <http://example.org/x/>)
(rdfs: <http://www.w3.org/2000/01/rdf-schema#>)
(rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>))
(project (?x ?y)
(bgp
(triple ?x :p ?y)
(triple ?y rdf:type :c)
)))
4 changes: 4 additions & 0 deletions tests/sparql11-tests/data-sparql11/entailment/rdf01.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
(prefix ((ex: <http://example.org/ns#>)
(rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>))
(project (?x)
(bgp (triple ex:b ?x rdf:Property))))
4 changes: 4 additions & 0 deletions tests/sparql11-tests/data-sparql11/entailment/rdf02.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
(prefix ((ex: <http://example.org/ns#>)
(rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>))
(project (?x)
(bgp (triple ?x rdf:type rdf:Property))))
3 changes: 3 additions & 0 deletions tests/sparql11-tests/data-sparql11/entailment/rdf03.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(prefix ((ex: <http://example.org/ns#>))
(project (?x)
(bgp (triple ?x ex:b1 ??0))))
4 changes: 4 additions & 0 deletions tests/sparql11-tests/data-sparql11/entailment/rdf04.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
(prefix ((: <http://example.org/x/>)
(rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>))
(project (?x)
(bgp (triple ?x rdf:type :c))))
3 changes: 3 additions & 0 deletions tests/sparql11-tests/data-sparql11/entailment/rdfs01.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(prefix ((ex: <http://example.org/ns#>))
(project (?x)
(bgp (triple ex:a ?x ex:c))))
3 changes: 3 additions & 0 deletions tests/sparql11-tests/data-sparql11/entailment/rdfs02.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(prefix ((ex: <http://example.org/ns#>))
(project (?x)
(bgp (triple ?x ex:b2 ex:c))))
3 changes: 3 additions & 0 deletions tests/sparql11-tests/data-sparql11/entailment/rdfs03.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(prefix ((ex: <http://example.org/ns#>))
(project (?x)
(bgp (triple ex:a ex:b1 ?x))))
3 changes: 3 additions & 0 deletions tests/sparql11-tests/data-sparql11/entailment/rdfs04.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(prefix ((ex: <http://example.org/ns#>))
(project (?x)
(bgp (triple ex:a ex:b ?x))))
8 changes: 8 additions & 0 deletions tests/sparql11-tests/data-sparql11/entailment/rdfs05.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
(prefix ((: <http://example.org/x/>)
(rdfs: <http://www.w3.org/2000/01/rdf-schema#>)
(rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>))
(project (?x ?c)
(bgp
(triple ?x rdf:type ?c)
(triple ?c rdfs:subClassOf :d)
)))
3 changes: 3 additions & 0 deletions tests/sparql11-tests/data-sparql11/entailment/rdfs06.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(prefix ((ex: <http://example.org/ns#>))
(project (?x)
(bgp (triple ?x ex:b ex:c))))
3 changes: 3 additions & 0 deletions tests/sparql11-tests/data-sparql11/entailment/rdfs07.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(prefix ((ex: <http://example.org/ns#>))
(project (?x)
(bgp (triple ex:a ex:b ?x))))
4 changes: 4 additions & 0 deletions tests/sparql11-tests/data-sparql11/entailment/rdfs08.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
(prefix ((ex: <http://example.org/ns#>)
(rdfs: <http://www.w3.org/2000/01/rdf-schema#>))
(project (?x)
(bgp (triple ex:d rdfs:range ?x))))
5 changes: 5 additions & 0 deletions tests/sparql11-tests/data-sparql11/entailment/rdfs09.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(prefix ((ex: <http://example.org/ns#>)
(rdfs: <http://www.w3.org/2000/01/rdf-schema#>)
(rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>))
(project (?x)
(bgp (triple ?x rdf:type ex:f))))
4 changes: 4 additions & 0 deletions tests/sparql11-tests/data-sparql11/entailment/rdfs10.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
(prefix ((ex: <http://example.org/ns#>)
(rdfs: <http://www.w3.org/2000/01/rdf-schema#>))
(project (?x)
(bgp (triple ?x ex:f ?y))))
4 changes: 4 additions & 0 deletions tests/sparql11-tests/data-sparql11/entailment/rdfs11.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
(prefix ((ex: <http://example.org/ns#>)
(rdfs: <http://www.w3.org/2000/01/rdf-schema#>))
(project (?x)
(bgp (triple ?x rdfs:subClassOf rdfs:Container))))
5 changes: 5 additions & 0 deletions tests/sparql11-tests/data-sparql11/entailment/rdfs12.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(prefix ((ex: <http://example.org/ns#>)
(rdfs: <http://www.w3.org/2000/01/rdf-schema#>)
(rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>))
(project (?x)
(bgp (triple ?x rdf:type rdfs:ContainerMembershipProperty))))
3 changes: 3 additions & 0 deletions tests/sparql11-tests/data-sparql11/entailment/rdfs13.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(prefix ((rdfs: <http://www.w3.org/2000/01/rdf-schema#>))
(project (?L)
(bgp (triple ?L <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> rdfs:Literal))))
3 changes: 3 additions & 0 deletions tests/sparql11-tests/data-sparql11/functions/abs01.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(prefix ((: <http://example.org/>))
(filter (>= (abs ?num) 2)
(bgp (triple ?s :num ?num))))
5 changes: 5 additions & 0 deletions tests/sparql11-tests/data-sparql11/functions/ceil01.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(prefix ((: <http://example.org/>)
(xsd: <http://www.w3.org/2001/XMLSchema#>))
(project (?s ?num ?ceil)
(extend ((?ceil (ceil ?num)))
(bgp (triple ?s :num ?num)))))
7 changes: 7 additions & 0 deletions tests/sparql11-tests/data-sparql11/functions/concat01.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
(prefix ((: <http://example.org/>))
(project (?str)
(extend ((?str (concat ?str1 ?str2)))
(bgp
(triple :s6 :str ?str1)
(triple :s7 :str ?str2)
))))
5 changes: 5 additions & 0 deletions tests/sparql11-tests/data-sparql11/functions/contains01.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(prefix ((: <http://example.org/>)
(xsd: <http://www.w3.org/2001/XMLSchema#>))
(project (?s ?str)
(filter (contains ?str "a")
(bgp (triple ?s :str ?str)))))
4 changes: 4 additions & 0 deletions tests/sparql11-tests/data-sparql11/functions/day-01.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
(prefix ((: <http://example.org/>))
(project (?s ?x)
(extend ((?x (day ?date)))
(bgp (triple ?s :date ?date)))))
5 changes: 5 additions & 0 deletions tests/sparql11-tests/data-sparql11/functions/encode01.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(prefix ((: <http://example.org/>)
(xsd: <http://www.w3.org/2001/XMLSchema#>))
(project (?s ?str ?encoded)
(extend ((?encoded (encode_for_uri ?str)))
(bgp (triple ?s :str ?str)))))
5 changes: 5 additions & 0 deletions tests/sparql11-tests/data-sparql11/functions/floor01.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(prefix ((: <http://example.org/>)
(xsd: <http://www.w3.org/2001/XMLSchema#>))
(project (?s ?num ?floor)
(extend ((?floor (floor ?num)))
(bgp (triple ?s :num ?num)))))
4 changes: 4 additions & 0 deletions tests/sparql11-tests/data-sparql11/functions/hours-01.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
(prefix ((: <http://example.org/>))
(project (?s ?x)
(extend ((?x (hours ?date)))
(bgp (triple ?s :date ?date)))))
4 changes: 4 additions & 0 deletions tests/sparql11-tests/data-sparql11/functions/lcase01.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
(prefix ((: <http://example.org/>))
(project (?s ?lstr)
(extend ((?lstr (lcase ?str)))
(bgp (triple ?s :str ?str)))))
4 changes: 4 additions & 0 deletions tests/sparql11-tests/data-sparql11/functions/length01.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
(prefix ((: <http://example.org/>))
(project (?str ?len)
(extend ((?len (strlen ?str)))
(bgp (triple ?s :str ?str)))))
4 changes: 4 additions & 0 deletions tests/sparql11-tests/data-sparql11/functions/md5-01.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
(prefix ((: <http://example.org/>))
(project (?hash)
(extend ((?hash (MD5 ?l)))
(bgp (triple :s1 :str ?l)))))
4 changes: 4 additions & 0 deletions tests/sparql11-tests/data-sparql11/functions/md5-02.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
(prefix ((: <http://example.org/>))
(project (?hash)
(extend ((?hash (MD5 ?l)))
(bgp (triple :s4 :str ?l)))))
4 changes: 4 additions & 0 deletions tests/sparql11-tests/data-sparql11/functions/minutes-01.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
(prefix ((: <http://example.org/>))
(project (?s ?x)
(extend ((?x (minutes ?date)))
(bgp (triple ?s :date ?date)))))
4 changes: 4 additions & 0 deletions tests/sparql11-tests/data-sparql11/functions/month-01.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
(prefix ((: <http://example.org/>))
(project (?s ?x)
(extend ((?x (month ?date)))
(bgp (triple ?s :date ?date)))))
8 changes: 8 additions & 0 deletions tests/sparql11-tests/data-sparql11/functions/plus-1.sse
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
(prefix ((: <http://example/>))
(project (?x ?y ?sum)
(order (?x ?y ?sum)
(extend ((?sum (+ ?x ?y)))
(bgp
(triple ?s :p ?x)
(triple ?s :q ?y)
)))))
Loading