Fixed code to produce no compiler warnings.
Removed use of rasqal as a SPARQL parser.
Added TODO comments on places that should be using a more complete regex engine.