File: ChangeLog.7

package info (click to toggle)
rasqal 0.9.20-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 10,088 kB
  • ctags: 3,952
  • sloc: ansic: 25,718; sh: 10,694; yacc: 4,318; lex: 2,905; makefile: 2,072; perl: 1,386; xml: 90
file content (2946 lines) | stat: -rw-r--r-- 132,667 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2009-12-16  Dave Beckett  <dave@dajobe.org>

	* Snapshotted rasqal_0_9_17 for 0.9.17 release (SVN 15914)

	* src/rasqal_literal.c:
	(rasqal_literal_compare): When comparing URIs and get error, pass
	through cleanup to deallocate promoted literals.

	* src/rasqal_algebra.c:
	(rasqal_free_algebra_node): Free graph and var fields.

	* src/rasqal_rowsource_join.c:
	(rasqal_join_rowsource_read_row): During join, do not lose track
	of right_row rows that are discarded.

	* src/rasqal_rowsource_graph.c:
	(rasqal_graph_next_dg): Do not keep extra reference to o; pass it
	to con->var

	* src/rasqal_query_write.c:
	(rasqal_query_write_sparql_literal): Handle printing out UDT URIs
	correctly.

	* src/rasqal_query_write.c:
	(rasqal_query_write_sparql_graph_pattern): Do not add {}s around
	FILTER; it never appears on it's own.

2009-12-15  Dave Beckett <dave@dajobe.org>

	* utils/roqet.1: spellings

	* utils/roqet.1: Add longer examples section

2009-12-14  Dave Beckett <dave@dajobe.org>

	* src/rasqal_engine.c: (rasqal_query_engine_1_set_origin_triples):
	Re-initialise column for origin to first triple seen - for QE1.
	
	* docs/tmpl/section-graph_pattern.sgml: Update tmpl for
	rasqal_graph_pattern_get_origin

	* src/rasqal_query_transform.c:
	(rasqal_query_triples_build_bound_in): Initialise bound_in array
	to BOUND_IN_UNBOUND.
	(rasqal_query_graph_pattern_build_bound_in): If a GRAPH is seen,
	set any variable seen to BOUND_ELSEWHERE.
	(rasqal_query_build_bound_in): Initialise bound_in array to
	BOUND_IN_UNBOUND.  Set any select expression variables to
	BOUND_IN_ELSEWHERE.
	(rasqal_query_check_unused_variables): Update FIXME comment - does
	not handle LET. Only warn for variables BOUND_IN_UNBOUND.

	* src/rasqal_query.c: (rasqal_query_variable_bound_in_triple):
	Return not bound for non-column values.

	* src/rasqal_graph_pattern.c:
	(rasqal_graph_pattern_variable_bound_in): Return not bound for
	non-column values.

	* src/rasqal_engine.c: (rasqal_query_engine_1_set_origin_triples):
	Use column is BOUND_IN_UNBOUND for variable unbound check.

	* src/rasqal_internal.h: Define magic (non-column number ) values
	for query->variables_bound_in BOUND_IN_UNBOUND and
	BOUND_IN_ELSEWHERE

	* src/rasqal_graph_pattern.c: autodocs

	* docs/rasqal-sections.txt, src/rasqal.h,
	src/rasqal_graph_pattern.c: (rasqal_graph_pattern_get_origin):
	Added to public api for GRAPH graph pattern

	* src/rasqal_query_write.c:
	(rasqal_query_write_sparql_graph_pattern): Write GRAPH pattern
	literal from gp->origin field.

	* src/sparql_parser.y: err typo

	* docs/tmpl/section-general.sgml: Update generated tmpls for new
	version macros

	* configure.ac, docs/rasqal-sections.txt, src/rasqal.h,
	src/rasqal_general.c, src/win32_rasqal_config.h: Add version
	defines to rasqal.h

	Hard-code RASQAL_VERSION, RASQAL_VERSION_STRING,
	RASQAL_VERSION_MAJOR, RASQAL_VERSION_MINOR and
	RASQAL_VERSION_RELEASE into rasqal.h to make it easier for
	clients.

	Remove version_decimal computation and substution fron
	configure.in

	Remove version defines from win32_rasqal_config.h.

	Add defines to docs.

	rasqal_version_decimal now uses RASQAL_VERSION.
	rasqal_version_string now uses the RASQAL_VERSION_STRING (not
	VERSION)

2009-12-13  Dave Beckett <dave@dajobe.org>

	* src/rasqal_general.c, src/rasqal_engine.c,
	src/rasqal_format_table.c, src/rasqal_literal.c: Casts for C++

	* src/rasqal_rowsource_join.c:
	rasqal_join_rowsource_context struct gains right_rows_joined_count
	field to count number of right rows generated per left row. 
	(rasqal_join_rowsource_read_row): Use above to generate a new left
	row - for left join - once only when entire right rowsource
	generated no results.  This should fix the semantics of left outer
	join.

2009-12-12  Dave Beckett <dave@dajobe.org>

	* src/rasqal-config.in: remove warning

	* src/rasqal_engine.c: Update comment in rasqal_engine_gp_data
	referring to old flags.

	* src/rasqal.h: Removed rasqal_triple_flags enum with unused
	flags: RASQAL_TRIPLE_FLAGS_EXACT, RASQAL_TRIPLE_FLAGS_OPTIONAL and
	RASQAL_TRIPLE_FLAGS_LAST

	* src/rasqal.h: rasqal_compare_flags autodocs

	* src/rasqal-config.in: Add warning

	* src/rasqal-config.in: Try computing the decimal version another way

	* docs/rasqal-sections.txt, docs/tmpl/rasqal-unused.sgml,
	docs/tmpl/section-data.sgml, docs/tmpl/section-expression.sgml,
	docs/tmpl/section-graph_pattern.sgml,
	docs/tmpl/section-prefix.sgml,
	docs/tmpl/section-triples_source.sgml,
	docs/tmpl/section-variable.sgml, docs/tmpl/section-xsd.sgml:
	Update gtk-doc templates

	* src/rasqal.h: autodocs

	* src/rasqal.h: rasqal_graph_pattern_variable_bound_in is RASQAL_API

	* src/rasqal_graph.c: autodocs
	however this is unused/uncompiled code at this point


	* docs/Makefile.am: Ignore rasqal_graph.c

	* src/rasqal_graph_pattern.c:
	(rasqal_graph_pattern_variable_bound_in): autodocs

	* src/rasqal_algebra.c:
	(rasqal_algebra_query_to_algebra): For construct, walk selects to
	make projection.  The query->constructs is an array of triples,
	not variables.

	* tests/engine/rasqal_construct_test.c:
	(main): removed unused var i

	* src/rasqal_variable.c:
	(rasqal_new_variable_from_variable): Copy vars_table

	* src/rasqal_variable.c:
	(rasqal_variables_table_add): Assign vars_table to owning object.

	* src/rasqal_internal.h: Move typedef rasqal_variables_table to
	rasqal.h

	* src/rasqal.h: Give all public structures a pointer to their
	owner object - usually rasqal_world as the first element in
	structure; since we're breaking the ABI.
	rasqal_prefix, rasqal_data_graph, rasqal_literal, rasqal_expression,
	rasqal_triples_match, rasqal_triples_match_s: moved rasqal_world*
	to start.
	rasqal_expression: added autodocs
	rasqal_variable: add pointer to variables table.

	* tests/engine/rasqal_construct_test.c:
	(main): Fix error printf using uninitialized var

	* src/rasqal_redland.c:
	(rasqal_redland_finish): handle early finish before init is done.

	* src/rasqal_redland.c: fixes

	* src/rasqal-config.in: Update to latest common code.

	* src/rasqal.h, src/rasqal_raptor.c, src/rasqal_redland.c,
	src/rasqal_triples_source.c: Add versioning to the structures
	registered by user API.

	rasqal_triples_source gains API version field.  Current API is V1.
	rasqal_triples_source_factory gains API version field.  Current
	API is V1.
	Added typedef rasqal_triples_source_factory_register_fn which
	registers a triples source factory and returns an error status.

	(rasqal_set_triples_source_factory): Check error return from TSF
	registration function.  Checks API version of passed in factory is
	in supported range or log failure.  Returns errors.

	(rasqal_new_triples_source): Check API version of constructed triple
	source is in supported range or log failure.

	(rasqal_raptor_new_triples_source): Return API V1.
	(rasqal_raptor_register_triples_source_factory): Return factory
	API v1 qnd return code.

	(rasqal_redland_new_triples_source): Return API V1
	(rasqal_redland_register_triples_source_factory): Return factory
	API v1 qnd return code.

	Code style and tidying in above modules.

	* src/rasqal.h, src/rasqal_decimal.c, src/rasqal_literal.c:
	(rasqal_new_xsd_decimal): Add rasqal_world arg to constructor to
	match all other classes.

	* src/rasqal.h, src/rasqal_algebra.c, src/rasqal_graph_pattern.c:
	Remove deprecated rasqal_graph_pattern_get_constraint

	* src/rasqal_graph_pattern.c, src/rasqal_internal.h: struct
	rasqal_graph_pattern_s loses constraints field used to support
	deprecate functions

	* src/rasqal.h, src/rasqal_graph_pattern.c:
	Removed deprecated rasqal_graph_pattern_get_constraint_sequence

	* src/rasqal.h, src/rasqal_graph_pattern.c:
	Removed deprecated rasqal_graph_pattern_add_constraint

	* src/rasqal.h, src/rasqal_algebra.c, src/rasqal_engine.c,
	src/rasqal_engine_sort.c, src/rasqal_expr.c,
	src/rasqal_query_transform.c, src/rasqal_rowsource_assignment.c,
	src/rasqal_rowsource_filter.c, src/rasqal_rowsource_join.c,
	src/rasqal_rowsource_project.c:
	Removed deprecated rasqal_expression_evaluate

	Replaced rasqal_expression_evaluate with formerly named
	rasqal_expression_evaluate2 with an extra rasqal_world arg.

	* configure.ac: RASQAL_LIBTOOL_VERSION 2:0:0

	* Breaking ABI/API and bumping library soname after this commit.
	Removing deprecated functions, methods.

2009-12-10  Dave Beckett <dave@dajobe.org>

	* tests/algebra/test-05.out, tests/algebra/test-06.out,
	tests/algebra/test-08.out, tests/algebra/test-09.out:
	Update expected results to remove optimized-out expr(boolean(true))

	* src/rasqal_algebra.c:
	(rasqal_algebra_remove_znodes): Only merge join nodes with two
	nodes, one of which is an empty graph pattern.  If there is a join
	condition, it must be constant TRUE.

	This optimization of constant join conditions - TRUE/FALSE should
	be a separate previous path and replace join with always FALSE
	conditions with an empty node.

	* src/sparql_parser.y:
	(Collection): Free sequence of formulas after processing the
	triples.
	(GraphNodeListNotEmpty): Join node to sequence and initialise if
	NULL, handle errors and cleanup.

	* src/sparql_lexer.l:
	(sparql_token_free): Free more literal types when debugging lexing.

	* src/rasqal_rowsource_triples.c:
	(rasqal_new_triples_rowsource): If this is an empty triple
	pattern, free owned bound_in before calling return
	rasqal_new_empty_rowsource constructor.

	* tests/rdql/testsuite/check-rdql, tests/sparql/check-sparql:
	Allow check-rdql and check-sparql to override roqet and rapper
	using envariables ROQET and RAPPER

	* src/rasqal_literal.c:
	(rasqal_literal_string_equals): Only free dt1 and dt2 if allocated
	here.

2009-12-10  Lauri Aalto <laalto@iki.fi>

	* src/sparql_parser.y:
	(ConstructTriplesOpt): Initialize empty query->constructs
	sequence. Fixes
	sparql/SyntaxDev/Syntax-SPARQL2/syntax-form-construct05.rq test.

2009-12-10  Dave Beckett <dave@dajobe.org>

	* src/rasqal_literal.c:
	(rasqal_literal_string_equals): Free dt1 and dt2 on success and
	error.

	* src/rasqal_literal.c:
	(rasqal_new_integer_literal): Assign static string for
	RASQAL_LITERAL_BOOLEAN to avoid memory leak on string later.

	* src/rasqal_raptor.c:
	(rasqal_raptor_new_triples_source): Free name_uri when copied
	here.

2009-12-08  Dave Beckett <dave@dajobe.org>

	* docs/tmpl/rasqal-unused.sgml, docs/tmpl/section-expression.sgml,
	docs/tmpl/section-graph_pattern.sgml,
	docs/tmpl/section-literal.sgml, docs/tmpl/section-unused.sgml:
	update derived docs

2009-12-07  Dave Beckett <dave@dajobe.org>

	* src/rasqal_format_table.c: Remove several #if 1 blocks for
	writing padded strings

	* src/rasqal.h, src/rasqal_engine.c, src/rasqal_engine_sort.c,
	src/rasqal_expr.c, src/rasqal_query_transform.c,
	src/rasqal_rowsource_assignment.c, src/rasqal_rowsource_filter.c,
	src/rasqal_rowsource_join.c,
	src/rasqal_rowsource_project.c:
	(rasqal_expression_evaluate2): Renamed from
	rasqal_expression_evaluate_v2

	* src/rasqal_query.c:
	(rasqal_query_get_engine_by_name): Set default query engine based
	on RASQAL_QUERY_ENGINE_VERSION define.  This function is currently
	only ever called in the library with NULL as a value, so users
	cannot switch query engine after configure.

	* configure.ac:
	Added --with-query-engine-version arg with values 1 or 2
	Defines RASQAL_QUERY_ENGINE_VERSION with value.
	Just adding this to allow people to switch to old engine when
	building, if necessary.  Default query engine is now V2.

2009-12-04  Dave Beckett <dave@dajobe.org>

	* src/rasqal_engine.c:
	(rasqal_engine_graph_pattern_init): use
	rasqal_query_variable_bound_in_triple not
	rasqal_graph_pattern_variable_bound_in to check when found the
	triple to bind in.  Former returns true for every variable in a
	triple loop so caused mis-binding.

	* src/rasqal_query_transform.c:
	(rasqal_query_triples_build_bound_in_internal): Add debug messages
	when a variable binding triple is found.

	* src/rasqal_internal.h, src/rasqal_query.c:
	(rasqal_query_variable_bound_in_triple): Added to check if a
	variable is bound in a triple/column.

	* src/sparql_parser.y:
	(WhereClause): Added
	(WhereClauseOpt): Use above or empty.
	(SelectQuery, ConstructQuery, AskQuery): Use required WhereClause for
	SELECT, CONSTRUCT and ASK queries
	(DescribeQuery): Use optional WhereClauseOpt for DESCRIBE queries.

	* src/sparql_parser.y: 
	(WhereClauseOpt): WHERE is optional but the graph pattern is not.

	* tests/sparql/syntax/0triples.rq:
	Add where {} with empty graph pattern to 0triples.rq

	* tests/sparql/syntax/Makefile.am,
	tests/sparql/syntax/select-no-gp.rq: Add select * as bad query in
	new query select-no-gp.rq

2009-11-30  Dave Beckett <dave@dajobe.org>

	* src/rasqal_format_sparql_xml.c:
	(rasqal_query_results_write_sparql_xml): Remove unused code that
	attempted to write W3C XML Schemas XSD header.  Out of date and
	not needed.

	* src/rasqal_engine.c:
	(rasqal_engine_graph_pattern_order): Removed - dead code.

2009-11-29  Dave Beckett <dave@dajobe.org>

	* src/rasqal_query_transform.c:
	Rename functions and args/variables for terminology: use_map for a
	2D array, use_map row for a 1D row in use-map

	* src/rasqal_query_transform.c:
	(rasqal_query_build_variables_sequence_use_map,
	rasqal_query_build_literals_sequence_use_map): Remove unused query
	arg.

	* src/rasqal_query_transform.c:
	(rasqal_query_triples_build_variables_use_map,
	rasqal_query_build_variables_sequence_use_map,
	rasqal_query_build_literals_sequence_use_map): Return status code
	(rasqal_query_build_variables_use_map): Check return code of above
	for failures.

	* src/rasqal_query_transform.c:
	(rasqal_query_build_expressions_sequence_use_map): Added.
	(rasqal_query_build_variables_use_map): Use above to mark use of
	variables in query order_conditions_sequence (ORDER BY) sequence
	of rasqal_expression

	* src/rasqal_query_transform.c:
	Restore indenting messed up in SVN r15741

	* src/rasqal_query_transform.c:
	indenting

	* src/rasqal_query_transform.c:
	(rasqal_query_triples_build_variables_use_map): Renamed from
	rasqal_query_triples_build_variables_use_map_internal but now only
	used in this file.

	* src/rasqal_internal.h:
	Remove rasqal_query_triples_build_variables_use_map prototype -
	never called outside module.

	* src/rasqal_query_transform.c:
	(rasqal_query_triples_build_variables_use_map): Removed, never
	called.

	* src/rasqal_query_transform.c:
	(rasqal_query_triples_build_variables_use_map_internal): Take a
	triples sequence arg so can be used for construct.
	(rasqal_query_triples_build_variables_use_map): Pass in triples
	seq.
	(rasqal_query_graph_pattern_build_variables_use_map): Pass in
	triples seq.
	(rasqal_query_build_variables_use_map): Use
	rasqal_query_triples_build_variables_use_map_internal for
	construct triples, putting them in the
	RASQAL_VAR_USE_MAP_OFFSET_VERBS row.

	* src/rasqal_query_transform.c:
	(rasqal_query_build_literals_sequence_use_map): Added.
	(rasqal_query_build_variables_use_map): Use above for DESCRIBE
	args which are a sequence of literals.

	* src/rasqal_query_transform.c:
	(rasqal_query_build_variables_use_map): Move code comments into
	internal docucomment.

	* src/rasqal_query_transform.c:
	(rasqal_query_build_variables_use_map): Expand comments and fixmes

	* configure.ac:
	Warn if pkg-config is not found - will be a fatal error when
	raptor2 is required.
	Prefer pkg-config raptor to raptor-config but accept both for
	now. pkg-config will not allow compiling against raptor in source
	tree.

	* ChangeLog, ChangeLog.6, Makefile.am:
	Add ChangeLog.6 for 2008.

