Simple Question (Direct)
Simple Question
Q7022885
P641
Q349
USER
Which sport was Nguyen Ngoc Duy a part of ?
(Q7022885,P641,c(Q349))
action filter_type
action find
entity Q7022885
relation P641
type Q349
['Q7022885', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q349 . resource:Q7022885 property:P641 ?e }
Nguyen Ngoc Duy
action filter_type
action find
entity Nguyen Ngoc Duy
relation sport
type sport
['Nguyen Ngoc Duy', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sport . resource:Nguyen_Ngoc_Duy property:sport ?e }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q7022885,P641,c(Q349))
action filter_type
action find
entity Q7022885
relation P641
type Q349
The [ANSWER] was Nguyen Ngoc Duy a part of
['Q7022885', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q349 . resource:Q7022885 property:P641 ?e }
association football
The association football was Nguyen Ngoc Duy a part of
association football
action filter_type
action find
entity Nguyen Ngoc Duy
relation sport
type sport
['Nguyen Ngoc Duy', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sport . resource:Nguyen_Ngoc_Duy property:sport ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7022885
P21
Q290
USER
Which sex does Nguyen Ngoc Duy belong to ?
(Q7022885,P21,c(Q290))
action filter_type
action find
entity Q7022885
relation P21
type Q290
['Q7022885', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q7022885 property:P21 ?s . ?s rdf:type ontology:Q290 }
Nguyen Ngoc Duy
action filter_type
action find
entity Nguyen Ngoc Duy
relation gender
type sex
['Nguyen Ngoc Duy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Nguyen_Ngoc_Duy property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7022885,P21,c(Q290))
action filter_type
action find
entity Q7022885
relation P21
type Q290
Nguyen Ngoc Duy belongs to [ANSWER]
['Q7022885', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q7022885 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
Nguyen Ngoc Duy belongs to male
male
action filter_type
action find
entity Nguyen Ngoc Duy
relation gender
type sex
['Nguyen Ngoc Duy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Nguyen_Ngoc_Duy property:gender ?s . ?s rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q6086253
P21
Q502895
USER
Does Osmo Tapio Räihälä have that sex as the sex ?
(Q6086253,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q6086253
relation P21
['Q6086253', 'P21', 'Q6581097']
ASK WHERE { resource:Q6086253 property:P21 resource:Q6581097 }
male Osmo Tapio Räihälä
action is_in
entity male
action find
entity Osmo Tapio Räihälä
relation gender
['Osmo Tapio Räihälä', 'gender', 'male']
ASK WHERE { resource:Osmo_Tapio_Räihälä property:gender resource:male }
[]
common name
SYSTEM
YES
(Q6086253,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q6086253
relation P21
[ANSWER]
['Q6086253', 'P21', 'Q6581097']
ASK WHERE { resource:Q6086253 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Osmo Tapio Räihälä
relation gender
['Osmo Tapio Räihälä', 'gender', 'male']
ASK WHERE { resource:Osmo_Tapio_Räihälä property:gender resource:male }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by atleast 3614 people ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3614
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?c >= 3614 ) }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3614
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?c >= 3614 ) }
[]
musical instrument common name
SYSTEM
2
Q5994 Q8355
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3614
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?c >= 3614 ) }
piano violin
2
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3614
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?c >= 3614 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q17163326
P641
Q349 Q13406554 Q500834
USER
Which sports were more number of sport competitions or tournaments a part of than motorcycle racing ?
(c(Q13406554)|c(Q500834),P641,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q17163326
relation P641
type Q13406554
type Q500834
[[{'concept': 'Q13406554'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) ?l WHERE { VALUES ( ?x ) { ( ontology:Q13406554 ) ( ontology:Q500834 ) } . ?q rdf:type ?x } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { ?y property:P641 resource:Q17163326 . { ?y rdf:type ?u . VALUES ( ?u ) { ( ontology:Q500834 ) ( ontology:Q13406554 ) } } } } . FILTER ( ?g > ?i ) }
motorcycle racing
action greater
action union
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_multi_types
action find_reverse
entity motorcycle racing
relation sport
type sport competition
type tournament
[[{'concept': 'sport competition'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) ?l WHERE { VALUES ( ?x ) { ( ontology:sport_competition ) ( ontology:tournament ) } . ?q rdf:type ?x } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { ?y property:sport resource:motorcycle_racing . { ?y rdf:type ?u . VALUES ( ?u ) { ( ontology:tournament ) ( ontology:sport_competition ) } } } } . FILTER ( ?g > ?i ) }
[]
sport sport competition tournament
Q206763 Q213711 Q606060
SYSTEM
floorball, hurling, women's association football
Q10962 Q1109032 Q114466 Q12100 Q7707 Q171038 Q206763 Q133201 Q847 Q601972 Q46241 Q328716 Q131359 Q11420 Q41323 Q7291 Q7856 Q5372 Q5375 Q5377 Q5369 Q8418 Q41466 Q2302906 Q231200 Q221635 Q1455 Q61465 Q185851 Q213711 Q3177899 Q16996906 Q213934 Q606060 Q134211 Q1734 Q31920 Q2701632 Q1875777 Q183018 Q2736
(c(Q13406554)|c(Q500834),P641,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q17163326
relation P641
type Q13406554
type Q500834
And [ANSWERS] were more number of sport competitions or tournaments a part of than motorcycle racing
[[{'concept': 'Q13406554'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) ?l WHERE { VALUES ( ?x ) { ( ontology:Q13406554 ) ( ontology:Q500834 ) } . ?q rdf:type ?x } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { ?y property:P641 resource:Q17163326 . { ?y rdf:type ?u . VALUES ( ?u ) { ( ontology:Q500834 ) ( ontology:Q13406554 ) } } } } . FILTER ( ?g > ?i ) }
rugby league college football mixed martial arts fencing water polo softball floorball squash tennis Camogie drag racing motorcycle sport professional wrestling judo American football badminton rallying basketball cricket golf baseball handball ice hockey Box lacrosse netball track cycling field hockey rhythmic gymnastics lacrosse hurling bowling Indoor American football canoeing and kayaking women's association football polo volleyball swimming muggle quidditch air racing bandy association football
And floorball, hurling and women's association football were more number of sport competitions or tournaments a part of than motorcycle racing
floorball hurling women's association football
action greater
action union
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_multi_types
action find_reverse
entity motorcycle racing
relation sport
type sport competition
type tournament
[[{'concept': 'sport competition'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) ?l WHERE { VALUES ( ?x ) { ( ontology:sport_competition ) ( ontology:tournament ) } . ?q rdf:type ?x } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { ?y property:sport resource:motorcycle_racing . { ?y rdf:type ?u . VALUES ( ?u ) { ( ontology:tournament ) ( ontology:sport_competition ) } } } } . FILTER ( ?g > ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q2302906
P641
Q349 Q13406554 Q500834
USER
And how about Box lacrosse?
(c(Q13406554)|c(Q500834),P641,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q2302906
relation P641
type Q13406554
type Q500834
[[{'concept': 'Q13406554'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) ?v WHERE { { ?i property:P641 ?v . ?v rdf:type ontology:Q349 . ?i rdf:type ontology:Q13406554 } UNION { ?i property:P641 ?v . ?v rdf:type ontology:Q349 . ?i rdf:type ontology:Q500834 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { ?t property:P641 resource:Q2302906 . { ?t rdf:type ?o . VALUES ( ?o ) { ( ontology:Q13406554 ) ( ontology:Q500834 ) } } } } . FILTER ( ?e > ?j ) }
Box lacrosse
action greater
action union
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_multi_types
action find_reverse
entity Box lacrosse
relation sport
type sport competition
type tournament
[[{'concept': 'sport competition'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) ?v WHERE { { ?i property:sport ?v . ?v rdf:type ontology:sport . ?i rdf:type ontology:sport_competition } UNION { ?i property:sport ?v . ?v rdf:type ontology:sport . ?i rdf:type ontology:tournament } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { ?t property:sport resource:Box_lacrosse . { ?t rdf:type ?o . VALUES ( ?o ) { ( ontology:sport_competition ) ( ontology:tournament ) } } } } . FILTER ( ?e > ?j ) }
[]
sport sport competition tournament
Q213711 Q1109032 Q7707
SYSTEM
hurling, college football, water polo
Q1109032 Q7707 Q847 Q601972 Q328716 Q41323 Q7291 Q5372 Q5377 Q5369 Q8418 Q41466 Q213711 Q3177899 Q1734 Q2736
(c(Q13406554)|c(Q500834),P641,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q2302906
relation P641
type Q13406554
type Q500834
[ANSWERS]
[[{'concept': 'Q13406554'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) ?v WHERE { { ?i property:P641 ?v . ?v rdf:type ontology:Q349 . ?i rdf:type ontology:Q13406554 } UNION { ?i property:P641 ?v . ?v rdf:type ontology:Q349 . ?i rdf:type ontology:Q500834 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { ?t property:P641 resource:Q2302906 . { ?t rdf:type ?o . VALUES ( ?o ) { ( ontology:Q13406554 ) ( ontology:Q500834 ) } } } } . FILTER ( ?e > ?j ) }
college football water polo tennis Camogie motorcycle sport American football badminton basketball golf baseball handball ice hockey hurling bowling volleyball association football
hurling college football water polo
action greater
action union
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_multi_types
action find_reverse
entity Box lacrosse
relation sport
type sport competition
type tournament
[[{'concept': 'sport competition'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) ?v WHERE { { ?i property:sport ?v . ?v rdf:type ontology:sport . ?i rdf:type ontology:sport_competition } UNION { ?i property:sport ?v . ?v rdf:type ontology:sport . ?i rdf:type ontology:tournament } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { ?t property:sport resource:Box_lacrosse . { ?t rdf:type ?o . VALUES ( ?o ) { ( ontology:sport_competition ) ( ontology:tournament ) } } } } . FILTER ( ?e > ?j ) }
[]