added function attributes to queryLink() queries