coped from ~/WWW/2014/03/ShEx-subm/ for collab with hsolbrig