India and China discussed the possibility of working in collaborative projects in third countries, including joint initiatives in Afghanistan to tap large mineral resources. But a source said Japan would be granted priority to explore and extract the untapped mineral resources valued at more than $1 trillion.