2nd version tagquery and genelink