IMPROVED: Match non-URL to $ (apparently used to represent uninstantiated SPARQL variables).