2009-11-29  Lauri Aalto <laalto@iki.fi>

	* autogen.sh: Reduce autogen noise on systems where uname is not
	in /usr/bin

2009-11-17  Lauri Aalto <laalto@iki.fi>

	* src/rasqal.h:
	Define RASQAL_LITERAL_UDT_DEFINED for rdf_query_rasqal.c

	* src/rasqal_rowsource_distinct.c:
	(rasqal_new_distinct_rowsource): Free passed in rowsource on failure.

	* src/rasqal_rowsource.c:
	(rasqal_rowsource_read_all_rows): Check for
	rasqal_rowsource_ensure_variables() failure.

	* src/rasqal_rowsource_sort.c:
	(rasqal_sort_rowsource_ensure_variables): Check return value from
	inner rasqal_rowsource_ensure_variables() call.

	* src/rasqal_literal.c:
	(rasqal_literal_get_rdf_term_type): Always return proper enum
	value instead of int. Fixed typo in docs.

	* src/rasqal_query_results.c:
	(rasqal_query_results_execute_with_engine): Also check return
	value from execute_init() for errors.

	* src/rasqal_engine_algebra.c, src/rasqal_internal.h,
	src/rasqal_rowsource_sort.c:
	(rasqal_new_sort_rowsource): Do not take in a triples sequence as
	one is allocated internally, messing up ownership. Free passed in
	rowsource on failure.

2009-11-16  Dave Beckett <dave@dajobe.org>

	* src/rasqal_redland.c:
	(rasqal_literal_to_redland_node): Use
	rasqal_literal_get_rdf_term_type to check RDF terminess to get
	away from ever-expanding if conditions.

	* src/rasqal.h, src/rasqal_internal.h, src/rasqal_literal.c:
	(rasqal_literal_get_rdf_term_type): Added to public API to return
	the RDF term type of a literal.
	(rasqal_literal_is_rdf_literal): Added calling above to return if
	a term is an RDF literal.

2009-11-16  Lauri Aalto <laalto@iki.fi>

	* src/rasqal_rowsource_sort.c:
	(rasqal_sort_rowsource_process): Check rasqal_row_set_order_size()
	return value and clean up on failure.

	* src/rasqal_query_transform.c:
	(rasqal_graph_patterns_join): Check and return errors from
	raptor_sequence_join()

	* src/rasqal_algebra.c:
	(rasqal_algebra_group_graph_pattern_to_algebra): Always free
	anode, prevent double deletes.

	* src/rasqal_algebra.c:
	(rasqal_algebra_group_graph_pattern_to_algebra): Free anode on
	failure.

	* src/rasqal_rowsource_join.c:
	(rasqal_join_rowsource_read_row): Discard unused right_row.

2009-11-13  Dave Beckett <dave@dajobe.org>

	* src/rasqal_query_transform.c:
	(rasqal_expression_expr_build_variables_use_map): Move earlier and
	take a use_map row.
	(rasqal_query_build_variables_sequence_use_map): Added to mark
	variables bound and used in a sequence of vars with optional
	project expressions.
	(rasqal_query_build_variables_use_map): Use
	rasqal_query_build_variables_sequence_use_map for SELECT and
	DESCRIBE to mark variables.

	* src/rasqal_rowsource_join.c:
	(rasqal_join_rowsource_build_merged_row): Set row offset from
	current rowsource context offset.

2009-11-13  Lauri Aalto <laalto@iki.fi>

	* src/rasqal_algebra.c:
	(rasqal_algebra_basic_graph_pattern_to_algebra,
	rasqal_algebra_group_graph_pattern_to_algebra): Prevent double
	free of filter set.

	* src/rasqal_rowsource_union.c:
	(rasqal_union_rowsource_read_row): Don't leak rows on failure.

	* src/rasqal_rowsource_union.c:
	(rasqal_union_rowsource_ensure_variables): Check error code from
	rasqal_rowsource_copy_variables().

	* src/rasqal_rowsource_union.c:
	(rasqal_new_union_rowsource): Free owned rowsources on failure.

	* src/rasqal_rowsource_join.c:
	(rasqal_join_rowsource_build_merged_row): Free passed in right_row
	on failure.

	Added FIXME note to a no-op assignment.

	* src/rasqal_internal.h, src/rasqal_rowsource.c,
	src/rasqal_rowsource_filter.c, src/rasqal_rowsource_join.c:
	(rasqal_rowsource_copy_variables): Changed internal function
	prototype to return int error code e.g. in case
	rasqal_rowsource_add_variable() fails.

	(rasqal_filter_rowsource_ensure_variables,
	rasqal_join_rowsource_ensure_variables): Check for
	rasqal_rowsource_copy_variables() failures.

	* src/rasqal_rowsource.c, src/rasqal_rowsource_filter.c,
	src/rasqal_rowsource_project.c:
	(rasqal_filter_rowsource_ensure_variables,
	rasqal_project_rowsource_ensure_variables):
	rasqal_rowsource_ensure_variables() success and return error on
	failure.

	(rasqal_rowsource_read_row): Check
	rasqal_rowsource_ensure_variables() success and return NULL on
	failure.

	* src/rasqal_rowsource_join.c:
	(rasqal_new_join_rowsource): Free passed in rowsource params on
	failure.

	* src/rasqal_rowsource_filter.c:
	(rasqal_new_filter_rowsource): Free passed in rowsource, expr on
	failure.

	* src/rasqal_row_compatible.c, src/rasqal_rowsource_join.c:
	(rasqal_new_row_compatible): Check for alloc failures.

	(rasqal_join_rowsource_init): Check for
	rasqal_new_row_compatible() failure.

	* src/rasqal_algebra.c:
	(rasqal_algebra_group_graph_pattern_to_algebra): Free A node on
	failure. Prevent double delete of true_expr -
	rasqal_new_leftjoin_algebra_node() takes ownership of passed in
	expr.

	* src/rasqal_rowsource_project.c:
	(rasqal_new_project_rowsource): Free rowsource param on error.

	* src/rasqal_rowsource_triples.c:
	(rasqal_triples_rowsource_init): Return error if vars sequence
	push fails.

2009-11-11  Lauri Aalto <laalto@iki.fi>

	* src/rasqal_rowsource_triples.c:
	(rasqal_triples_rowsource_finish): Only free the triple meta if
	the meta array was allocated.

	* src/rasqal_engine_algebra.c:
	(rasqal_query_engine_algebra_execute_finish): Do not assume
	execution_data allocation succeeded. Cannot check this in caller
	since it is valid for a query engine to have ex_size 0 and thus no
	execution_data allocated but still require a call to
	execute_finish.

	* src/rasqal_query_transform.c:
	(rasqal_query_prepare_common): Return failure if a called function
	fails.
	
	* src/rasqal_algebra.c:
	(rasqal_algebra_query_to_algebra): Code style: return NULL
	explicitly.

	* src/rasqal_algebra.c:
	(rasqal_algebra_remove_znodes): Free the struct memory of nodes
	merged to other nodes.

2009-11-10  Lauri Aalto <laalto@iki.fi>

	* src/rasqal_rowsource_join.c:
	(rasqal_join_rowsource_finish, rasqal_join_rowsource_read_row): Do
	not leak left_rows

	* src/rasqal_algebra.c:
	(rasqal_new_filter_algebra_node): Made param ownership consistent
	with other algebra_node types.
	
	(rasqal_new_2op_algebra_node, rasqal_new_leftjoin_algebra_node):
	Ownership documentation fixes.

	* src/rasqal_algebra.c:
	(rasqal_algebra_query_to_algebra): Support
	CONSTRUCT query form on QE2.

2009-11-08  Dave Beckett <dave@dajobe.org>

	* src/rasqal_query_transform.c:
	(rasqal_query_graph_pattern_build_variables_use_map): adjust
	output offset to skip the non-GP rows.
	use_map_offset_labels: added
	use_map_flags_labels: renamed from use_map_str and made static
	const.
	(rasqal_query_print_variables_use_map): Adjust to handle non-GP
	rows as well as GP rows.

	* src/rasqal_internal.h:
	rasqal_var_use_map_offset: added to reserve use_map rows for
	marking variable uses outside of graph patterns.

	* src/rasqal_query_transform.c:
	(rasqal_query_print_variables_use_map): off by 1 in unknown flag
	check

	* src/rasqal_query_transform.c:
	(rasqal_query_build_variables_use_map): Document note of missing
	query parts that may need variable use map scans.

2009-11-06  Dave Beckett <dave@dajobe.org>

	* src/rasqal_query_transform.c:
	(rasqal_query_prepare_common): Move rasqal_query_build_bound_in
	and rasqal_query_check_unused_variables to later so that
	rasqal_query_build_variables_use_map happens before
	rasqal_query_build_bound_in.

	* src/rasqal_engine.c:
	(rasqal_engine_get_next_result): Remove FIXMEs that are real
	errors - no graph patterns in query, already reported as such and
	not fixable.

	* src/rasqal_engine.c:
	(rasqal_engine_group_graph_pattern_get_next_match): Engine V1 is
	never going to implement group graph pattern - remove fixme.

2009-11-03  Dave Beckett <dave@dajobe.org>

	* src/rasqal.h, src/rasqal_expr.c, src/rasqal_query_write.c,
	src/sparql_lexer.l, src/sparql_parser.y,
	tests/laqrs/syntax/Makefile.am, tests/laqrs/syntax/coalesce1.rq:
	Implement LAQRS (possible SPARQL 1.1) COALESCE

	rasqal_op gains RASQAL_EXPR_COALESCE
	(COALESCE): Keyword added to laqrs lexer
	(CoalesceExpression): Added to laqrs grammar.
	(BuiltInCall): Add CoalesceExpression to option.
	(rasqal_new_coalesce_expression): Added.
	(rasqal_expression_clear, rasqal_expression_visit,
	rasqal_expression_evaluate_v2, rasqal_expression_write,
	rasqal_expression_print, rasqal_expression_is_constant): Implement
	coalesce

	* src/rasqal_query_results.c:
	(rasqal_query_results_get_binding_name): Get variables by select
	order not variable table order so that project expressions work -
	from SPARQL1.1 / LAQRS.

	* src/rasqal_rowsource_project.c:
	(rasqal_project_rowsource_read_row): Calculate project expressions.

2009-10-26  Dave Beckett <dave@dajobe.org>

	* src/sparql_parser.y:
	(LetGraphPattern): Free expression on error path

	* src/sparql_parser.y:
	(LetGraphPattern): Set $$ on error path

	* src/Makefile.am, src/rasqal.h, src/rasqal_algebra.c,
	src/rasqal_engine_algebra.c, src/rasqal_graph_pattern.c,
	src/rasqal_internal.h, src/rasqal_query_transform.c,
	src/rasqal_query_write.c, src/rasqal_rowsource_assignment.c,
	src/sparql_lexer.l, src/sparql_parser.y,
	tests/laqrs/syntax/Makefile.am, tests/laqrs/syntax/let1.rq,
	tests/laqrs/syntax/let1.ttl, tests/laqrs/syntax/let2.rq,
	tests/laqrs/syntax/let3.rq, tests/laqrs/syntax/let3.ttl:
	Added LAQRS sparql extension LET ?var := expression evaluated
	in-order inside a graph pattern
	rasqal_graph_pattern_operator gains RASQAL_GRAPH_PATTERN_OPERATOR_LET

	rasqal_algebra_node_operator gains RASQAL_ALGEBRA_OPERATOR_ASSIGN

	struct rasqal_graph_pattern_s shares filter_expression and gains
	variable field 'var' for GP LET.

	rasqal_algebra_node gains variable field 'var' for GP LET.

	(rasqal_new_assignment_algebra_node): Added.
	rasqal_algebra_node_operator_labels gains "Assignment"
	(rasqal_algebra_algebra_node_write_internal): Print variable name for
	assignment
	(rasqal_algebra_group_graph_pattern_to_algebra): Only AND filter
	graph patterns, not everything witha  filter_expression.
	(rasqal_algebra_let_graph_pattern_to_algebra): Added.
	(rasqal_algebra_graph_pattern_to_algebra): Handle new
	RASQAL_GRAPH_PATTERN_OPERATOR_LET
	(rasqal_new_let_graph_pattern): Added.
	rasqal_graph_pattern_operator_labels gains "Let"
	(rasqal_graph_pattern_write_internal): Write Let GP
	for RASQAL_GRAPH_PATTERN_OPERATOR_LET
	(rasqal_query_let_build_variables_use_map_in_internal): Added
	(rasqal_query_graph_pattern_build_variables_use_map): Handle
	RASQAL_GRAPH_PATTERN_OPERATOR_LET using
	rasqal_query_let_build_variables_use_map_in_internal.
	(rasqal_query_print_variables_use_map): Tidy code and ignore unknown
	flags.
	SPARQL lexer and parser gain LET (LET) and ':' (ASSIGN) keywords.
	(GraphPatternNotTriples): Add option for LetGraphPattern
	(LetGraphPattern): Added to construct a
	RASQAL_GRAPH_PATTERN_OPERATOR_LET for LAQRS.
	(rasqal_query_write_sparql_graph_pattern): Print the GP out with LET
	?var := ?expr.
	(rasqal_new_assignment_rowsource): Added assignment rowsource with
	this constructor.
	(rasqal_algebra_assignment_algebra_node_to_rowsource): Added.
	(rasqal_algebra_node_to_rowsource): Call above for
	RASQAL_ALGEBRA_OPERATOR_ASSIGN.

2009-10-22  Dave Beckett <dave@dajobe.org>

	* src/rasqal_format_json.c:
	(rasqal_init_result_format_json): Restored old URIs

2009-10-21  Dave Beckett <dave@dajobe.org>

	* src/rasqal_format_sv.c: Sep is a single char
	Write empty values as empty field ie foo,,bar or foo\t\tbar
	Write integer, float, double and decimal XSD types without quotes.

2009-10-21  Lauri Aalto <laalto@iki.fi>

	* src/rasqal_literal.c:
	(rasqal_literal_string_equals): Fixed compilation with
	RAPTOR_V2_AVAILABLE

2009-10-20  Dave Beckett <dave@dajobe.org>

	* src/rasqal.h, src/rasqal_engine.c, src/rasqal_graph_pattern.c,
	src/rasqal_internal.h, src/rasqal_query.c,
	src/rasqal_query_transform.c:
	Replace mentioned_in with a variables use map concept that has
	several flags per variable/gp combination.  Set the mentioned flag
	for now - RASQAL_VAR_USE_MENTIONED_HERE
	Added num rasqal_var_use_map_flags with the flags.
	Renamed functions/fields with *_mentioned_in to be *_use_map

	(rasqal_query_print_variables_use_map): Added debug function to
	print use map and flags better.
	(rasqal_expression_expr_build_variables_use_map,
	rasqal_query_filter_build_variables_use_map_in_internal): Added to
	find variables mentioned in a filter expression.

	(rasqal_graph_pattern_variable_bound_in): Added to wrap bound_in
	that will be moving to query->use_map.

	* src/rasqal_internal.h: update comments for format file renamings

	* src/Makefile.am, src/rasqal_format_sparql_xml.c:
	Rename rasqal_sparql_xml.c to rasqal_format_sparql_xml.c

	* src/rasqal_sparql_xml.c: update label and url for this format

	* src/rasqal_format_json.c: update label and url for this format

	* src/rasqal_format_sv.c: Add labels for messages

	* src/Makefile.am, src/rasqal_format_csv.c, src/rasqal_format_sv.c
	Rename rasqal_format_csv.c to rasqal_format_sv.c

	* src/rasqal_format_csv.c, src/rasqal_internal.h,
	src/rasqal_result_formats.c:
	Lets go crazy and add TSV too

	* src/rasqal_format_csv.c: tidy code

	* src/Makefile.am, src/rasqal_format_csv.c, src/rasqal_internal.h,
	src/rasqal_result_formats.c:
	Added CSV output for query results - why not?

	* src/rasqal.h, src/rasqal_expr.c, src/rasqal_internal.h,
	src/rasqal_literal.c, tests/sparql/check-sparql:
	rasqal_literal gains a valid flag to indicate when an XSD type is
	known and has a valid literal form.  Otherwise on construction, it
	gets turned into a RASQAL_LITERAL_UDT aka invalid/unknown type.
	(rasqal_new_*_literal): Set valid flag explicitly when known good.
	(rasqal_literal_set_typed_value): Turn invalid known types into
	RASQAL_LITERAL_UDT.
	(rasqal_literal_not_equals_flags): Added internal function to
	parallel rasqal_literal_equals_flags.  The logic may be different
	soon.
	(rasqal_literal_write, rasqal_literal_print): Emit INV: before
	invalid literals for debugging.
	(rasqal_expr_evaluate_v2): Use rasqal_literal_not_equals_flags()
	for RASQAL_EXPR_NEQ.

