good good good
Id1 Id2 Id3
Abel Caballero was in office whilst Juan Carlos I of Spain, who preceded Alfonso XIII of Spain, was Monarch. Abel Caballero was in office during the reign of Monarch, Juan Carlos I of Spain, who preceded Alfonso XIII of Spain. Abel Caballero was in office during the reign of Monarch, Juan Carlos I of Spain, the predecessor of which, was Alfonso XIII of Spain.
resource:Juan_Carlos_I_of_Spain property:predecessor resource:Alfonso_XIII_of_Spain
resource:Abel_Caballero property:in_office_while_monarch resource:Juan_Carlos_I_of_Spain
resource:Abel_Caballero rdf:type ontology:politician
inOfficeWhileMonarch
in office while monarch
property:in_office_while_monarch
predecessor
predecessor
property:predecessor
Abel_Caballero
Abel Caballero
resource:Abel_Caballero
Alfonso_XIII_of_Spain
Alfonso XIII of Spain
resource:Alfonso_XIII_of_Spain
Juan_Carlos_I_of_Spain
Juan Carlos I of Spain
resource:Juan_Carlos_I_of_Spain
SELECT DISTINCT ?r ?b WHERE { ?r rdf:type ontology:politician . ?b property:predecessor resource:Alfonso_XIII_of_Spain . ?r property:in_office_while_monarch ?b }
SELECT DISTINCT ?r ?b WHERE { ?r rdf:type ontology:politician . ?b property:predecessor resource:Alfonso_XIII_of_Spain . ?r property:in_office_while_monarch ?b }
resource:Abel_Caballero resource:Juan_Carlos_I_of_Spain
Abel Caballero Juan Carlos I of Spain
complete meaningful answer two_triples mixed conjunctive_only multiple_intentions typing answer_typing two_variables multiple_answers no_comparison