Returning product variant options for a list of products using graphql

My query:

I am trying to return specific variant information on a list of parent product but obviously I am not doing this correctly…

query {nodes(ids: [
         "gid://shopify/Product/1111"
         ,"gid://shopify/Product/2222"
         ,"gid://shopify/Product/3333"
         ,"gid://shopify/Product/4444"
         ,"gid://shopify/Product/5555"
        ]
    )
    {...on ProductVariant {
            id 
            inventoryQuantity
        }
    }
}

What am I doing wrong here?

OK. If anyone else needs this, here is the correct query:

query {nodes(ids: [
         "gid://shopify/Product/1111"
         ,"gid://shopify/Product/2222"
         ,"gid://shopify/Product/3333"
         ,"gid://shopify/Product/4444"
         ,"gid://shopify/Product/5555"
        ]
    )
    {
        ...on Product {
            id 
            variants(first: 10) {
                edges {
                    node {
                        id 
                        inventoryQuantity
                    }
                }
            }
        }
    }
}