2009-10-18  Dave Beckett <dave@dajobe.org>

	* src/rasqal_expr.c:
	(rasqal_expression_evaluate_v2): Disallow comparing invalid
	literals Adjust datatype of plain literal to new xsd:string form.

	* src/rasqal_literal.c:
	(rasqal_new_numeric_literal, rasqal_literal_set_typed_value,
	rasqal_free_literal, rasqal_literal_cast): Handle
	RASQAL_LITERAL_XSD_STRING and RASQAL_LITERAL_XSD_UDT.

	(rasqal_literal_string_interpreted_as_boolean): Added, pulled out
	of rasqal_literal_set_typed_value.

	(rasqal_literal_set_typed_value): Use
	rasqal_literal_string_interpreted_as_boolean for decoding
	RASQAL_LITERAL_BOOLEAN string.

	(rasqal_literal_string_to_native): do nothing for
	RASQAL_LITERAL_STRING; set RASQAL_LITERAL_XSD_STRING and otherwise
	set unknown types to RASQAL_LITERAL_UDT Ensure the l->type is set
	via rasqal_literal_set_typed_value even if the function will fail
	due to a type error when rasqal_xsd_datatype_check is called.

	Update rasqal_literal_type_labels to add xsdstring and udt.

	(rasqal_literal_write, rasqal_literal_print): write/print xsd
	strings and UDT

	(rasqal_literal_as_boolean): Interpret RASQAL_LITERAL_XSD_STRING
	as booleans.  RASQAL_LITERAL_UDT as error.

	(rasqal_literal_as_integer, rasqal_literal_as_floating,
	rasqal_literal_as_string_flags): Interpret
	RASQAL_LITERAL_XSD_STRING same as RASQAL_LITERAL_STRING.
	RASQAL_LITERAL_UDT as error.

	(rasqal_literal_get_rdf_term_type): Turn UDT into a
	RASQAL_LITERAL_STRING when flattening to an RDF term.

	(rasqal_new_literal_from_promotion): autodocs and add flags
	argument to allow promotion of strings to boolean (for RDQL) when
	RASQAL_COMPARE_URI is given.
	Interpret RASQAL_LITERAL_UDT as plain literal
	RASQAL_LITERAL_STRING but ensure the datatype is coopied.
	case RASQAL_LITERAL_BOOLEAN: Separated from RASQAL_LITERAL_INTEGER
	and use rasqal_literal_string_interpreted_as_boolean to handle
	promotion of strings to boolean.
	case RASQAL_LITERAL_XSD_STRING: Added, copying the string and
	type.
	case RASQAL_LITERAL_UDT: Added, causing error.

	(rasqal_literal_string_compare): Return an error if types are
	neigther plain literal or user defined datatyped literals

	(rasqal_literal_rdql_promote_calculate): Handle and ignore
	XSD_STRING and UDT for rdql promotions.  If seen boolean and
	string, aim for destination type boolean.

	(rasqal_literal_compare): Return failure with UDT - cannot compare
	them.  Handle UDT<>UDT compare same as STRING and
	XSD_STRING<>XSD_STRING as simple literal compare.

	(rasqal_literal_string_equals): Use XSD_STRING to get
	xsd_string_uri.  Promote plain literals to xsd:string-typed for
	purpose of equality checking.
	Equality checking on user defined types fails with a type error.

	(rasqal_literal_equals_flags): Handle RASQAL_LITERAL_XSD_STRING
	and RASQAL_LITERAL_UDT as plain literal string.

	(rasqal_literal_as_node): Handle RASQAL_LITERAL_XSD_STRING and
	RASQAL_LITERAL_UDT as other XSD types.

	(rasqal_literal_add, rasqal_literal_subtract,
	rasqal_literal_multiply, rasqal_literal_divide,
	rasqal_literal_negate): Handle RASQAL_LITERAL_XSD_STRING and
	RASQAL_LITERAL_UDT as other XSD types.  Update check so URI can be
	cast to xsd:string and no other type.  RASQAL_LITERAL_XSD_STRING
	and RASQAL_LITERAL_XSD_UDT are errors.

	* tests/rdql/testsuite/check-rdql, tests/sparql/check-sparql:
	Adjust roqet output to hide udt(); replace with string() for
	comparison purposes.

	* src/rasqal_format_json.c, src/rasqal_query_results.c,
	src/rasqal_query_write.c, src/rasqal_sparql_xml.c: Add cases
	RASQAL_LITERAL_XSD_STRING and RASQAL_LITERAL_UDT to various
	switches usually near RASQAL_LITERAL_STRING.

	* src/rasqal_xsd_datatypes.c: sparql_xsd_names: insert entry for
	RASQAL_LITERAL_STRING parent_xsd_type: adjust parents for
	separation of plain literal (RASQAL_LITERAL_STRING),
	xsd:string (RASQAL_LITERAL_XSD) and user/unknown
	datatype (RASQAL_LITERAL_UDT)

	* src/rasqal.h: rasqal_literal_type gains
	1) RASQAL_LITERAL_XSD_STRING - for xsd:string typed literals
	2) RASQAL_LITERAL_UDT - for unknown data typed literals separated
	out of RASQAL_LITERAL_STRING which is for RDF plain literals and
	plain/typed turned into RDF terms only

	rasqal_compare_flags gains RASQAL_COMPARE_URI - now also provides
	RDQL string to bool comparison

2009-10-13  Dave Beckett <dave@dajobe.org>

	* src/rasqal_rowsource_graph.c:
	(rasqal_graph_next_dg): Walk through all the named graphs and
	set the origin; do not end if default graph is seen.
	Improve error recovery.

	* src/rasqal_rowsource.c:
	(rasqal_rowsource_ensure_variables): Print rowsource variables
	after ensure_variables is called when debugging.
	(rasqal_rowsource_read_row): Print rowsource ptr when debugging.

	* src/rasqal_rowsource_join.c: Add rowsource ptr to debug messages.

	* src/rasqal_row_compatible.c:
	(rasqal_print_row_compatible): Tidy output ot remove all the "-1"s

	* src/rasqal_rowsource_union.c:
	(rasqal_union_rowsource_get_inner_rowsource): Return inner
	rowsources correctly.

	* src/rasqal_rowsource_join.c:
	(rasqal_join_rowsource_get_inner_rowsource): Return inner
	rowsources correctly.

	* src/rasqal_rowsource_graph.c:
	(rasqal_graph_rowsource_init): Use rasqal_graph_rowsource_reset to
	set up initial graph state.
	(rasqal_graph_rowsource_reset): Call rasqal_graph_next_dg to set
	graph variable and start state.

	* src/rasqal_rowsource_graph.c:
	(rasqal_graph_rowsource_read_row): Set new row to size of new
	rowsource.

	* src/rasqal_rowsource_join.c:
	(rasqal_join_rowsource_read_row): For natural join, return only
	compatible rows - both present - and with filter true.

2009-10-12  Dave Beckett <dave@dajobe.org>

	* src/rasqal_literal.c:
	(rasqal_literal_set_typed_value): The combination of
	error_handler/error_data and flags meant the error was never
	called so remove those args.
	(rasqal_new_typed_literal,
	rasqal_new_decimal_literal_from_decimal,
	rasqal_literal_string_to_native): Adjust calls to
	rasqal_literal_set_typed_value.

	* src/rasqal_engine_algebra.c:
	(rasqal_algebra_node_to_rowsource): Fail with NULL not abort() on
	getting back now rowsource.
	(rasqal_query_engine_algebra_execute_init): Handle NULL rowsource
	in debug printing.

	* src/rasqal_rowsource_graph.c:
	(rasqal_graph_rowsource_read_row): Copy correct #values from old row.

	* docs/tmpl/section-expression.sgml,
	docs/tmpl/section-literal.sgml: docs

	* src/rasqal_internal.h, src/rasqal_literal.c,
	src/rasqal_xsd_datatypes.c:
	(rasqal_xsd_datatype_uri_parent_type): Deleted - only used once.
	(rasqal_new_string_literal_common): Remove call to above and
	replace with simpler inline equivalent.

	* src/rasqal_literal.c:
	(rasqal_new_integer_literal): Use rasqal_xsd_format_integer
	(rasqal_new_float_literal): Use rasqal_xsd_format_double

	* src/rasqal_internal.h, src/rasqal_xsd_datatypes.c:
	(rasqal_xsd_format_integer, rasqal_xsd_format_float): Added to put
	formatting in one clear place.

2009-10-12  Lauri Aalto <laalto@iki.fi>

	* src/rasqal_expr.c:
	(rasqal_expression_evaluate_v2): Use #if not #ifdef with
	preprocessor expressions.

	* src/rasqal_rowsource_join.c:
	(rasqal_join_rowsource_read_row): Plain ascii comments

	* src/rasqal_format_table.c:
	(rasqal_query_results_write_table): Compilation fix: Pass NULL
	context to raptor_new_sequence_v2().

2009-10-11  Dave Beckett <dave@dajobe.org>

	* src/rasqal_rowsource_join.c:
	(rasqal_join_rowsource_read_row): Update left join rules with docs
	from algebra; update condition for left join to match rules.

	* tests/sparql/check-sparql: warn when SPARQL JSON results format
	is seen

	* src/rasqal_decimal.c:
	(rasqal_xsd_decimal_compare): Fix decimal comparison case when
	using doubles to implement it. comparison check was backwards and
	imprecise.

2009-10-10  Dave Beckett <dave@dajobe.org>

	* src/rasqal_literal.c:
	(rasqal_new_literal_from_promotion): Correct misleading debug
	message.

	* src/rasqal.h, src/rasqal_literal.c, src/rasqal_xsd_datatypes.c:
	ABI change: Reorder rasqal_literal_type enumeration to match
	numeric type promotion order: float is now between integer and
	double.

	* src/rasqal.h, src/rasqal_expr.c, src/rasqal_literal.c:
	(rasqal_literal_string_equals, rasqal_literal_uri_equals,
	rasqal_literal_blank_equals): Lose error arg, these never returns
	a type error.
	(rasqal_literal_equals_flags): Rename error arg to error_p since
	it's a pointer/out arg.
	(rasqal_literal_same_term): Lose error arg and do not pass on any
	type error from literal comparison; it's a difference not an
	error.
	(rasqal_expression_evaluate_v2): same_term returns no error, tidy
	debug messages.

	* src/rasqal_xsd_datatypes.c: parent_xsd_type - promote integer to
	float

	* src/rasqal_xsd_datatypes.c: parent_xsd_type - promote float to
	double

	* src/rasqal_literal.c:
	(rasqal_new_integer_literal, rasqal_literal_set_typed_value): Set
	parent_type using rasqal_xsd_datatype_parent_type.
	(rasqal_literal_promote_numerics): Make numeric type promotion
	recursive and use rasqal_xsd_datatype_parent_type() for each
	step.

	* src/rasqal_expr.c: Extra debug messags for equals_flags/sameterm
	when RASQAL_DEBUG > 1

	* src/rasqal_xsd_datatypes.c: parent_xsd_type - set pattern, qname
	and variable to no xsd parent type

	* src/rasqal_xsd_datatypes.c: notes near parent_xsd_type

	* src/rasqal_internal.h, src/rasqal_xsd_datatypes.c:
	(rasqal_xsd_datatype_parent_type): Added

	* src/rasqal_expr.c:
	(rasqal_expression_evaluate_v2): Use rasqal_literal_same_term for
	evaluating sameTerm.

	* src/rasqal.h, src/rasqal_literal.c:
	(rasqal_literal_same_term): Added

	* src/rasqal_xsd_datatypes.c:
	(rasqal_xsd_format_double): snprintf buffer was too small and lost
	the last digit of the exponent.

	* src/rasqal_engine.c: remove debug NL

	* src/rasqal_query_transform.c:
	(rasqal_graph_pattern_move_constraints): When moving constraints,
	AND them with any existing constraints.

	* src/rasqal_rowsource_filter.c: remove debug NL that annoyed me
	again

	* src/rasqal_engine.c: remove debug NL that annoyed me

	* src/rasqal_general.c:
	(rasqal_uri_init): Tidy OOM during static library init

	* src/rasqal_query_transform.c:
	(rasqal_query_prepare_count_graph_patterns): No need for noisy OOM
	message.

2009-10-09  Dave Beckett <dave@dajobe.org>

	* src/rasqal_result_formats.c: autodocs

	* src/Makefile.am, src/rasqal_format_json.c (copied from
	/rasqal/trunk/src/rasqal_result_formats.c:15558),
	src/rasqal_internal.h, src/rasqal_result_formats.c: Move query
	result format JSON to new file rasqal_format_json.c

	* src/Makefile.am, src/rasqal_internal.h, src/rasqal_query.c,
	src/rasqal_query_write.c: Moved query serialization to SPARQL into
	new rasqal_query_write.c file.

	* src/rasqal_format_table.c:
	(rasqal_query_results_write_table): Use rasqal_literal_write and
	iostream to write formatted literal with type, datatype/lang etc.

	* tests/sparql/check-sparql: diff -u: it's my favourite diff option

2009-10-08  Dave Beckett <dave@dajobe.org>

	* utils/srxread.c: Code style.
	Add optional read and write result format args.

	* src/Makefile.am, src/rasqal_format_table.c,
	src/rasqal_internal.h, src/rasqal_result_formats.c: Added query
	result format 'table'

	* src/rasqal_internal.h: Make rasqal_query_results_get_current_row
	internal

	* src/rasqal_query_results.c:
	(rasqal_query_results_get_current_row): Make available to other
	modules, not public yet.
	(rasqal_query_results_get_bindings_count): Check for at least one
	row so that this works at start of results.

