Simple Question (Direct)
Simple Question
Q4665154
P106
Q12737077
USER
Which occupation is the profession of Abdoul Coulibaly ?
(Q4665154,P106,c(Q12737077))
action filter_type
action find
entity Q4665154
relation P106
type Q12737077
['Q4665154', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . resource:Q4665154 property:P106 ?n }
Abdoul Coulibaly
action filter_type
action find
entity Abdoul Coulibaly
relation occupation
type occupation
['Abdoul Coulibaly', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . resource:Abdoul_Coulibaly property:occupation ?n }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q4665154,P106,c(Q12737077))
action filter_type
action find
entity Q4665154
relation P106
type Q12737077
As [ANSWER] is the profession of Abdoul Coulibaly
['Q4665154', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . resource:Q4665154 property:P106 ?n }
association football player
As association football player is the profession of Abdoul Coulibaly
association football player
action filter_type
action find
entity Abdoul Coulibaly
relation occupation
type occupation
['Abdoul Coulibaly', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . resource:Abdoul_Coulibaly property:occupation ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4665154
P21
Q290
USER
What is the sex of Abdoul Coulibaly ?
(Q4665154,P21,c(Q290))
action filter_type
action find
entity Q4665154
relation P21
type Q290
['Q4665154', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q4665154 property:P21 ?a . ?a rdf:type ontology:Q290 }
Abdoul Coulibaly
action filter_type
action find
entity Abdoul Coulibaly
relation gender
type sex
['Abdoul Coulibaly', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Abdoul_Coulibaly property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4665154,P21,c(Q290))
action filter_type
action find
entity Q4665154
relation P21
type Q290
The sex of Abdoul Coulibaly is the [ANSWER]
['Q4665154', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q4665154 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
The sex of Abdoul Coulibaly is the male
male
action filter_type
action find
entity Abdoul Coulibaly
relation gender
type sex
['Abdoul Coulibaly', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Abdoul_Coulibaly property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1174022
Q290
USER
And what about David Stevenson?
(Q1174022,P21,c(Q290))
action filter_type
action find
entity Q1174022
relation P21
type Q290
['Q1174022', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q290 . resource:Q1174022 property:P21 ?b }
David Stevenson
action filter_type
action find
entity David Stevenson
relation gender
type sex
['David Stevenson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sex . resource:David_Stevenson property:gender ?b }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1174022,P21,c(Q290))
action filter_type
action find
entity Q1174022
relation P21
type Q290
[ANSWER]
['Q1174022', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q290 . resource:Q1174022 property:P21 ?b }
male
male
action filter_type
action find
entity David Stevenson
relation gender
type sex
['David Stevenson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sex . resource:David_Stevenson property:gender ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1174022
P20
Q56061
USER
Which administrative territory is the place of death of that person ?
(Q6581097,P20,c(Q56061))
action filter_type
action find
entity Q1174022
relation P20
type Q56061
['Q6581097', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q1174022 property:P20 ?p . ?p rdf:type ontology:Q56061 }
David Stevenson
action filter_type
action find
entity David Stevenson
relation place of death
type administrative territorial entity
['male', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:David_Stevenson property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3114
SYSTEM
Canberra
Q3114
(Q6581097,P20,c(Q56061))
action filter_type
action find
entity Q1174022
relation P20
type Q56061
[ANSWER] is the place of death of that person
['Q6581097', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q1174022 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Canberra
Canberra is the place of death of that person
Canberra
action filter_type
action find
entity David Stevenson
relation place of death
type administrative territorial entity
['male', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:David_Stevenson property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1174022
P166
Q618779
USER
What was awarded to that person ?
(Q3114,P166,c(Q618779))
action filter_type
action find
entity Q1174022
relation P166
type Q618779
['Q3114', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?l WHERE { resource:Q1174022 property:P166 ?l . ?l rdf:type ontology:Q618779 }
David Stevenson
action filter_type
action find
entity David Stevenson
relation award received
type award
['Canberra', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?l WHERE { resource:David_Stevenson property:award_received ?l . ?l rdf:type ontology:award }
[]
award
Q1141149
SYSTEM
Order of Australia
Q1141149
(Q3114,P166,c(Q618779))
action filter_type
action find
entity Q1174022
relation P166
type Q618779
Person [ANSWER] was awarded to that person
['Q3114', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?l WHERE { resource:Q1174022 property:P166 ?l . ?l rdf:type ontology:Q618779 }
Order of Australia
Person Order of Australia was awarded to that person
Order of Australia
action filter_type
action find
entity David Stevenson
relation award received
type award
['Canberra', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?l WHERE { resource:David_Stevenson property:award_received ?l . ?l rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1174022
P27
Q1048835
USER
Which political territory is David Stevenson an inhabitant of ?
(Q1174022,P27,c(Q1048835))
action filter_type
action find
entity Q1174022
relation P27
type Q1048835
['Q1174022', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q1174022 property:P27 ?t . ?t rdf:type ontology:Q1048835 }
David Stevenson
action filter_type
action find
entity David Stevenson
relation country of citizenship
type political territorial entity
['David Stevenson', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:David_Stevenson property:country_of_citizenship ?t . ?t rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q1174022,P27,c(Q1048835))
action filter_type
action find
entity Q1174022
relation P27
type Q1048835
The [ANSWER] is David Stevenson an inhabitant of
['Q1174022', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q1174022 property:P27 ?t . ?t rdf:type ontology:Q1048835 }
Australia
The Australia is David Stevenson an inhabitant of
Australia
action filter_type
action find
entity David Stevenson
relation country of citizenship
type political territorial entity
['David Stevenson', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:David_Stevenson property:country_of_citizenship ?t . ?t rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3199944 Q1174022
P166
Q2003221
USER
Which chivalric orders were received by David Stevenson or Maxwell Fry ?
OR((Q1174022,P166,c(Q2003221)), (Q3199944,P166,c(Q2003221)))
action filter_type
action union
action find
entity Q1174022
relation P166
action find
entity Q3199944
relation P166
type Q2003221
{'OR': [['Q1174022', 'P166', {'concept': 'Q2003221'}], ['Q3199944', 'P166', {'concept': 'Q2003221'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q3199944 property:P166 ?r } UNION { resource:Q1174022 property:P166 ?r } } . ?r rdf:type ontology:Q2003221 }
Maxwell Fry David Stevenson
action filter_type
action union
action find
entity David Stevenson
relation award received
action find
entity Maxwell Fry
relation award received
type chivalric order
{'OR': [['David Stevenson', 'award received', {'concept': 'chivalric order'}], ['Maxwell Fry', 'award received', {'concept': 'chivalric order'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Maxwell_Fry property:award_received ?r } UNION { resource:David_Stevenson property:award_received ?r } } . ?r rdf:type ontology:chivalric_order }
[]
chivalric order
Q12201445 Q12201477
SYSTEM
Knight Commander of the Order of the British Empire, Commander of the Order of the British Empire
Q12201445 Q12201477
OR((Q1174022,P166,c(Q2003221)), (Q3199944,P166,c(Q2003221)))
action filter_type
action union
action find
entity Q1174022
relation P166
action find
entity Q3199944
relation P166
type Q2003221
The [ANSWERS] were received by David Stevenson or Maxwell Fry
{'OR': [['Q1174022', 'P166', {'concept': 'Q2003221'}], ['Q3199944', 'P166', {'concept': 'Q2003221'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q3199944 property:P166 ?r } UNION { resource:Q1174022 property:P166 ?r } } . ?r rdf:type ontology:Q2003221 }
Knight Commander of the Order of the British Empire Commander of the Order of the British Empire
The Knight Commander of the Order of the British Empire and Commander of the Order of the British Empire were received by David Stevenson or Maxwell Fry
Knight Commander of the Order of the British Empire Commander of the Order of the British Empire
action filter_type
action union
action find
entity David Stevenson
relation award received
action find
entity Maxwell Fry
relation award received
type chivalric order
{'OR': [['David Stevenson', 'award received', {'concept': 'chivalric order'}], ['Maxwell Fry', 'award received', {'concept': 'chivalric order'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Maxwell_Fry property:award_received ?r } UNION { resource:David_Stevenson property:award_received ?r } } . ?r rdf:type ontology:chivalric_order }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q839237
P166
Q502895
USER
Did Andrew Caldecott win those chivalric orders ?
(Q839237,P166,Q12201445) (Q839237,P166,Q12201477)
action is_in
entity prev_answer
action find
entity Q839237
relation P166
['Q839237', 'P166', 'Q12201445'] ['Q839237', 'P166', 'Q12201477']
ASK WHERE { resource:Q839237 property:P166 ?y . VALUES ( ?y ) { ( resource:Q12201445 ) ( resource:Q12201477 ) } }
Andrew Caldecott
action is_in
entity prev_answer
action find
entity Andrew Caldecott
relation award received
['Andrew Caldecott', 'award received', 'Knight Commander of the Order of the British Empire'] ['Andrew Caldecott', 'award received', 'Commander of the Order of the British Empire']
ASK WHERE { resource:Andrew_Caldecott property:award_received ?y . VALUES ( ?y ) { ( resource:Knight_Commander_of_the_Order_of_the_British_Empire ) ( resource:Commander_of_the_Order_of_the_British_Empire ) } }
[]
common name
SYSTEM
YES
(Q839237,P166,Q12201445) (Q839237,P166,Q12201477)
action is_in
entity prev_answer
action find
entity Q839237
relation P166
[ANSWER]
['Q839237', 'P166', 'Q12201445'] ['Q839237', 'P166', 'Q12201477']
ASK WHERE { resource:Q839237 property:P166 ?y . VALUES ( ?y ) { ( resource:Q12201445 ) ( resource:Q12201477 ) } }
Yes
action is_in
entity prev_answer
action find
entity Andrew Caldecott
relation award received
['Andrew Caldecott', 'award received', 'Knight Commander of the Order of the British Empire'] ['Andrew Caldecott', 'award received', 'Commander of the Order of the British Empire']
ASK WHERE { resource:Andrew_Caldecott property:award_received ?y . VALUES ( ?y ) { ( resource:Knight_Commander_of_the_Order_of_the_British_Empire ) ( resource:Commander_of_the_Order_of_the_British_Empire ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q839237
P39
Q12737077
USER
Which occupation was a position occupied by that person ?
action filter_type
action find
entity Q839237
relation P39
type Q12737077
SELECT DISTINCT ?f WHERE { resource:Q839237 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
Andrew Caldecott
action filter_type
action find
entity Andrew Caldecott
relation position held
type occupation
SELECT DISTINCT ?f WHERE { resource:Andrew_Caldecott property:position_held ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q1159846
SYSTEM
Governor of Hong Kong
Q1159846
action filter_type
action find
entity Q839237
relation P39
type Q12737077
[ANSWER] was a position occupied by that person
SELECT DISTINCT ?f WHERE { resource:Q839237 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
Governor of Hong Kong
Governor of Hong Kong was a position occupied by that person
Governor of Hong Kong
action filter_type
action find
entity Andrew Caldecott
relation position held
type occupation
SELECT DISTINCT ?f WHERE { resource:Andrew_Caldecott property:position_held ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q839237
P69
Q1244442
USER
Where was Andrew Caldecott educated ?
(Q839237,P69,c(Q1244442))
action filter_type
action find
entity Q839237
relation P69
type Q1244442
['Q839237', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?l WHERE { resource:Q839237 property:P69 ?l . ?l rdf:type ontology:Q1244442 }
Andrew Caldecott
action filter_type
action find
entity Andrew Caldecott
relation educated at
type school building
['Andrew Caldecott', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?l WHERE { resource:Andrew_Caldecott property:educated_at ?l . ?l rdf:type ontology:school_building }
[]
school building
Q81173
SYSTEM
Exeter College
Q81173
(Q839237,P69,c(Q1244442))
action filter_type
action find
entity Q839237
relation P69
type Q1244442
Andrew Caldecott was educated by [ANSWER]
['Q839237', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?l WHERE { resource:Q839237 property:P69 ?l . ?l rdf:type ontology:Q1244442 }
Exeter College
Andrew Caldecott was educated by Exeter College
Exeter College
action filter_type
action find
entity Andrew Caldecott
relation educated at
type school building
['Andrew Caldecott', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?l WHERE { resource:Andrew_Caldecott property:educated_at ?l . ?l rdf:type ontology:school_building }
[]