The SPARQL spec has two notions of URIs, namely URIs and IRIs. IRIs are a subset of URIs that do not contain apostrophes and other assorted crap (Appendix A2: http://www.w3.org/TR/rdf-sparql-query/).
For better or worse I have created nodes in my graph with apostrophe in the URIs. How do I go about querying those? I cannot find any descriptions of escaping rules for IRIs...?