restored RefQuery, which had been horribly screwed up by Poling, and added multiple lines that escape single quotes
restored RefQuery, which had been horribly screwed up by Poling, and added multiple lines that escape single quotes


paleobiodb/pbdb-new,paleobiodb/pbdb-new,paleobiodb/pbdb-new,paleobiodb/pbdb-new,paleobiodb/pbdb-new