Simple Question (Direct)
Simple Question
Q707072
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Liu Wei ?
(Q707072,P27,c(Q15617994))
action filter_type
action find
entity Q707072
relation P27
type Q15617994
['Q707072', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q707072 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Liu Wei
action filter_type
action find
entity Liu Wei
relation country of citizenship
type designation for an administrative territorial entity
['Liu Wei', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Liu_Wei property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148
SYSTEM
People's Republic of China
Q148
(Q707072,P27,c(Q15617994))
action filter_type
action find
entity Q707072
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Liu Wei
['Q707072', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q707072 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
People's Republic of China
People's Republic of China is the country of citizenship of Liu Wei
People's Republic of China
action filter_type
action find
entity Liu Wei
relation country of citizenship
type designation for an administrative territorial entity
['Liu Wei', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Liu_Wei property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q707072
P641
Q349
USER
Which sport was Liu Wei a part of ?
(Q707072,P641,c(Q349))
action filter_type
action find
entity Q707072
relation P641
type Q349
['Q707072', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q707072 property:P641 ?q . ?q rdf:type ontology:Q349 }
Liu Wei
action filter_type
action find
entity Liu Wei
relation sport
type sport
['Liu Wei', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Liu_Wei property:sport ?q . ?q rdf:type ontology:sport }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q707072,P641,c(Q349))
action filter_type
action find
entity Q707072
relation P641
type Q349
The [ANSWER] was Liu Wei a part of
['Q707072', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q707072 property:P641 ?q . ?q rdf:type ontology:Q349 }
basketball
The basketball was Liu Wei a part of
basketball
action filter_type
action find
entity Liu Wei
relation sport
type sport
['Liu Wei', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Liu_Wei property:sport ?q . ?q rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q707072
P21
Q290
USER
Which sex does that person belong to ?
(Q5372,P21,c(Q290))
action filter_type
action find
entity Q707072
relation P21
type Q290
['Q5372', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . resource:Q707072 property:P21 ?v }
Liu Wei
action filter_type
action find
entity Liu Wei
relation gender
type sex
['basketball', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . resource:Liu_Wei property:gender ?v }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5372,P21,c(Q290))
action filter_type
action find
entity Q707072
relation P21
type Q290
That person belongs to [ANSWER]
['Q5372', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . resource:Q707072 property:P21 ?v }
male
That person belongs to male
male
action filter_type
action find
entity Liu Wei
relation gender
type sex
['basketball', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . resource:Liu_Wei property:gender ?v }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q148
P530
Q15617994 Q56061
USER
How many administrative territories and administrative territories holds diplomatic relationship with People's Republic of China ?
(Q148,P530,c(Q15617994)) (Q148,P530,c(Q56061))
action count
action union
action filter_type
action find
entity Q148
relation P530
type Q15617994
action filter_type
action find
entity Q148
relation P530
type Q56061
['Q148', 'P530', {'concept': 'Q15617994'}] ['Q148', 'P530', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { resource:Q148 property:P530 ?j . ?j rdf:type ontology:Q15617994 } UNION { resource:Q148 property:P530 ?j . ?j rdf:type ontology:Q56061 } }
People's Republic of China
action count
action union
action filter_type
action find
entity People's Republic of China
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity People's Republic of China
relation diplomatic relation
type administrative territorial entity
["People's Republic of China", 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ["People's Republic of China", 'diplomatic relation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { resource:People's_Republic_of_China property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:People's_Republic_of_China property:diplomatic_relation ?j . ?j rdf:type ontology:administrative_territorial_entity } }
[]
designation for an administrative territorial entity administrative territorial entity
SYSTEM
11
Q711 Q159 Q801 Q155 Q334 Q1011 Q30 Q34020 Q805 Q403 Q38
(Q148,P530,c(Q15617994)) (Q148,P530,c(Q56061))
action count
action union
action filter_type
action find
entity Q148
relation P530
type Q15617994
action filter_type
action find
entity Q148
relation P530
type Q56061
[ANSWER]
['Q148', 'P530', {'concept': 'Q15617994'}] ['Q148', 'P530', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { resource:Q148 property:P530 ?j . ?j rdf:type ontology:Q15617994 } UNION { resource:Q148 property:P530 ?j . ?j rdf:type ontology:Q56061 } }
Mongolia Russia Israel Brazil Singapore Cape Verde United States of America Niue Yemen Serbia Italy
11
action count
action union
action filter_type
action find
entity People's Republic of China
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity People's Republic of China
relation diplomatic relation
type administrative territorial entity
["People's Republic of China", 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ["People's Republic of China", 'diplomatic relation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { resource:People's_Republic_of_China property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:People's_Republic_of_China property:diplomatic_relation ?j . ?j rdf:type ontology:administrative_territorial_entity } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q797108
P641
Q349 Q500834 Q13406554
USER
Which sports were approximately the same number of tournaments and sport competitions a part of as jeu de paume ?
(c(Q500834)|c(Q13406554),P641,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q797108
relation P641
type Q500834
type Q13406554
[[{'concept': 'Q500834'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) ?g WHERE { VALUES ( ?s ) { ( ontology:Q13406554 ) ( ontology:Q500834 ) } . ?i rdf:type ?s } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { { ?f rdf:type ontology:Q500834 } UNION { ?f rdf:type ontology:Q13406554 } } . ?f property:P641 resource:Q797108 } } . FILTER ( ?a = ?k ) }
jeu de paume
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action count
action filter_multi_types
action find_reverse
entity jeu de paume
relation sport
type tournament
type sport competition
[[{'concept': 'tournament'}, {'concept': 'sport competition'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) ?g WHERE { VALUES ( ?s ) { ( ontology:sport_competition ) ( ontology:tournament ) } . ?i rdf:type ?s } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { { ?f rdf:type ontology:tournament } UNION { ?f rdf:type ontology:sport_competition } } . ?f property:sport resource:jeu_de_paume } } . FILTER ( ?a = ?k ) }
[]
sport tournament sport competition
Q809831 Q1295867 Q206763
SYSTEM
BASE jumping, pesäpallo, floorball
Q10962 Q1109032 Q4543 Q170737 Q114466 Q12100 Q500050 Q2348250 Q3337306 Q7707 Q193387 Q108429 Q171038 Q191051 Q17163326 Q4808504 Q3844480 Q809831 Q1575010 Q206763 Q133201 Q244700 Q1497658 Q902378 Q1761866 Q192832 Q1148620 Q601972 Q46241 Q83462 Q192937 Q3372565 Q208607 Q188966 Q961015 Q328716 Q131359 Q27672886 Q22857 Q657196 Q11420 Q338208 Q738622 Q148636 Q136851 Q2887217 Q7856 Q599204 Q5375 Q5377 Q206989 Q690676 Q8418 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 Q754586 Q1682809 Q40561 Q42486 Q1295867 Q2483334 Q2922870 Q1143202 Q850256 Q204632 Q627165 Q393808 Q213796 Q1866478 Q182570 Q2302906 Q989473 Q1194269 Q2497700 Q231200 Q990637 Q105674 Q215862 Q212845 Q1358545 Q1757181 Q1145338 Q2250158 Q212434 Q43450 Q6034982 Q12834857 Q61065 Q2284014 Q221635 Q4429020 Q2413978 Q13108218 Q4851143 Q14300548 Q1455 Q2215841 Q36908 Q1081491 Q483693 Q389654 Q61465 Q185851 Q4245261 Q624161 Q327742 Q213711 Q271277 Q3177899 Q376040 Q4347112 Q5465793 Q3930 Q797108 Q963312 Q2167372 Q130949 Q535116 Q2360406 Q20856109 Q16996906 Q213934 Q1078835 Q838781 Q26787631 Q1899731 Q201965 Q943526 Q647559 Q1541373 Q606060 Q1150656 Q1063445 Q134211 Q1734 Q31920 Q6140386 Q3325635 Q207703 Q2701632 Q1875777 Q1358925 Q1748406 Q667692 Q183018 Q1622659 Q1421697 Q201252 Q177275 Q32112 Q14405929 Q1129021 Q1199515 Q178678 Q17988507 Q6350707 Q159992 Q3924425 Q3341285 Q210778 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q124100 Q2440459 Q429006
(c(Q500834)|c(Q13406554),P641,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q797108
relation P641
type Q500834
type Q13406554
[ANSWERS] were approximately the same number of tournaments and sport competitions a part of as jeu de paume
[[{'concept': 'Q500834'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) ?g WHERE { VALUES ( ?s ) { ( ontology:Q13406554 ) ( ontology:Q500834 ) } . ?i rdf:type ?s } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { { ?f rdf:type ontology:Q500834 } UNION { ?f rdf:type ontology:Q13406554 } } . ?f property:P641 resource:Q797108 } } . FILTER ( ?a = ?k ) }
rugby league college football beach volleyball long jump mixed martial arts fencing cross country running team time trial yachting water polo croquet archery softball windsurfing motorcycle racing snocross rink bandy BASE jumping para rowing floorball squash Ultimate memory sport equestrian sport puroresu paintball Finswimming Camogie drag racing weightlifting korfball Kettlebell lifting kung fu contract bridge women's boxing motorcycle sport professional wrestling Flying disc games climbing medley swimming judo giant slalom skiing dancesport Kabaddi curling women's basketball rallying rallycross cricket golf shooting sport canoe polo handball natural track luge para-alpine skiing fistball stock car racing rackets wingsuit flying greyhound racing tug of war racquetball pair skating sumo wrestling pesäpallo Valencian pilota boxe roque shinty Gaelic football Harri-jasotze Dog agility powerlifting American handball discus throw Box lacrosse international draughts harness racing Aizkolaritza netball Broomball running motocross Basque pelota arena football paralympic athletics Adventure racing five-a-side football Olympic sport gymnastics Inline skating strength training water sport Contact sport track cycling competition aerobatics paralympic swimming gymnastics balkline and straight rail skating field hockey cycle sport mountaineering football parkour Greco-Roman wrestling rhythmic gymnastics lacrosse touring car racing gliding relay race hurling Savate bowling wakeboarding strength athletics CP football table tennis jeu de paume Sledge hockey fell running skiing beach handball real tennis canoeing Indoor American football canoeing and kayaking Powerchair Football eventing K-1 Frisian handball Nordic combined Castell Goalball sport climbing women's association football wheelchair curling nine-ball polo volleyball swimming Kitō-ryū Valencian trinquet rodeo muggle quidditch air racing speed skiing roller hockey (quad) Nordic walking bandy hockey Chilean rodeo pankration bobsleigh boxing high diving super giant slalom skiing formula racing kick boxing women's tennis Kalari surfing combined track and field events cue sports beach soccer Kart racing korbball mind sport winter sport pallone bodybuilding wheelchair fencing Duathlon
BASE jumping, pesäpallo and floorball were approximately the same number of tournaments and sport competitions a part of as jeu de paume
BASE jumping pesäpallo floorball
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action count
action filter_multi_types
action find_reverse
entity jeu de paume
relation sport
type tournament
type sport competition
[[{'concept': 'tournament'}, {'concept': 'sport competition'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) ?g WHERE { VALUES ( ?s ) { ( ontology:sport_competition ) ( ontology:tournament ) } . ?i rdf:type ?s } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { { ?f rdf:type ontology:tournament } UNION { ?f rdf:type ontology:sport_competition } } . ?f property:sport resource:jeu_de_paume } } . FILTER ( ?a = ?k ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q148
P530
Q15617994 Q1048835
USER
How many administrative territories and political territories have tactful political relations with People's Republic of China ?
(c(Q15617994),P530,Q148) (c(Q1048835),P530,Q148)
action count
action union
action filter_type
action find_reverse
entity Q148
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q148
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', 'Q148'] [{'concept': 'Q1048835'}, 'P530', 'Q148']
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { ?k property:P530 resource:Q148 . ?k rdf:type ontology:Q15617994 } UNION { ?k property:P530 resource:Q148 . ?k rdf:type ontology:Q1048835 } }
People's Republic of China
action count
action union
action filter_type
action find_reverse
entity People's Republic of China
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity People's Republic of China
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', "People's Republic of China"] [{'concept': 'political territorial entity'}, 'diplomatic relation', "People's Republic of China"]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { ?k property:diplomatic_relation resource:People's_Republic_of_China . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?k property:diplomatic_relation resource:People's_Republic_of_China . ?k rdf:type ontology:political_territorial_entity } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
15 administrative territories and 2 political territories
Q858 Q711 Q884 Q159 Q801 Q155 Q218 Q805 Q1011 Q183 Q408 Q30 Q34020 Q953 Q929 Q38 Q184
(c(Q15617994),P530,Q148) (c(Q1048835),P530,Q148)
action count
action union
action filter_type
action find_reverse
entity Q148
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q148
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q148'] [{'concept': 'Q1048835'}, 'P530', 'Q148']
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { ?k property:P530 resource:Q148 . ?k rdf:type ontology:Q15617994 } UNION { ?k property:P530 resource:Q148 . ?k rdf:type ontology:Q1048835 } }
Syria Mongolia South Korea Russia Israel Brazil Romania Yemen Cape Verde Germany Australia United States of America Niue Zambia Central African Republic Italy Belarus
15 administrative territories and 2 political territories
action count
action union
action filter_type
action find_reverse
entity People's Republic of China
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity People's Republic of China
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', "People's Republic of China"] [{'concept': 'political territorial entity'}, 'diplomatic relation', "People's Republic of China"]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { ?k property:diplomatic_relation resource:People's_Republic_of_China . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?k property:diplomatic_relation resource:People's_Republic_of_China . ?k rdf:type ontology:political_territorial_entity } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q606060
P641
Q349 Q12973014 Q18608583
USER
How many sports were approximately the same number of sports teams or recurring sporting events a part of as women's association football ?
(c(Q12973014)|c(Q18608583),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q606060
relation P641
type Q12973014
type Q18608583
[[{'concept': 'Q12973014'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?t ) WHERE { { ?g property:P641 ?a . ?g rdf:type ontology:Q12973014 . ?a rdf:type ontology:Q349 } UNION { ?g property:P641 ?a . ?g rdf:type ontology:Q18608583 . ?a rdf:type ontology:Q349 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { ?v property:P641 resource:Q606060 . { { ?v rdf:type ontology:Q12973014 } UNION { ?v rdf:type ontology:Q18608583 } } } } . FILTER ( ?t = ?s ) }
women's association football
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity women's association football
relation sport
type sports team
type recurring sporting event
[[{'concept': 'sports team'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?t ) WHERE { { ?g property:sport ?a . ?g rdf:type ontology:sports_team . ?a rdf:type ontology:sport } UNION { ?g property:sport ?a . ?g rdf:type ontology:recurring_sporting_event . ?a rdf:type ontology:sport } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { ?v property:sport resource:women's_association_football . { { ?v rdf:type ontology:sports_team } UNION { ?v rdf:type ontology:recurring_sporting_event } } } } . FILTER ( ?t = ?s ) }
[]
sport sports team recurring sporting event
SYSTEM
176
Q10962 Q1109032 Q4543 Q170737 Q114466 Q12100 Q500050 Q2348250 Q3337306 Q7707 Q193387 Q108429 Q171038 Q191051 Q17163326 Q4808504 Q3844480 Q809831 Q1575010 Q206763 Q133201 Q244700 Q1497658 Q847 Q902378 Q1761866 Q192832 Q1148620 Q601972 Q46241 Q83462 Q192937 Q3372565 Q208607 Q188966 Q961015 Q328716 Q131359 Q27672886 Q22857 Q657196 Q11420 Q338208 Q41323 Q738622 Q148636 Q136851 Q2887217 Q7856 Q599204 Q5375 Q5377 Q206989 Q690676 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 Q754586 Q1682809 Q40561 Q42486 Q1295867 Q2483334 Q2922870 Q1143202 Q850256 Q204632 Q627165 Q393808 Q213796 Q1866478 Q182570 Q2302906 Q989473 Q1194269 Q2497700 Q231200 Q990637 Q105674 Q215862 Q212845 Q1358545 Q1757181 Q1145338 Q2250158 Q212434 Q43450 Q6034982 Q12834857 Q61065 Q2284014 Q221635 Q4429020 Q2413978 Q13108218 Q4851143 Q14300548 Q1455 Q2215841 Q36908 Q1081491 Q483693 Q389654 Q61465 Q185851 Q4245261 Q624161 Q327742 Q213711 Q271277 Q3177899 Q376040 Q4347112 Q5465793 Q3930 Q797108 Q963312 Q2167372 Q130949 Q535116 Q2360406 Q20856109 Q16996906 Q213934 Q1078835 Q838781 Q26787631 Q1899731 Q201965 Q943526 Q647559 Q1541373 Q606060 Q1150656 Q1063445 Q134211 Q1734 Q31920 Q6140386 Q3325635 Q207703 Q2701632 Q1875777 Q1358925 Q1748406 Q667692 Q183018 Q1622659 Q1421697 Q201252 Q177275 Q32112 Q2736 Q14405929 Q1129021 Q1199515 Q178678 Q17988507 Q6350707 Q159992 Q3924425 Q3341285 Q210778 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q124100 Q2440459 Q429006
(c(Q12973014)|c(Q18608583),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q606060
relation P641
type Q12973014
type Q18608583
[ANSWER]
[[{'concept': 'Q12973014'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?t ) WHERE { { ?g property:P641 ?a . ?g rdf:type ontology:Q12973014 . ?a rdf:type ontology:Q349 } UNION { ?g property:P641 ?a . ?g rdf:type ontology:Q18608583 . ?a rdf:type ontology:Q349 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { ?v property:P641 resource:Q606060 . { { ?v rdf:type ontology:Q12973014 } UNION { ?v rdf:type ontology:Q18608583 } } } } . FILTER ( ?t = ?s ) }
rugby league college football beach volleyball long jump mixed martial arts fencing cross country running team time trial yachting water polo croquet archery softball windsurfing motorcycle racing snocross rink bandy BASE jumping para rowing floorball squash Ultimate memory sport tennis equestrian sport puroresu paintball Finswimming Camogie drag racing weightlifting korfball Kettlebell lifting kung fu contract bridge women's boxing motorcycle sport professional wrestling Flying disc games climbing medley swimming judo giant slalom skiing American football dancesport Kabaddi curling women's basketball rallying rallycross cricket golf shooting sport canoe polo natural track luge para-alpine skiing fistball stock car racing rackets wingsuit flying greyhound racing tug of war racquetball pair skating sumo wrestling pesäpallo Valencian pilota boxe roque shinty Gaelic football Harri-jasotze Dog agility powerlifting American handball discus throw Box lacrosse international draughts harness racing Aizkolaritza netball Broomball running motocross Basque pelota arena football paralympic athletics Adventure racing five-a-side football Olympic sport gymnastics Inline skating strength training water sport Contact sport track cycling competition aerobatics paralympic swimming gymnastics balkline and straight rail skating field hockey cycle sport mountaineering football parkour Greco-Roman wrestling rhythmic gymnastics lacrosse touring car racing gliding relay race hurling Savate bowling wakeboarding strength athletics CP football table tennis jeu de paume Sledge hockey fell running skiing beach handball real tennis canoeing Indoor American football canoeing and kayaking Powerchair Football eventing K-1 Frisian handball Nordic combined Castell Goalball sport climbing women's association football wheelchair curling nine-ball polo volleyball swimming Kitō-ryū Valencian trinquet rodeo muggle quidditch air racing speed skiing roller hockey (quad) Nordic walking bandy hockey Chilean rodeo pankration bobsleigh boxing association football high diving super giant slalom skiing formula racing kick boxing women's tennis Kalari surfing combined track and field events cue sports beach soccer Kart racing korbball mind sport winter sport pallone bodybuilding wheelchair fencing Duathlon
176
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity women's association football
relation sport
type sports team
type recurring sporting event
[[{'concept': 'sports team'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?t ) WHERE { { ?g property:sport ?a . ?g rdf:type ontology:sports_team . ?a rdf:type ontology:sport } UNION { ?g property:sport ?a . ?g rdf:type ontology:recurring_sporting_event . ?a rdf:type ontology:sport } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { ?v property:sport resource:women's_association_football . { { ?v rdf:type ontology:sports_team } UNION { ?v rdf:type ontology:recurring_sporting_event } } } } . FILTER ( ?t = ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q5375
P641
Q349 Q12973014 Q18608583
USER
And how about cricket?
(c(Q12973014)|c(Q18608583),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q5375
relation P641
type Q12973014
type Q18608583
[[{'concept': 'Q12973014'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?f ) WHERE { { ?j property:P641 ?y . ?y rdf:type ontology:Q349 . ?j rdf:type ontology:Q12973014 } UNION { ?j property:P641 ?y . ?y rdf:type ontology:Q349 . ?j rdf:type ontology:Q18608583 } } GROUP BY ?y } . FILTER ( ?f = ?x ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P641 resource:Q5375 . { ?z rdf:type ?d . VALUES ( ?d ) { ( ontology:Q18608583 ) ( ontology:Q12973014 ) } } } } }
cricket
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity cricket
relation sport
type sports team
type recurring sporting event
[[{'concept': 'sports team'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?f ) WHERE { { ?j property:sport ?y . ?y rdf:type ontology:sport . ?j rdf:type ontology:sports_team } UNION { ?j property:sport ?y . ?y rdf:type ontology:sport . ?j rdf:type ontology:recurring_sporting_event } } GROUP BY ?y } . FILTER ( ?f = ?x ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:sport resource:cricket . { ?z rdf:type ?d . VALUES ( ?d ) { ( ontology:recurring_sporting_event ) ( ontology:sports_team ) } } } } }
[]
sport sports team recurring sporting event
SYSTEM
177
Q10962 Q1109032 Q4543 Q170737 Q114466 Q12100 Q500050 Q2348250 Q3337306 Q7707 Q193387 Q108429 Q171038 Q191051 Q17163326 Q4808504 Q3844480 Q809831 Q1575010 Q206763 Q133201 Q244700 Q1497658 Q847 Q902378 Q1761866 Q192832 Q1148620 Q601972 Q46241 Q83462 Q192937 Q3372565 Q208607 Q188966 Q961015 Q328716 Q131359 Q27672886 Q22857 Q657196 Q11420 Q338208 Q41323 Q738622 Q148636 Q136851 Q2887217 Q7856 Q599204 Q5375 Q5377 Q206989 Q690676 Q8418 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 Q754586 Q1682809 Q40561 Q42486 Q1295867 Q2483334 Q2922870 Q1143202 Q850256 Q204632 Q627165 Q393808 Q213796 Q1866478 Q182570 Q2302906 Q989473 Q1194269 Q2497700 Q231200 Q990637 Q105674 Q215862 Q212845 Q1358545 Q1757181 Q1145338 Q2250158 Q212434 Q43450 Q6034982 Q12834857 Q61065 Q2284014 Q221635 Q4429020 Q2413978 Q13108218 Q4851143 Q14300548 Q1455 Q2215841 Q36908 Q1081491 Q483693 Q389654 Q61465 Q185851 Q4245261 Q624161 Q327742 Q213711 Q271277 Q3177899 Q376040 Q4347112 Q5465793 Q3930 Q797108 Q963312 Q2167372 Q130949 Q535116 Q2360406 Q20856109 Q16996906 Q213934 Q1078835 Q838781 Q26787631 Q1899731 Q201965 Q943526 Q647559 Q1541373 Q606060 Q1150656 Q1063445 Q134211 Q1734 Q31920 Q6140386 Q3325635 Q207703 Q2701632 Q1875777 Q1358925 Q1748406 Q667692 Q183018 Q1622659 Q1421697 Q201252 Q177275 Q32112 Q2736 Q14405929 Q1129021 Q1199515 Q178678 Q17988507 Q6350707 Q159992 Q3924425 Q3341285 Q210778 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q124100 Q2440459 Q429006
(c(Q12973014)|c(Q18608583),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q5375
relation P641
type Q12973014
type Q18608583
[ANSWER]
[[{'concept': 'Q12973014'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?f ) WHERE { { ?j property:P641 ?y . ?y rdf:type ontology:Q349 . ?j rdf:type ontology:Q12973014 } UNION { ?j property:P641 ?y . ?y rdf:type ontology:Q349 . ?j rdf:type ontology:Q18608583 } } GROUP BY ?y } . FILTER ( ?f = ?x ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P641 resource:Q5375 . { ?z rdf:type ?d . VALUES ( ?d ) { ( ontology:Q18608583 ) ( ontology:Q12973014 ) } } } } }
rugby league college football beach volleyball long jump mixed martial arts fencing cross country running team time trial yachting water polo croquet archery softball windsurfing motorcycle racing snocross rink bandy BASE jumping para rowing floorball squash Ultimate memory sport tennis equestrian sport puroresu paintball Finswimming Camogie drag racing weightlifting korfball Kettlebell lifting kung fu contract bridge women's boxing motorcycle sport professional wrestling Flying disc games climbing medley swimming judo giant slalom skiing American football dancesport Kabaddi curling women's basketball rallying rallycross cricket golf shooting sport canoe polo handball natural track luge para-alpine skiing fistball stock car racing rackets wingsuit flying greyhound racing tug of war racquetball pair skating sumo wrestling pesäpallo Valencian pilota boxe roque shinty Gaelic football Harri-jasotze Dog agility powerlifting American handball discus throw Box lacrosse international draughts harness racing Aizkolaritza netball Broomball running motocross Basque pelota arena football paralympic athletics Adventure racing five-a-side football Olympic sport gymnastics Inline skating strength training water sport Contact sport track cycling competition aerobatics paralympic swimming gymnastics balkline and straight rail skating field hockey cycle sport mountaineering football parkour Greco-Roman wrestling rhythmic gymnastics lacrosse touring car racing gliding relay race hurling Savate bowling wakeboarding strength athletics CP football table tennis jeu de paume Sledge hockey fell running skiing beach handball real tennis canoeing Indoor American football canoeing and kayaking Powerchair Football eventing K-1 Frisian handball Nordic combined Castell Goalball sport climbing women's association football wheelchair curling nine-ball polo volleyball swimming Kitō-ryū Valencian trinquet rodeo muggle quidditch air racing speed skiing roller hockey (quad) Nordic walking bandy hockey Chilean rodeo pankration bobsleigh boxing association football high diving super giant slalom skiing formula racing kick boxing women's tennis Kalari surfing combined track and field events cue sports beach soccer Kart racing korbball mind sport winter sport pallone bodybuilding wheelchair fencing Duathlon
177
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity cricket
relation sport
type sports team
type recurring sporting event
[[{'concept': 'sports team'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?f ) WHERE { { ?j property:sport ?y . ?y rdf:type ontology:sport . ?j rdf:type ontology:sports_team } UNION { ?j property:sport ?y . ?y rdf:type ontology:sport . ?j rdf:type ontology:recurring_sporting_event } } GROUP BY ?y } . FILTER ( ?f = ?x ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:sport resource:cricket . { ?z rdf:type ?d . VALUES ( ?d ) { ( ontology:recurring_sporting_event ) ( ontology:sports_team ) } } } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q707072
P19
Q56061
USER
How many administrative territories were Liu Wei born at ?
(Q707072,P19,c(Q56061))
action count
action filter_type
action find
entity Q707072
relation P19
type Q56061
['Q707072', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Q707072 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Liu Wei
action count
action filter_type
action find
entity Liu Wei
relation place of birth
type administrative territorial entity
['Liu Wei', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Liu_Wei property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q8686
(Q707072,P19,c(Q56061))
action count
action filter_type
action find
entity Q707072
relation P19
type Q56061
[ANSWER]
['Q707072', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Q707072 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Shanghai
1
action count
action filter_type
action find
entity Liu Wei
relation place of birth
type administrative territorial entity
['Liu Wei', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Liu_Wei property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7384633
P106
Q12737077
USER
Which occupation is the profession of Ryan Wendell ?
(Q7384633,P106,c(Q12737077))
action filter_type
action find
entity Q7384633
relation P106
type Q12737077
['Q7384633', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q7384633 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Ryan Wendell
action filter_type
action find
entity Ryan Wendell
relation occupation
type occupation
['Ryan Wendell', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Ryan_Wendell property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q19204627
SYSTEM
American football player
Q19204627
(Q7384633,P106,c(Q12737077))
action filter_type
action find
entity Q7384633
relation P106
type Q12737077
[ANSWER] is the profession of Ryan Wendell
['Q7384633', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q7384633 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
American football player
American football player is the profession of Ryan Wendell
American football player
action filter_type
action find
entity Ryan Wendell
relation occupation
type occupation
['Ryan Wendell', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Ryan_Wendell property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7384633
P19
Q56061
USER
Which administrative territory was Ryan Wendell born in ?
(Q7384633,P19,c(Q56061))
action filter_type
action find
entity Q7384633
relation P19
type Q56061
['Q7384633', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q7384633 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Ryan Wendell
action filter_type
action find
entity Ryan Wendell
relation place of birth
type administrative territorial entity
['Ryan Wendell', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Ryan_Wendell property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q768449
SYSTEM
Diamond Bar
Q768449
(Q7384633,P19,c(Q56061))
action filter_type
action find
entity Q7384633
relation P19
type Q56061
Ryan Wendell was born in [ANSWER]
['Q7384633', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q7384633 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Diamond Bar
Ryan Wendell was born in Diamond Bar
Diamond Bar
action filter_type
action find
entity Ryan Wendell
relation place of birth
type administrative territorial entity
['Ryan Wendell', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Ryan_Wendell property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q366506
Q56061
USER
And what about Dizzee Rascal?
(Q366506,P19,c(Q56061))
action filter_type
action find
entity Q366506
relation P19
type Q56061
['Q366506', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q366506 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Dizzee Rascal
action filter_type
action find
entity Dizzee Rascal
relation place of birth
type administrative territorial entity
['Dizzee Rascal', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Dizzee_Rascal property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q366506,P19,c(Q56061))
action filter_type
action find
entity Q366506
relation P19
type Q56061
[ANSWER]
['Q366506', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q366506 property:P19 ?t . ?t rdf:type ontology:Q56061 }
London
London
action filter_type
action find
entity Dizzee Rascal
relation place of birth
type administrative territorial entity
['Dizzee Rascal', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Dizzee_Rascal property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]