File tree Expand file tree Collapse file tree 3 files changed +93
-68
lines changed
sparql11/data-sparql11/functions Expand file tree Collapse file tree 3 files changed +93
-68
lines changed Original file line number Diff line number Diff line change 10
10
rdfs:label " Built-in Functions" ;
11
11
mf:entries
12
12
(
13
- :strdt01
14
- :strdt02
15
- :strdt03-rdf11
16
- :strlang01
17
- :strlang02
18
- :strlang03-rdf11
19
- :isnumeric01
20
- :abs01
21
- :ceil01
22
- :floor01
23
- :round01
24
- :concat01
25
- :concat02
26
- :substring01
27
- :substring01-non-bmp
28
- :substring02
29
- :substring02-non-bmp
30
- :length01
31
- :length01-non-bmp
32
- :ucase01
33
- :ucase01-non-bmp
34
- :lcase01
35
- :lcase01-non-bmp
36
- :encode01
37
- :encode01-non-bmp
38
- :contains01
39
- :starts01
40
- :ends01
41
- :plus-1-corrected
42
- :plus-2-corrected
43
- :md5-01
44
- :md5-02
45
- :sha1-01
46
- :sha1-02
47
- :sha256-01
48
- :sha256-02
49
- :sha512-01
50
- :sha512-02
51
- :minutes
52
- :seconds
53
- :hours
54
- :month
55
- :year
56
- :day
57
- :timezone
58
- :tz
59
- :bnode01
60
- :bnode02
61
- :in01
62
- :in02
63
- :notin01
64
- :notin02
65
- :now01
66
- :rand01
67
- :iri01
68
- :if01
69
- :if02
70
- :coalesce01
71
- :strbefore01a
72
- :strbefore02
73
- :strafter01a
74
- :strafter02
75
- :replace01
76
- :replace02
77
- :replace03
78
- :uuid01
79
- :struuid01
80
- ) .
13
+ :strdt01
14
+ :strdt02
15
+ :strdt03-rdf11
16
+ :strlang01
17
+ :strlang02
18
+ :strlang03-rdf11
19
+ :isnumeric01
20
+ :abs01
21
+ :ceil01
22
+ :floor01
23
+ :round01
24
+ :concat01
25
+ :concat02
26
+ :substring01
27
+ :substring01-non-bmp
28
+ :substring02
29
+ :substring02-non-bmp
30
+ :length01
31
+ :length01-non-bmp
32
+ :ucase01
33
+ :ucase01-non-bmp
34
+ :lcase01
35
+ :lcase01-non-bmp
36
+ :encode01
37
+ :encode01-non-bmp
38
+ :contains01
39
+ :starts01
40
+ :ends01
41
+ :plus-1-corrected
42
+ :plus-2-corrected
43
+ :md5-01
44
+ :md5-02
45
+ :sha1-01
46
+ :sha1-02
47
+ :sha256-01
48
+ :sha256-02
49
+ :sha512-01
50
+ :sha512-02
51
+ :minutes
52
+ :seconds
53
+ :hours
54
+ :month
55
+ :year
56
+ :day
57
+ :timezone
58
+ :tz
59
+ :bnode01
60
+ :bnode02
61
+ :in01
62
+ :in02
63
+ :notin01
64
+ :notin02
65
+ :now01
66
+ :rand01
67
+ :iri01
68
+ :if01
69
+ :if02
70
+ :coalesce01
71
+ :strbefore01a
72
+ :strbefore02
73
+ :strafter01a
74
+ :strafter02
75
+ :replace01
76
+ :replace02
77
+ :replace03
78
+ :uuid01
79
+ :uuid02
80
+ :struuid01
81
+ ) .
81
82
82
83
83
84
:strdt01 rdf:type mf:QueryEvaluationTest ;
799
800
mf:result <uuid01.srx> ;
800
801
.
801
802
803
+ :uuid02 rdf:type mf:QueryEvaluationTest ;
804
+ mf:name " UUID() per binding" ;
805
+ rdfs:comment " UUID() calls generate results per invocation, not per query" ;
806
+ rdfs:seeAlso <https://github.com/w3c/sparql-12/issues/102> ;
807
+ mf:feature sparql:uuid ;
808
+ dawgt:approval dawgt:Proposed ;
809
+ mf:action
810
+ [ qt:query <uuid02.rq> ;
811
+ qt:data <data-empty.nt> ] ;
812
+ mf:result <uuid02.srx> ;
813
+ .
814
+
802
815
:struuid01 rdf:type mf:QueryEvaluationTest ;
803
816
mf:name " STRUUID() pattern match" ;
804
817
mf:feature sparql:struuid ;
Original file line number Diff line number Diff line change
1
+ PREFIX : <http://example.org/>
2
+ PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
3
+ ASK {
4
+ BIND(UUID() AS ?u1)
5
+ BIND(UUID() AS ?u2)
6
+ FILTER(?u1 != ?u2)
7
+ }
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <sparql xmlns =" http://www.w3.org/2005/sparql-results#" >
3
+ <head />
4
+ <boolean >true</boolean >
5
+ </sparql >
You can’t perform that action at this time.
0 commit comments