Fixed the NPE bug to support the SPARQL str function, and throw NotImplementedException for comparing subject variable value.
Merge pull request #408 from lsitu/feature/sparql_function

Fixed the NPE bug to support the SPARQL str function, and throw NotImplementedException for comparing subject variable value