Simple Question (Direct)
Simple Question
Q2156613
P20
Q515
USER
Where did the expiration of Robert Brennan occur ?
(Q2156613,P20,c(Q515))
action filter_type
action find
entity Q2156613
relation P20
type Q515
['Q2156613', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?q WHERE { resource:Q2156613 property:P20 ?q . ?q rdf:type ontology:Q515 }
Robert Brennan
action filter_type
action find
entity Robert Brennan
relation place of death
type city
['Robert Brennan', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?q WHERE { resource:Robert_Brennan property:place_of_death ?q . ?q rdf:type ontology:city }
[]
city
Q1761
SYSTEM
Dublin
Q1761
(Q2156613,P20,c(Q515))
action filter_type
action find
entity Q2156613
relation P20
type Q515
The expiration of Robert Brennan occurred in [ANSWER]
['Q2156613', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?q WHERE { resource:Q2156613 property:P20 ?q . ?q rdf:type ontology:Q515 }
Dublin
The expiration of Robert Brennan occurred in Dublin
Dublin
action filter_type
action find
entity Robert Brennan
relation place of death
type city
['Robert Brennan', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?q WHERE { resource:Robert_Brennan property:place_of_death ?q . ?q rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2156613
P106
Q12737077
USER
Which occupations have that person as his/her 's career ?
(Q1761,P106,c(Q12737077))
action filter_type
action find
entity Q2156613
relation P106
type Q12737077
['Q1761', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q2156613 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Robert Brennan
action filter_type
action find
entity Robert Brennan
relation occupation
type occupation
['Dublin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Robert_Brennan property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q193391 Q1930187 Q36180
SYSTEM
diplomat, journalist, writer
Q193391 Q1930187 Q36180
(Q1761,P106,c(Q12737077))
action filter_type
action find
entity Q2156613
relation P106
type Q12737077
[ANSWERS] have that person as his/her 's career
['Q1761', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q2156613 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
diplomat journalist writer
Diplomat, journalist and writer have that person as his/her 's career
diplomat journalist writer
action filter_type
action find
entity Robert Brennan
relation occupation
type occupation
['Dublin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Robert_Brennan property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q193391 Q1930187 Q36180
P39
Q502895
USER
Which people were responsible for occupying the position of diplomat, journalist and writer ?
(c(Q502895),P39,Q193391) (c(Q502895),P39,Q1930187) (c(Q502895),P39,Q36180)
action union
action filter_type
action find_reverse
entity Q193391
relation P39
type Q502895
action filter_type
action find_reverse
entity Q1930187
relation P39
type Q502895
action filter_type
action find_reverse
entity Q36180
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q193391'] [{'concept': 'Q502895'}, 'P39', 'Q1930187'] [{'concept': 'Q502895'}, 'P39', 'Q36180']
SELECT DISTINCT ?c WHERE { ?c property:P39 ?y . VALUES ( ?y ) { ( resource:Q193391 ) ( resource:Q1930187 ) } }
diplomat journalist writer
action union
action filter_type
action find_reverse
entity diplomat
relation position held
type common name
action filter_type
action find_reverse
entity journalist
relation position held
type common name
action filter_type
action find_reverse
entity writer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'diplomat'] [{'concept': 'common name'}, 'position held', 'journalist'] [{'concept': 'common name'}, 'position held', 'writer']
SELECT DISTINCT ?c WHERE { ?c property:position_held ?y . VALUES ( ?y ) { ( resource:diplomat ) ( resource:journalist ) } }
[]
common name
Q2844607 Q2844607 Q4255270
SYSTEM
Amé-Thérèse-Joseph Masclet for 1st, 2nd, Mariano Roca de Togores, 1st Marquis of Molins for 3rd
Q699131 Q19828328 Q16912378 Q2844607 Q2844607 Q20920104 Q20920104 Q723621 Q16912378 Q5945149 Q11294693 Q723621 Q20666477 Q163042 Q5945149 Q4255270
(c(Q502895),P39,Q193391) (c(Q502895),P39,Q1930187) (c(Q502895),P39,Q36180)
action union
action filter_type
action find_reverse
entity Q193391
relation P39
type Q502895
action filter_type
action find_reverse
entity Q1930187
relation P39
type Q502895
action filter_type
action find_reverse
entity Q36180
relation P39
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P39', 'Q193391'] [{'concept': 'Q502895'}, 'P39', 'Q1930187'] [{'concept': 'Q502895'}, 'P39', 'Q36180']
SELECT DISTINCT ?c WHERE { ?c property:P39 ?y . VALUES ( ?y ) { ( resource:Q193391 ) ( resource:Q1930187 ) } }
Xiong Xianghui Antonio Caselli Alexandre Melnik Amé-Thérèse-Joseph Masclet Amé-Thérèse-Joseph Masclet Pierre Barthélémy Pierre Barthélémy Paul Nizan Alexandre Melnik José Rocamora Henri de Saint-Ignace Paul Nizan Marina Damestoy David Duke José Rocamora Mariano Roca de Togores, 1st Marquis of Molins
Amé-Thérèse-Joseph Masclet, Amé-Thérèse-Joseph Masclet and Mariano Roca de Togores, 1st Marquis of Molins were responsible for occupying the position of diplomat, journalist and writer
Amé-Thérèse-Joseph Masclet Amé-Thérèse-Joseph Masclet Mariano Roca de Togores, 1st Marquis of Molins
action union
action filter_type
action find_reverse
entity diplomat
relation position held
type common name
action filter_type
action find_reverse
entity journalist
relation position held
type common name
action filter_type
action find_reverse
entity writer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'diplomat'] [{'concept': 'common name'}, 'position held', 'journalist'] [{'concept': 'common name'}, 'position held', 'writer']
SELECT DISTINCT ?c WHERE { ?c property:position_held ?y . VALUES ( ?y ) { ( resource:diplomat ) ( resource:journalist ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2844607
P166
Q618779
USER
What was received by Amé-Thérèse-Joseph Masclet ?
(Q2844607,P166,c(Q618779))
action filter_type
action find
entity Q2844607
relation P166
type Q618779
['Q2844607', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?r WHERE { resource:Q2844607 property:P166 ?r . ?r rdf:type ontology:Q618779 }
Amé-Thérèse-Joseph Masclet
action filter_type
action find
entity Amé-Thérèse-Joseph Masclet
relation award received
type award
['Amé-Thérèse-Joseph Masclet', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?r WHERE { resource:Amé-Thérèse-Joseph_Masclet property:award_received ?r . ?r rdf:type ontology:award }
[]
award
Q10855271
SYSTEM
Knight of the Legion of Honour
Q10855271
(Q2844607,P166,c(Q618779))
action filter_type
action find
entity Q2844607
relation P166
type Q618779
[ANSWER] was received by Amé-Thérèse-Joseph Masclet
['Q2844607', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?r WHERE { resource:Q2844607 property:P166 ?r . ?r rdf:type ontology:Q618779 }
Knight of the Legion of Honour
Knight of the Legion of Honour was received by Amé-Thérèse-Joseph Masclet
Knight of the Legion of Honour
action filter_type
action find
entity Amé-Thérèse-Joseph Masclet
relation award received
type award
['Amé-Thérèse-Joseph Masclet', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?r WHERE { resource:Amé-Thérèse-Joseph_Masclet property:award_received ?r . ?r rdf:type ontology:award }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1079300
Q618779
USER
And also tell me about Christian Doehler?
(Q1079300,P166,c(Q618779))
action filter_type
action find
entity Q1079300
relation P166
type Q618779
['Q1079300', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?n WHERE { resource:Q1079300 property:P166 ?n . ?n rdf:type ontology:Q618779 }
Christian Doehler
action filter_type
action find
entity Christian Doehler
relation award received
type award
['Christian Doehler', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?n WHERE { resource:Christian_Doehler property:award_received ?n . ?n rdf:type ontology:award }
[]
award
Q10905380
SYSTEM
Cross of the Order of Merit of the Federal Republic of Germany
Q10905380
(Q1079300,P166,c(Q618779))
action filter_type
action find
entity Q1079300
relation P166
type Q618779
[ANSWER]
['Q1079300', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?n WHERE { resource:Q1079300 property:P166 ?n . ?n rdf:type ontology:Q618779 }
Cross of the Order of Merit of the Federal Republic of Germany
Cross of the Order of Merit of the Federal Republic of Germany
action filter_type
action find
entity Christian Doehler
relation award received
type award
['Christian Doehler', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?n WHERE { resource:Christian_Doehler property:award_received ?n . ?n rdf:type ontology:award }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q704616 Q4255270
P7
Q502895
USER
Which people have Mariano Roca de Togores, 1st Marquis of Molins or Ramón Franco as their sibling ?
OR((c(Q502895),P7,Q4255270), (c(Q502895),P7,Q704616))
action filter_type
action union
action find_reverse
entity Q4255270
relation P7
action find_reverse
entity Q704616
relation P7
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P7', 'Q4255270'], [{'concept': 'Q502895'}, 'P7', 'Q704616']]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?y ) { ( resource:Q4255270 ) ( resource:Q704616 ) } . ?b property:P7 ?y } . ?b rdf:type ontology:Q502895 }
Ramón Franco Mariano Roca de Togores, 1st Marquis of Molins
action filter_type
action union
action find_reverse
entity Mariano Roca de Togores, 1st Marquis of Molins
relation brother
action find_reverse
entity Ramón Franco
relation brother
type common name
{'OR': [[{'concept': 'common name'}, 'brother', 'Mariano Roca de Togores, 1st Marquis of Molins'], [{'concept': 'common name'}, 'brother', 'Ramón Franco']]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?y ) { ( resource:Mariano_Roca_de_Togores,_1st_Marquis_of_Molins ) ( resource:Ramón_Franco ) } . ?b property:brother ?y } . ?b rdf:type ontology:common_name }
[]
common name
Q6075791 Q29179 Q5952334 Q9049987
SYSTEM
Pilar Franco, Francisco Franco, Juan Roca de Togores y Carrasco, Nicolás Franco
Q6075791 Q29179 Q5952334 Q9049987
OR((c(Q502895),P7,Q4255270), (c(Q502895),P7,Q704616))
action filter_type
action union
action find_reverse
entity Q4255270
relation P7
action find_reverse
entity Q704616
relation P7
type Q502895
[ANSWERS] have Mariano Roca de Togores, 1st Marquis of Molins or Ramón Franco as their sibling
{'OR': [[{'concept': 'Q502895'}, 'P7', 'Q4255270'], [{'concept': 'Q502895'}, 'P7', 'Q704616']]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?y ) { ( resource:Q4255270 ) ( resource:Q704616 ) } . ?b property:P7 ?y } . ?b rdf:type ontology:Q502895 }
Pilar Franco Francisco Franco Juan Roca de Togores y Carrasco Nicolás Franco
Pilar Franco, Francisco Franco, Juan Roca de Togores y Carrasco and Nicolás Franco have Mariano Roca de Togores, 1st Marquis of Molins or Ramón Franco as their sibling
Pilar Franco Francisco Franco Juan Roca de Togores y Carrasco Nicolás Franco
action filter_type
action union
action find_reverse
entity Mariano Roca de Togores, 1st Marquis of Molins
relation brother
action find_reverse
entity Ramón Franco
relation brother
type common name
{'OR': [[{'concept': 'common name'}, 'brother', 'Mariano Roca de Togores, 1st Marquis of Molins'], [{'concept': 'common name'}, 'brother', 'Ramón Franco']]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?y ) { ( resource:Mariano_Roca_de_Togores,_1st_Marquis_of_Molins ) ( resource:Ramón_Franco ) } . ?b property:brother ?y } . ?b rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q838007 Q2844607
P47 P19
Q20667921
USER
Which french administrative divisions were Amé-Thérèse-Joseph Masclet born in or share border with Vercel-Villedieu-le-Camp ?
OR((Q2844607,P19,c(Q20667921)), (Q838007,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q2844607
relation P19
action find
entity Q838007
relation P47
type Q20667921
{'OR': [['Q2844607', 'P19', {'concept': 'Q20667921'}], ['Q838007', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q2844607 property:P19 ?h } UNION { resource:Q838007 property:P47 ?h } } . ?h rdf:type ontology:Q20667921 }
Vercel-Villedieu-le-Camp Amé-Thérèse-Joseph Masclet
action filter_type
action union
action find
entity Amé-Thérèse-Joseph Masclet
relation place of birth
action find
entity Vercel-Villedieu-le-Camp
relation shares border with
type type of french administrative division
{'OR': [['Amé-Thérèse-Joseph Masclet', 'place of birth', {'concept': 'type of french administrative division'}], ['Vercel-Villedieu-le-Camp', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Amé-Thérèse-Joseph_Masclet property:place_of_birth ?h } UNION { resource:Vercel-Villedieu-le-Camp property:shares_border_with ?h } } . ?h rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q287049 Q837359 Q838153 Q287030 Q193826 Q906787 Q907371 Q791323 Q602664 Q837466
SYSTEM
Some of them are Épenoy, Eysson, Gonsans, Épenouse, Douai, Valdahon, Longechaux, Avoudrey, Grandfontaine-sur-Creuse, Chaux-lès-Passavant
Q906787 Q602664 Q348480 Q287030 Q907371 Q287049 Q816097 Q837406 Q193826 Q837466 Q837359 Q838153 Q571178 Q791323
OR((Q2844607,P19,c(Q20667921)), (Q838007,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q2844607
relation P19
action find
entity Q838007
relation P47
type Q20667921
[ANSWERS] were Amé-Thérèse-Joseph Masclet born in or share border with Vercel-Villedieu-le-Camp
{'OR': [['Q2844607', 'P19', {'concept': 'Q20667921'}], ['Q838007', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q2844607 property:P19 ?h } UNION { resource:Q838007 property:P47 ?h } } . ?h rdf:type ontology:Q20667921 }
Valdahon Grandfontaine-sur-Creuse Adam-lès-Vercel Épenouse Longechaux Épenoy Belmont Chevigney-lès-Vercel Douai Chaux-lès-Passavant Eysson Gonsans Verrières-du-Grosbois Avoudrey
Épenoy, Eysson, Gonsans, Épenouse, Douai, Valdahon, Longechaux, Avoudrey, Grandfontaine-sur-Creuse and Chaux-lès-Passavant were Amé-Thérèse-Joseph Masclet born in or share border with Vercel-Villedieu-le-Camp
Épenoy Eysson Gonsans Épenouse Douai Valdahon Longechaux Avoudrey Grandfontaine-sur-Creuse Chaux-lès-Passavant
action filter_type
action union
action find
entity Amé-Thérèse-Joseph Masclet
relation place of birth
action find
entity Vercel-Villedieu-le-Camp
relation shares border with
type type of french administrative division
{'OR': [['Amé-Thérèse-Joseph Masclet', 'place of birth', {'concept': 'type of french administrative division'}], ['Vercel-Villedieu-le-Camp', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Amé-Thérèse-Joseph_Masclet property:place_of_birth ?h } UNION { resource:Vercel-Villedieu-le-Camp property:shares_border_with ?h } } . ?h rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29179
P112
Q193622
USER
Which order was founded by Francisco Franco ?
(c(Q193622),P112,Q29179)
action filter_type
action find_reverse
entity Q29179
relation P112
type Q193622
[{'concept': 'Q193622'}, 'P112', 'Q29179']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q193622 . ?n property:P112 resource:Q29179 }
Francisco Franco
action filter_type
action find_reverse
entity Francisco Franco
relation founder
type order
[{'concept': 'order'}, 'founder', 'Francisco Franco']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:order . ?n property:founder resource:Francisco_Franco }
[]
order
Q1139276
SYSTEM
Order of St. Raymond of Peñafort
Q1139276
(c(Q193622),P112,Q29179)
action filter_type
action find_reverse
entity Q29179
relation P112
type Q193622
[ANSWER] was founded by Francisco Franco
[{'concept': 'Q193622'}, 'P112', 'Q29179']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q193622 . ?n property:P112 resource:Q29179 }
Order of St. Raymond of Peñafort
Order of St. Raymond of Peñafort was founded by Francisco Franco
Order of St. Raymond of Peñafort
action filter_type
action find_reverse
entity Francisco Franco
relation founder
type order
[{'concept': 'order'}, 'founder', 'Francisco Franco']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:order . ?n property:founder resource:Francisco_Franco }
[]