Compressed Path Databases with Ordered Wildcard Substitutions