Quiz: Building Knowledge Graphs from Text with LLMs, Safely