implement smarter graph IRI autocompletion (and thus resolve #4)