2009-10-01  Dave Beckett <dave@dajobe.org>

	* tests/sparql/test-suite-archive/data-r2/slice: Remove empty dir
	slice

	* tests/sparql/test-suite-archive/data-r2/syntax: Remove empty dir

	* tests/sparql/test-suite-archive/data-r2/*.*.bak:: Remove .bak
	files

	* tests/sparql/test-suite-archive/data-r2/foo,
	tests/sparql/test-suite-archive/data-r2/x: Remove junk files

	* tests/sparql/test-suite-archive/*: Remove svn:executable from
	data files

	* tests/sparql/test-suite-archive,
	  tests/sparql/test-suite-archive/README.html,
	  tests/sparql/test-suite-archive/data-r2,
	  tests/sparql/test-suite-archive/data-r2/LICENSE,
	  tests/sparql/test-suite-archive/data-r2/README,
	  tests/sparql/test-suite-archive/data-r2/algebra,
	  tests/sparql/test-suite-archive/data-r2/algebra/data-1.ttl,
	  tests/sparql/test-suite-archive/data-r2/algebra/data-2.ttl,
	  tests/sparql/test-suite-archive/data-r2/algebra/filter-nested-1.rq,
	  tests/sparql/test-suite-archive/data-r2/algebra/filter-nested-1.srx,
	  tests/sparql/test-suite-archive/data-r2/algebra/filter-nested-2.rq,
	  tests/sparql/test-suite-archive/data-r2/algebra/filter-nested-2.srx,
	  tests/sparql/test-suite-archive/data-r2/algebra/filter-placement-1.rq,
	  tests/sparql/test-suite-archive/data-r2/algebra/filter-placement-1.srx,
	  tests/sparql/test-suite-archive/data-r2/algebra/filter-placement-2.rq,
	  tests/sparql/test-suite-archive/data-r2/algebra/filter-placement-2.srx,
	  tests/sparql/test-suite-archive/data-r2/algebra/filter-placement-3.rq,
	  tests/sparql/test-suite-archive/data-r2/algebra/filter-placement-3.srx,
	  tests/sparql/test-suite-archive/data-r2/algebra/filter-scope-1.rq,
	  tests/sparql/test-suite-archive/data-r2/algebra/filter-scope-1.srx,
	  tests/sparql/test-suite-archive/data-r2/algebra/join-combo-1.rq,
	  tests/sparql/test-suite-archive/data-r2/algebra/join-combo-1.srx,
	  tests/sparql/test-suite-archive/data-r2/algebra/join-combo-2.rq,
	  tests/sparql/test-suite-archive/data-r2/algebra/join-combo-2.srx,
	  tests/sparql/test-suite-archive/data-r2/algebra/join-combo-graph-1.ttl,
	  tests/sparql/test-suite-archive/data-r2/algebra/join-combo-graph-2.ttl,
	  tests/sparql/test-suite-archive/data-r2/algebra/manifest.ttl,
	  tests/sparql/test-suite-archive/data-r2/algebra/manifest.ttl.bak,
	  tests/sparql/test-suite-archive/data-r2/algebra/opt-filter-1.rq,
	  tests/sparql/test-suite-archive/data-r2/algebra/opt-filter-1.srx,
	  tests/sparql/test-suite-archive/data-r2/algebra/opt-filter-1.ttl,
	  tests/sparql/test-suite-archive/data-r2/algebra/opt-filter-2.rq,
	  tests/sparql/test-suite-archive/data-r2/algebra/opt-filter-2.srx,
	  tests/sparql/test-suite-archive/data-r2/algebra/opt-filter-2.ttl,
	  tests/sparql/test-suite-archive/data-r2/algebra/opt-filter-3.rq,
	  tests/sparql/test-suite-archive/data-r2/algebra/opt-filter-3.srx,
	  tests/sparql/test-suite-archive/data-r2/algebra/opt-filter-3.ttl,
	  tests/sparql/test-suite-archive/data-r2/algebra/two-nested-opt-alt.rq,
	  tests/sparql/test-suite-archive/data-r2/algebra/two-nested-opt-alt.srx,
	  tests/sparql/test-suite-archive/data-r2/algebra/two-nested-opt.rq,
	  tests/sparql/test-suite-archive/data-r2/algebra/two-nested-opt.srx,
	  tests/sparql/test-suite-archive/data-r2/algebra/two-nested-opt.ttl,
	  tests/sparql/test-suite-archive/data-r2/algebra/var-scope-join-1.rq,
	  tests/sparql/test-suite-archive/data-r2/algebra/var-scope-join-1.srx,
	  tests/sparql/test-suite-archive/data-r2/algebra/var-scope-join-1.ttl,
	  tests/sparql/test-suite-archive/data-r2/algebra-expressions.txt,
	  tests/sparql/test-suite-archive/data-r2/ask,
	  tests/sparql/test-suite-archive/data-r2/ask/ask-1.rq,
	  tests/sparql/test-suite-archive/data-r2/ask/ask-1.srx,
	  tests/sparql/test-suite-archive/data-r2/ask/ask-4.rq,
	  tests/sparql/test-suite-archive/data-r2/ask/ask-4.srx,
	  tests/sparql/test-suite-archive/data-r2/ask/ask-7.rq,
	  tests/sparql/test-suite-archive/data-r2/ask/ask-7.srx,
	  tests/sparql/test-suite-archive/data-r2/ask/ask-8.rq,
	  tests/sparql/test-suite-archive/data-r2/ask/ask-8.srx,
	  tests/sparql/test-suite-archive/data-r2/ask/data.ttl,
	  tests/sparql/test-suite-archive/data-r2/ask/manifest.ttl,
	  tests/sparql/test-suite-archive/data-r2/ask/manifest.ttl.bak,
	  tests/sparql/test-suite-archive/data-r2/basic,
	  tests/sparql/test-suite-archive/data-r2/basic/base-prefix-1.rq,
	  tests/sparql/test-suite-archive/data-r2/basic/base-prefix-1.srx,
	  tests/sparql/test-suite-archive/data-r2/basic/base-prefix-2.rq,
	  tests/sparql/test-suite-archive/data-r2/basic/base-prefix-2.srx,
	  tests/sparql/test-suite-archive/data-r2/basic/base-prefix-3.rq,
	  tests/sparql/test-suite-archive/data-r2/basic/base-prefix-3.srx,
	  tests/sparql/test-suite-archive/data-r2/basic/base-prefix-4.rq,
	  tests/sparql/test-suite-archive/data-r2/basic/base-prefix-4.srx,
	  tests/sparql/test-suite-archive/data-r2/basic/base-prefix-5.rq,
	  tests/sparql/test-suite-archive/data-r2/basic/base-prefix-5.srx,
	  tests/sparql/test-suite-archive/data-r2/basic/bgp-no-match.rq,
	  tests/sparql/test-suite-archive/data-r2/basic/bgp-no-match.srx,
	  tests/sparql/test-suite-archive/data-r2/basic/data-1.ttl,
	  tests/sparql/test-suite-archive/data-r2/basic/data-2.ttl,
	  tests/sparql/test-suite-archive/data-r2/basic/data-3.ttl,
	  tests/sparql/test-suite-archive/data-r2/basic/data-4.ttl,
	  tests/sparql/test-suite-archive/data-r2/basic/data-5.ttl,
	  tests/sparql/test-suite-archive/data-r2/basic/data-6.ttl,
	  tests/sparql/test-suite-archive/data-r2/basic/data-7.ttl,
	  tests/sparql/test-suite-archive/data-r2/basic/list-1.rq,
	  tests/sparql/test-suite-archive/data-r2/basic/list-1.srx,
	  tests/sparql/test-suite-archive/data-r2/basic/list-2.rq,
	  tests/sparql/test-suite-archive/data-r2/basic/list-2.srx,
	  tests/sparql/test-suite-archive/data-r2/basic/list-3.rq,
	  tests/sparql/test-suite-archive/data-r2/basic/list-3.srx,
	  tests/sparql/test-suite-archive/data-r2/basic/list-4.rq,
	  tests/sparql/test-suite-archive/data-r2/basic/list-4.srx,
	  tests/sparql/test-suite-archive/data-r2/basic/manifest.ttl,
	  tests/sparql/test-suite-archive/data-r2/basic/manifest.ttl.bak,
	  tests/sparql/test-suite-archive/data-r2/basic/prefix-name-1.rq,
	  tests/sparql/test-suite-archive/data-r2/basic/prefix-name-1.srx,
	  tests/sparql/test-suite-archive/data-r2/basic/quotes-1.rq,
	  tests/sparql/test-suite-archive/data-r2/basic/quotes-1.srx,
	  tests/sparql/test-suite-archive/data-r2/basic/quotes-2.rq,
	  tests/sparql/test-suite-archive/data-r2/basic/quotes-2.srx,
	  tests/sparql/test-suite-archive/data-r2/basic/quotes-3.rq,
	  tests/sparql/test-suite-archive/data-r2/basic/quotes-3.srx,
	  tests/sparql/test-suite-archive/data-r2/basic/quotes-4.rq,
	  tests/sparql/test-suite-archive/data-r2/basic/quotes-4.srx,
	  tests/sparql/test-suite-archive/data-r2/basic/spoo-1.rq,
	  tests/sparql/test-suite-archive/data-r2/basic/spoo-1.srx,
	  tests/sparql/test-suite-archive/data-r2/basic/term-1.rq,
	  tests/sparql/test-suite-archive/data-r2/basic/term-1.srx,
	  tests/sparql/test-suite-archive/data-r2/basic/term-2.rq,
	  tests/sparql/test-suite-archive/data-r2/basic/term-2.srx,
	  tests/sparql/test-suite-archive/data-r2/basic/term-3.rq,
	  tests/sparql/test-suite-archive/data-r2/basic/term-3.srx,
	  tests/sparql/test-suite-archive/data-r2/basic/term-4.rq,
	  tests/sparql/test-suite-archive/data-r2/basic/term-4.srx,
	  tests/sparql/test-suite-archive/data-r2/basic/term-5.rq,
	  tests/sparql/test-suite-archive/data-r2/basic/term-5.srx,
	  tests/sparql/test-suite-archive/data-r2/basic/term-6.rq,
	  tests/sparql/test-suite-archive/data-r2/basic/term-6.srx,
	  tests/sparql/test-suite-archive/data-r2/basic/term-7.rq,
	  tests/sparql/test-suite-archive/data-r2/basic/term-7.srx,
	  tests/sparql/test-suite-archive/data-r2/basic/term-8.rq,
	  tests/sparql/test-suite-archive/data-r2/basic/term-8.srx,
	  tests/sparql/test-suite-archive/data-r2/basic/term-9.rq,
	  tests/sparql/test-suite-archive/data-r2/basic/term-9.srx,
	  tests/sparql/test-suite-archive/data-r2/basic/var-1.rq,
	  tests/sparql/test-suite-archive/data-r2/basic/var-1.srx,
	  tests/sparql/test-suite-archive/data-r2/basic/var-2.rq,
	  tests/sparql/test-suite-archive/data-r2/basic/var-2.srx,
	  tests/sparql/test-suite-archive/data-r2/bnode-coreference,
	  tests/sparql/test-suite-archive/data-r2/bnode-coreference/data.ttl,
	  tests/sparql/test-suite-archive/data-r2/bnode-coreference/manifest.ttl,
	  tests/sparql/test-suite-archive/data-r2/bnode-coreference/manifest.ttl.bak,
	  tests/sparql/test-suite-archive/data-r2/bnode-coreference/query.rq,
	  tests/sparql/test-suite-archive/data-r2/bnode-coreference/result.ttl,
	  tests/sparql/test-suite-archive/data-r2/boolean-effective-value,
	  tests/sparql/test-suite-archive/data-r2/boolean-effective-value/data-1.ttl,
	  tests/sparql/test-suite-archive/data-r2/boolean-effective-value/data-2.ttl,
	  tests/sparql/test-suite-archive/data-r2/boolean-effective-value/manifest.ttl,
	  tests/sparql/test-suite-archive/data-r2/boolean-effective-value/manifest.ttl.bak,
	  tests/sparql/test-suite-archive/data-r2/boolean-effective-value/query-bev-1.rq,
	  tests/sparql/test-suite-archive/data-r2/boolean-effective-value/query-bev-2.rq,
	  tests/sparql/test-suite-archive/data-r2/boolean-effective-value/query-bev-3.rq,
	  tests/sparql/test-suite-archive/data-r2/boolean-effective-value/query-bev-4.rq,
	  tests/sparql/test-suite-archive/data-r2/boolean-effective-value/query-bev-5.rq,
	  tests/sparql/test-suite-archive/data-r2/boolean-effective-value/query-bev-6.rq,
	  tests/sparql/test-suite-archive/data-r2/boolean-effective-value/query-boolean-literal.rq,
	  tests/sparql/test-suite-archive/data-r2/boolean-effective-value/result-bev-1.ttl,
	  tests/sparql/test-suite-archive/data-r2/boolean-effective-value/result-bev-2.ttl,
	  tests/sparql/test-suite-archive/data-r2/boolean-effective-value/result-bev-3.ttl,
	  tests/sparql/test-suite-archive/data-r2/boolean-effective-value/result-bev-4.ttl,
	  tests/sparql/test-suite-archive/data-r2/boolean-effective-value/result-bev-5.ttl,
	  tests/sparql/test-suite-archive/data-r2/boolean-effective-value/result-bev-6.ttl,
	  tests/sparql/test-suite-archive/data-r2/boolean-effective-value/result-boolean-literal.ttl,
	  tests/sparql/test-suite-archive/data-r2/bound,
	  tests/sparql/test-suite-archive/data-r2/bound/bound1-result.ttl,
	  tests/sparql/test-suite-archive/data-r2/bound/bound1.rq,
	  tests/sparql/test-suite-archive/data-r2/bound/data.ttl,
	  tests/sparql/test-suite-archive/data-r2/bound/manifest.ttl,
	  tests/sparql/test-suite-archive/data-r2/bound/manifest.ttl.bak,
	  tests/sparql/test-suite-archive/data-r2/cast,
	  tests/sparql/test-suite-archive/data-r2/cast/cast-bool.rq,
	  tests/sparql/test-suite-archive/data-r2/cast/cast-bool.srx,
	  tests/sparql/test-suite-archive/data-r2/cast/cast-dT.rq,
	  tests/sparql/test-suite-archive/data-r2/cast/cast-dT.srx,
	  tests/sparql/test-suite-archive/data-r2/cast/cast-dbl.rq,
	  tests/sparql/test-suite-archive/data-r2/cast/cast-dbl.srx,
	  tests/sparql/test-suite-archive/data-r2/cast/cast-dec.rq,
	  tests/sparql/test-suite-archive/data-r2/cast/cast-dec.srx,
	  tests/sparql/test-suite-archive/data-r2/cast/cast-flt.rq,
	  tests/sparql/test-suite-archive/data-r2/cast/cast-flt.srx,
	  tests/sparql/test-suite-archive/data-r2/cast/cast-int.rq,
	  tests/sparql/test-suite-archive/data-r2/cast/cast-int.srx,
	  tests/sparql/test-suite-archive/data-r2/cast/cast-str.rq,
	  tests/sparql/test-suite-archive/data-r2/cast/cast-str.srx,
	  tests/sparql/test-suite-archive/data-r2/cast/data.ttl,
	  tests/sparql/test-suite-archive/data-r2/cast/manifest.ttl,
	  tests/sparql/test-suite-archive/data-r2/construct,
	  tests/sparql/test-suite-archive/data-r2/construct/data-ident.ttl,
	  tests/sparql/test-suite-archive/data-r2/construct/data-opt.ttl,
	  tests/sparql/test-suite-archive/data-r2/construct/data-reif.ttl,
	  tests/sparql/test-suite-archive/data-r2/construct/manifest.ttl,
	  tests/sparql/test-suite-archive/data-r2/construct/manifest.ttl.bak,
	  tests/sparql/test-suite-archive/data-r2/construct/query-construct-optional.rq,
	  tests/sparql/test-suite-archive/data-r2/construct/query-ident.rq,
	  tests/sparql/test-suite-archive/data-r2/construct/query-reif-1.rq,
	  tests/sparql/test-suite-archive/data-r2/construct/query-reif-2.rq,
	  tests/sparql/test-suite-archive/data-r2/construct/query-subgraph.rq,
	  tests/sparql/test-suite-archive/data-r2/construct/result-construct-optional.ttl,
	  tests/sparql/test-suite-archive/data-r2/construct/result-ident.ttl,
	  tests/sparql/test-suite-archive/data-r2/construct/result-reif.ttl,
	  tests/sparql/test-suite-archive/data-r2/construct/result-subgraph.ttl,
	  tests/sparql/test-suite-archive/data-r2/dataset,
	  tests/sparql/test-suite-archive/data-r2/dataset/data-g1-dup.ttl,
	  tests/sparql/test-suite-archive/data-r2/dataset/data-g1.ttl,
	  tests/sparql/test-suite-archive/data-r2/dataset/data-g2-dup.ttl,
	  tests/sparql/test-suite-archive/data-r2/dataset/data-g2.ttl,
	  tests/sparql/test-suite-archive/data-r2/dataset/data-g3-dup.ttl,
	  tests/sparql/test-suite-archive/data-r2/dataset/data-g3.ttl,
	  tests/sparql/test-suite-archive/data-r2/dataset/data-g4-dup.ttl,
	  tests/sparql/test-suite-archive/data-r2/dataset/data-g4.ttl,
	  tests/sparql/test-suite-archive/data-r2/dataset/dataset-01.rq,
	  tests/sparql/test-suite-archive/data-r2/dataset/dataset-01.ttl,
	  tests/sparql/test-suite-archive/data-r2/dataset/dataset-02.rq,
	  tests/sparql/test-suite-archive/data-r2/dataset/dataset-02.ttl,
	  tests/sparql/test-suite-archive/data-r2/dataset/dataset-03.rq,
	  tests/sparql/test-suite-archive/data-r2/dataset/dataset-03.ttl,
	  tests/sparql/test-suite-archive/data-r2/dataset/dataset-04.rq,
	  tests/sparql/test-suite-archive/data-r2/dataset/dataset-04.ttl,
	  tests/sparql/test-suite-archive/data-r2/dataset/dataset-05.rq,
	  tests/sparql/test-suite-archive/data-r2/dataset/dataset-05.ttl,
	  tests/sparql/test-suite-archive/data-r2/dataset/dataset-06.rq,
	  tests/sparql/test-suite-archive/data-r2/dataset/dataset-06.ttl,
	  tests/sparql/test-suite-archive/data-r2/dataset/dataset-07.rq,
	  tests/sparql/test-suite-archive/data-r2/dataset/dataset-07.ttl,
	  tests/sparql/test-suite-archive/data-r2/dataset/dataset-08.rq,
	  tests/sparql/test-suite-archive/data-r2/dataset/dataset-08.ttl,
	  tests/sparql/test-suite-archive/data-r2/dataset/dataset-09.rq,
	  tests/sparql/test-suite-archive/data-r2/dataset/dataset-09.ttl,
	  tests/sparql/test-suite-archive/data-r2/dataset/dataset-09b.rq,
	  tests/sparql/test-suite-archive/data-r2/dataset/dataset-10.rq,
	  tests/sparql/test-suite-archive/data-r2/dataset/dataset-10.ttl,
	  tests/sparql/test-suite-archive/data-r2/dataset/dataset-10b.rq,
	  tests/sparql/test-suite-archive/data-r2/dataset/dataset-11.rq,
	  tests/sparql/test-suite-archive/data-r2/dataset/dataset-11.ttl,
	  tests/sparql/test-suite-archive/data-r2/dataset/dataset-12.rq,
	  tests/sparql/test-suite-archive/data-r2/dataset/dataset-12.ttl,
	  tests/sparql/test-suite-archive/data-r2/dataset/dataset-12b.rq,
	  tests/sparql/test-suite-archive/data-r2/dataset/manifest.ttl,
	  tests/sparql/test-suite-archive/data-r2/dataset/manifest.ttl.bak,
	  tests/sparql/test-suite-archive/data-r2/distinct,
	  tests/sparql/test-suite-archive/data-r2/distinct/data-all.ttl,
	  tests/sparql/test-suite-archive/data-r2/distinct/data-node.ttl,
	  tests/sparql/test-suite-archive/data-r2/distinct/data-num.ttl,
	  tests/sparql/test-suite-archive/data-r2/distinct/data-opt.ttl,
	  tests/sparql/test-suite-archive/data-r2/distinct/data-star.ttl,
	  tests/sparql/test-suite-archive/data-r2/distinct/data-str.ttl,
	  tests/sparql/test-suite-archive/data-r2/distinct/distinct-1-results.srx,
	  tests/sparql/test-suite-archive/data-r2/distinct/distinct-1.rq,
	  tests/sparql/test-suite-archive/data-r2/distinct/distinct-2.rq,
	  tests/sparql/test-suite-archive/data-r2/distinct/distinct-all.srx,
	  tests/sparql/test-suite-archive/data-r2/distinct/distinct-node.srx,
	  tests/sparql/test-suite-archive/data-r2/distinct/distinct-num.srx,
	  tests/sparql/test-suite-archive/data-r2/distinct/distinct-opt.srx,
	  tests/sparql/test-suite-archive/data-r2/distinct/distinct-star-1.rq,
	  tests/sparql/test-suite-archive/data-r2/distinct/distinct-star-1.srx,
	  tests/sparql/test-suite-archive/data-r2/distinct/distinct-str.srx,
	  tests/sparql/test-suite-archive/data-r2/distinct/manifest.ttl,
	  tests/sparql/test-suite-archive/data-r2/distinct/manifest.ttl.bak,
	  tests/sparql/test-suite-archive/data-r2/distinct/no-distinct-1.rq,
	  tests/sparql/test-suite-archive/data-r2/distinct/no-distinct-2.rq,
	  tests/sparql/test-suite-archive/data-r2/distinct/no-distinct-all.srx,
	  tests/sparql/test-suite-archive/data-r2/distinct/no-distinct-node.srx,
	  tests/sparql/test-suite-archive/data-r2/distinct/no-distinct-num.srx,
	  tests/sparql/test-suite-archive/data-r2/distinct/no-distinct-opt.srx,
	  tests/sparql/test-suite-archive/data-r2/distinct/no-distinct-str.srx,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/data-builtin-1.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/data-builtin-2.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/data-langMatches-de.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/data-langMatches.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/lang-case-insensitive-eq.srx,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/lang-case-insensitive-ne.srx,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/lang-case-sensitivity-eq.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/lang-case-sensitivity-ne.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/lang-case-sensitivity.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/manifest.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/manifest.ttl.bak,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/q-blank-1.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/q-datatype-1.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/q-datatype-2.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/q-datatype-3.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/q-iri-1.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/q-isliteral-1.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/q-lang-1.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/q-lang-2.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/q-lang-3.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/q-langMatches-1.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/q-langMatches-2.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/q-langMatches-3.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/q-langMatches-4.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/q-langMatches-de-de.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/q-str-1.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/q-str-2.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/q-str-3.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/q-str-4.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/q-uri-1.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/result-blank-1.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/result-datatype-1.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/result-datatype-2.srx,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/result-datatype-3.srx,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/result-iri-1.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/result-isliteral-1.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/result-lang-1.srx,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/result-lang-2.srx,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/result-lang-3.srx,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/result-langMatches-1.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/result-langMatches-2.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/result-langMatches-3.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/result-langMatches-4.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/result-langMatches-de.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/result-sameTerm-eq.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/result-sameTerm-not-eq.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/result-sameTerm.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/result-str-1.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/result-str-2.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/result-str-3.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/result-str-4.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/result-uri-1.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/sameTerm-eq.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/sameTerm-not-eq.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-builtin/sameTerm.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-equals,
	  tests/sparql/test-suite-archive/data-r2/expr-equals/data-eq.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-equals/manifest.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-equals/manifest.ttl.bak,
	  tests/sparql/test-suite-archive/data-r2/expr-equals/query-eq-1.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-equals/query-eq-2.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-equals/query-eq-3.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-equals/query-eq-4.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-equals/query-eq-5.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-equals/query-eq-graph-1.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-equals/query-eq-graph-2.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-equals/query-eq-graph-3.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-equals/query-eq-graph-4.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-equals/query-eq-graph-5.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-equals/query-eq2-1.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-equals/query-eq2-2.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-equals/query-eq2-graph-1.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-equals/result-eq-1.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-equals/result-eq-2.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-equals/result-eq-3.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-equals/result-eq-4.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-equals/result-eq-5.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-equals/result-eq-graph-1.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-equals/result-eq-graph-2.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-equals/result-eq-graph-3.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-equals/result-eq-graph-4.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-equals/result-eq-graph-5.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-equals/result-eq2-1.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-equals/result-eq2-2.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-equals/result-eq2-graph-1.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-ops,
	  tests/sparql/test-suite-archive/data-r2/expr-ops/data.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-ops/manifest.ttl,
	  tests/sparql/test-suite-archive/data-r2/expr-ops/manifest.ttl.bak,
	  tests/sparql/test-suite-archive/data-r2/expr-ops/query-ge-1.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-ops/query-le-1.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-ops/query-minus-1.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-ops/query-mul-1.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-ops/query-plus-1.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-ops/query-unminus-1.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-ops/query-unplus-1.rq,
	  tests/sparql/test-suite-archive/data-r2/expr-ops/result-ge-1.srx,
	  tests/sparql/test-suite-archive/data-r2/expr-ops/result-le-1.srx,
	  tests/sparql/test-suite-archive/data-r2/expr-ops/result-minus-1.srx,
	  tests/sparql/test-suite-archive/data-r2/expr-ops/result-mul-1.srx,
	  tests/sparql/test-suite-archive/data-r2/expr-ops/result-plus-1.srx,
	  tests/sparql/test-suite-archive/data-r2/expr-ops/result-unminus-1.srx,
	  tests/sparql/test-suite-archive/data-r2/expr-ops/result-unplus-1.srx,
	  tests/sparql/test-suite-archive/data-r2/extended-manifest-evaluation.ttl,
	  tests/sparql/test-suite-archive/data-r2/files-to-fix,
	  tests/sparql/test-suite-archive/data-r2/foo,
	  tests/sparql/test-suite-archive/data-r2/graph,
	  tests/sparql/test-suite-archive/data-r2/graph/data-g1.ttl,
	  tests/sparql/test-suite-archive/data-r2/graph/data-g2.ttl,
	  tests/sparql/test-suite-archive/data-r2/graph/data-g3-dup.ttl,
	  tests/sparql/test-suite-archive/data-r2/graph/data-g3.ttl,
	  tests/sparql/test-suite-archive/data-r2/graph/data-g4.ttl,
	  tests/sparql/test-suite-archive/data-r2/graph/graph-01.rq,
	  tests/sparql/test-suite-archive/data-r2/graph/graph-01.ttl,
	  tests/sparql/test-suite-archive/data-r2/graph/graph-02.rq,
	  tests/sparql/test-suite-archive/data-r2/graph/graph-02.ttl,
	  tests/sparql/test-suite-archive/data-r2/graph/graph-03.rq,
	  tests/sparql/test-suite-archive/data-r2/graph/graph-03.ttl,
	  tests/sparql/test-suite-archive/data-r2/graph/graph-04.rq,
	  tests/sparql/test-suite-archive/data-r2/graph/graph-04.ttl,
	  tests/sparql/test-suite-archive/data-r2/graph/graph-05.rq,
	  tests/sparql/test-suite-archive/data-r2/graph/graph-05.ttl,
	  tests/sparql/test-suite-archive/data-r2/graph/graph-06.rq,
	  tests/sparql/test-suite-archive/data-r2/graph/graph-06.ttl,
	  tests/sparql/test-suite-archive/data-r2/graph/graph-07.rq,
	  tests/sparql/test-suite-archive/data-r2/graph/graph-07.ttl,
	  tests/sparql/test-suite-archive/data-r2/graph/graph-08.rq,
	  tests/sparql/test-suite-archive/data-r2/graph/graph-08.ttl,
	  tests/sparql/test-suite-archive/data-r2/graph/graph-09.rq,
	  tests/sparql/test-suite-archive/data-r2/graph/graph-09.ttl,
	  tests/sparql/test-suite-archive/data-r2/graph/graph-10.rq,
	  tests/sparql/test-suite-archive/data-r2/graph/graph-10.ttl,
	  tests/sparql/test-suite-archive/data-r2/graph/graph-11.rq,
	  tests/sparql/test-suite-archive/data-r2/graph/graph-11.ttl,
	  tests/sparql/test-suite-archive/data-r2/graph/manifest.ttl,
	  tests/sparql/test-suite-archive/data-r2/graph/manifest.ttl.bak,
	  tests/sparql/test-suite-archive/data-r2/i18n,
	  tests/sparql/test-suite-archive/data-r2/i18n/.htaccess,
	  tests/sparql/test-suite-archive/data-r2/i18n/kanji-01-results.ttl,
	  tests/sparql/test-suite-archive/data-r2/i18n/kanji-01.rq,
	  tests/sparql/test-suite-archive/data-r2/i18n/kanji-02-results.ttl,
	  tests/sparql/test-suite-archive/data-r2/i18n/kanji-02.rq,
	  tests/sparql/test-suite-archive/data-r2/i18n/kanji.ttl,
	  tests/sparql/test-suite-archive/data-r2/i18n/manifest.ttl,
	  tests/sparql/test-suite-archive/data-r2/i18n/manifest.ttl.bak,
	  tests/sparql/test-suite-archive/data-r2/i18n/normalization-01-results.ttl,
	  tests/sparql/test-suite-archive/data-r2/i18n/normalization-01.rq,
	  tests/sparql/test-suite-archive/data-r2/i18n/normalization-01.ttl,
	  tests/sparql/test-suite-archive/data-r2/i18n/normalization-02-results.ttl,
	  tests/sparql/test-suite-archive/data-r2/i18n/normalization-02.rq,
	  tests/sparql/test-suite-archive/data-r2/i18n/normalization-02.ttl,
	  tests/sparql/test-suite-archive/data-r2/i18n/normalization-03-results.ttl,
	  tests/sparql/test-suite-archive/data-r2/i18n/normalization-03.rq,
	  tests/sparql/test-suite-archive/data-r2/i18n/normalization-03.ttl,
	  tests/sparql/test-suite-archive/data-r2/manifest-evaluation.ttl,
	  tests/sparql/test-suite-archive/data-r2/manifest-syntax.ttl,
	  tests/sparql/test-suite-archive/data-r2/open-world,
	  tests/sparql/test-suite-archive/data-r2/open-world/data-1.ttl,
	  tests/sparql/test-suite-archive/data-r2/open-world/data-2.ttl,
	  tests/sparql/test-suite-archive/data-r2/open-world/data-3.ttl,
	  tests/sparql/test-suite-archive/data-r2/open-world/data-4.ttl,
	  tests/sparql/test-suite-archive/data-r2/open-world/date-1-result.srx,
	  tests/sparql/test-suite-archive/data-r2/open-world/date-1.rq,
	  tests/sparql/test-suite-archive/data-r2/open-world/date-2-result.srx,
	  tests/sparql/test-suite-archive/data-r2/open-world/date-2.rq,
	  tests/sparql/test-suite-archive/data-r2/open-world/date-3-result.srx,
	  tests/sparql/test-suite-archive/data-r2/open-world/date-3.rq,
	  tests/sparql/test-suite-archive/data-r2/open-world/date-4-result.srx,
	  tests/sparql/test-suite-archive/data-r2/open-world/date-4.rq,
	  tests/sparql/test-suite-archive/data-r2/open-world/manifest.ttl,
	  tests/sparql/test-suite-archive/data-r2/open-world/manifest.ttl.bak,
	  tests/sparql/test-suite-archive/data-r2/open-world/open-cmp-01-result.srx,
	  tests/sparql/test-suite-archive/data-r2/open-world/open-cmp-01.rq,
	  tests/sparql/test-suite-archive/data-r2/open-world/open-cmp-02-result.srx,
	  tests/sparql/test-suite-archive/data-r2/open-world/open-cmp-02.rq,
	  tests/sparql/test-suite-archive/data-r2/open-world/open-eq-01-result.srx,
	  tests/sparql/test-suite-archive/data-r2/open-world/open-eq-01.rq,
	  tests/sparql/test-suite-archive/data-r2/open-world/open-eq-02-result.srx,
	  tests/sparql/test-suite-archive/data-r2/open-world/open-eq-02.rq,
	  tests/sparql/test-suite-archive/data-r2/open-world/open-eq-03-result.srx,
	  tests/sparql/test-suite-archive/data-r2/open-world/open-eq-03.rq,
	  tests/sparql/test-suite-archive/data-r2/open-world/open-eq-04-result.srx,
	  tests/sparql/test-suite-archive/data-r2/open-world/open-eq-04.rq,
	  tests/sparql/test-suite-archive/data-r2/open-world/open-eq-05-result.srx,
	  tests/sparql/test-suite-archive/data-r2/open-world/open-eq-05.rq,
	  tests/sparql/test-suite-archive/data-r2/open-world/open-eq-06-result.srx,
	  tests/sparql/test-suite-archive/data-r2/open-world/open-eq-06.rq,
	  tests/sparql/test-suite-archive/data-r2/open-world/open-eq-07-result.srx,
	  tests/sparql/test-suite-archive/data-r2/open-world/open-eq-07.rq,
	  tests/sparql/test-suite-archive/data-r2/open-world/open-eq-08-result.srx,
	  tests/sparql/test-suite-archive/data-r2/open-world/open-eq-08.rq,
	  tests/sparql/test-suite-archive/data-r2/open-world/open-eq-09-result.srx,
	  tests/sparql/test-suite-archive/data-r2/open-world/open-eq-09.rq,
	  tests/sparql/test-suite-archive/data-r2/open-world/open-eq-10-result.srx,
	  tests/sparql/test-suite-archive/data-r2/open-world/open-eq-10.rq,
	  tests/sparql/test-suite-archive/data-r2/open-world/open-eq-11-result.srx,
	  tests/sparql/test-suite-archive/data-r2/open-world/open-eq-11.rq,
	  tests/sparql/test-suite-archive/data-r2/open-world/open-eq-12-result.srx,
	  tests/sparql/test-suite-archive/data-r2/open-world/open-eq-12.rq,
	  tests/sparql/test-suite-archive/data-r2/open-world/sameTerm-StringSimpleLiteralCmp.srx,
	  tests/sparql/test-suite-archive/data-r2/open-world/sameTerm-eq-StringSimpleLiteralCmp.srx,
	  tests/sparql/test-suite-archive/data-r2/open-world/sameTerm-eq.srx,
	  tests/sparql/test-suite-archive/data-r2/open-world/sameTerm-manifest.ttl,
	  tests/sparql/test-suite-archive/data-r2/open-world/sameTerm-not-eq-StringSimpleLiteralCmp.srx,
	  tests/sparql/test-suite-archive/data-r2/open-world/sameTerm-not-eq.srx,
	  tests/sparql/test-suite-archive/data-r2/open-world/sameTerm.srx,
	  tests/sparql/test-suite-archive/data-r2/open-world/sameTerm.ttl,
	  tests/sparql/test-suite-archive/data-r2/optional,
	  tests/sparql/test-suite-archive/data-r2/optional/complex-data-1.ttl,
	  tests/sparql/test-suite-archive/data-r2/optional/complex-data-2.ttl,
	  tests/sparql/test-suite-archive/data-r2/optional/data.ttl,
	  tests/sparql/test-suite-archive/data-r2/optional/manifest.ttl,
	  tests/sparql/test-suite-archive/data-r2/optional/manifest.ttl.bak,
	  tests/sparql/test-suite-archive/data-r2/optional/q-opt-1.rq,
	  tests/sparql/test-suite-archive/data-r2/optional/q-opt-2.rq,
	  tests/sparql/test-suite-archive/data-r2/optional/q-opt-3.rq,
	  tests/sparql/test-suite-archive/data-r2/optional/q-opt-complex-1.rq,
	  tests/sparql/test-suite-archive/data-r2/optional/q-opt-complex-2.rq,
	  tests/sparql/test-suite-archive/data-r2/optional/q-opt-complex-3.rq,
	  tests/sparql/test-suite-archive/data-r2/optional/q-opt-complex-4.rq,
	  tests/sparql/test-suite-archive/data-r2/optional/result-opt-1.ttl,
	  tests/sparql/test-suite-archive/data-r2/optional/result-opt-2.ttl,
	  tests/sparql/test-suite-archive/data-r2/optional/result-opt-3.ttl,
	  tests/sparql/test-suite-archive/data-r2/optional/result-opt-complex-1.ttl,
	  tests/sparql/test-suite-archive/data-r2/optional/result-opt-complex-2.ttl,
	  tests/sparql/test-suite-archive/data-r2/optional/result-opt-complex-3.ttl,
	  tests/sparql/test-suite-archive/data-r2/optional/result-opt-complex-4.ttl,
	  tests/sparql/test-suite-archive/data-r2/optional-filter,
	  tests/sparql/test-suite-archive/data-r2/optional-filter/data-1.ttl,
	  tests/sparql/test-suite-archive/data-r2/optional-filter/expr-1-result.ttl,
	  tests/sparql/test-suite-archive/data-r2/optional-filter/expr-1.rq,
	  tests/sparql/test-suite-archive/data-r2/optional-filter/expr-2-result.ttl,
	  tests/sparql/test-suite-archive/data-r2/optional-filter/expr-2.rq,
	  tests/sparql/test-suite-archive/data-r2/optional-filter/expr-3-result.ttl,
	  tests/sparql/test-suite-archive/data-r2/optional-filter/expr-3.rq,
	  tests/sparql/test-suite-archive/data-r2/optional-filter/expr-4-result.ttl,
	  tests/sparql/test-suite-archive/data-r2/optional-filter/expr-4.rq,
	  tests/sparql/test-suite-archive/data-r2/optional-filter/expr-5-result-not-simplified.ttl,
	  tests/sparql/test-suite-archive/data-r2/optional-filter/expr-5-result-simplified.ttl,
	  tests/sparql/test-suite-archive/data-r2/optional-filter/expr-5.rq,
	  tests/sparql/test-suite-archive/data-r2/optional-filter/manifest.ttl,
	  tests/sparql/test-suite-archive/data-r2/optional-filter/manifest.ttl.bak,
	  tests/sparql/test-suite-archive/data-r2/reduced,
	  tests/sparql/test-suite-archive/data-r2/reduced/manifest.ttl,
	  tests/sparql/test-suite-archive/data-r2/reduced/reduced-1.rq,
	  tests/sparql/test-suite-archive/data-r2/reduced/reduced-1.srx,
	  tests/sparql/test-suite-archive/data-r2/reduced/reduced-2.rq,
	  tests/sparql/test-suite-archive/data-r2/reduced/reduced-2.srx,
	  tests/sparql/test-suite-archive/data-r2/reduced/reduced-star.ttl,
	  tests/sparql/test-suite-archive/data-r2/reduced/reduced-str.ttl,
	  tests/sparql/test-suite-archive/data-r2/regex/manifest.ttl,
	  tests/sparql/test-suite-archive/data-r2/regex/regex-data-01.ttl,
	  tests/sparql/test-suite-archive/data-r2/regex/regex-query-001.rq,
	  tests/sparql/test-suite-archive/data-r2/regex/regex-query-002.rq,
	  tests/sparql/test-suite-archive/data-r2/regex/regex-query-003.rq,
	  tests/sparql/test-suite-archive/data-r2/regex/regex-query-004.rq,
	  tests/sparql/test-suite-archive/data-r2/regex/regex-result-001.ttl,
	  tests/sparql/test-suite-archive/data-r2/regex/regex-result-002.ttl,
	  tests/sparql/test-suite-archive/data-r2/regex/regex-result-003.ttl,
	  tests/sparql/test-suite-archive/data-r2/regex/regex-result-004.ttl,
	  tests/sparql/test-suite-archive/data-r2/run-tests,
	  tests/sparql/test-suite-archive/data-r2/solution-seq/data.ttl,
	  tests/sparql/test-suite-archive/data-r2/solution-seq/manifest.ttl,
	  tests/sparql/test-suite-archive/data-r2/solution-seq/slice-01.rq,
	  tests/sparql/test-suite-archive/data-r2/solution-seq/slice-02.rq,
	  tests/sparql/test-suite-archive/data-r2/solution-seq/slice-03.rq,
	  tests/sparql/test-suite-archive/data-r2/solution-seq/slice-04.rq,
	  tests/sparql/test-suite-archive/data-r2/solution-seq/slice-10.rq,
	  tests/sparql/test-suite-archive/data-r2/solution-seq/slice-11.rq,
	  tests/sparql/test-suite-archive/data-r2/solution-seq/slice-12.rq,
	  tests/sparql/test-suite-archive/data-r2/solution-seq/slice-13.rq,
	  tests/sparql/test-suite-archive/data-r2/solution-seq/slice-20.rq,
	  tests/sparql/test-suite-archive/data-r2/solution-seq/slice-21.rq,
	  tests/sparql/test-suite-archive/data-r2/solution-seq/slice-22.rq,
	  tests/sparql/test-suite-archive/data-r2/solution-seq/slice-23.rq,
	  tests/sparql/test-suite-archive/data-r2/solution-seq/slice-24.rq,
	  tests/sparql/test-suite-archive/data-r2/solution-seq/slice-results-01.ttl,
	  tests/sparql/test-suite-archive/data-r2/solution-seq/slice-results-02.ttl,
	  tests/sparql/test-suite-archive/data-r2/solution-seq/slice-results-03.ttl,
	  tests/sparql/test-suite-archive/data-r2/solution-seq/slice-results-04.ttl,
	  tests/sparql/test-suite-archive/data-r2/solution-seq/slice-results-10.ttl,
	  tests/sparql/test-suite-archive/data-r2/solution-seq/slice-results-11.ttl,
	  tests/sparql/test-suite-archive/data-r2/solution-seq/slice-results-12.ttl,
	  tests/sparql/test-suite-archive/data-r2/solution-seq/slice-results-13.ttl,
	  tests/sparql/test-suite-archive/data-r2/solution-seq/slice-results-20.ttl,
	  tests/sparql/test-suite-archive/data-r2/solution-seq/slice-results-21.ttl,
	  tests/sparql/test-suite-archive/data-r2/solution-seq/slice-results-22.ttl,
	  tests/sparql/test-suite-archive/data-r2/solution-seq/slice-results-23.ttl,
	  tests/sparql/test-suite-archive/data-r2/solution-seq/slice-results-24.ttl,
	  tests/sparql/test-suite-archive/data-r2/sort/.manifest.ttl.swp,
	  tests/sparql/test-suite-archive/data-r2/sort/data-sort-1.ttl,
	  tests/sparql/test-suite-archive/data-r2/sort/data-sort-11.ttl,
	  tests/sparql/test-suite-archive/data-r2/sort/data-sort-3.ttl,
	  tests/sparql/test-suite-archive/data-r2/sort/data-sort-4.ttl,
	  tests/sparql/test-suite-archive/data-r2/sort/data-sort-6.ttl,
	  tests/sparql/test-suite-archive/data-r2/sort/data-sort-7.ttl,
	  tests/sparql/test-suite-archive/data-r2/sort/data-sort-8.ttl,
	  tests/sparql/test-suite-archive/data-r2/sort/data-sort-9.ttl,
	  tests/sparql/test-suite-archive/data-r2/sort/data-sort-builtin.ttl,
	  tests/sparql/test-suite-archive/data-r2/sort/data-sort-function.ttl,
	  tests/sparql/test-suite-archive/data-r2/sort/data-sort-numbers.ttl,
	  tests/sparql/test-suite-archive/data-r2/sort/extended-manifest.ttl,
	  tests/sparql/test-suite-archive/data-r2/sort/manifest.ttl,
	  tests/sparql/test-suite-archive/data-r2/sort/query-sort-1.rq,
	  tests/sparql/test-suite-archive/data-r2/sort/query-sort-10.rq,
	  tests/sparql/test-suite-archive/data-r2/sort/query-sort-2.rq,
	  tests/sparql/test-suite-archive/data-r2/sort/query-sort-3.rq,
	  tests/sparql/test-suite-archive/data-r2/sort/query-sort-4.rq,
	  tests/sparql/test-suite-archive/data-r2/sort/query-sort-5.rq,
	  tests/sparql/test-suite-archive/data-r2/sort/query-sort-6.rq,
	  tests/sparql/test-suite-archive/data-r2/sort/query-sort-9.rq,
	  tests/sparql/test-suite-archive/data-r2/sort/query-sort-builtin.rq,
	  tests/sparql/test-suite-archive/data-r2/sort/query-sort-function.rq,
	  tests/sparql/test-suite-archive/data-r2/sort/query-sort-numbers.rq,
	  tests/sparql/test-suite-archive/data-r2/sort/result-sort-1.rdf,
	  tests/sparql/test-suite-archive/data-r2/sort/result-sort-10.rdf,
	  tests/sparql/test-suite-archive/data-r2/sort/result-sort-11.ttl,
	  tests/sparql/test-suite-archive/data-r2/sort/result-sort-2.rdf,
	  tests/sparql/test-suite-archive/data-r2/sort/result-sort-3.rdf,
	  tests/sparql/test-suite-archive/data-r2/sort/result-sort-4.rdf,
	  tests/sparql/test-suite-archive/data-r2/sort/result-sort-5.rdf,
	  tests/sparql/test-suite-archive/data-r2/sort/result-sort-6.rdf,
	  tests/sparql/test-suite-archive/data-r2/sort/result-sort-7.rdf,
	  tests/sparql/test-suite-archive/data-r2/sort/result-sort-8.rdf,
	  tests/sparql/test-suite-archive/data-r2/sort/result-sort-9.rdf,
	  tests/sparql/test-suite-archive/data-r2/sort/result-sort-builtin.ttl,
	  tests/sparql/test-suite-archive/data-r2/sort/result-sort-function.ttl,
	  tests/sparql/test-suite-archive/data-r2/sort/result-sort-numbers.ttl,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/manifest.ttl,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-basic-01.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-basic-02.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-basic-03.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-basic-04.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-basic-05.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-basic-06.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-bnodes-01.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-bnodes-02.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-bnodes-03.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-bnodes-04.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-bnodes-05.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-expr-01.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-expr-02.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-expr-03.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-expr-04.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-expr-05.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-forms-01.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-forms-02.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-limit-offset-01.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-limit-offset-02.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-limit-offset-03.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-limit-offset-04.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-lists-01.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-lists-02.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-lists-03.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-lists-04.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-lists-05.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-lit-01.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-lit-02.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-lit-03.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-lit-04.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-lit-05.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-lit-06.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-lit-07.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-lit-08.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-lit-09.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-lit-10.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-lit-11.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-lit-12.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-lit-13.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-lit-14.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-lit-15.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-lit-16.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-lit-17.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-lit-18.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-lit-19.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-lit-20.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-order-01.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-order-02.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-order-03.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-order-04.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-order-05.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-order-06.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-order-07.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-pat-01.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-pat-02.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-pat-03.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-pat-04.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-qname-01.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-qname-02.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-qname-03.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-qname-04.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-qname-05.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-qname-06.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-qname-07.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-qname-08.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-struct-01.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-struct-02.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-struct-03.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-struct-05.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-struct-06.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-struct-07.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-struct-08.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-struct-09.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-struct-10.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-struct-11.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-struct-12.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-struct-13.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-struct-14.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-union-01.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql1/syntax-union-02.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/manifest.ttl,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-bnode-01.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-bnode-02.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-bnode-03.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-dataset-01.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-dataset-02.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-dataset-03.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-dataset-04.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-esc-01.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-esc-02.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-esc-03.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-esc-04.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-esc-05.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-form-ask-02.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-form-construct01.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-form-construct02.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-form-construct03.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-form-construct04.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-form-construct06.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-form-describe01.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-form-describe02.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-form-select-01.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-form-select-02.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-function-01.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-function-02.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-function-03.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-function-04.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-general-01.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-general-02.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-general-03.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-general-04.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-general-05.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-general-06.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-general-07.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-general-08.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-general-09.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-general-10.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-general-11.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-general-12.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-general-13.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-general-14.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-graph-01.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-graph-02.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-graph-03.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-graph-04.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-graph-05.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-keywords-01.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-keywords-02.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-keywords-03.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-lists-01.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-lists-02.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-lists-03.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-lists-04.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql2/syntax-lists-05.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/manifest.ttl,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-01.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-02.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-03.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-04.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-05.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-06.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-07.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-08.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-01.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-02.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-03.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-04.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-05.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-06.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-07.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-08.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-09.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-10.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-11.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-12.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-13.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-14.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-15.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-16.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-17.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-18.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-19.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-20.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-21.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-22.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-23.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-24.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-25.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-26.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-27.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-28.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-29.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-30.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-31.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-bnode-dot.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-bnodes-missing-pvalues-01.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-bnodes-missing-pvalues-02.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-empty-optional-01.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-empty-optional-02.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-filter-missing-parens.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-lone-list.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-bad-lone-node.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-blabel-cross-filter.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-blabel-cross-graph-bad.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-blabel-cross-optional-bad.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql3/syn-blabel-cross-union-bad.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql4/manifest.ttl,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql4/syn-09.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql4/syn-10.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql4/syn-11.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql4/syn-bad-34.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql4/syn-bad-35.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql4/syn-bad-36.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql4/syn-bad-37.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql4/syn-bad-38.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql4/syn-bad-GRAPH-breaks-BGP.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql4/syn-bad-OPT-breaks-BGP.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql4/syn-bad-UNION-breaks-BGP.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql4/syn-leading-digits-in-prefixed-names.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql5/manifest.ttl,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql5/syntax-reduced-01.rq,
	  tests/sparql/test-suite-archive/data-r2/syntax-sparql5/syntax-reduced-02.rq,
	  tests/sparql/test-suite-archive/data-r2/triple-match/data-01.ttl,
	  tests/sparql/test-suite-archive/data-r2/triple-match/data-02.ttl,
	  tests/sparql/test-suite-archive/data-r2/triple-match/data-03.ttl,
	  tests/sparql/test-suite-archive/data-r2/triple-match/dawg-data-01.ttl,
	  tests/sparql/test-suite-archive/data-r2/triple-match/dawg-tp-01.rq,
	  tests/sparql/test-suite-archive/data-r2/triple-match/dawg-tp-02.rq,
	  tests/sparql/test-suite-archive/data-r2/triple-match/dawg-tp-03.rq,
	  tests/sparql/test-suite-archive/data-r2/triple-match/dawg-tp-04.rq,
	  tests/sparql/test-suite-archive/data-r2/triple-match/dawg-tp-05.rq,
	  tests/sparql/test-suite-archive/data-r2/triple-match/manifest.ttl,
	  tests/sparql/test-suite-archive/data-r2/triple-match/result-tp-01.ttl,
	  tests/sparql/test-suite-archive/data-r2/triple-match/result-tp-02.ttl,
	  tests/sparql/test-suite-archive/data-r2/triple-match/result-tp-03.ttl,
	  tests/sparql/test-suite-archive/data-r2/triple-match/result-tp-04.ttl,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/false.ttl,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/manifest.ttl,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/tP-byte-short-fail.rq,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/tP-byte-short.rq,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/tP-decimal-decimal.rq,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/tP-double-decimal-fail.rq,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/tP-double-decimal.rq,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/tP-double-double.rq,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/tP-double-float-fail.rq,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/tP-double-float.rq,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/tP-float-decimal-fail.rq,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/tP-float-decimal.rq,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/tP-float-float.rq,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/tP-int-short.rq,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/tP-integer-short.rq,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/tP-long-short.rq,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/tP-negativeInteger-short.rq,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/tP-nonNegativeInteger-short.rq,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/tP-nonPositiveInteger-short.rq,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/tP-positiveInteger-short.rq,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/tP-short-byte-fail.rq,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/tP-short-decimal.rq,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/tP-short-double.rq,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/tP-short-float.rq,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/tP-short-int-fail.rq,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/tP-short-long-fail.rq,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/tP-short-short-fail.rq,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/tP-short-short.rq,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/tP-unsignedByte-short.rq,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/tP-unsignedInt-short.rq,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/tP-unsignedLong-short.rq,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/tP-unsignedShort-short.rq,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/tP.ttl,
	  tests/sparql/test-suite-archive/data-r2/type-promotion/true.ttl
	Add DAWG approved testsuites from 
	http://www.w3.org/2001/sw/DataAccess/tests/r2
	Revision 1.6 1008
	contained in URL:

	http://www.w3.org/2001/sw/DataAccess/tests/data-r2.tar.gz
	Content-Length: 120802
	Last-Modified: Wed, 09 Jan 2008 21:25:02 GMT

	MD5  c5be294e5a1b6d4448a79b3187fbf0c1
	SHA1 b6120fe932a15e97b146d5c5c2bc411418311a04

	* tests/sparql/dawg: remove unapproved DAWG testcases

2009-09-29  Dave Beckett <dave@dajobe.org>

	* src/rasqal_rowsource_distinct.c:
	(rasqal_distinct_rowsource_read_row): Do not rasqal_free_row -
	rasqal_engine_rowsort_map_add_row will do that.

	* src/rasqal_rowsource_distinct.c:
	(rasqal_distinct_rowsource_read_row): add ref to row which is
	shared with distinct rowsort_map.

	* src/rasqal_rowsource_distinct.c: remove unused var query

	* src/rasqal_triples_source.c:
	(rasqal_triples_match_bind_match): return RASQAL_TRIPLE_SPO for exact.

	* src/rasqal_rowsource_distinct.c:
	(rasqal_distinct_rowsource_read_row): Do not need to copy values
	with distinct row, just mark as made here, fix offset and end

	* src/rasqal_rowsource_triples.c:
	(rasqal_triples_rowsource_get_next_row): Continue searching if
	bind match returns no parts - like QE1

	* src/rasqal_algebra.c:
	(rasqal_algebra_query_to_algebra): Set up variables sequence to
	free variables copied over.

	* src/rasqal_rowsource_triples.c:
	(rasqal_triples_rowsource_get_next_row): Comment out checking all
	triple patterns finished code triggered by the set_preserve flag.
	This makes 2 more tests pass:
	  survey/survey-2
	  examples/sparql-query-example-Testing-Values-isBlank

	* src/rasqal_rowsource_join.c:
	(rasqal_join_rowsource_init): allow joining an empty left row to
	not be failure - it's a finished rowsource.

	* src/rasqal_rowsource_triples.c:
	(rasqal_new_triples_rowsource): Handle NULL triples to return an
	empty rowsource.  This is SPARQL {}.

	* docs/rasqal-docs.xml, docs/rasqal-sections.txt: Remove algebra
	section and rasqal_algebra_node def

	* src/rasqal.h, src/rasqal_internal.h: Move rasqal_algebra_node
	from public API - just typedef.

	* docs/Makefile.am: Add rasqal_internal.h to IGNORE_CFILES to stop
	gtkdoc-mkdb referencing it even though it is already in
	IGNORE_HFILES too.

	* src/rasqal_internal.h: rasqal_engine_error autodocs

	* docs/rasqal-docs.xml, docs/rasqal-sections.txt,
	docs/tmpl/section-expression.sgml, docs/tmpl/section-general.sgml,
	docs/tmpl/section-query.sgml,
	docs/tmpl/section-query_results.sgml,
	docs/tmpl/section-triple.sgml, docs/tmpl/section-unused.sgml: sgml
	templates and docbook xml fixes

	* docs/rasqal-docs.xml: update docbook xml

	* src/rasqal_expr.c:
	(rasqal_expression_evaluate_v2): autodocs - no query param

	* src/rasqal_general.c:
	(rasqal_world_open): autodocs

	* src/rasqal_expr.c:
	(rasqal_expression_evaluate, rasqal_expression_evaluate_v2): autodocs

	* src/rasqal.h: rasqal_triple_parts: Added RASQAL_TRIPLE_NONE to
	autodocs

2009-09-29  Lauri Aalto <laalto@iki.fi>

	* src/rasqal.h, src/rasqal_internal.h,
	src/rasqal_triples_source.c: Fixed int-enum conflict warning.
	(rasqal_triple_parts): Added RASQAL_TRIPLE_NONE to enum.
	(rasqal_triples_match_bind_match): Changed prototype to return
	rasqal_triple_parts enum instead of int.

2009-09-28  Dave Beckett <dave@dajobe.org>

	* tests/improve: more tweaks

	* tests/improve: nl

	* tests/improve: Print error log summaries of failed tests when
	verbose or recursive.
	Tweak other messages/indenting.

	* src/rasqal_rowsource_triples.c:
	(rasqal_triples_rowsource_get_next_row): More logic tidying.

	* src/rasqal_rowsource_triples.c:
	(rasqal_triples_rowsource_get_next_row): Tidy code - remove goto
	and make control flow clearer.

2009-09-27  Dave Beckett <dave@dajobe.org>

	* src/rasqal_rowsource_triples.c: whitespace indenting
	Remove unused var m->executed

	* src/rasqal_engine.c: whitespace indenting
	Remove unused var m->executed

	* src/rasqal.h, src/rasqal_engine.c,
	src/rasqal_rowsource_triples.c: rasqal_triple_meta is_exact and
	executed fields are now unused.
	(rasqal_triples_rowsource_init): Remove init of unused
	m->is_exact.
	(rasqal_triples_rowsource_get_next_row): Remove use of
	rasqal_triples_source_triple_present and m->is_exact.
	(rasqal_engine_graph_pattern_init): Remove init of m->is_exact.

	* src/rasqal.h, src/rasqal_engine.c, src/rasqal_triples_source.c:
	Move extra triples matching into the rasqal_triples_source module
	and out of the query engines.  Code style cleanup.
	rasqal_triples_match gains is_exact and finished fields.
	(rasqal_free_triples_match, rasqal_new_triples_match,
	rasqal_triples_match_bind_match, rasqal_triples_match_next_match,
	rasqal_triples_match_is_end): set and use is_exact field.

	* src/rasqal_engine.c, src/rasqal_rowsource_triples.c: Demote
	failure of triple pattern match to init to an internal error but
	still fail execution on both query engines:
	(rasqal_engine_triple_graph_pattern_get_next_match): QE1
	(rasqal_triples_rowsource_get_next_row): QE2

	* src/rasqal.h: rasqal_triple_meta autodocs

	* src/rasqal_engine.c: Removed a couple of check for m == NULL
	that will never happen.

	* tests/improve: Provide total test summary when running recursive

	* src/rasqal_rowsource_triples.c: cosmetic code

	* src/rasqal_rowsource_triples.c:
	(rasqal_triples_rowsource_get_next_row): Removed check for m ==
	NULL that will never happen.

	* src/rasqal_engine.c, src/rasqal_engine_algebra.c,
	src/rasqal_internal.h, src/rasqal_query.c,
	src/rasqal_query_transform.c, src/rasqal_rowsource_triples.c:
	Terminology change: variables declared in (...declared_in in
	fields and functions) becomes bound in (...bound_in) to more
	clearly reflect that this is where a variable is set to a value.

	* src/rasqal_rowsource_triples.c:
	(rasqal_triples_rowsource_init): Removed check for m == NULL that
	will never happen.

	* src/rasqal_engine.c, src/rasqal_internal.h,
	src/rasqal_rowsource_triples.c:
	(rasqal_engine_error_as_string): Added to print out engine errors
	as label not int

	* src/rasqal_rowsource_triples.c:
	(rasqal_triples_rowsource_get_next_row): when checking for end of
	triples, use <= not <

	* src/rasqal_rowsource_join.c:
	(rasqal_join_rowsource_read_row): Let left join work when right
	row ends early.

	* src/rasqal_rowsource_graph.c: graph variable is not optional to
	this rowsource - remove if() conditions.

	* src/rasqal_rowsource_graph.c:
	Fix projection of variables - adding graph variable value to
	output row.
	(rasqal_graph_rowsource_read_row): Make a new row with graph
	variable literal value at position #0

	* src/rasqal_rowsource_graph.c:
	(rasqal_graph_rowsource_ensure_variables): Add graph variable to
	rowsource earlier.

	* src/rasqal_rowsource_graph.c:
	(rasqal_graph_rowsource_init, rasqal_graph_rowsource_reset): set
	dg_offset to -1 to start/reset.

	* src/rasqal_query_transform.c:
	(rasqal_query_graph_build_mentioned_in_internal):
	Add switch for other GP types and call new function below for
	GRAPH graph patterns.
	(rasqal_query_graph_build_mentioned_in_internal): Added

	* src/rasqal_rowsource_triples.c:
	(main): Update call to rasqal_new_triples_rowsource to pass size.

2009-09-26  Dave Beckett <dave@dajobe.org>

	* src/rasqal_rowsource_graph.c:
	(rasqal_graph_rowsource_read_row): Return result rows

	* src/rasqal_rowsource_triples.c:
	rasqal_triples_rowsource_context gains origin field to store
	current GRAPH origin that is pushed down to all inner triple
	patterns.
	(rasqal_triples_rowsource_init): Ignore parts ORIGIN since binding
	that variable is done outside this rowsource.
	(rasqal_triples_rowsource_finish): Free origin if set.
	(rasqal_triples_rowsource_set_origin): Added to iterate over
	triple patterns and set the origin field directly.

	* src/rasqal_rowsource_graph.c:
	(rasqal_graph_next_dg): If a variable was given (i.e. GRAPH ?var),
	set it's value as the datagraph URI.
	(rasqal_graph_rowsource_init): Add the graph var to the
	rowsource's variable table.
	(rasqal_graph_rowsource_finish): Free any variable value on
	finish.

	* src/rasqal_rowsource_graph.c:
	(rasqal_graph_next_dg): Always increment offset to advance through
	data graph list rather than spin.
	(rasqal_graph_rowsource_init): Init offset to -1 so above function
	will set it to offset 0 for first graph.

	* src/rasqal_engine_algebra.c, src/rasqal_internal.h,
	src/rasqal_rowsource_triples.c:
	rasqal_triples_rowsource_context gains field to store declared_in
	size
	(rasqal_new_triples_rowsource): Add size of declared_in array
	rather than recalculate it again later, possibly wrongly.  store
	it in new field.
	(rasqal_triples_rowsource_init): Use above to check the right
	number of variables for declared_in-ness.
	(rasqal_algebra_basic_algebra_node_to_rowsource): Calculate
	declared_in for all variables, not just named ones.

2009-09-25  Dave Beckett <dave@dajobe.org>

	* src/rasqal_query_transform.c: autodocs

2009-09-25  Lauri Aalto <laalto@iki.fi>

	* src/rasqal_rowsource_triples.c:
	(main): Fixed double free of declared_in

2009-09-24  Dave Beckett <dave@dajobe.org>

	* src/rasqal_rowsource_triples.c:
	(rasqal_new_triples_rowsource): Free passed in declared_in on
	failure, not con->declared_in which isn't initialised yet.

2009-09-23  Dave Beckett <dave@dajobe.org>

	* tests/engine/rasqal_triples_test.c: note where example came from.

	* src/rasqal_raptor.c: remove noisy debug message

	* src/rasqal_engine.c, src/rasqal_internal.h,
	src/rasqal_rowsource_triples.c:
	(rasqal_engine_get_parts_string): Added.  Turns parts into a debug
	string.  Use in rowsource triples and original engine

	* data/Makefile.am, data/triples.ttl, tests/engine/Makefile.am,
	tests/engine/rasqal_triples_test.c: Add triple patterns matching
	test

	* src/rasqal_engine_algebra.c:
	(rasqal_algebra_basic_algebra_node_to_rowsource): Note declared_in
	becomes owned by rowsource.

	* src/rasqal_rowsource_triples.c:
	(rasqal_new_triples_rowsource): Note declared_in becomes owned in
	internal docs.
	(rasqal_triples_rowsource_finish): Free declared_in.

	* src/rasqal_rowsource_join.c:
	(rasqal_new_join_rowsource): Make a reference to (copy) the
	passed-in expression.

	* src/rasqal_rowsource_filter.c:
	(rasqal_new_filter_rowsource, rasqal_filter_rowsource_finish):
	Make a reference to (copY) and free the passed-in expression.

	* docs/tmpl/section-expression.sgml: Update docs

2009-09-02  Dave Beckett <dave@dajobe.org>

	* tests/laqrs/syntax/Makefile.am: Convert tests to use improve

	* src/rasqal_expr.c: rasqal_op_labels: add new labels for sum,
	avg, min and max.

	* tests/laqrs/syntax/Makefile.am, tests/laqrs/syntax/avg1.rq,
	tests/laqrs/syntax/max1.rq, tests/laqrs/syntax/min1.rq,
	tests/laqrs/syntax/sum1.rq: Add basic syntax tests for AVG, MAX,
	MIN and SUM for LAQRS

	* src/rasqal.h, src/rasqal_expr.c, src/rasqal_query.c,
	src/sparql_lexer.l, src/sparql_parser.y:
	Add SUM, AVG, MIN and MAX aggregate expressions to LAQRS.
	(SumAggregateExpression, AvgAggregateExpression,
	MinAggregateExpression, MaxAggregateExpression): Added new tokens.
	(AggregateExpression): Updated to use above.  rasqal_op gains
	RASQAL_EXPR_SUM, RASQAL_EXPR_AVG, RASQAL_EXPR_MIN and
	RASQAL_EXPR_MAX.  rasqal_sparql_op_labels gains labels for the new
	expressions.
	(rasqal_query_write_sparql_expression): Write new expressions.

	* src/sparql_lexer.l:
	(sparql_copy_string_token): Allow \' and \" in all string
	literals, whatever the delimeter.

	* src/sparql_lexer.l:
	(sparql_copy_string_token): Support \b and \f escapes - which were
	always in SPARQL

	* src/rasqal_query.c:
	(rasqal_query_add_prefix): Handle adding/updating with the default
	namespace - NULL prefix string

	* src/rasqal_query.c:
	(rasqal_query_get_variable): Fix count check

2009-08-30  Dave Beckett <dave@dajobe.org>

	* src/rasqal_triples_source.c:
	(rasqal_set_triples_source_factory): Call rasqal_world_open to
	ensure default world setup is done. Add comment to note this is
	for helping the older V1 ABI calls to work.

	* src/rasqal_general.c:
	(rasqal_world_open): Test and set opened flag to prevent recursive
	calls to this function.  It now acts as an 'attempt open' flag, and
	tries init once only max.
	Adjust comments to later calls to rasqal_world_open to reflect that
	they are for helping the older V1 ABI calls to work.

2009-08-25  Dave Beckett <dave@dajobe.org>

	* autogen.sh: Update common autogen.sh

	* configure.ac: Add -W to CPPFLAGS not CFLAGS, so they are not
	used in link lines

2009-08-21  Lauri Aalto <laalto@iki.fi>

	* src/rasqal_query_transform.c:
	(rasqal_query_build_mentioned_in): Removed compiler warning when
	RASQAL_DEBUG is not defined

2009-08-20  Dave Beckett <dave@dajobe.org>

	* tests/improve: Add recursive option -r/--recursive and summary
	for all testsuites in one dir.

2009-08-18  Dave Beckett <dave@dajobe.org>

	* src/rasqal_internal.h: autodocs

	* tests/improve: Show unexpected passes in output as warnings, not
	failure

	* src/rasqal_internal.h, src/rasqal_query_transform.c:
	(rasqal_query_triples_build_mentioned_in): Added width param to
	parallel rasqal_query_triples_build_declared_in call.

	* src/rasqal_internal.h, src/rasqal_query_transform.c:
	(rasqal_query_triples_build_mentioned_in_internal): Added with
	main building work.
	(rasqal_query_triples_build_mentioned_in): Returns a new 1D array
	using above.

	* src/rasqal_query_transform.c: *

	* src/rasqal_internal.h, src/rasqal_query.c,
	src/rasqal_query_transform.c:
	Construct a 2D array to mark variables mentioned in GP
	(rasqal_query_triples_build_mentioned_in,
	rasqal_query_graph_pattern_build_mentioned_in,
	rasqal_query_triples_build_mentioned_in): Added.
	(rasqal_free_query): Free any table.
	(rasqal_query_prepare_common): Call
	rasqal_query_triples_build_mentioned_in when GP transformations
	are done.

	* src/rasqal_internal.h, src/rasqal_row_compatible.c:
	(rasqal_print_row_compatible): Make internal not static

	* src/rasqal_rowsource_join.c:
	(rasqal_join_rowsource_init): Dump rc map when debugging.

2009-08-17  Dave Beckett <dave@dajobe.org>

	* src/rasqal_rowsource_join.c:
	Use rasqal_row_compatible to compute row compatibility.
	(rasqal_join_rowsource_init, rasqal_join_rowsource_finish):
	Init/free the compatible row map.
	(rasqal_join_rowsource_read_row): Simplify control flow in getting
	rows.  Check row compatibility always for all joins.  For left
	joins, allow rows from left if condition or compatibility fails.
	(main): Alter test data so rows can be joined (!) and add left
	join and natural join tests.

	* src/rasqal_feature.c, src/rasqal_general.c, src/rasqal_query.c:
	(rasqal_get_query_language_factory,
	rasqal_features_enumerate_common, rasqal_feature_from_uri,
	rasqal_languages_enumerate, rasqal_new_query): Call
	rasqal_world_open to ensure world is opened and items registered,
	to help older code that may not yet call this function.

	* tests/sparql/check-sparql: Call roqet -v which works if getopt
	long is not available.

	* tests/sparql/Expr1/Makefile.am, tests/sparql/Expr2/Makefile.am,
	tests/sparql/ExprBuiltins/Makefile.am,
	tests/sparql/ExprEquals/Makefile.am,
	tests/sparql/SyntaxDev/Syntax-SPARQL/Makefile.am,
	tests/sparql/SyntaxDev/Syntax-SPARQL2/Makefile.am,
	tests/sparql/SyntaxDev/Syntax-SPARQL3/Makefile.am,
	tests/sparql/SyntaxFull/Makefile.am,
	tests/sparql/ValueTesting/Makefile.am,
	tests/sparql/bound/Makefile.am, tests/sparql/examples/Makefile.am,
	tests/sparql/part1/Makefile.am, tests/sparql/regex/Makefile.am,
	tests/sparql/simple/Makefile.am, tests/sparql/sort/Makefile.am,
	tests/sparql/survey/Makefile.am, tests/sparql/syntax/Makefile.am:
	preconditon to precondition

	* tests/rdql/testsuite/Makefile.am,
	tests/sparql/Expr1/Makefile.am, tests/sparql/Expr2/Makefile.am,
	tests/sparql/ExprBuiltins/Makefile.am,
	tests/sparql/ExprEquals/Makefile.am,
	tests/sparql/SyntaxDev/Syntax-SPARQL/Makefile.am,
	tests/sparql/SyntaxDev/Syntax-SPARQL2/Makefile.am,
	tests/sparql/SyntaxDev/Syntax-SPARQL3/Makefile.am,
	tests/sparql/SyntaxFull/Makefile.am,
	tests/sparql/ValueTesting/Makefile.am,
	tests/sparql/bound/Makefile.am, tests/sparql/examples/Makefile.am,
	tests/sparql/part1/Makefile.am, tests/sparql/regex/Makefile.am,
	tests/sparql/simple/Makefile.am, tests/sparql/sort/Makefile.am,
	tests/sparql/survey/Makefile.am, tests/sparql/syntax/Makefile.am:
	Add roqet.tmp to CLEANFILES

	* src/rasqal_engine_algebra.c, src/rasqal_internal.h,
	src/rasqal_rowsource_join.c:
	Rename RASQAL_JOIN_TYPE_CROSS to RASQAL_JOIN_TYPE_NATURAL.
	Again. Add description of join types

	* src/rasqal_rowsource_join.c:
	(rasqal_new_join_rowsource): Allow RASQAL_JOIN_TYPE_CROSS

	* src/rasqal_engine_algebra.c, src/rasqal_internal.h:
	Added RASQAL_JOIN_TYPE_CROSS for sparql algebra Join()
	(rasqal_algebra_join_algebra_node_to_rowsource): Added to use
	RASQAL_JOIN_TYPE_CROSS with rasqal_new_join_rowsource.
	(rasqal_algebra_node_to_rowsource): Call
	rasqal_algebra_join_algebra_node_to_rowsource for Join().

	* src/rasqal_row_compatible.c:
	(main): Free row compatible map

	* src/rasqal_row_compatible.c:
	(main): test cases work

	* src/rasqal_row.c, src/rasqal_rowsource_join.c,
	src/rasqal_rowsource_project.c,
	src/rasqal_rowsource_rowsequence.c, src/rasqal_rowsource_union.c:
	(rasqal_new_row_sequence): Make it terminate on an entire row of
	NULLs.
	Update all test data to this format.

	* src/rasqal_row.c:
	(rasqal_new_row_sequence): Allow declaring variables with no
	value, except as first on a row.

	* src/Makefile.am, src/rasqal_internal.h,
	src/rasqal_row_compatible.c:
	Added rasqal_row_compatible object for checking if two query
	result rows from two rowsources are compatible.  The object does
	the preparation work so that the individual row checks are
	quicker.
	(rasqal_new_row_compatible, rasqal_free_row_compatible): Added
	constructor and destructor.
	(rasqal_row_compatible_check): Run compatibility check on two rows
	from the given rowsources.
	(main): start of test

2009-08-13  Lauri Aalto <laalto@iki.fi>

	* src/rasqal_engine_algebra.c:
	(rasqal_algebra_leftjoin_algebra_node_to_rowsource): Use enum
	value RASQAL_JOIN_TYPE_LEFT instead of int constant 0 (which maps
	to RASQAL_JOIN_TYPE_UNKNOWN).

	* src/rasqal_engine.c, src/rasqal_rowsource_distinct.c,
	src/rasqal_rowsource_empty.c, src/rasqal_rowsource_filter.c,
	src/rasqal_rowsource_graph.c, src/rasqal_rowsource_join.c,
	src/rasqal_rowsource_project.c,
	src/rasqal_rowsource_rowsequence.c, src/rasqal_rowsource_sort.c,
	src/rasqal_rowsource_triples.c, src/rasqal_rowsource_union.c,
	src/rasqal_sparql_xml.c: Fixed compiler warnings about implicitly
	initialized rasqal_rowsource_handler members.
	Fixed compiler warnings about empty if blocks when RASQAL_DEBUG is
	not defined.

2009-08-12  Dave Beckett <dave@dajobe.org>

	* src/rasqal_rowsource_join.c: Natural to left join

	* src/rasqal_internal.h, src/rasqal_rowsource_join.c: Remove
	NATURAL join again - it's not correctly name, doesn't work and
	isn't needed yet.

	* src/rasqal_internal.h, src/rasqal_rowsource_join.c: Add
	RASQAL_JOIN_TYPE_NATURAL - the current implementation.
	(rasqal_new_join_rowsource): Accept both.

	* src/rasqal_internal.h, src/rasqal_rowsource_join.c: Add enum
	rasqal_join_type and use it instead of magic ints.
	(rasqal_new_join_rowsource): Update to use rasqal_join_type.

2009-08-11  Dave Beckett <dave@dajobe.org>

	* src/rasqal_rowsource_filter.c:
	(rasqal_filter_rowsource_read_row): Construct result variables in
	correct order according to row variables order not variables table
	order.

	* src/rasqal_rowsource.c: debug messages

	* tests/algebra/check-algebra: use srcdir for getting expected
	path

	* tests/algebra/Makefile.am: use srcdir for test

	* tests/algebra/Makefile.am, tests/algebra/check-algebra: Convert
	to improve format and use new perl test runner check-algebra to do
	the checking

2009-08-10  Dave Beckett <dave@dajobe.org>

	* tests/sparql/Expr2/Makefile.am: Remove duplicate tests in pass &
	xfail lists

	* tests/sparql/regex/Makefile.am: run all tests via improve

2009-08-05  Dave Beckett <dave@dajobe.org>

	* tests/sparql/sort/Makefile.am: sort-3 passes - now all sort
	tests pass

	* tests/sparql/SyntaxFull/Makefile.am: negative tests do not apply
	to lexer

	* tests/sparql/bound/Makefile.am: dawg-bound-query-001 passes

	* tests/sparql/examples/Makefile.am: These tests now pass in QE1:
	sparql-query-example-Testing-Values-bound (ex11.2.3.2_0.rq)
	sparql-query-example-Testing-Values-bound-2 (ex11.2.3.2_1.rq)

	* tests/improve: annotate xfail

	* tests/sparql/ValueTesting/Makefile.am: Move all tests to improve
	testsuites

	* tests/sparql/SyntaxDev/Syntax-SPARQL3/Makefile.am: Move all
	tests to improve testsuites

	* tests/sparql/SyntaxDev/Syntax-SPARQL2/Makefile.am: Move all
	tests to improve testsuites

	* tests/sparql/SyntaxDev/Syntax-SPARQL/Makefile.am: Move all tests
	to improve testsuites

	* tests/sparql/ExprEquals/Makefile.am: Move all tests to improve
	testsuites

	* tests/sparql/ExprBuiltins/Makefile.am: Move all tests to improve
	testsuites

	* tests/improve: Use a log file name that has no non-word chars

	* tests/sparql/Expr2/Makefile.am: Switch to improve for testsuite.
	All check-sparql testsuite tests are failing for some reason in
	how check-sparql is invoked that I can't quite figure out why at
	present.

2009-08-05  Lauri Aalto <laalto@iki.fi>

	* src/rasqal_raptor.c:
	(rasqal_raptor_new_triples_source): Fixed raptor v2 experimental
	support. Conditional reformatting.

2009-08-04  Dave Beckett <dave@dajobe.org>

	* tests/improve:
	(decode_literal): Added to handle test names with "s in them

	* tests/sparql/Expr1/Makefile.am: Switch to improve for testsuite

	* tests/rdql/testsuite/Makefile.am: Add CLEANFILES for check-rdql
	outputs

	* tests/sparql/SyntaxFull/Makefile.am,
	tests/sparql/bound/Makefile.am, tests/sparql/examples/Makefile.am,
	tests/sparql/part1/Makefile.am, tests/sparql/simple/Makefile.am,
	tests/sparql/survey/Makefile.am, tests/sparql/syntax/Makefile.am:
	Add CLEANFILES for check-sparql outputs

	* tests/sparql/Expr1/Makefile.am:
	"OPTIONAL - Outer FILTER with BOUND" now passes with QE1

	* src/rasqal_raptor.c:
	(rasqal_raptor_new_triples_source): Make parser base URI
	(name_uri) a copy of source uri if name_uri is NULL.

	* tests/sparql/SyntaxFull/Makefile.am: improve tests working

	* tests/sparql/SyntaxFull/Makefile.am: test with improve

	* tests/improve: error reports from preparing and get_plan
	Add debugging for all run of system $cmd

	* tests/sparql/syntax/Makefile.am: Use improve to run all
	testsuites

	* tests/sparql/survey/Makefile.am: Use improve to run all
	testsuites - with 1 test expected to fail on QE1.

	* tests/sparql/survey/Makefile.am: survey-2 now works with QE1

	* src/rasqal_engine.c:
	(rasqal_engine_remove_optional_bgp_graph_patterns): Added to
	replace OPTIONAL { BGP { triples } } with OPTIONAL { triples }
	(rasqal_query_engine_1_execute_transform_hack): Add a do-while
	loop that keeps going until no more modifications happen.  Invoke
	rasqal_engine_remove_optional_bgp_graph_patterns.

2009-08-03  Dave Beckett <dave@dajobe.org>

	* src/rasqal_engine.c:
	(rasqal_engine_get_next_result): Reword confusing query ending
	message.

	* tests/sparql/bound/Makefile.am: Use improve to run all
	testsuites - with 1 test, expected to fail on QE1/QE2

	* tests/sparql/examples/Makefile.am: Use improve to run all
	testsuites - with 3 expected failures on QE1 (and a different set
	of 3 on QE2 at present)

	* tests/improve: more indenting

	* tests/improve: print testsuite name in output

	* tests/sparql/simple/Makefile.am:
	(get-testsuite-sparql-query): Use test names - tests pass again.

	* tests/sparql/part1/Makefile.am: Use improve to run all testsuites

	* tests/sparql/simple/Makefile.am: Use improve to run all testsuites

	* tests/improve: try to reduce make output crap

	* tests/sparql/part1/Makefile.am: Use test names not file names
	for dawg-style tests.

	* tests/improve: indenting

	* tests/sparql/check-sparql: Fail if test given does not exist.

	* tests/sparql/check-sparql: 2009

	* tests/sparql/part1/Makefile.am: Add improve testsuites

	* tests/improve: default DIR to .

	* src/rasqal_query_results.c:
	(rasqal_query_results_execute_with_engine): After execute init,
	debug dump query

	* tests/sparql/simple/Makefile.am: set t:precondition for check-sparql

	* tests/sparql/simple/Makefile.am: Add improve testsuites

	* tests/rdql/testsuite/Makefile.am: invoke check-rdql via $(PERL)

	* tests/rdql/testsuite/Makefile.am: run all improve testsuites

	* tests/rdql/Makefile.am: run all improve testsuites

	* tests/engine/Makefile.am: run all improve testsuites

	* tests/engine/Makefile.am: run improve in .

	* tests/engine/Makefile.am: Use improve to run tests.

	* tests/Makefile.am: Add improve to dist

	* src/rasqal_engine.c:
	(rasqal_query_engine_1_set_origin_triples): Free original origin
	from GP.
	(rasqal_engine_remove_graph_bgp_graph_patterns): Ignore GPs with
	no origin.

	* src/rasqal_engine.c:
	(rasqal_query_engine_1_set_origin_triples): Handle setting NULL
	origin.

	* src/rasqal_engine.c:
	(rasqal_query_engine_1_set_origin_triples): Ensure that if a
	variable is moved to the origin, it is 'declared in' that triple
	so it gets correctly bound in execution.
	(rasqal_engine_remove_graph_bgp_graph_patterns): Remove top level
	query transform ban.  Wrong.
	(rasqal_engine_remove_graph_bgp_graph_patterns): Make the GP type
	into BGP, call rasqal_query_engine_1_set_origin_triples with query
	and free/remove original GP origin now that the type is BGP.

	* tests/improve: indenting

	* tests/engine/Makefile.am: add testsuite 'engine'

	* tests/improve: fix xfail

	* tests/improve: indenting wrapping

	* src/rasqal_engine.c:
	(rasqal_engine_remove_graph_bgp_graph_patterns): Do no transform
	this at root of query GP tree, to keep QE1 happy

	* tests/improve:
	Add support for t:path for setting PATH for tests

	(run_test): Take testsuite arg.
	Notice SIGINT and abort testsuite if it happens.
	Adjust messages so PATH is included with cmd.

	Abort when no testsuites found

	* tests/rdql/testsuite/Makefile.am: add improve
	testsuite-generation rules

	* tests/rdql/Makefile.am:
	(check-rdql-lexer, check-rdql-parser): Use improve to run testsuites.

	* tests/improve: fix exit code

	* tests/improve:
	(run_testsuite): When superverbose, show fail log

	* tests/improve:
	(run_testsuite): Remove preparation code

	* tests/improve:
	(prepare_testsuite): Added so failure here can be passed on before
	running suite.
	(format_testsuite_result): Pass in output FH

	* tests/improve:
	(run_test): self is $test

	* tests/improve:
	(read_plan): Does not need dir param.

	* tests/improve:
	(format_testsuite_result): Added.

	* tests/rdql/Makefile.am: verb

	* tests/improve: Tidy.  More OO-like
	Add -n/--dryrun
	Add skipped tests
	Added -v verbose
	Make plan file if not already there
	Add xfailed - expected failures - to summary
	(run_testsuite): Added

2009-08-02  Dave Beckett <dave@dajobe.org>

	* tests/improve: improve - Run Rasqal test suites

	* tests/rdql/Makefile.am:
	Added get-testsuites-list rule and get-testsuite-rdql-lexer
	get-testsuite-rdql-parser rules to generate a Turtle/RDF
	description of the tests.

	* src/Makefile.am:
	comments on rdql/sparql_lexer/parser_test

	* configure.ac:
	Add AC_SUBST(ECHO) since it seems not to be happening by default.

2009-07-29  Dave Beckett <dave@dajobe.org>

	* src/rasqal_skiplist.c:
	Remove obsolete skiplist code - never used.

	* src/Makefile.am, src/rasqal_query_test.c,
	src/rasqal_rowsource_triples.c, src/rdql_lexer.l,
	src/rdql_parser.y, src/sparql_lexer.l, src/sparql_parser.y: Alter
	rdql/sparql lexer/parser tests to automatically run a test query
	from a file using envariables.  Alter TEST_ENVIRONMENT to set
	those to run tests.  Add the 4 tests to TESTS and remove the
	special case invoking

	* src/rdql_parser.y:
	(URI_LITERAL): Use raptor_uri_print instead of deprecated
	raptor_sequence_print_uri.

	* Remove ignores for files moved to build/

	* Makefile.am, autogen.sh, build, build/shave-libtool.in,
	build/shave.in, build/shave.m4, configure.ac: Add SHAVE support
	for compiling and enable it for maintainer

2009-07-28  Dave Beckett <dave@dajobe.org>

	* configure.ac, fix-groff-xhtml, rasqal-src-config.in,
	rasqal.rdf.in: 2009 and url fix

2009-07-24  Dave Beckett <dave@dajobe.org>

	* src/rasqal_query.c:
	(rasqal_query_write_sparql_20060406): Ouput DESCRIBE does not need
	to write commas

	* src/rasqal_query.c:
	(rasqal_query_write_sparql_20060406): Make DESCRIBE write
	comma-separated list of rasqal_literal, not space-separated list
	of variables.

	* src/rasqal.h, src/rasqal_query.c:
	(rasqal_query_get_describe_sequence): Added

2009-07-19  Dave Beckett <dave@dajobe.org>

	* src/Makefile.am, src/rasqal_algebra.c,
	src/rasqal_engine_algebra.c, src/rasqal_internal.h,
	src/rasqal_rowsource_distinct.c: Implement
	RASQAL_ALGEBRA_OPERATOR_DISTINCT
	(rasqal_new_distinct_algebra_node): Added to make a distinct
	algebra node.
	(rasqal_new_distinct_rowsource): Added to implement distinct
	rowsource - in new file rasqal_rowsource_distinct.c
	(rasqal_algebra_node_to_rowsource): Call above function when
	RASQAL_ALGEBRA_OPERATOR_DISTINCT is given to make a distinct
	rowsource from the algebra node.

	* src/rasqal_engine_sort.c:
	(rasqal_engine_rowsort_row_compare): Only do the row-literals
	compare if there is an order_conditions_sequence.

	* src/Makefile.am, src/rasqal_algebra.c,
	src/rasqal_engine_algebra.c, src/rasqal_internal.h,
	src/rasqal_rowsource_distinct.c:
	Implement RASQAL_ALGEBRA_OPERATOR_DISTINCT
	(rasqal_new_distinct_algebra_node): Added to make a distinct
	algebra node.
	(rasqal_new_distinct_rowsource): Added to implement distinct
	rowsource - in new file rasqal_rowsource_distinct.c
	(rasqal_algebra_node_to_rowsource): Call above function when
	RASQAL_ALGEBRA_OPERATOR_DISTINCT is given to make a distinct
	rowsource from the algebra node.

	* src/rasqal_engine_sort.c:
	(rasqal_engine_rowsort_row_compare): Only do the row-literals
	compare if there is an order_conditions_sequence.

2009-07-17  Dave Beckett <dave@dajobe.org>

	* src/rdql_parser.y, utils/roqet.c:
	Updates to use raptor_new_sequence_v2 not
	raptor_new_sequence_with_handler_context from 1.4.19

	* COPYING, COPYING.LIB: Add specific versions of GPL (2) and
	LGPL (2.1) to source control

2009-07-15  Dave Beckett <dave@dajobe.org>

	* configure.ac: Enable LAQRS in default build

2009-01-19  Lauri Aalto <laalto@iki.fi>

	* src/rasqal_rowsource_graph.c:
	(rasqal_graph_next_dg): Fixed for raptor v2

	* src/rasqal_engine_algebra.c: Replaced utf-8 in comment with
	ascii

2009-01-17  Dave Beckett <dave@dajobe.org>

	* src/Makefile.am, src/rasqal_engine.c,
	src/rasqal_engine_algebra.c, src/rasqal_internal.h,
	src/rasqal_rowsource.c, src/rasqal_rowsource_graph.c:
	Added graph rowsource.
	(rasqal_new_graph_rowsource): Added.  rasqal_rowsource_handler
	gains set_origin handler of type rasqal_rowsource_set_origin_func
	(rasqal_algebra_visitor_set_origin): Added.
	(rasqal_algebra_graph_algebra_node_to_rowsource): Added using
	rasqal_new_graph_rowsource.
	(rasqal_algebra_node_to_rowsource): Call
	rasqal_algebra_graph_algebra_node_to_rowsource for graph operator.
	(rasqal_query_engine_1_set_origin_triples): Added.
	(rasqal_engine_remove_graph_bgp_graph_patterns): Added.
	(rasqal_query_engine_1_execute_transform_hack): Call
	rasqal_engine_remove_graph_bgp_graph_patterns to remove graph
	operators for query engine #1.
	(rasqal_rowsource_visitor_set_origin): Added.
	(rasqal_rowsource_set_origin): Added using
	rasqal_rowsource_visitor_set_origin.