Here is how you would formulate the following queries:
Was George I the parent of Charles I?
Query: parent(charles1, george1).
Who was Charles I's parent?
Query: parent(charles1,X).
Who were the children of Charles I?
Query: parent(X,charles1).
Please fix the following input errors: