/usr/share/doc/python-swap/sparql2cwm.html is in python-swap 1.2.1-7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | <!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module sparql2cwm</title>
</head><body bgcolor="#f0f0f8">
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong>sparql2cwm</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/syosi/cvs-trunk/WWW/2000/10/swap/sparql2cwm.py">/home/syosi/cvs-trunk/WWW/2000/10/swap/sparql2cwm.py</a></font></td></tr></table>
<p><tt>sparql2cwm<br>
<br>
This is meant to be used with a sparql.n3 based SPARQL parser, to add the query to cwm<br>
<br>
$Id: sparql2cwm.py,v 1.24 2007/08/06 16:13:56 syosi Exp $</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom> <br>
<font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="diag.html">diag</a><br>
</td><td width="25%" valign=top><a href="uripath.html">uripath</a><br>
</td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="__builtin__.html#dict">__builtin__.dict</a>(<a href="__builtin__.html#object">__builtin__.object</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="sparql2cwm.html#multimap">multimap</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="sparql2cwm.html#AST">AST</a>
</font></dt><dt><font face="helvetica, arial"><a href="sparql2cwm.html#Coerce">Coerce</a>
</font></dt><dt><font face="helvetica, arial"><a href="sparql2cwm.html#NotNot">NotNot</a>
</font></dt><dt><font face="helvetica, arial"><a href="sparql2cwm.html#RulesMaker">RulesMaker</a>
</font></dt><dt><font face="helvetica, arial"><a href="sparql2cwm.html#productionHandler">productionHandler</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="sparql2cwm.html#FilterExpr">FilterExpr</a>
</font></dt><dt><font face="helvetica, arial"><a href="sparql2cwm.html#FromSparql">FromSparql</a>
</font></dt></dl>
</dd>
</dl>
</dd>
<dt><font face="helvetica, arial"><a href="__builtin__.html#tuple">__builtin__.tuple</a>(<a href="__builtin__.html#object">__builtin__.object</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="sparql2cwm.html#TripleHolder">TripleHolder</a>
</font></dt><dt><font face="helvetica, arial"><a href="sparql2cwm.html#andExtra">andExtra</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="__builtin__.html#unicode">__builtin__.unicode</a>(<a href="__builtin__.html#basestring">__builtin__.basestring</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="sparql2cwm.html#typedThing">typedThing</a>
</font></dt></dl>
</dd>
</dl>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="AST">class <strong>AST</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="AST-__init__"><strong>__init__</strong></a>(self, ast, sink<font color="#909090">=None</font>)</dt></dl>
<dl><dt><a name="AST-abbr"><strong>abbr</strong></a>(self, prodURI)</dt></dl>
<dl><dt><a name="AST-onFinish"><strong>onFinish</strong></a>(self)</dt></dl>
<dl><dt><a name="AST-onStart"><strong>onStart</strong></a>(self, prod)</dt></dl>
<dl><dt><a name="AST-onToken"><strong>onToken</strong></a>(self, prod, tok)</dt></dl>
<dl><dt><a name="AST-prod"><strong>prod</strong></a>(self, thing)</dt></dl>
<dl><dt><a name="AST-run"><strong>run</strong></a>(self)</dt></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>__dict__</strong> = <dictproxy object><dd><tt>dictionary for instance variables (if defined)</tt></dl>
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'AST' objects><dd><tt>list of weak references to the <a href="__builtin__.html#object">object</a> (if defined)</tt></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="Coerce">class <strong>Coerce</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="Coerce-__call__"><strong>__call__</strong></a>(self, expr, coerce<font color="#909090">=True</font>)</dt></dl>
<dl><dt><a name="Coerce-__init__"><strong>__init__</strong></a>(self)</dt></dl>
<dl><dt><a name="Coerce-atom"><strong>atom</strong></a>(self, p, coerce)</dt></dl>
<dl><dt><a name="Coerce-on_And"><strong>on_And</strong></a>(self, p, coerce)</dt></dl>
<dl><dt><a name="Coerce-on_BoolVal"><strong>on_BoolVal</strong></a>(self, p, coerce)</dt></dl>
<dl><dt><a name="Coerce-on_Boolean"><strong>on_Boolean</strong></a>(self, p, coerce)</dt></dl>
<dl><dt><a name="Coerce-on_Bound"><strong>on_Bound</strong></a>(self, p, coerce)</dt></dl>
<dl><dt><a name="Coerce-on_Not"><strong>on_Not</strong></a>(self, p, coerce)</dt></dl>
<dl><dt><a name="Coerce-on_Or"><strong>on_Or</strong></a>(self, p, coerce)</dt></dl>
<dl><dt><a name="Coerce-on_Regex"><strong>on_Regex</strong></a>(self, p, coerce)</dt></dl>
<dl><dt><a name="Coerce-on_function"><strong>on_function</strong></a>(self, p, coerce)</dt></dl>
<dl><dt><a name="Coerce-on_isBlank"><strong>on_isBlank</strong></a>(self, p, coerce)</dt></dl>
<dl><dt><a name="Coerce-on_isLiteral"><strong>on_isLiteral</strong></a>(self, p, coerce)</dt></dl>
<dl><dt><a name="Coerce-on_isURI"><strong>on_isURI</strong></a>(self, p, coerce)</dt></dl>
<dl><dt><a name="Coerce-on_math"><strong>on_math</strong></a>(self, p, coerce)</dt></dl>
<dl><dt><a name="Coerce-on_pred"><strong>on_pred</strong></a>(self, p, coerce)</dt></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>__dict__</strong> = <dictproxy object><dd><tt>dictionary for instance variables (if defined)</tt></dl>
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'Coerce' objects><dd><tt>list of weak references to the <a href="__builtin__.html#object">object</a> (if defined)</tt></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="FilterExpr">class <strong>FilterExpr</strong></a>(<a href="sparql2cwm.html#productionHandler">productionHandler</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="sparql2cwm.html#FilterExpr">FilterExpr</a></dd>
<dd><a href="sparql2cwm.html#productionHandler">productionHandler</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="FilterExpr-__init__"><strong>__init__</strong></a>(self, store, parent)</dt></dl>
<dl><dt><a name="FilterExpr-arithmetic"><strong>arithmetic</strong></a>(self, p, op)</dt></dl>
<dl><dt><a name="FilterExpr-compare"><strong>compare</strong></a>(self, p, op)</dt></dl>
<dl><dt><a name="FilterExpr-on_And"><strong>on_And</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FilterExpr-on_BoolVal"><strong>on_BoolVal</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FilterExpr-on_Boolean"><strong>on_Boolean</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FilterExpr-on_Bound"><strong>on_Bound</strong></a>(self, var)</dt></dl>
<dl><dt><a name="FilterExpr-on_Literal"><strong>on_Literal</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FilterExpr-on_Not"><strong>on_Not</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FilterExpr-on_Number"><strong>on_Number</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FilterExpr-on_Or"><strong>on_Or</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FilterExpr-on_Regex"><strong>on_Regex</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FilterExpr-on_String"><strong>on_String</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FilterExpr-on_Var"><strong>on_Var</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FilterExpr-on_add"><strong>on_add</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FilterExpr-on_datatype"><strong>on_datatype</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FilterExpr-on_divide"><strong>on_divide</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FilterExpr-on_equal"><strong>on_equal</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FilterExpr-on_funcName"><strong>on_funcName</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FilterExpr-on_function"><strong>on_function</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FilterExpr-on_greater"><strong>on_greater</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FilterExpr-on_isNotURI"><strong>on_isNotURI</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FilterExpr-on_isURI"><strong>on_isURI</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FilterExpr-on_lang"><strong>on_lang</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FilterExpr-on_less"><strong>on_less</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FilterExpr-on_multiply"><strong>on_multiply</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FilterExpr-on_notBound"><strong>on_notBound</strong></a>(self, var)</dt></dl>
<dl><dt><a name="FilterExpr-on_notEqual"><strong>on_notEqual</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FilterExpr-on_notGreater"><strong>on_notGreater</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FilterExpr-on_notLess"><strong>on_notLess</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FilterExpr-on_subtract"><strong>on_subtract</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FilterExpr-on_symbol"><strong>on_symbol</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FilterExpr-typeConvert"><strong>typeConvert</strong></a>(self, keepGoing, uri, val)</dt></dl>
<hr>
Methods inherited from <a href="sparql2cwm.html#productionHandler">productionHandler</a>:<br>
<dl><dt><a name="FilterExpr-prod"><strong>prod</strong></a>(self, production)</dt></dl>
<hr>
Data and other attributes inherited from <a href="sparql2cwm.html#productionHandler">productionHandler</a>:<br>
<dl><dt><strong>__dict__</strong> = <dictproxy object><dd><tt>dictionary for instance variables (if defined)</tt></dl>
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'productionHandler' objects><dd><tt>list of weak references to the <a href="__builtin__.html#object">object</a> (if defined)</tt></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="FromSparql">class <strong>FromSparql</strong></a>(<a href="sparql2cwm.html#productionHandler">productionHandler</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="sparql2cwm.html#FromSparql">FromSparql</a></dd>
<dd><a href="sparql2cwm.html#productionHandler">productionHandler</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="FromSparql-__init__"><strong>__init__</strong></a>(self, store, formula<font color="#909090">=None</font>, ve<font color="#909090">=0</font>, why<font color="#909090">=None</font>)</dt></dl>
<dl><dt><a name="FromSparql-absolutize"><strong>absolutize</strong></a>(self, uri)</dt></dl>
<dl><dt><a name="FromSparql-anonymize"><strong>anonymize</strong></a>(self, formula, uri<font color="#909090">=None</font>)</dt></dl>
<dl><dt><a name="FromSparql-makePatterns"><strong>makePatterns</strong></a>(self, f, node, patterns)</dt></dl>
<dl><dt><a name="FromSparql-new_bnode"><strong>new_bnode</strong></a>(self)</dt></dl>
<dl><dt><a name="FromSparql-on_AdditiveExpression"><strong>on_AdditiveExpression</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_ArgList"><strong>on_ArgList</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_AskQuery"><strong>on_AskQuery</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_BaseDecl"><strong>on_BaseDecl</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_BlankNode"><strong>on_BlankNode</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_BlankNodePropertyList"><strong>on_BlankNodePropertyList</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_BooleanLiteral"><strong>on_BooleanLiteral</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_BrackettedExpression"><strong>on_BrackettedExpression</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_BuiltinCallExpression"><strong>on_BuiltinCallExpression</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_CallExpression"><strong>on_CallExpression</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_Collection"><strong>on_Collection</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_ConditionalAndExpression"><strong>on_ConditionalAndExpression</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_ConditionalOrExpression"><strong>on_ConditionalOrExpression</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_Constraint"><strong>on_Constraint</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_ConstructQuery"><strong>on_ConstructQuery</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_ConstructTemplate"><strong>on_ConstructTemplate</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_DatasetClause"><strong>on_DatasetClause</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_DefaultGraphClause"><strong>on_DefaultGraphClause</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_DescribeQuery"><strong>on_DescribeQuery</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_Expression"><strong>on_Expression</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_FunctionCall"><strong>on_FunctionCall</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_GraphGraphPattern"><strong>on_GraphGraphPattern</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_GraphNode"><strong>on_GraphNode</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_GraphPatternList"><strong>on_GraphPatternList</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_GraphPatternListTail"><strong>on_GraphPatternListTail</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_GraphPatternNotTriples"><strong>on_GraphPatternNotTriples</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_GraphPatternNotTriplesList"><strong>on_GraphPatternNotTriplesList</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_GraphPatternNotTriplesTail"><strong>on_GraphPatternNotTriplesTail</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_GraphTerm"><strong>on_GraphTerm</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_GroupGraphPattern"><strong>on_GroupGraphPattern</strong></a>(self, p, fromFilter<font color="#909090">=False</font>)</dt></dl>
<dl><dt><a name="FromSparql-on_GroupOrUnionGraphPattern"><strong>on_GroupOrUnionGraphPattern</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_IRIref"><strong>on_IRIref</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_IRIrefOrFunc"><strong>on_IRIrefOrFunc</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_LimitClause"><strong>on_LimitClause</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_MultiplicativeExpression"><strong>on_MultiplicativeExpression</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_NamedGraphClause"><strong>on_NamedGraphClause</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_NamelessBlank"><strong>on_NamelessBlank</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_NumericExpression"><strong>on_NumericExpression</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_NumericLiteral"><strong>on_NumericLiteral</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_Object"><strong>on_Object</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_ObjectList"><strong>on_ObjectList</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_OffsetClause"><strong>on_OffsetClause</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_OptionalGraphPattern"><strong>on_OptionalGraphPattern</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_OrderClause"><strong>on_OrderClause</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_OrderCondition"><strong>on_OrderCondition</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_PrefixDecl"><strong>on_PrefixDecl</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_PrimaryExpression"><strong>on_PrimaryExpression</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_Prolog"><strong>on_Prolog</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_PropertyList"><strong>on_PropertyList</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_PropertyListNotEmpty"><strong>on_PropertyListNotEmpty</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_QName"><strong>on_QName</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_Query"><strong>on_Query</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_RDFLiteral"><strong>on_RDFLiteral</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_RDFTerm"><strong>on_RDFTerm</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_RDFTermOrFunc"><strong>on_RDFTermOrFunc</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_RegexExpression"><strong>on_RegexExpression</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_RelationalExpression"><strong>on_RelationalExpression</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_SelectQuery"><strong>on_SelectQuery</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_SolutionModifier"><strong>on_SolutionModifier</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_SourceSelector"><strong>on_SourceSelector</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_String"><strong>on_String</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_Triples"><strong>on_Triples</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_Triples1"><strong>on_Triples1</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_Triples2"><strong>on_Triples2</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_Triples3"><strong>on_Triples3</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_TriplesNode"><strong>on_TriplesNode</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_UnaryExpression"><strong>on_UnaryExpression</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_ValueLogical"><strong>on_ValueLogical</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_Var"><strong>on_Var</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_VarOrBlankNodeOrIRIref"><strong>on_VarOrBlankNodeOrIRIref</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_VarOrIRIref"><strong>on_VarOrIRIref</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_VarOrTerm"><strong>on_VarOrTerm</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_Verb"><strong>on_Verb</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on_WhereClause"><strong>on_WhereClause</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__O_QAND_E____QValueLogical_E__C"><strong>on__O_QAND_E____QValueLogical_E__C</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__O_QASC_E__Or__QDESC_E__C"><strong>on__O_QASC_E__Or__QDESC_E__C</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__O_QASC_E__Or__QDESC_E____QBrackettedExpression_E__C"><strong>on__O_QASC_E__Or__QDESC_E____QBrackettedExpression_E__C</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__O_QBrackettedExpression_E__Or__QCallExpression_E__C"><strong>on__O_QBrackettedExpression_E__Or__QCallExpression_E__C</strong></a>(self, p)</dt><dd><tt>see normalize for an explanation of what we are doing</tt></dd></dl>
<dl><dt><a name="FromSparql-on__O_QCOMMA_E____QExpression_E__C"><strong>on__O_QCOMMA_E____QExpression_E__C</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__O_QCOMMA_E____QObjectList_E__C"><strong>on__O_QCOMMA_E____QObjectList_E__C</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__O_QDTYPE_E____QIRIref_E__C"><strong>on__O_QDTYPE_E____QIRIref_E__C</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__O_QDefaultGraphClause_E__Or__QNamedGraphClause_E__C"><strong>on__O_QDefaultGraphClause_E__Or__QNamedGraphClause_E__C</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__O_QDot_E_Opt___QGraphPatternList_E__C"><strong>on__O_QDot_E_Opt___QGraphPatternList_E__C</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__O_QDot_E____QGraphPatternList_E__C"><strong>on__O_QDot_E____QGraphPatternList_E__C</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__O_QDot_E____QTriples_E_Opt_C"><strong>on__O_QDot_E____QTriples_E_Opt_C</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__O_QEQUAL_E____QNumericExpression_E__Or__QNEQUAL_E____QNumericExpression_E__Or__QLT_E____QNumericExpression_E__Or__QGT_E____QNumericExpression_E__Or__QLE_E____QNumericExpression_E__Or__QGE_E____QNumericExpression_E__C"><strong>on__O_QEQUAL_E____QNumericExpression_E__Or__QNEQUAL_E____QNumericExpression_E__Or__QLT_E____QNumericExpression_E__Or__QGT_E____QNumericExpression_E__Or__QLE_E____QNumericExpression_E__Or__QGE_E____QNumericExpression_E__C</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__O_QExpression_E____QCOMMA_E____QExpression_E_Star_C"><strong>on__O_QExpression_E____QCOMMA_E____QExpression_E_Star_C</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__O_QFunctionCall_E__Or__QVar_E__Or__QBrackettedExpression_E__C"><strong>on__O_QFunctionCall_E__Or__QVar_E__Or__QBrackettedExpression_E__C</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__O_QLANGTAG_E__Or__QDTYPE_E____QIRIref_E__C"><strong>on__O_QLANGTAG_E__Or__QDTYPE_E____QIRIref_E__C</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__O_QOR_E____QConditionalAndExpression_E__C"><strong>on__O_QOR_E____QConditionalAndExpression_E__C</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__O_QPLUS_E____QMultiplicativeExpression_E__Or__QMINUS_E____QMultiplicativeExpression_E__C"><strong>on__O_QPLUS_E____QMultiplicativeExpression_E__Or__QMINUS_E____QMultiplicativeExpression_E__C</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__O_QSEMI_E____QPropertyList_E__C"><strong>on__O_QSEMI_E____QPropertyList_E__C</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__O_QSelectQuery_E__Or__QConstructQuery_E__Or__QDescribeQuery_E__Or__QAskQuery_E__C"><strong>on__O_QSelectQuery_E__Or__QConstructQuery_E__Or__QDescribeQuery_E__Or__QAskQuery_E__C</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__O_QTIMES_E____QUnaryExpression_E__Or__QDIVIDE_E____QUnaryExpression_E__C"><strong>on__O_QTIMES_E____QUnaryExpression_E__Or__QDIVIDE_E____QUnaryExpression_E__C</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__O_QTriples1_E____QGraphPatternListTail_E__Or__QGraphPatternNotTriples_E____QGraphPatternNotTriplesTail_E__C"><strong>on__O_QTriples1_E____QGraphPatternListTail_E__Or__QGraphPatternNotTriples_E____QGraphPatternNotTriplesTail_E__C</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__O_QUNION_E____QGroupGraphPattern_E__C"><strong>on__O_QUNION_E____QGroupGraphPattern_E__C</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__O_QVarOrIRIref_E_Plus_Or__QTIMES_E__C"><strong>on__O_QVarOrIRIref_E_Plus_Or__QTIMES_E__C</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__O_QVar_E_Plus_Or__QTIMES_E__C"><strong>on__O_QVar_E_Plus_Or__QTIMES_E__C</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__QArgList_E_Opt"><strong>on__QArgList_E_Opt</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__QBaseDecl_E_Opt"><strong>on__QBaseDecl_E_Opt</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__QDISTINCT_E_Opt"><strong>on__QDISTINCT_E_Opt</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__QDatasetClause_E_Star"><strong>on__QDatasetClause_E_Star</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__QDot_E_Opt"><strong>on__QDot_E_Opt</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__QGraphNode_E_Plus"><strong>on__QGraphNode_E_Plus</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__QGraphNode_E_Star"><strong>on__QGraphNode_E_Star</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__QLimitClause_E_Opt"><strong>on__QLimitClause_E_Opt</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__QOffsetClause_E_Opt"><strong>on__QOffsetClause_E_Opt</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__QOrderClause_E_Opt"><strong>on__QOrderClause_E_Opt</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__QOrderCondition_E_Plus"><strong>on__QOrderCondition_E_Plus</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__QPrefixDecl_E_Star"><strong>on__QPrefixDecl_E_Star</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__QPropertyListNotEmpty_E_Opt"><strong>on__QPropertyListNotEmpty_E_Opt</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__QTriples_E_Opt"><strong>on__QTriples_E_Opt</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__QVarOrIRIref_E_Plus"><strong>on__QVarOrIRIref_E_Plus</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__QVar_E_Plus"><strong>on__QVar_E_Plus</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__QWHERE_E_Opt"><strong>on__QWHERE_E_Opt</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__QWhereClause_E_Opt"><strong>on__QWhereClause_E_Opt</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__Q_O_QAND_E____QValueLogical_E__C_E_Star"><strong>on__Q_O_QAND_E____QValueLogical_E__C_E_Star</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__Q_O_QCOMMA_E____QExpression_E__C_E_Opt"><strong>on__Q_O_QCOMMA_E____QExpression_E__C_E_Opt</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__Q_O_QCOMMA_E____QExpression_E__C_E_Star"><strong>on__Q_O_QCOMMA_E____QExpression_E__C_E_Star</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__Q_O_QCOMMA_E____QObjectList_E__C_E_Opt"><strong>on__Q_O_QCOMMA_E____QObjectList_E__C_E_Opt</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__Q_O_QDot_E____QGraphPatternList_E__C_E_Opt"><strong>on__Q_O_QDot_E____QGraphPatternList_E__C_E_Opt</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__Q_O_QDot_E____QTriples_E_Opt_C_E_Opt"><strong>on__Q_O_QDot_E____QTriples_E_Opt_C_E_Opt</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__Q_O_QEQUAL_E____QNumericExpression_E__Or__QNEQUAL_E____QNumericExpression_E__Or__QLT_E____QNumericExpression_E__Or__QGT_E____QNumericExpression_E__Or__QLE_E____QNumericExpression_E__Or__QGE_E____QNumericExpression_E__C_E_Opt"><strong>on__Q_O_QEQUAL_E____QNumericExpression_E__Or__QNEQUAL_E____QNumericExpression_E__Or__QLT_E____QNumericExpression_E__Or__QGT_E____QNumericExpression_E__Or__QLE_E____QNumericExpression_E__Or__QGE_E____QNumericExpression_E__C_E_Opt</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__Q_O_QExpression_E____QCOMMA_E____QExpression_E_Star_C_E_Opt"><strong>on__Q_O_QExpression_E____QCOMMA_E____QExpression_E_Star_C_E_Opt</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__Q_O_QLANGTAG_E__Or__QDTYPE_E____QIRIref_E__C_E_Opt"><strong>on__Q_O_QLANGTAG_E__Or__QDTYPE_E____QIRIref_E__C_E_Opt</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__Q_O_QOR_E____QConditionalAndExpression_E__C_E_Star"><strong>on__Q_O_QOR_E____QConditionalAndExpression_E__C_E_Star</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__Q_O_QPLUS_E____QMultiplicativeExpression_E__Or__QMINUS_E____QMultiplicativeExpression_E__C_E_Star"><strong>on__Q_O_QPLUS_E____QMultiplicativeExpression_E__Or__QMINUS_E____QMultiplicativeExpression_E__C_E_Star</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__Q_O_QSEMI_E____QPropertyList_E__C_E_Opt"><strong>on__Q_O_QSEMI_E____QPropertyList_E__C_E_Opt</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__Q_O_QTIMES_E____QUnaryExpression_E__Or__QDIVIDE_E____QUnaryExpression_E__C_E_Star"><strong>on__Q_O_QTIMES_E____QUnaryExpression_E__Or__QDIVIDE_E____QUnaryExpression_E__C_E_Star</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__Q_O_QTriples1_E____QGraphPatternListTail_E__Or__QGraphPatternNotTriples_E____QGraphPatternNotTriplesTail_E__C_E_Opt"><strong>on__Q_O_QTriples1_E____QGraphPatternListTail_E__Or__QGraphPatternNotTriples_E____QGraphPatternNotTriplesTail_E__C_E_Opt</strong></a>(self, p)</dt></dl>
<dl><dt><a name="FromSparql-on__Q_O_QUNION_E____QGroupGraphPattern_E__C_E_Star"><strong>on__Q_O_QUNION_E____QGroupGraphPattern_E__C_E_Star</strong></a>(self, p)</dt></dl>
<hr>
Methods inherited from <a href="sparql2cwm.html#productionHandler">productionHandler</a>:<br>
<dl><dt><a name="FromSparql-prod"><strong>prod</strong></a>(self, production)</dt></dl>
<hr>
Data and other attributes inherited from <a href="sparql2cwm.html#productionHandler">productionHandler</a>:<br>
<dl><dt><strong>__dict__</strong> = <dictproxy object><dd><tt>dictionary for instance variables (if defined)</tt></dl>
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'productionHandler' objects><dd><tt>list of weak references to the <a href="__builtin__.html#object">object</a> (if defined)</tt></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="NotNot">class <strong>NotNot</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>This class is used to figure out the inverses of all SPARQL boolean tests, and invert all functions<br> </tt></td></tr>
<tr><td> </td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="NotNot-__call__"><strong>__call__</strong></a>(self, expr, inv<font color="#909090">=False</font>, Ored<font color="#909090">=False</font>)</dt></dl>
<dl><dt><a name="NotNot-__init__"><strong>__init__</strong></a>(self)</dt></dl>
<dl><dt><a name="NotNot-atom"><strong>atom</strong></a>(self, p, inv, ored)</dt></dl>
<dl><dt><a name="NotNot-expr"><strong>expr</strong></a>(self, p, inv, ored)</dt></dl>
<dl><dt><a name="NotNot-on_And"><strong>on_And</strong></a>(self, p, inv, ored)</dt></dl>
<dl><dt><a name="NotNot-on_BoolVal"><strong>on_BoolVal</strong></a>(self, p, inv, ored)</dt></dl>
<dl><dt><a name="NotNot-on_Not"><strong>on_Not</strong></a>(self, p, inv, ored)</dt></dl>
<dl><dt><a name="NotNot-on_Or"><strong>on_Or</strong></a>(self, p, inv, ored)</dt></dl>
<dl><dt><a name="NotNot-on_Regex"><strong>on_Regex</strong></a>(self, p, inv, ored)</dt></dl>
<dl><dt><a name="NotNot-on_notMatches"><strong>on_notMatches</strong></a>(self, p, inv)</dt></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>__dict__</strong> = <dictproxy object><dd><tt>dictionary for instance variables (if defined)</tt></dl>
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'NotNot' objects><dd><tt>list of weak references to the <a href="__builtin__.html#object">object</a> (if defined)</tt></dl>
<dl><dt><strong>inverse_operators</strong> = {'Bound': 'notBound', 'equal': 'notEqual', 'greater': 'notGreater', 'isBlank': 'isNotBlank', 'isLiteral': 'isNotLiteral', 'isNotBlank': 'isBlank', 'isNotLiteral': 'isLiteral', 'isNotURI': 'isURI', 'isURI': 'isNotURI', 'less': 'notLess', ...}</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="RulesMaker">class <strong>RulesMaker</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="RulesMaker-__init__"><strong>__init__</strong></a>(self, ns)</dt></dl>
<dl><dt><a name="RulesMaker-find_vars"><strong>find_vars</strong></a>(self, vars, f)</dt></dl>
<dl><dt><a name="RulesMaker-implications"><strong>implications</strong></a>(self, query, formula, totalResult)</dt></dl>
<dl><dt><a name="RulesMaker-matching_subformula"><strong>matching_subformula</strong></a>(self, retF, illegals, F)</dt></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>__dict__</strong> = <dictproxy object><dd><tt>dictionary for instance variables (if defined)</tt></dl>
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'RulesMaker' objects><dd><tt>list of weak references to the <a href="__builtin__.html#object">object</a> (if defined)</tt></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="TripleHolder">class <strong>TripleHolder</strong></a>(<a href="__builtin__.html#tuple">__builtin__.tuple</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="sparql2cwm.html#TripleHolder">TripleHolder</a></dd>
<dd><a href="__builtin__.html#tuple">__builtin__.tuple</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Static methods defined here:<br>
<dl><dt><a name="TripleHolder-__new__"><strong>__new__</strong></a>(cls, *args, **keywords)</dt></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>__dict__</strong> = <dictproxy object><dd><tt>dictionary for instance variables (if defined)</tt></dl>
<hr>
Methods inherited from <a href="__builtin__.html#tuple">__builtin__.tuple</a>:<br>
<dl><dt><a name="TripleHolder-__add__"><strong>__add__</strong></a>(...)</dt><dd><tt>x.<a href="#TripleHolder-__add__">__add__</a>(y) <==> x+y</tt></dd></dl>
<dl><dt><a name="TripleHolder-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>x.<a href="#TripleHolder-__contains__">__contains__</a>(y) <==> y in x</tt></dd></dl>
<dl><dt><a name="TripleHolder-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#TripleHolder-__eq__">__eq__</a>(y) <==> x==y</tt></dd></dl>
<dl><dt><a name="TripleHolder-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#TripleHolder-__ge__">__ge__</a>(y) <==> x>=y</tt></dd></dl>
<dl><dt><a name="TripleHolder-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#TripleHolder-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl>
<dl><dt><a name="TripleHolder-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#TripleHolder-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl>
<dl><dt><a name="TripleHolder-__getnewargs__"><strong>__getnewargs__</strong></a>(...)</dt></dl>
<dl><dt><a name="TripleHolder-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#TripleHolder-__getslice__">__getslice__</a>(i, j) <==> x[i:j]<br>
<br>
Use of negative indices is not supported.</tt></dd></dl>
<dl><dt><a name="TripleHolder-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#TripleHolder-__gt__">__gt__</a>(y) <==> x>y</tt></dd></dl>
<dl><dt><a name="TripleHolder-__hash__"><strong>__hash__</strong></a>(...)</dt><dd><tt>x.<a href="#TripleHolder-__hash__">__hash__</a>() <==> hash(x)</tt></dd></dl>
<dl><dt><a name="TripleHolder-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#TripleHolder-__iter__">__iter__</a>() <==> iter(x)</tt></dd></dl>
<dl><dt><a name="TripleHolder-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#TripleHolder-__le__">__le__</a>(y) <==> x<=y</tt></dd></dl>
<dl><dt><a name="TripleHolder-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#TripleHolder-__len__">__len__</a>() <==> len(x)</tt></dd></dl>
<dl><dt><a name="TripleHolder-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#TripleHolder-__lt__">__lt__</a>(y) <==> x<y</tt></dd></dl>
<dl><dt><a name="TripleHolder-__mul__"><strong>__mul__</strong></a>(...)</dt><dd><tt>x.<a href="#TripleHolder-__mul__">__mul__</a>(n) <==> x*n</tt></dd></dl>
<dl><dt><a name="TripleHolder-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#TripleHolder-__ne__">__ne__</a>(y) <==> x!=y</tt></dd></dl>
<dl><dt><a name="TripleHolder-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#TripleHolder-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl>
<dl><dt><a name="TripleHolder-__rmul__"><strong>__rmul__</strong></a>(...)</dt><dd><tt>x.<a href="#TripleHolder-__rmul__">__rmul__</a>(n) <==> n*x</tt></dd></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="andExtra">class <strong>andExtra</strong></a>(<a href="__builtin__.html#tuple">__builtin__.tuple</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="sparql2cwm.html#andExtra">andExtra</a></dd>
<dd><a href="__builtin__.html#tuple">__builtin__.tuple</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="andExtra-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<hr>
Static methods defined here:<br>
<dl><dt><a name="andExtra-__new__"><strong>__new__</strong></a>(cls, val, extra)</dt></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>__dict__</strong> = <dictproxy object><dd><tt>dictionary for instance variables (if defined)</tt></dl>
<hr>
Methods inherited from <a href="__builtin__.html#tuple">__builtin__.tuple</a>:<br>
<dl><dt><a name="andExtra-__add__"><strong>__add__</strong></a>(...)</dt><dd><tt>x.<a href="#andExtra-__add__">__add__</a>(y) <==> x+y</tt></dd></dl>
<dl><dt><a name="andExtra-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>x.<a href="#andExtra-__contains__">__contains__</a>(y) <==> y in x</tt></dd></dl>
<dl><dt><a name="andExtra-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#andExtra-__eq__">__eq__</a>(y) <==> x==y</tt></dd></dl>
<dl><dt><a name="andExtra-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#andExtra-__ge__">__ge__</a>(y) <==> x>=y</tt></dd></dl>
<dl><dt><a name="andExtra-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#andExtra-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl>
<dl><dt><a name="andExtra-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#andExtra-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl>
<dl><dt><a name="andExtra-__getnewargs__"><strong>__getnewargs__</strong></a>(...)</dt></dl>
<dl><dt><a name="andExtra-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#andExtra-__getslice__">__getslice__</a>(i, j) <==> x[i:j]<br>
<br>
Use of negative indices is not supported.</tt></dd></dl>
<dl><dt><a name="andExtra-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#andExtra-__gt__">__gt__</a>(y) <==> x>y</tt></dd></dl>
<dl><dt><a name="andExtra-__hash__"><strong>__hash__</strong></a>(...)</dt><dd><tt>x.<a href="#andExtra-__hash__">__hash__</a>() <==> hash(x)</tt></dd></dl>
<dl><dt><a name="andExtra-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#andExtra-__iter__">__iter__</a>() <==> iter(x)</tt></dd></dl>
<dl><dt><a name="andExtra-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#andExtra-__le__">__le__</a>(y) <==> x<=y</tt></dd></dl>
<dl><dt><a name="andExtra-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#andExtra-__len__">__len__</a>() <==> len(x)</tt></dd></dl>
<dl><dt><a name="andExtra-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#andExtra-__lt__">__lt__</a>(y) <==> x<y</tt></dd></dl>
<dl><dt><a name="andExtra-__mul__"><strong>__mul__</strong></a>(...)</dt><dd><tt>x.<a href="#andExtra-__mul__">__mul__</a>(n) <==> x*n</tt></dd></dl>
<dl><dt><a name="andExtra-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#andExtra-__ne__">__ne__</a>(y) <==> x!=y</tt></dd></dl>
<dl><dt><a name="andExtra-__rmul__"><strong>__rmul__</strong></a>(...)</dt><dd><tt>x.<a href="#andExtra-__rmul__">__rmul__</a>(n) <==> n*x</tt></dd></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="multimap">class <strong>multimap</strong></a>(<a href="__builtin__.html#dict">__builtin__.dict</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>A class to handle where each element maps to a set of elements<br>
<br>
It would perhaps be simpler to have used <a href="__builtin__.html#dict">dict</a>.<a href="#multimap-setdefault">setdefault</a>(), but this has the<br>
advantage of merging instead of nesting sets<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="sparql2cwm.html#multimap">multimap</a></dd>
<dd><a href="__builtin__.html#dict">__builtin__.dict</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="multimap-__add__"><strong>__add__</strong></a>(self, other)</dt></dl>
<dl><dt><a name="multimap-__init__"><strong>__init__</strong></a>(self, olddict<font color="#909090">={}</font>, **values)</dt></dl>
<dl><dt><a name="multimap-__setitem__"><strong>__setitem__</strong></a>(self, key, value)</dt></dl>
<dl><dt><a name="multimap-translate"><strong>translate</strong></a>(self, fromkey, tokey)</dt></dl>
<dl><dt><a name="multimap-update"><strong>update</strong></a>(self, other<font color="#909090">={}</font>, **values)</dt></dl>
<hr>
Class methods defined here:<br>
<dl><dt><a name="multimap-fromTuples"><strong>fromTuples</strong></a> = <a href="#multimap-_fromTuples">_fromTuples</a>(cls, iterator)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>__dict__</strong> = <dictproxy object><dd><tt>dictionary for instance variables (if defined)</tt></dl>
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'multimap' objects><dd><tt>list of weak references to the <a href="__builtin__.html#object">object</a> (if defined)</tt></dl>
<dl><dt><strong>innerSet</strong> = <class 'sparql2cwm.innerSet'></dl>
<hr>
Methods inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br>
<dl><dt><a name="multimap-__cmp__"><strong>__cmp__</strong></a>(...)</dt><dd><tt>x.<a href="#multimap-__cmp__">__cmp__</a>(y) <==> cmp(x,y)</tt></dd></dl>
<dl><dt><a name="multimap-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>D.<a href="#multimap-__contains__">__contains__</a>(k) -> True if D has a key k, else False</tt></dd></dl>
<dl><dt><a name="multimap-__delitem__"><strong>__delitem__</strong></a>(...)</dt><dd><tt>x.<a href="#multimap-__delitem__">__delitem__</a>(y) <==> del x[y]</tt></dd></dl>
<dl><dt><a name="multimap-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#multimap-__eq__">__eq__</a>(y) <==> x==y</tt></dd></dl>
<dl><dt><a name="multimap-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#multimap-__ge__">__ge__</a>(y) <==> x>=y</tt></dd></dl>
<dl><dt><a name="multimap-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#multimap-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl>
<dl><dt><a name="multimap-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#multimap-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl>
<dl><dt><a name="multimap-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#multimap-__gt__">__gt__</a>(y) <==> x>y</tt></dd></dl>
<dl><dt><a name="multimap-__hash__"><strong>__hash__</strong></a>(...)</dt><dd><tt>x.<a href="#multimap-__hash__">__hash__</a>() <==> hash(x)</tt></dd></dl>
<dl><dt><a name="multimap-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#multimap-__iter__">__iter__</a>() <==> iter(x)</tt></dd></dl>
<dl><dt><a name="multimap-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#multimap-__le__">__le__</a>(y) <==> x<=y</tt></dd></dl>
<dl><dt><a name="multimap-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#multimap-__len__">__len__</a>() <==> len(x)</tt></dd></dl>
<dl><dt><a name="multimap-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#multimap-__lt__">__lt__</a>(y) <==> x<y</tt></dd></dl>
<dl><dt><a name="multimap-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#multimap-__ne__">__ne__</a>(y) <==> x!=y</tt></dd></dl>
<dl><dt><a name="multimap-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#multimap-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl>
<dl><dt><a name="multimap-clear"><strong>clear</strong></a>(...)</dt><dd><tt>D.<a href="#multimap-clear">clear</a>() -> None. Remove all items from D.</tt></dd></dl>
<dl><dt><a name="multimap-copy"><strong>copy</strong></a>(...)</dt><dd><tt>D.<a href="#multimap-copy">copy</a>() -> a shallow copy of D</tt></dd></dl>
<dl><dt><a name="multimap-get"><strong>get</strong></a>(...)</dt><dd><tt>D.<a href="#multimap-get">get</a>(k[,d]) -> D[k] if k in D, else d. d defaults to None.</tt></dd></dl>
<dl><dt><a name="multimap-has_key"><strong>has_key</strong></a>(...)</dt><dd><tt>D.<a href="#multimap-has_key">has_key</a>(k) -> True if D has a key k, else False</tt></dd></dl>
<dl><dt><a name="multimap-items"><strong>items</strong></a>(...)</dt><dd><tt>D.<a href="#multimap-items">items</a>() -> list of D's (key, value) pairs, as 2-tuples</tt></dd></dl>
<dl><dt><a name="multimap-iteritems"><strong>iteritems</strong></a>(...)</dt><dd><tt>D.<a href="#multimap-iteritems">iteritems</a>() -> an iterator over the (key, value) items of D</tt></dd></dl>
<dl><dt><a name="multimap-iterkeys"><strong>iterkeys</strong></a>(...)</dt><dd><tt>D.<a href="#multimap-iterkeys">iterkeys</a>() -> an iterator over the keys of D</tt></dd></dl>
<dl><dt><a name="multimap-itervalues"><strong>itervalues</strong></a>(...)</dt><dd><tt>D.<a href="#multimap-itervalues">itervalues</a>() -> an iterator over the values of D</tt></dd></dl>
<dl><dt><a name="multimap-keys"><strong>keys</strong></a>(...)</dt><dd><tt>D.<a href="#multimap-keys">keys</a>() -> list of D's keys</tt></dd></dl>
<dl><dt><a name="multimap-pop"><strong>pop</strong></a>(...)</dt><dd><tt>D.<a href="#multimap-pop">pop</a>(k[,d]) -> v, remove specified key and return the corresponding value<br>
If key is not found, d is returned if given, otherwise KeyError is raised</tt></dd></dl>
<dl><dt><a name="multimap-popitem"><strong>popitem</strong></a>(...)</dt><dd><tt>D.<a href="#multimap-popitem">popitem</a>() -> (k, v), remove and return some (key, value) pair as a<br>
2-<a href="__builtin__.html#tuple">tuple</a>; but raise KeyError if D is empty</tt></dd></dl>
<dl><dt><a name="multimap-setdefault"><strong>setdefault</strong></a>(...)</dt><dd><tt>D.<a href="#multimap-setdefault">setdefault</a>(k[,d]) -> D.<a href="#multimap-get">get</a>(k,d), also set D[k]=d if k not in D</tt></dd></dl>
<dl><dt><a name="multimap-values"><strong>values</strong></a>(...)</dt><dd><tt>D.<a href="#multimap-values">values</a>() -> list of D's values</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br>
<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#multimap-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl>
<dl><dt><strong>fromkeys</strong> = <built-in method fromkeys of type object><dd><tt><a href="__builtin__.html#dict">dict</a>.<a href="#multimap-fromkeys">fromkeys</a>(S[,v]) -> New <a href="__builtin__.html#dict">dict</a> with keys from S and values equal to v.<br>
v defaults to None.</tt></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="productionHandler">class <strong>productionHandler</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="productionHandler-prod"><strong>prod</strong></a>(self, production)</dt></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>__dict__</strong> = <dictproxy object><dd><tt>dictionary for instance variables (if defined)</tt></dl>
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'productionHandler' objects><dd><tt>list of weak references to the <a href="__builtin__.html#object">object</a> (if defined)</tt></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="typedThing">class <strong>typedThing</strong></a>(<a href="__builtin__.html#unicode">__builtin__.unicode</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="sparql2cwm.html#typedThing">typedThing</a></dd>
<dd><a href="__builtin__.html#unicode">__builtin__.unicode</a></dd>
<dd><a href="__builtin__.html#basestring">__builtin__.basestring</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="typedThing-__call__"><strong>__call__</strong></a>(self)</dt></dl>
<hr>
Static methods defined here:<br>
<dl><dt><a name="typedThing-__new__"><strong>__new__</strong></a>(cls, val, retType<font color="#909090">=None</font>, ArgTypes<font color="#909090">=[]</font>, trueOnError<font color="#909090">=False</font>)</dt></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>__dict__</strong> = <dictproxy object><dd><tt>dictionary for instance variables (if defined)</tt></dl>
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'typedThing' objects><dd><tt>list of weak references to the <a href="__builtin__.html#object">object</a> (if defined)</tt></dl>
<hr>
Methods inherited from <a href="__builtin__.html#unicode">__builtin__.unicode</a>:<br>
<dl><dt><a name="typedThing-__add__"><strong>__add__</strong></a>(...)</dt><dd><tt>x.<a href="#typedThing-__add__">__add__</a>(y) <==> x+y</tt></dd></dl>
<dl><dt><a name="typedThing-__cmp__"><strong>__cmp__</strong></a>(...)</dt><dd><tt>x.<a href="#typedThing-__cmp__">__cmp__</a>(y) <==> cmp(x,y)</tt></dd></dl>
<dl><dt><a name="typedThing-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>x.<a href="#typedThing-__contains__">__contains__</a>(y) <==> y in x</tt></dd></dl>
<dl><dt><a name="typedThing-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#typedThing-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl>
<dl><dt><a name="typedThing-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#typedThing-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl>
<dl><dt><a name="typedThing-__getnewargs__"><strong>__getnewargs__</strong></a>(...)</dt></dl>
<dl><dt><a name="typedThing-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#typedThing-__getslice__">__getslice__</a>(i, j) <==> x[i:j]<br>
<br>
Use of negative indices is not supported.</tt></dd></dl>
<dl><dt><a name="typedThing-__hash__"><strong>__hash__</strong></a>(...)</dt><dd><tt>x.<a href="#typedThing-__hash__">__hash__</a>() <==> hash(x)</tt></dd></dl>
<dl><dt><a name="typedThing-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#typedThing-__len__">__len__</a>() <==> len(x)</tt></dd></dl>
<dl><dt><a name="typedThing-__mod__"><strong>__mod__</strong></a>(...)</dt><dd><tt>x.<a href="#typedThing-__mod__">__mod__</a>(y) <==> x%y</tt></dd></dl>
<dl><dt><a name="typedThing-__mul__"><strong>__mul__</strong></a>(...)</dt><dd><tt>x.<a href="#typedThing-__mul__">__mul__</a>(n) <==> x*n</tt></dd></dl>
<dl><dt><a name="typedThing-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#typedThing-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl>
<dl><dt><a name="typedThing-__rmod__"><strong>__rmod__</strong></a>(...)</dt><dd><tt>x.<a href="#typedThing-__rmod__">__rmod__</a>(y) <==> y%x</tt></dd></dl>
<dl><dt><a name="typedThing-__rmul__"><strong>__rmul__</strong></a>(...)</dt><dd><tt>x.<a href="#typedThing-__rmul__">__rmul__</a>(n) <==> n*x</tt></dd></dl>
<dl><dt><a name="typedThing-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#typedThing-__str__">__str__</a>() <==> str(x)</tt></dd></dl>
<dl><dt><a name="typedThing-capitalize"><strong>capitalize</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-capitalize">capitalize</a>() -> <a href="__builtin__.html#unicode">unicode</a><br>
<br>
Return a capitalized version of S, i.e. make the first character<br>
have upper case.</tt></dd></dl>
<dl><dt><a name="typedThing-center"><strong>center</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-center">center</a>(width[, fillchar]) -> <a href="__builtin__.html#unicode">unicode</a><br>
<br>
Return S centered in a Unicode string of length width. Padding is<br>
done using the specified fill character (default is a space)</tt></dd></dl>
<dl><dt><a name="typedThing-count"><strong>count</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-count">count</a>(sub[, start[, end]]) -> int<br>
<br>
Return the number of occurrences of substring sub in Unicode string<br>
S[start:end]. Optional arguments start and end are<br>
interpreted as in slice notation.</tt></dd></dl>
<dl><dt><a name="typedThing-decode"><strong>decode</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-decode">decode</a>([encoding[,errors]]) -> string or <a href="__builtin__.html#unicode">unicode</a><br>
<br>
Decodes S using the codec registered for encoding. encoding defaults<br>
to the default encoding. errors may be given to set a different error<br>
handling scheme. Default is 'strict' meaning that encoding errors raise<br>
a UnicodeDecodeError. Other possible values are 'ignore' and 'replace'<br>
as well as any other name registerd with codecs.register_error that is<br>
able to handle UnicodeDecodeErrors.</tt></dd></dl>
<dl><dt><a name="typedThing-encode"><strong>encode</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-encode">encode</a>([encoding[,errors]]) -> string or <a href="__builtin__.html#unicode">unicode</a><br>
<br>
Encodes S using the codec registered for encoding. encoding defaults<br>
to the default encoding. errors may be given to set a different error<br>
handling scheme. Default is 'strict' meaning that encoding errors raise<br>
a UnicodeEncodeError. Other possible values are 'ignore', 'replace' and<br>
'xmlcharrefreplace' as well as any other name registered with<br>
codecs.register_error that can handle UnicodeEncodeErrors.</tt></dd></dl>
<dl><dt><a name="typedThing-endswith"><strong>endswith</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-endswith">endswith</a>(suffix[, start[, end]]) -> bool<br>
<br>
Return True if S ends with the specified suffix, False otherwise.<br>
With optional start, test S beginning at that position.<br>
With optional end, stop comparing S at that position.</tt></dd></dl>
<dl><dt><a name="typedThing-expandtabs"><strong>expandtabs</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-expandtabs">expandtabs</a>([tabsize]) -> <a href="__builtin__.html#unicode">unicode</a><br>
<br>
Return a copy of S where all tab characters are expanded using spaces.<br>
If tabsize is not given, a tab size of 8 characters is assumed.</tt></dd></dl>
<dl><dt><a name="typedThing-find"><strong>find</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-find">find</a>(sub [,start [,end]]) -> int<br>
<br>
Return the lowest index in S where substring sub is found,<br>
such that sub is contained within s[start,end]. Optional<br>
arguments start and end are interpreted as in slice notation.<br>
<br>
Return -1 on failure.</tt></dd></dl>
<dl><dt><a name="typedThing-index"><strong>index</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-index">index</a>(sub [,start [,end]]) -> int<br>
<br>
Like S.<a href="#typedThing-find">find</a>() but raise ValueError when the substring is not found.</tt></dd></dl>
<dl><dt><a name="typedThing-isalnum"><strong>isalnum</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-isalnum">isalnum</a>() -> bool<br>
<br>
Return True if all characters in S are alphanumeric<br>
and there is at least one character in S, False otherwise.</tt></dd></dl>
<dl><dt><a name="typedThing-isalpha"><strong>isalpha</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-isalpha">isalpha</a>() -> bool<br>
<br>
Return True if all characters in S are alphabetic<br>
and there is at least one character in S, False otherwise.</tt></dd></dl>
<dl><dt><a name="typedThing-isdecimal"><strong>isdecimal</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-isdecimal">isdecimal</a>() -> bool<br>
<br>
Return True if there are only decimal characters in S,<br>
False otherwise.</tt></dd></dl>
<dl><dt><a name="typedThing-isdigit"><strong>isdigit</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-isdigit">isdigit</a>() -> bool<br>
<br>
Return True if all characters in S are digits<br>
and there is at least one character in S, False otherwise.</tt></dd></dl>
<dl><dt><a name="typedThing-islower"><strong>islower</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-islower">islower</a>() -> bool<br>
<br>
Return True if all cased characters in S are lowercase and there is<br>
at least one cased character in S, False otherwise.</tt></dd></dl>
<dl><dt><a name="typedThing-isnumeric"><strong>isnumeric</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-isnumeric">isnumeric</a>() -> bool<br>
<br>
Return True if there are only numeric characters in S,<br>
False otherwise.</tt></dd></dl>
<dl><dt><a name="typedThing-isspace"><strong>isspace</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-isspace">isspace</a>() -> bool<br>
<br>
Return True if all characters in S are whitespace<br>
and there is at least one character in S, False otherwise.</tt></dd></dl>
<dl><dt><a name="typedThing-istitle"><strong>istitle</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-istitle">istitle</a>() -> bool<br>
<br>
Return True if S is a titlecased string and there is at least one<br>
character in S, i.e. upper- and titlecase characters may only<br>
follow uncased characters and lowercase characters only cased ones.<br>
Return False otherwise.</tt></dd></dl>
<dl><dt><a name="typedThing-isupper"><strong>isupper</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-isupper">isupper</a>() -> bool<br>
<br>
Return True if all cased characters in S are uppercase and there is<br>
at least one cased character in S, False otherwise.</tt></dd></dl>
<dl><dt><a name="typedThing-join"><strong>join</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-join">join</a>(sequence) -> <a href="__builtin__.html#unicode">unicode</a><br>
<br>
Return a string which is the concatenation of the strings in the<br>
sequence. The separator between elements is S.</tt></dd></dl>
<dl><dt><a name="typedThing-ljust"><strong>ljust</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-ljust">ljust</a>(width[, fillchar]) -> int<br>
<br>
Return S left justified in a Unicode string of length width. Padding is<br>
done using the specified fill character (default is a space).</tt></dd></dl>
<dl><dt><a name="typedThing-lower"><strong>lower</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-lower">lower</a>() -> <a href="__builtin__.html#unicode">unicode</a><br>
<br>
Return a copy of the string S converted to lowercase.</tt></dd></dl>
<dl><dt><a name="typedThing-lstrip"><strong>lstrip</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-lstrip">lstrip</a>([chars]) -> <a href="__builtin__.html#unicode">unicode</a><br>
<br>
Return a copy of the string S with leading whitespace removed.<br>
If chars is given and not None, remove characters in chars instead.<br>
If chars is a str, it will be converted to <a href="__builtin__.html#unicode">unicode</a> before stripping</tt></dd></dl>
<dl><dt><a name="typedThing-replace"><strong>replace</strong></a>(...)</dt><dd><tt>S.replace (old, new[, maxsplit]) -> <a href="__builtin__.html#unicode">unicode</a><br>
<br>
Return a copy of S with all occurrences of substring<br>
old replaced by new. If the optional argument maxsplit is<br>
given, only the first maxsplit occurrences are replaced.</tt></dd></dl>
<dl><dt><a name="typedThing-rfind"><strong>rfind</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-rfind">rfind</a>(sub [,start [,end]]) -> int<br>
<br>
Return the highest index in S where substring sub is found,<br>
such that sub is contained within s[start,end]. Optional<br>
arguments start and end are interpreted as in slice notation.<br>
<br>
Return -1 on failure.</tt></dd></dl>
<dl><dt><a name="typedThing-rindex"><strong>rindex</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-rindex">rindex</a>(sub [,start [,end]]) -> int<br>
<br>
Like S.<a href="#typedThing-rfind">rfind</a>() but raise ValueError when the substring is not found.</tt></dd></dl>
<dl><dt><a name="typedThing-rjust"><strong>rjust</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-rjust">rjust</a>(width[, fillchar]) -> <a href="__builtin__.html#unicode">unicode</a><br>
<br>
Return S right justified in a Unicode string of length width. Padding is<br>
done using the specified fill character (default is a space).</tt></dd></dl>
<dl><dt><a name="typedThing-rsplit"><strong>rsplit</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-rsplit">rsplit</a>([sep [,maxsplit]]) -> list of strings<br>
<br>
Return a list of the words in S, using sep as the<br>
delimiter string, starting at the end of the string and<br>
working to the front. If maxsplit is given, at most maxsplit<br>
splits are done. If sep is not specified, any whitespace string<br>
is a separator.</tt></dd></dl>
<dl><dt><a name="typedThing-rstrip"><strong>rstrip</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-rstrip">rstrip</a>([chars]) -> <a href="__builtin__.html#unicode">unicode</a><br>
<br>
Return a copy of the string S with trailing whitespace removed.<br>
If chars is given and not None, remove characters in chars instead.<br>
If chars is a str, it will be converted to <a href="__builtin__.html#unicode">unicode</a> before stripping</tt></dd></dl>
<dl><dt><a name="typedThing-split"><strong>split</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-split">split</a>([sep [,maxsplit]]) -> list of strings<br>
<br>
Return a list of the words in S, using sep as the<br>
delimiter string. If maxsplit is given, at most maxsplit<br>
splits are done. If sep is not specified or is None,<br>
any whitespace string is a separator.</tt></dd></dl>
<dl><dt><a name="typedThing-splitlines"><strong>splitlines</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-splitlines">splitlines</a>([keepends]]) -> list of strings<br>
<br>
Return a list of the lines in S, breaking at line boundaries.<br>
Line breaks are not included in the resulting list unless keepends<br>
is given and true.</tt></dd></dl>
<dl><dt><a name="typedThing-startswith"><strong>startswith</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-startswith">startswith</a>(prefix[, start[, end]]) -> bool<br>
<br>
Return True if S starts with the specified prefix, False otherwise.<br>
With optional start, test S beginning at that position.<br>
With optional end, stop comparing S at that position.</tt></dd></dl>
<dl><dt><a name="typedThing-strip"><strong>strip</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-strip">strip</a>([chars]) -> <a href="__builtin__.html#unicode">unicode</a><br>
<br>
Return a copy of the string S with leading and trailing<br>
whitespace removed.<br>
If chars is given and not None, remove characters in chars instead.<br>
If chars is a str, it will be converted to <a href="__builtin__.html#unicode">unicode</a> before stripping</tt></dd></dl>
<dl><dt><a name="typedThing-swapcase"><strong>swapcase</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-swapcase">swapcase</a>() -> <a href="__builtin__.html#unicode">unicode</a><br>
<br>
Return a copy of S with uppercase characters converted to lowercase<br>
and vice versa.</tt></dd></dl>
<dl><dt><a name="typedThing-title"><strong>title</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-title">title</a>() -> <a href="__builtin__.html#unicode">unicode</a><br>
<br>
Return a titlecased version of S, i.e. words start with title case<br>
characters, all remaining cased characters have lower case.</tt></dd></dl>
<dl><dt><a name="typedThing-translate"><strong>translate</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-translate">translate</a>(table) -> <a href="__builtin__.html#unicode">unicode</a><br>
<br>
Return a copy of the string S, where all characters have been mapped<br>
through the given translation table, which must be a mapping of<br>
Unicode ordinals to Unicode ordinals, Unicode strings or None.<br>
Unmapped characters are left untouched. Characters mapped to None<br>
are deleted.</tt></dd></dl>
<dl><dt><a name="typedThing-upper"><strong>upper</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-upper">upper</a>() -> <a href="__builtin__.html#unicode">unicode</a><br>
<br>
Return a copy of S converted to uppercase.</tt></dd></dl>
<dl><dt><a name="typedThing-zfill"><strong>zfill</strong></a>(...)</dt><dd><tt>S.<a href="#typedThing-zfill">zfill</a>(width) -> <a href="__builtin__.html#unicode">unicode</a><br>
<br>
Pad a numeric string x with zeros on the left, to fill a field<br>
of the specified width. The string x is never truncated.</tt></dd></dl>
</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#eeaa77">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td>
<td width="100%"><dl><dt><a name="-abbr"><strong>abbr</strong></a>(prodURI)</dt></dl>
<dl><dt><a name="-getExtra"><strong>getExtra</strong></a>(ex)</dt></dl>
<dl><dt><a name="-getTrueOnError"><strong>getTrueOnError</strong></a>(ex)</dt></dl>
<dl><dt><a name="-getType"><strong>getType</strong></a>(ex)</dt></dl>
<dl><dt><a name="-intConvert"><strong>intConvert</strong></a>(self, keepGoing, val)</dt></dl>
<dl><dt><a name="-makeSafeVal"><strong>makeSafeVal</strong></a>(val, (subj, pred, obj), safeVersion<font color="#909090">=False</font>)</dt></dl>
<dl><dt><a name="-makeTriple"><strong>makeTriple</strong></a>(subj, pred, obj, safeVersion<font color="#909090">=False</font>)</dt></dl>
<dl><dt><a name="-makeTripleObjList"><strong>makeTripleObjList</strong></a>(subj, pred, obj)</dt></dl>
<dl><dt><a name="-normalize"><strong>normalize</strong></a>(expr)</dt><dd><tt>The mapping from SPARQL syntax to n3 is decidedly nontrivial<br>
at this point, we have done the first step, building an <a href="#AST">AST</a> that is (relatively) independant of all of the oddities that<br>
you get from the grammar<br>
<br>
Normalize does a couple of top down transforms on the tree. The first is a type determiner; it determines what<br>
needs to be coerced to a boolean. The second does boolean logic and pushes ``not''s all the way in.<br>
<br>
After normalize, the last bottom up step to generate the n3 can be done.</tt></dd></dl>
<dl><dt><a name="-on_Boolean_Gen"><strong>on_Boolean_Gen</strong></a>(true, false)</dt></dl>
<dl><dt><a name="-reason2"><strong>reason2</strong></a> = value(self, newVal<font color="#909090">=None</font>)<font color="#909090"><font face="helvetica, arial"> method of <a href="__builtin__.html#list">__builtin__.list</a> instance</font></font></dt></dl>
<dl><dt><a name="-sparqlLookup"><strong>sparqlLookup</strong></a>(uri, server, property)</dt></dl>
<dl><dt><a name="-unEscape"><strong>unEscape</strong></a>(string)</dt></dl>
<dl><dt><a name="-value"><strong>value</strong></a>(self, newVal<font color="#909090">=None</font>)</dt></dl>
<dl><dt><a name="-verbose"><strong>verbose</strong></a> = value(self, newVal<font color="#909090">=None</font>)<font color="#909090"><font face="helvetica, arial"> method of <a href="__builtin__.html#list">__builtin__.list</a> instance</font></font></dt></dl>
</td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td>
<td width="100%"><strong>AND</strong> = u'And'<br>
<strong>NOT</strong> = u'Not'<br>
<strong>OR</strong> = u'Or'<br>
<strong>ORED_AND</strong> = u'And'<br>
<strong>ORED_NOT</strong> = u'Not'<br>
<strong>SPARQL_NS</strong> = 'http://www.w3.org/2000/10/swap/sparqlCwm'<br>
<strong>knownFunctions</strong> = {'http://www.w3.org/2001/XMLSchema#integer': <function intConvert>}</td></tr></table>
</body></html>
|