Simple Question (Direct)
Simple Question
Q4935290
P166
Q2003221
USER
What was won by Bobby Limb ?
(Q4935290,P166,c(Q2003221))
action filter_type
action find
entity Q4935290
relation P166
type Q2003221
['Q4935290', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?x WHERE { resource:Q4935290 property:P166 ?x . ?x rdf:type ontology:Q2003221 }
Bobby Limb
action filter_type
action find
entity Bobby Limb
relation award received
type chivalric order
['Bobby Limb', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?x WHERE { resource:Bobby_Limb property:award_received ?x . ?x rdf:type ontology:chivalric_order }
[]
chivalric order
Q10762848
SYSTEM
Officer of the Order of the British Empire
Q10762848
(Q4935290,P166,c(Q2003221))
action filter_type
action find
entity Q4935290
relation P166
type Q2003221
Ft [ANSWER] was won by Bobby Limb
['Q4935290', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?x WHERE { resource:Q4935290 property:P166 ?x . ?x rdf:type ontology:Q2003221 }
Officer of the Order of the British Empire
Ft Officer of the Order of the British Empire was won by Bobby Limb
Officer of the Order of the British Empire
action filter_type
action find
entity Bobby Limb
relation award received
type chivalric order
['Bobby Limb', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?x WHERE { resource:Bobby_Limb property:award_received ?x . ?x rdf:type ontology:chivalric_order }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4935290
P26
Q502895
USER
Who is the spouse of Bobby Limb ?
(Q4935290,P26,c(Q502895))
action filter_type
action find
entity Q4935290
relation P26
type Q502895
['Q4935290', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q4935290 property:P26 ?j }
Bobby Limb
action filter_type
action find
entity Bobby Limb
relation spouse
type common name
['Bobby Limb', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Bobby_Limb property:spouse ?j }
[]
common name
Q5242457
SYSTEM
Dawn Lake
Q5242457
(Q4935290,P26,c(Q502895))
action filter_type
action find
entity Q4935290
relation P26
type Q502895
The spouse of Bobby Limb is from [ANSWER]
['Q4935290', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q4935290 property:P26 ?j }
Dawn Lake
The spouse of Bobby Limb is from Dawn Lake
Dawn Lake
action filter_type
action find
entity Bobby Limb
relation spouse
type common name
['Bobby Limb', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Bobby_Limb property:spouse ?j }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q171977
Q502895
USER
And how about Tokugawa Ieyasu?
(Q171977,P26,c(Q502895))
action filter_type
action find
entity Q171977
relation P26
type Q502895
['Q171977', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q171977 property:P26 ?i . ?i rdf:type ontology:Q502895 }
Tokugawa Ieyasu
action filter_type
action find
entity Tokugawa Ieyasu
relation spouse
type common name
['Tokugawa Ieyasu', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Tokugawa_Ieyasu property:spouse ?i . ?i rdf:type ontology:common_name }
[]
common name
Q1045995 Q6993507 Q4415657
SYSTEM
Saigō, Yōju-in, Tsukiyama-dono
Q11666816 Q11651545 Q6993507 Q4415657 Q838180 Q10436552 Q11360827 Q6470026 Q10502504 Q10564976 Q1045995 Q10523145
(Q171977,P26,c(Q502895))
action filter_type
action find
entity Q171977
relation P26
type Q502895
[ANSWERS]
['Q171977', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q171977 property:P26 ?i . ?i rdf:type ontology:Q502895 }
Yōgen-in Chōshō-in Yōju-in Tsukiyama-dono Asahi no kata Kame no kata Shimoyama-dono Chaa no Tsubone Okaji no Kata Yegonvie Saigō Sutsien-si
Saigō Yōju-in Tsukiyama-dono
action filter_type
action find
entity Tokugawa Ieyasu
relation spouse
type common name
['Tokugawa Ieyasu', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Tokugawa_Ieyasu property:spouse ?i . ?i rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7442679
P26
Q502895
USER
Are Sebastián Rusculleda the life partner of those ones ?
(Q7442679,P26,Q1045995) (Q7442679,P26,Q6993507) (Q7442679,P26,Q4415657)
action is_in
entity prev_answer
action find
entity Q7442679
relation P26
['Q7442679', 'P26', 'Q1045995'] ['Q7442679', 'P26', 'Q6993507'] ['Q7442679', 'P26', 'Q4415657']
ASK WHERE { VALUES ( ?q ) { ( resource:Q11666816 ) ( resource:Q11651545 ) ( resource:Q6993507 ) } . resource:Q7442679 property:P26 ?q }
Sebastián Rusculleda
action is_in
entity prev_answer
action find
entity Sebastián Rusculleda
relation spouse
['Sebastián Rusculleda', 'spouse', 'Saigō'] ['Sebastián Rusculleda', 'spouse', 'Yōju-in'] ['Sebastián Rusculleda', 'spouse', 'Tsukiyama-dono']
ASK WHERE { VALUES ( ?q ) { ( resource:Yōgen-in ) ( resource:Chōshō-in ) ( resource:Yōju-in ) } . resource:Sebastián_Rusculleda property:spouse ?q }
[]
common name
SYSTEM
NO
(Q7442679,P26,Q1045995) (Q7442679,P26,Q6993507) (Q7442679,P26,Q4415657)
action is_in
entity prev_answer
action find
entity Q7442679
relation P26
[ANSWER]
['Q7442679', 'P26', 'Q1045995'] ['Q7442679', 'P26', 'Q6993507'] ['Q7442679', 'P26', 'Q4415657']
ASK WHERE { VALUES ( ?q ) { ( resource:Q11666816 ) ( resource:Q11651545 ) ( resource:Q6993507 ) } . resource:Q7442679 property:P26 ?q }
No
action is_in
entity prev_answer
action find
entity Sebastián Rusculleda
relation spouse
['Sebastián Rusculleda', 'spouse', 'Saigō'] ['Sebastián Rusculleda', 'spouse', 'Yōju-in'] ['Sebastián Rusculleda', 'spouse', 'Tsukiyama-dono']
ASK WHERE { VALUES ( ?q ) { ( resource:Yōgen-in ) ( resource:Chōshō-in ) ( resource:Yōju-in ) } . resource:Sebastián_Rusculleda property:spouse ?q }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q4415657 Q124858
P27
Q15617994
USER
Is Tsukiyama-dono a civilian of Santa Maria Nuova, Marche ?
(Q4415657,P27,Q124858)
action is_in
entity Q124858
action find
entity Q4415657
relation P27
['Q4415657', 'P27', 'Q124858']
ASK WHERE { resource:Q4415657 property:P27 resource:Q124858 }
Tsukiyama-dono Santa Maria Nuova, Marche
action is_in
entity Santa Maria Nuova, Marche
action find
entity Tsukiyama-dono
relation country of citizenship
['Tsukiyama-dono', 'country of citizenship', 'Santa Maria Nuova, Marche']
ASK WHERE { resource:Tsukiyama-dono property:country_of_citizenship resource:Santa_Maria_Nuova,_Marche }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q4415657,P27,Q124858)
action is_in
entity Q124858
action find
entity Q4415657
relation P27
[ANSWER]
['Q4415657', 'P27', 'Q124858']
ASK WHERE { resource:Q4415657 property:P27 resource:Q124858 }
No
action is_in
entity Santa Maria Nuova, Marche
action find
entity Tsukiyama-dono
relation country of citizenship
['Tsukiyama-dono', 'country of citizenship', 'Santa Maria Nuova, Marche']
ASK WHERE { resource:Tsukiyama-dono property:country_of_citizenship resource:Santa_Maria_Nuova,_Marche }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1045995
P451
Q502895
USER
Who is the mistress of Saigō ?
(Q1045995,P451,c(Q502895))
action filter_type
action find
entity Q1045995
relation P451
type Q502895
['Q1045995', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q1045995 property:P451 ?i }
Saigō
action filter_type
action find
entity Saigō
relation partner
type common name
['Saigō', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Saigō property:partner ?i }
[]
common name
Q171977
SYSTEM
Tokugawa Ieyasu
Q171977
(Q1045995,P451,c(Q502895))
action filter_type
action find
entity Q1045995
relation P451
type Q502895
The mistress of Saigō is the [ANSWER]
['Q1045995', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q1045995 property:P451 ?i }
Tokugawa Ieyasu
The mistress of Saigō is the Tokugawa Ieyasu
Tokugawa Ieyasu
action filter_type
action find
entity Saigō
relation partner
type common name
['Saigō', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Saigō property:partner ?i }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q171977 Q2241118 Q837867
P40
Q502895
USER
Does that person have René de Brosse and Matsudaira Tadateru as a child ?
(Q171977,P40,Q2241118) (Q171977,P40,Q837867)
action is_in
entity Q171977
action intersection
action find_reverse
entity Q2241118
relation P40
action find_reverse
entity Q837867
relation P40
['Q171977', 'P40', 'Q2241118'] ['Q171977', 'P40', 'Q837867']
ASK WHERE { resource:Q171977 property:P40 resource:Q2241118 . resource:Q171977 property:P40 resource:Q837867 }
Tokugawa Ieyasu René de Brosse Matsudaira Tadateru
action is_in
entity Tokugawa Ieyasu
action intersection
action find_reverse
entity René de Brosse
relation child
action find_reverse
entity Matsudaira Tadateru
relation child
['Tokugawa Ieyasu', 'child', 'René de Brosse'] ['Tokugawa Ieyasu', 'child', 'Matsudaira Tadateru']
ASK WHERE { resource:Tokugawa_Ieyasu property:child resource:René_de_Brosse . resource:Tokugawa_Ieyasu property:child resource:Matsudaira_Tadateru }
[]
common name
SYSTEM
NO and YES respectively
(Q171977,P40,Q2241118) (Q171977,P40,Q837867)
action is_in
entity Q171977
action intersection
action find_reverse
entity Q2241118
relation P40
action find_reverse
entity Q837867
relation P40
[ANSWER]
['Q171977', 'P40', 'Q2241118'] ['Q171977', 'P40', 'Q837867']
ASK WHERE { resource:Q171977 property:P40 resource:Q2241118 . resource:Q171977 property:P40 resource:Q837867 }
NO and YES respectively
action is_in
entity Tokugawa Ieyasu
action intersection
action find_reverse
entity René de Brosse
relation child
action find_reverse
entity Matsudaira Tadateru
relation child
['Tokugawa Ieyasu', 'child', 'René de Brosse'] ['Tokugawa Ieyasu', 'child', 'Matsudaira Tadateru']
ASK WHERE { resource:Tokugawa_Ieyasu property:child resource:René_de_Brosse . resource:Tokugawa_Ieyasu property:child resource:Matsudaira_Tadateru }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by atleast 3197 people ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3197
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?q ) WHERE { ?w rdf:type ontology:Q502895 . ?h rdf:type ontology:Q34379 . ?w property:P1303 ?h } GROUP BY ?h } . FILTER ( ?q >= 3197 ) }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3197
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?q ) WHERE { ?w rdf:type ontology:common_name . ?h rdf:type ontology:musical_instrument . ?w property:instrument ?h } GROUP BY ?h } . FILTER ( ?q >= 3197 ) }
[]
musical instrument common name
Q5994 Q8355
SYSTEM
piano, violin
Q5994 Q8355
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3197
[ANSWERS] are played by atleast 3197 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?q ) WHERE { ?w rdf:type ontology:Q502895 . ?h rdf:type ontology:Q34379 . ?w property:P1303 ?h } GROUP BY ?h } . FILTER ( ?q >= 3197 ) }
piano violin
Piano and violin are played by atleast 3197 people
piano violin
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3197
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?q ) WHERE { ?w rdf:type ontology:common_name . ?h rdf:type ontology:musical_instrument . ?w property:instrument ?h } GROUP BY ?h } . FILTER ( ?q >= 3197 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7562684
P1303
Q502895
USER
Does Soon Hee Newbold know to play those musical instruments ?
(Q7562684,P1303,Q5994) (Q7562684,P1303,Q8355)
action is_in
entity prev_answer
action find
entity Q7562684
relation P1303
['Q7562684', 'P1303', 'Q5994'] ['Q7562684', 'P1303', 'Q8355']
ASK WHERE { resource:Q7562684 property:P1303 ?c . VALUES ( ?c ) { ( resource:Q5994 ) ( resource:Q8355 ) } }
Soon Hee Newbold
action is_in
entity prev_answer
action find
entity Soon Hee Newbold
relation instrument
['Soon Hee Newbold', 'instrument', 'piano'] ['Soon Hee Newbold', 'instrument', 'violin']
ASK WHERE { resource:Soon_Hee_Newbold property:instrument ?c . VALUES ( ?c ) { ( resource:piano ) ( resource:violin ) } }
[]
common name
SYSTEM
YES
(Q7562684,P1303,Q5994) (Q7562684,P1303,Q8355)
action is_in
entity prev_answer
action find
entity Q7562684
relation P1303
[ANSWER]
['Q7562684', 'P1303', 'Q5994'] ['Q7562684', 'P1303', 'Q8355']
ASK WHERE { resource:Q7562684 property:P1303 ?c . VALUES ( ?c ) { ( resource:Q5994 ) ( resource:Q8355 ) } }
Yes
action is_in
entity prev_answer
action find
entity Soon Hee Newbold
relation instrument
['Soon Hee Newbold', 'instrument', 'piano'] ['Soon Hee Newbold', 'instrument', 'violin']
ASK WHERE { resource:Soon_Hee_Newbold property:instrument ?c . VALUES ( ?c ) { ( resource:piano ) ( resource:violin ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1045995
P27
Q15617994 Q451967
USER
How many administrative territories and human actions do Saigō belong to ?
(Q1045995,P27,c(Q15617994)) (Q1045995,P27,c(Q451967))
action count
action union
action filter_type
action find
entity Q1045995
relation P27
type Q15617994
action filter_type
action find
entity Q1045995
relation P27
type Q451967
['Q1045995', 'P27', {'concept': 'Q15617994'}] ['Q1045995', 'P27', {'concept': 'Q451967'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { ?k rdf:type ?j . VALUES ( ?j ) { ( ontology:Q15617994 ) ( ontology:Q451967 ) } }
Saigō
action count
action union
action filter_type
action find
entity Saigō
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Saigō
relation country of citizenship
type human action
['Saigō', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Saigō', 'country of citizenship', {'concept': 'human action'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { ?k rdf:type ?j . VALUES ( ?j ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:human_action ) } }
[]
designation for an administrative territorial entity human action
SYSTEM
1 administrative territories and 1 human actions
Q17 Q1154406
(Q1045995,P27,c(Q15617994)) (Q1045995,P27,c(Q451967))
action count
action union
action filter_type
action find
entity Q1045995
relation P27
type Q15617994
action filter_type
action find
entity Q1045995
relation P27
type Q451967
[ANSWER]
['Q1045995', 'P27', {'concept': 'Q15617994'}] ['Q1045995', 'P27', {'concept': 'Q451967'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { ?k rdf:type ?j . VALUES ( ?j ) { ( ontology:Q15617994 ) ( ontology:Q451967 ) } }
Japan Ashikaga shogunate
1 administrative territories and 1 human actions
action count
action union
action filter_type
action find
entity Saigō
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Saigō
relation country of citizenship
type human action
['Saigō', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Saigō', 'country of citizenship', {'concept': 'human action'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { ?k rdf:type ?j . VALUES ( ?j ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:human_action ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q171977
P1038
Q502895
USER
Who is related to Tokugawa Ieyasu ?
(Q171977,P1038,c(Q502895))
action filter_type
action find
entity Q171977
relation P1038
type Q502895
['Q171977', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q171977 property:P1038 ?d . ?d rdf:type ontology:Q502895 }
Tokugawa Ieyasu
action filter_type
action find
entity Tokugawa Ieyasu
relation relative
type common name
['Tokugawa Ieyasu', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Tokugawa_Ieyasu property:relative ?d . ?d rdf:type ontology:common_name }
[]
common name
Q2214292
SYSTEM
Komatsu-hime
Q2214292
(Q171977,P1038,c(Q502895))
action filter_type
action find
entity Q171977
relation P1038
type Q502895
[ANSWER] is related to Tokugawa Ieyasu
['Q171977', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q171977 property:P1038 ?d . ?d rdf:type ontology:Q502895 }
Komatsu-hime
Komatsu-hime is related to Tokugawa Ieyasu
Komatsu-hime
action filter_type
action find
entity Tokugawa Ieyasu
relation relative
type common name
['Tokugawa Ieyasu', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Tokugawa_Ieyasu property:relative ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q518615
Q502895
USER
And what about Margaret MacMillan?
(Q518615,P1038,c(Q502895))
action filter_type
action find
entity Q518615
relation P1038
type Q502895
['Q518615', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q518615 property:P1038 ?t . ?t rdf:type ontology:Q502895 }
Margaret MacMillan
action filter_type
action find
entity Margaret MacMillan
relation relative
type common name
['Margaret MacMillan', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Margaret_MacMillan property:relative ?t . ?t rdf:type ontology:common_name }
[]
common name
Q134982 Q6759649 Q7177015
SYSTEM
David Lloyd George, Margaret Lloyd George, Peter Snow
Q6759649 Q7177015 Q134982 Q5214413
(Q518615,P1038,c(Q502895))
action filter_type
action find
entity Q518615
relation P1038
type Q502895
[ANSWERS]
['Q518615', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q518615 property:P1038 ?t . ?t rdf:type ontology:Q502895 }
Margaret Lloyd George Peter Snow David Lloyd George Dan Snow
David Lloyd George Margaret Lloyd George Peter Snow
action filter_type
action find
entity Margaret MacMillan
relation relative
type common name
['Margaret MacMillan', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Margaret_MacMillan property:relative ?t . ?t rdf:type ontology:common_name }
[]