Simple Question (Direct)
Simple Question
Q9084447
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Zhu Jiawei ?
(Q9084447,P27,c(Q15617994))
action filter_type
action find
entity Q9084447
relation P27
type Q15617994
['Q9084447', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q9084447 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Zhu Jiawei
action filter_type
action find
entity Zhu Jiawei
relation country of citizenship
type designation for an administrative territorial entity
['Zhu Jiawei', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Zhu_Jiawei property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148
SYSTEM
People's Republic of China
Q148
(Q9084447,P27,c(Q15617994))
action filter_type
action find
entity Q9084447
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Zhu Jiawei
['Q9084447', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q9084447 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
People's Republic of China
People's Republic of China is the country of citizenship of Zhu Jiawei
People's Republic of China
action filter_type
action find
entity Zhu Jiawei
relation country of citizenship
type designation for an administrative territorial entity
['Zhu Jiawei', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Zhu_Jiawei property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9084447
P641
Q349
USER
Which sport was that person a part of ?
(Q148,P641,c(Q349))
action filter_type
action find
entity Q9084447
relation P641
type Q349
['Q148', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q9084447 property:P641 ?b . ?b rdf:type ontology:Q349 }
Zhu Jiawei
action filter_type
action find
entity Zhu Jiawei
relation sport
type sport
["People's Republic of China", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:Zhu_Jiawei property:sport ?b . ?b rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q148,P641,c(Q349))
action filter_type
action find
entity Q9084447
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q148', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q9084447 property:P641 ?b . ?b rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Zhu Jiawei
relation sport
type sport
["People's Republic of China", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:Zhu_Jiawei property:sport ?b . ?b rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q905152 Q9084447
P641
Q349
USER
Or Diego Abal?
OR((Q9084447,P641,c(Q349)), (Q905152,P641,c(Q349)))
action filter_type
action union
action find
entity Q9084447
relation P641
action find
entity Q905152
relation P641
type Q349
{'OR': [['Q9084447', 'P641', {'concept': 'Q349'}], ['Q905152', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q9084447 property:P641 ?d } UNION { resource:Q905152 property:P641 ?d } } . ?d rdf:type ontology:Q349 }
Diego Abal Zhu Jiawei
action filter_type
action union
action find
entity Zhu Jiawei
relation sport
action find
entity Diego Abal
relation sport
type sport
{'OR': [['Zhu Jiawei', 'sport', {'concept': 'sport'}], ['Diego Abal', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Zhu_Jiawei property:sport ?d } UNION { resource:Diego_Abal property:sport ?d } } . ?d rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
OR((Q9084447,P641,c(Q349)), (Q905152,P641,c(Q349)))
action filter_type
action union
action find
entity Q9084447
relation P641
action find
entity Q905152
relation P641
type Q349
[ANSWER]
{'OR': [['Q9084447', 'P641', {'concept': 'Q349'}], ['Q905152', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q9084447 property:P641 ?d } UNION { resource:Q905152 property:P641 ?d } } . ?d rdf:type ontology:Q349 }
association football
association football
action filter_type
action union
action find
entity Zhu Jiawei
relation sport
action find
entity Diego Abal
relation sport
type sport
{'OR': [['Zhu Jiawei', 'sport', {'concept': 'sport'}], ['Diego Abal', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Zhu_Jiawei property:sport ?d } UNION { resource:Diego_Abal property:sport ?d } } . ?d rdf:type ontology:sport }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P641
Q349 Q13406554 Q18608583
USER
Which sports were approximately 3191 sport competitions and recurring sporting events a part of ?
(c(Q13406554)|c(Q18608583),P641,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
value 3191
[[{'concept': 'Q13406554'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?n = 3191 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) ?r WHERE { VALUES ( ?s ) { ( ontology:Q13406554 ) ( ontology:Q18608583 ) } . ?k rdf:type ?s } GROUP BY ?r } }
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
value 3191
[[{'concept': 'sport competition'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?n = 3191 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) ?r WHERE { VALUES ( ?s ) { ( ontology:sport_competition ) ( ontology:recurring_sporting_event ) } . ?k rdf:type ?s } GROUP BY ?r } }
[]
sport sport competition recurring sporting event
Q5372 Q5369 Q41466
SYSTEM
basketball, baseball, ice hockey
Q5372 Q5369 Q41466
(c(Q13406554)|c(Q18608583),P641,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
value 3191
[ANSWERS] were approximately 3191 sport competitions and recurring sporting events a part of
[[{'concept': 'Q13406554'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?n = 3191 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) ?r WHERE { VALUES ( ?s ) { ( ontology:Q13406554 ) ( ontology:Q18608583 ) } . ?k rdf:type ?s } GROUP BY ?r } }
basketball baseball ice hockey
Basketball, baseball and ice hockey were approximately 3191 sport competitions and recurring sporting events a part of
basketball baseball ice hockey
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
value 3191
[[{'concept': 'sport competition'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?n = 3191 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) ?r WHERE { VALUES ( ?s ) { ( ontology:sport_competition ) ( ontology:recurring_sporting_event ) } . ?k rdf:type ?s } GROUP BY ?r } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q148
P137
Q3084961
USER
Which product linings were operated by that administrative territory ?
(c(Q3084961),P137,Q5372) (c(Q3084961),P137,Q5369) (c(Q3084961),P137,Q41466)
action filter_type
action find_reverse
entity Q148
relation P137
type Q3084961
[{'concept': 'Q3084961'}, 'P137', 'Q5372'] [{'concept': 'Q3084961'}, 'P137', 'Q5369'] [{'concept': 'Q3084961'}, 'P137', 'Q41466']
SELECT DISTINCT ?k WHERE { ?k property:P137 resource:Q148 . ?k rdf:type ontology:Q3084961 }
People's Republic of China
action filter_type
action find_reverse
entity People's Republic of China
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'basketball'] [{'concept': 'product lining'}, 'operator', 'baseball'] [{'concept': 'product lining'}, 'operator', 'ice hockey']
SELECT DISTINCT ?k WHERE { ?k property:operator resource:People's_Republic_of_China . ?k rdf:type ontology:product_lining }
[]
product lining
Q17459476 Q12257149 Q142549
SYSTEM
Puma, AS332 Super Puma, Il-76
Q17459476 Q12257149 Q142549
(c(Q3084961),P137,Q5372) (c(Q3084961),P137,Q5369) (c(Q3084961),P137,Q41466)
action filter_type
action find_reverse
entity Q148
relation P137
type Q3084961
[ANSWERS] were operated by that administrative territory
[{'concept': 'Q3084961'}, 'P137', 'Q5372'] [{'concept': 'Q3084961'}, 'P137', 'Q5369'] [{'concept': 'Q3084961'}, 'P137', 'Q41466']
SELECT DISTINCT ?k WHERE { ?k property:P137 resource:Q148 . ?k rdf:type ontology:Q3084961 }
Puma AS332 Super Puma Il-76
Puma, AS332 Super Puma and Il-76 were operated by that administrative territory
Puma AS332 Super Puma Il-76
action filter_type
action find_reverse
entity People's Republic of China
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'basketball'] [{'concept': 'product lining'}, 'operator', 'baseball'] [{'concept': 'product lining'}, 'operator', 'ice hockey']
SELECT DISTINCT ?k WHERE { ?k property:operator resource:People's_Republic_of_China . ?k rdf:type ontology:product_lining }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q17459476 Q12257149 Q142549
P121
Q1875621
USER
Which aircraft classes operate those product linings ?
(c(Q1875621),P121,Q17459476) (c(Q1875621),P121,Q12257149) (c(Q1875621),P121,Q142549)
action filter_type
action find_reverse
entity prev_answer
relation P121
type Q1875621
[{'concept': 'Q1875621'}, 'P121', 'Q17459476'] [{'concept': 'Q1875621'}, 'P121', 'Q12257149'] [{'concept': 'Q1875621'}, 'P121', 'Q142549']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1875621 . ?s property:P121 ?i . VALUES ( ?i ) { ( resource:Q17459476 ) ( resource:Q12257149 ) ( resource:Q142549 ) } }
Puma AS332 Super Puma Il-76
action filter_type
action find_reverse
entity prev_answer
relation item operated
type aircraft class
[{'concept': 'aircraft class'}, 'item operated', 'Puma'] [{'concept': 'aircraft class'}, 'item operated', 'AS332 Super Puma'] [{'concept': 'aircraft class'}, 'item operated', 'Il-76']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:aircraft_class . ?s property:item_operated ?i . VALUES ( ?i ) { ( resource:Puma ) ( resource:AS332_Super_Puma ) ( resource:Il-76 ) } }
[]
aircraft class
Q17436749 Q17459518 Q17489371
SYSTEM
Angolan Il-76 fleet, Argentine AS332 fleet, Algerian Il-76 fleet
Q24257069 Q17459518 Q17627666 Q24249663 Q17579082 Q17484946 Q17489371 Q17436749
(c(Q1875621),P121,Q17459476) (c(Q1875621),P121,Q12257149) (c(Q1875621),P121,Q142549)
action filter_type
action find_reverse
entity prev_answer
relation P121
type Q1875621
[ANSWERS] operate those product linings
[{'concept': 'Q1875621'}, 'P121', 'Q17459476'] [{'concept': 'Q1875621'}, 'P121', 'Q12257149'] [{'concept': 'Q1875621'}, 'P121', 'Q142549']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1875621 . ?s property:P121 ?i . VALUES ( ?i ) { ( resource:Q17459476 ) ( resource:Q12257149 ) ( resource:Q142549 ) } }
Puma fleet Argentine AS332 fleet AS332 in Bolivian service Il-76 fleet Il-76 in Belarusian service Il-76 in Armenian service Algerian Il-76 fleet Angolan Il-76 fleet
Angolan Il-76 fleet, Argentine AS332 fleet and Algerian Il-76 fleet operate those product linings
Angolan Il-76 fleet Argentine AS332 fleet Algerian Il-76 fleet
action filter_type
action find_reverse
entity prev_answer
relation item operated
type aircraft class
[{'concept': 'aircraft class'}, 'item operated', 'Puma'] [{'concept': 'aircraft class'}, 'item operated', 'AS332 Super Puma'] [{'concept': 'aircraft class'}, 'item operated', 'Il-76']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:aircraft_class . ?s property:item_operated ?i . VALUES ( ?i ) { ( resource:Puma ) ( resource:AS332_Super_Puma ) ( resource:Il-76 ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q17459518
P17
Q15617994
USER
Which administrative territory is that aircraft class a part of ?
(Q17459518,P17,c(Q15617994))
action filter_type
action find
entity Q17459518
relation P17
type Q15617994
['Q17459518', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q17459518 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Argentine AS332 fleet
action filter_type
action find
entity Argentine AS332 fleet
relation country
type designation for an administrative territorial entity
['Argentine AS332 fleet', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Argentine_AS332_fleet property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q17436749
SYSTEM
Did you mean Angolan Il-76 fleet ?
Q17436749 Q17459518 Q17489371
(Q17436749,P17,c(Q15617994)) (Q17459518,P17,c(Q15617994)) (Q17489371,P17,c(Q15617994))
[ANSWER]
['Q17436749', 'P17', {'concept': 'Q15617994'}] ['Q17459518', 'P17', {'concept': 'Q15617994'}] ['Q17489371', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q17459518 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Angolan Il-76 fleet Argentine AS332 fleet Algerian Il-76 fleet
Did you mean Angolan Il-76 fleet ?
Angolan Il-76 fleet
['Angolan Il-76 fleet', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Argentine AS332 fleet', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Algerian Il-76 fleet', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Argentine_AS332_fleet property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Argentine AS332 fleet. Could you tell me the answer for that?
(Q17459518,P17,c(Q15617994))
Q17459518
['Q17459518', 'P17', {'concept': 'Q15617994'}]
['Argentine AS332 fleet', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q414
SYSTEM
Argentina
Q414
(Q17459518,P17,c(Q15617994))
action filter_type
action find
entity Q17459518
relation P17
type Q15617994
[ANSWER] is that aircraft class a part of
['Q17459518', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q17459518 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Argentina
Argentina is that aircraft class a part of
Argentina
action filter_type
action find
entity Argentine AS332 fleet
relation country
type designation for an administrative territorial entity
['Argentine AS332 fleet', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Argentine_AS332_fleet property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]