Question: What is the relationship of Frederick II of Prussia to Frederick, Margrave of Brandenburg-Bayreuth?
Paraphrase: How were Frederick II of Prussia and Frederick, Margrave of Brandenburg-Bayreuth related?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q33550 p:P1038 ?s . ?s ps:P1038 wd:Q213797 . ?s pq:P1039 ?value}