QueryNode: Create a Query Node for RCSB PDB Searches
Description
The `QueryNode` function constructs a query node, which can be either a terminal node (for a simple query) or a grouped node (for complex queries).
This function is crucial for structuring queries that will be sent to the RCSB PDB search system.