Asking what's in a container


I was playing around with Google translate to try to figure out how to ask
what's in a container, and it suggested the following two sentences:

箱の中は何ですか

カートには何が入っていますか

So, firstly, why did it give a different sentence structure for "what's in the
box?" vs "what's in the cart?"

Second, are those two sentence structures basically interchangeable, or is
there a different meaning to asking "_の中は何ですか" vs "_には何が入っていますか"?




Grammatically speaking, there is no tricky difference between 箱 ("box") and
カート ("cart"). カートの中は何ですか and 箱には何が入っていますか are both perfectly correct
sentences, too.

As for your second question, as long as you're talking about a container-like
object, the meanings of those two sentence structures are similar. However,
the noun 中 assumes there is an inside _space_ , whereas 何が入っていますか can be used
a little more generically, for example when asking about the ingredients in
food or liquids, or about a spirit currently possessing someone.




Grammatically speaking, there is no tricky difference between 箱 ("box") and
カート ("cart"). カートの中は何ですか and 箱には何が入っていますか are both perfectly correct
sentences, too.

As for your second question, as long as you're talking about a container-like
object, the meanings of those two sentence structures are similar. However,
the noun 中 assumes there is an inside _space_ , whereas 何が入っていますか can be used
a little more generically, for example when asking about the ingredients in
food or liquids, or about a spirit currently possessing someone.

