Prompting as Probing: Using Language Models for Knowledge Base Construction