Simple Question (Direct)
Simple Question
Q5648370
P735
Q82799
USER
What is forename of Hank Johnson ?
(Q5648370,P735,c(Q82799))
action filter_type
action find
entity Q5648370
relation P735
type Q82799
['Q5648370', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q5648370 property:P735 ?d . ?d rdf:type ontology:Q82799 }
Hank Johnson
action filter_type
action find
entity Hank Johnson
relation given name
type name
['Hank Johnson', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Hank_Johnson property:given_name ?d . ?d rdf:type ontology:name }
[]
name
Q19819765
SYSTEM
Hank
Q19819765
(Q5648370,P735,c(Q82799))
action filter_type
action find
entity Q5648370
relation P735
type Q82799
Forename of [ANSWER] Johnson is of [ANSWER]
['Q5648370', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q5648370 property:P735 ?d . ?d rdf:type ontology:Q82799 }
Hank
Forename of Hank Johnson is of Hank
Hank
action filter_type
action find
entity Hank Johnson
relation given name
type name
['Hank Johnson', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Hank_Johnson property:given_name ?d . ?d rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5648370
P54
Q12973014
USER
Which sports teams are that person a member of ?
(Q19819765,P54,c(Q12973014))
action filter_type
action find
entity Q5648370
relation P54
type Q12973014
['Q19819765', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?z WHERE { resource:Q5648370 property:P54 ?z . ?z rdf:type ontology:Q12973014 }
Hank Johnson
action filter_type
action find
entity Hank Johnson
relation member of sports team
type sports team
['Hank', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?z WHERE { resource:Hank_Johnson property:member_of_sports_team ?z . ?z rdf:type ontology:sports_team }
[]
sports team
Q213959 Q213417 Q826751
SYSTEM
Boston Red Sox, New York Yankees, Cincinnati Reds
Q213417 Q213959 Q3446304 Q826751
(Q19819765,P54,c(Q12973014))
action filter_type
action find
entity Q5648370
relation P54
type Q12973014
[ANSWERS] are that person a member of
['Q19819765', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?z WHERE { resource:Q5648370 property:P54 ?z . ?z rdf:type ontology:Q12973014 }
New York Yankees Boston Red Sox Montreal Royals Cincinnati Reds
Boston Red Sox, New York Yankees and Cincinnati Reds are that person a member of
Boston Red Sox New York Yankees Cincinnati Reds
action filter_type
action find
entity Hank Johnson
relation member of sports team
type sports team
['Hank', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?z WHERE { resource:Hank_Johnson property:member_of_sports_team ?z . ?z rdf:type ontology:sports_team }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1199515
P641
Q349 Q12973014
USER
Which sports were less number of sports teams a part of than formula racing ?
(c(Q12973014),P641,c(Q349))
action less
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action count
action filter_type
action find_reverse
entity Q1199515
relation P641
type Q12973014
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:P641 ?d . ?d rdf:type ontology:Q349 . ?g rdf:type ontology:Q12973014 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:P641 resource:Q1199515 . ?y rdf:type ontology:Q12973014 } } . FILTER ( ?a < ?x ) }
formula racing
action less
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action count
action filter_type
action find_reverse
entity formula racing
relation sport
type sports team
[{'concept': 'sports team'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:sport ?d . ?d rdf:type ontology:sport . ?g rdf:type ontology:sports_team } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:sport resource:formula_racing . ?y rdf:type ontology:sports_team } } . FILTER ( ?a < ?x ) }
[]
sport sports team
Q809831 Q1295867 Q1148620
SYSTEM
BASE jumping, pesäpallo, Finswimming
Q1109032 Q4543 Q170737 Q114466 Q12100 Q2348250 Q3337306 Q193387 Q108429 Q191051 Q4808504 Q3844480 Q809831 Q1575010 Q244700 Q1497658 Q902378 Q1761866 Q192832 Q1148620 Q601972 Q46241 Q83462 Q3372565 Q208607 Q188966 Q961015 Q328716 Q131359 Q27672886 Q22857 Q657196 Q11420 Q338208 Q738622 Q148636 Q2887217 Q599204 Q206989 Q690676 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 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 Q6034982 Q12834857 Q61065 Q2284014 Q221635 Q4429020 Q2413978 Q13108218 Q4851143 Q14300548 Q36908 Q1081491 Q483693 Q389654 Q61465 Q4245261 Q624161 Q327742 Q213711 Q271277 Q3177899 Q376040 Q4347112 Q5465793 Q797108 Q2167372 Q2360406 Q20856109 Q16996906 Q213934 Q1078835 Q838781 Q26787631 Q1899731 Q201965 Q943526 Q647559 Q1541373 Q606060 Q1150656 Q1063445 Q134211 Q6140386 Q3325635 Q207703 Q2701632 Q1875777 Q1358925 Q667692 Q1622659 Q1421697 Q201252 Q177275 Q32112 Q14405929 Q1129021 Q178678 Q17988507 Q6350707 Q159992 Q3924425 Q3341285 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q124100 Q2440459 Q429006
(c(Q12973014),P641,c(Q349))
action less
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action count
action filter_type
action find_reverse
entity Q1199515
relation P641
type Q12973014
[ANSWERS] were less number of sports teams a part of than formula racing
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:P641 ?d . ?d rdf:type ontology:Q349 . ?g rdf:type ontology:Q12973014 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:P641 resource:Q1199515 . ?y rdf:type ontology:Q12973014 } } . FILTER ( ?a < ?x ) }
college football beach volleyball long jump mixed martial arts fencing team time trial yachting croquet archery windsurfing snocross rink bandy BASE jumping para rowing Ultimate memory sport equestrian sport puroresu paintball Finswimming Camogie drag racing weightlifting 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 women's basketball rallycross shooting sport canoe polo natural track luge para-alpine skiing fistball stock car racing rackets wingsuit flying greyhound racing tug of war 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 Inline skating strength training water sport Contact sport track cycling competition aerobatics paralympic swimming gymnastics balkline and straight rail skating mountaineering football parkour Greco-Roman wrestling rhythmic gymnastics touring car racing gliding relay race hurling Savate bowling wakeboarding strength athletics CP football jeu de paume fell running 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 Kitō-ryū Valencian trinquet rodeo muggle quidditch air racing speed skiing Nordic walking hockey Chilean rodeo pankration bobsleigh boxing high diving super giant slalom skiing kick boxing women's tennis Kalari surfing combined track and field events cue sports Kart racing korbball mind sport winter sport pallone bodybuilding wheelchair fencing Duathlon
BASE jumping, pesäpallo and Finswimming were less number of sports teams a part of than formula racing
BASE jumping pesäpallo Finswimming
action less
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action count
action filter_type
action find_reverse
entity formula racing
relation sport
type sports team
[{'concept': 'sports team'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:sport ?d . ?d rdf:type ontology:sport . ?g rdf:type ontology:sports_team } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:sport resource:formula_racing . ?y rdf:type ontology:sports_team } } . FILTER ( ?a < ?x ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q206763
P641
Q349 Q12973014
USER
How many sports did less number of sports teams participate in than floorball ?
(c(Q12973014),P641,c(Q349))
action count
action less
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action count
action filter_type
action find_reverse
entity Q206763
relation P641
type Q12973014
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?h ) WHERE { ?k property:P641 ?m . ?m rdf:type ontology:Q349 . ?k rdf:type ontology:Q12973014 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { ?r property:P641 resource:Q206763 . ?r rdf:type ontology:Q12973014 } } . FILTER ( ?h < ?x ) }
floorball
action count
action less
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action count
action filter_type
action find_reverse
entity floorball
relation sport
type sports team
[{'concept': 'sports team'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?h ) WHERE { ?k property:sport ?m . ?m rdf:type ontology:sport . ?k rdf:type ontology:sports_team } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { ?r property:sport resource:floorball . ?r rdf:type ontology:sports_team } } . FILTER ( ?h < ?x ) }
[]
sport sports team
SYSTEM
158
Q1109032 Q4543 Q170737 Q114466 Q12100 Q500050 Q2348250 Q3337306 Q193387 Q108429 Q191051 Q17163326 Q4808504 Q3844480 Q809831 Q1575010 Q133201 Q244700 Q1497658 Q902378 Q1761866 Q192832 Q1148620 Q601972 Q46241 Q83462 Q3372565 Q208607 Q188966 Q961015 Q328716 Q131359 Q27672886 Q22857 Q657196 Q11420 Q338208 Q738622 Q148636 Q2887217 Q599204 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 Q36908 Q1081491 Q483693 Q389654 Q61465 Q185851 Q4245261 Q624161 Q327742 Q213711 Q271277 Q3177899 Q376040 Q4347112 Q5465793 Q3930 Q797108 Q963312 Q2167372 Q130949 Q2360406 Q20856109 Q16996906 Q213934 Q1078835 Q838781 Q26787631 Q1899731 Q201965 Q943526 Q647559 Q1541373 Q606060 Q1150656 Q1063445 Q134211 Q31920 Q6140386 Q3325635 Q207703 Q2701632 Q1875777 Q1358925 Q667692 Q1622659 Q1421697 Q201252 Q177275 Q32112 Q14405929 Q1129021 Q1199515 Q178678 Q17988507 Q6350707 Q159992 Q3924425 Q3341285 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q124100 Q2440459 Q429006
(c(Q12973014),P641,c(Q349))
action count
action less
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action count
action filter_type
action find_reverse
entity Q206763
relation P641
type Q12973014
[ANSWER]
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?h ) WHERE { ?k property:P641 ?m . ?m rdf:type ontology:Q349 . ?k rdf:type ontology:Q12973014 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { ?r property:P641 resource:Q206763 . ?r rdf:type ontology:Q12973014 } } . FILTER ( ?h < ?x ) }
college football beach volleyball long jump mixed martial arts fencing cross country running team time trial yachting croquet archery windsurfing motorcycle racing snocross rink bandy BASE jumping para rowing squash Ultimate memory sport equestrian sport puroresu paintball Finswimming Camogie drag racing weightlifting 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 women's basketball rallycross 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 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 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 swimming Kitō-ryū Valencian trinquet rodeo muggle quidditch air racing speed skiing Nordic walking 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 Kart racing korbball mind sport winter sport pallone bodybuilding wheelchair fencing Duathlon
158
action count
action less
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action count
action filter_type
action find_reverse
entity floorball
relation sport
type sports team
[{'concept': 'sports team'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?h ) WHERE { ?k property:sport ?m . ?m rdf:type ontology:sport . ?k rdf:type ontology:sports_team } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { ?r property:sport resource:floorball . ?r rdf:type ontology:sports_team } } . FILTER ( ?h < ?x ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q826751
P127
Q811979
USER
Which architectural structure is owned by Cincinnati Reds ?
(c(Q811979),P127,Q826751)
action filter_type
action find_reverse
entity Q826751
relation P127
type Q811979
[{'concept': 'Q811979'}, 'P127', 'Q826751']
SELECT DISTINCT ?v WHERE { ?v property:P127 resource:Q826751 . ?v rdf:type ontology:Q811979 }
Cincinnati Reds
action filter_type
action find_reverse
entity Cincinnati Reds
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'Cincinnati Reds']
SELECT DISTINCT ?v WHERE { ?v property:owned_by resource:Cincinnati_Reds . ?v rdf:type ontology:architectural_structure }
[]
architectural structure
Q3003747
SYSTEM
Crosley Field
Q3003747
(c(Q811979),P127,Q826751)
action filter_type
action find_reverse
entity Q826751
relation P127
type Q811979
Field [ANSWER] is owned by Cincinnati Reds
[{'concept': 'Q811979'}, 'P127', 'Q826751']
SELECT DISTINCT ?v WHERE { ?v property:P127 resource:Q826751 . ?v rdf:type ontology:Q811979 }
Crosley Field
Field Crosley Field is owned by Cincinnati Reds
Crosley Field
action filter_type
action find_reverse
entity Cincinnati Reds
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'Cincinnati Reds']
SELECT DISTINCT ?v WHERE { ?v property:owned_by resource:Cincinnati_Reds . ?v rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q826751
P118
Q6631808
USER
Which baseball league does that sports team play in ?
(Q3003747,P118,c(Q6631808))
action filter_type
action find
entity Q826751
relation P118
type Q6631808
['Q3003747', 'P118', {'concept': 'Q6631808'}]
SELECT DISTINCT ?g WHERE { resource:Q826751 property:P118 ?g . ?g rdf:type ontology:Q6631808 }
Cincinnati Reds
action filter_type
action find
entity Cincinnati Reds
relation league
type baseball league
['Crosley Field', 'league', {'concept': 'baseball league'}]
SELECT DISTINCT ?g WHERE { resource:Cincinnati_Reds property:league ?g . ?g rdf:type ontology:baseball_league }
[]
baseball league
Q1163715
SYSTEM
Major League Baseball
Q1163715
(Q3003747,P118,c(Q6631808))
action filter_type
action find
entity Q826751
relation P118
type Q6631808
That sports team plays in [ANSWER]
['Q3003747', 'P118', {'concept': 'Q6631808'}]
SELECT DISTINCT ?g WHERE { resource:Q826751 property:P118 ?g . ?g rdf:type ontology:Q6631808 }
Major League Baseball
That sports team plays in Major League Baseball
Major League Baseball
action filter_type
action find
entity Cincinnati Reds
relation league
type baseball league
['Crosley Field', 'league', {'concept': 'baseball league'}]
SELECT DISTINCT ?g WHERE { resource:Cincinnati_Reds property:league ?g . ?g rdf:type ontology:baseball_league }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q826751
P115
Q811430
USER
Which construction is the ground of that sports team ?
(Q1163715,P115,c(Q811430))
action filter_type
action find
entity Q826751
relation P115
type Q811430
['Q1163715', 'P115', {'concept': 'Q811430'}]
SELECT DISTINCT ?o WHERE { resource:Q826751 property:P115 ?o . ?o rdf:type ontology:Q811430 }
Cincinnati Reds
action filter_type
action find
entity Cincinnati Reds
relation home venue
type construction
['Major League Baseball', 'home venue', {'concept': 'construction'}]
SELECT DISTINCT ?o WHERE { resource:Cincinnati_Reds property:home_venue ?o . ?o rdf:type ontology:construction }
[]
construction
Q979975
SYSTEM
Great American Ball Park
Q979975
(Q1163715,P115,c(Q811430))
action filter_type
action find
entity Q826751
relation P115
type Q811430
[ANSWER] is the ground of that sports team
['Q1163715', 'P115', {'concept': 'Q811430'}]
SELECT DISTINCT ?o WHERE { resource:Q826751 property:P115 ?o . ?o rdf:type ontology:Q811430 }
Great American Ball Park
Great American Ball Park is the ground of that sports team
Great American Ball Park
action filter_type
action find
entity Cincinnati Reds
relation home venue
type construction
['Major League Baseball', 'home venue', {'concept': 'construction'}]
SELECT DISTINCT ?o WHERE { resource:Cincinnati_Reds property:home_venue ?o . ?o rdf:type ontology:construction }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q979975 Q30
P17
Q15617994
USER
Is that construction located in United States of America ?
(Q979975,P17,Q30)
action is_in
entity Q30
action find
entity Q979975
relation P17
['Q979975', 'P17', 'Q30']
ASK WHERE { resource:Q979975 property:P17 resource:Q30 }
Great American Ball Park United States of America
action is_in
entity United States of America
action find
entity Great American Ball Park
relation country
['Great American Ball Park', 'country', 'United States of America']
ASK WHERE { resource:Great_American_Ball_Park property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q979975,P17,Q30)
action is_in
entity Q30
action find
entity Q979975
relation P17
[ANSWER]
['Q979975', 'P17', 'Q30']
ASK WHERE { resource:Q979975 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Great American Ball Park
relation country
['Great American Ball Park', 'country', 'United States of America']
ASK WHERE { resource:Great_American_Ball_Park property:country resource:United_States_of_America }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1295867 Q33
P495
Q15617994
USER
Is Finland the country of origin of pesäpallo ?
(Q1295867,P495,Q33)
action is_in
entity Q33
action find
entity Q1295867
relation P495
['Q1295867', 'P495', 'Q33']
ASK WHERE { resource:Q1295867 property:P495 resource:Q33 }
pesäpallo Finland
action is_in
entity Finland
action find
entity pesäpallo
relation country of origin
['pesäpallo', 'country of origin', 'Finland']
ASK WHERE { resource:pesäpallo property:country_of_origin resource:Finland }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1295867,P495,Q33)
action is_in
entity Q33
action find
entity Q1295867
relation P495
[ANSWER]
['Q1295867', 'P495', 'Q33']
ASK WHERE { resource:Q1295867 property:P495 resource:Q33 }
Yes
action is_in
entity Finland
action find
entity pesäpallo
relation country of origin
['pesäpallo', 'country of origin', 'Finland']
ASK WHERE { resource:pesäpallo property:country_of_origin resource:Finland }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1923
Q12973014 Q13406554 Q22348500
USER
Which sports teams competed in max number of sport competitions and cycling race classes ?
(c(Q13406554)|c(Q22348500),P1923,c(Q12973014))
action argmax
action union
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q13406554
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q22348500
[[{'concept': 'Q13406554'}, {'concept': 'Q22348500'}], 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) ?d WHERE { { ?z property:P1923 ?d . ?z rdf:type ontology:Q22348500 . ?d rdf:type ontology:Q12973014 } UNION { ?z property:P1923 ?d . ?d rdf:type ontology:Q12973014 . ?z rdf:type ontology:Q13406554 } } GROUP BY ?d } } . FILTER ( ?c = ?g ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?a WHERE { { ?o property:P1923 ?a . ?a rdf:type ontology:Q12973014 . ?o rdf:type ontology:Q13406554 } UNION { ?a rdf:type ontology:Q12973014 . ?o rdf:type ontology:Q22348500 . ?o property:P1923 ?a } } GROUP BY ?a } }
action argmax
action union
action find_reverse_tuple_counts
relation participating teams
type sports team
type sport competition
action find_reverse_tuple_counts
relation participating teams
type sports team
type cycling race class defined by the International Cycling Union
[[{'concept': 'sport competition'}, {'concept': 'cycling race class defined by the International Cycling Union'}], 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) ?d WHERE { { ?z property:participating_teams ?d . ?z rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?d rdf:type ontology:sports_team } UNION { ?z property:participating_teams ?d . ?d rdf:type ontology:sports_team . ?z rdf:type ontology:sport_competition } } GROUP BY ?d } } . FILTER ( ?c = ?g ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?a WHERE { { ?o property:participating_teams ?a . ?a rdf:type ontology:sports_team . ?o rdf:type ontology:sport_competition } UNION { ?a rdf:type ontology:sports_team . ?o rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?o property:participating_teams ?a } } GROUP BY ?a } }
[]
sports team sport competition cycling race class defined by the International Cycling Union
Q12872831
SYSTEM
AEZ Zakakiou
Q12872831
(c(Q13406554)|c(Q22348500),P1923,c(Q12973014))
action argmax
action union
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q13406554
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q22348500
[ANSWER] competed in max number of sport competitions and cycling race classes
[[{'concept': 'Q13406554'}, {'concept': 'Q22348500'}], 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) ?d WHERE { { ?z property:P1923 ?d . ?z rdf:type ontology:Q22348500 . ?d rdf:type ontology:Q12973014 } UNION { ?z property:P1923 ?d . ?d rdf:type ontology:Q12973014 . ?z rdf:type ontology:Q13406554 } } GROUP BY ?d } } . FILTER ( ?c = ?g ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?a WHERE { { ?o property:P1923 ?a . ?a rdf:type ontology:Q12973014 . ?o rdf:type ontology:Q13406554 } UNION { ?a rdf:type ontology:Q12973014 . ?o rdf:type ontology:Q22348500 . ?o property:P1923 ?a } } GROUP BY ?a } }
AEZ Zakakiou
AEZ Zakakiou competed in max number of sport competitions and cycling race classes
AEZ Zakakiou
action argmax
action union
action find_reverse_tuple_counts
relation participating teams
type sports team
type sport competition
action find_reverse_tuple_counts
relation participating teams
type sports team
type cycling race class defined by the International Cycling Union
[[{'concept': 'sport competition'}, {'concept': 'cycling race class defined by the International Cycling Union'}], 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) ?d WHERE { { ?z property:participating_teams ?d . ?z rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?d rdf:type ontology:sports_team } UNION { ?z property:participating_teams ?d . ?d rdf:type ontology:sports_team . ?z rdf:type ontology:sport_competition } } GROUP BY ?d } } . FILTER ( ?c = ?g ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?a WHERE { { ?o property:participating_teams ?a . ?a rdf:type ontology:sports_team . ?o rdf:type ontology:sport_competition } UNION { ?a rdf:type ontology:sports_team . ?o rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?o property:participating_teams ?a } } GROUP BY ?a } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q965195 Q979975
P17
Q15617994
USER
Which administrative territories are Great American Ball Park and Tindall present in ?
AND((Q979975,P17,c(Q15617994)), (Q965195,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q979975
relation P17
action find
entity Q965195
relation P17
type Q15617994
{'AND': [['Q979975', 'P17', {'concept': 'Q15617994'}], ['Q965195', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { resource:Q979975 property:P17 ?w . resource:Q965195 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
Tindall Great American Ball Park
action filter_type
action intersection
action find
entity Great American Ball Park
relation country
action find
entity Tindall
relation country
type designation for an administrative territorial entity
{'AND': [['Great American Ball Park', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Tindall', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { resource:Great_American_Ball_Park property:country ?w . resource:Tindall property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q979975,P17,c(Q15617994)), (Q965195,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q979975
relation P17
action find
entity Q965195
relation P17
type Q15617994
Which administrative territories is Great American Ball Park and Tindall present in
{'AND': [['Q979975', 'P17', {'concept': 'Q15617994'}], ['Q965195', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { resource:Q979975 property:P17 ?w . resource:Q965195 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
United States of America
Which administrative territories is Great American Ball Park and Tindall present in
United States of America
action filter_type
action intersection
action find
entity Great American Ball Park
relation country
action find
entity Tindall
relation country
type designation for an administrative territorial entity
{'AND': [['Great American Ball Park', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Tindall', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { resource:Great_American_Ball_Park property:country ?w . resource:Tindall property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P194
Q11204
USER
Which legislature is the legislative body for that administrative territory ?
(Q30,P194,c(Q11204))
action filter_type
action find
entity Q30
relation P194
type Q11204
['Q30', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?d WHERE { resource:Q30 property:P194 ?d . ?d rdf:type ontology:Q11204 }
United States of America
action filter_type
action find
entity United States of America
relation legislative body
type legislature
['United States of America', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?d WHERE { resource:United_States_of_America property:legislative_body ?d . ?d rdf:type ontology:legislature }
[]
legislature
Q11268
SYSTEM
United States Congress
Q11268
(Q30,P194,c(Q11204))
action filter_type
action find
entity Q30
relation P194
type Q11204
The [ANSWER] is the legislative body for that administrative territory
['Q30', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?d WHERE { resource:Q30 property:P194 ?d . ?d rdf:type ontology:Q11204 }
United States Congress
The United States Congress is the legislative body for that administrative territory
United States Congress
action filter_type
action find
entity United States of America
relation legislative body
type legislature
['United States of America', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?d WHERE { resource:United_States_of_America property:legislative_body ?d . ?d rdf:type ontology:legislature }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P641
Q349 Q502895 Q12973014
USER
Which sports were max number of people or sports teams a part of ?
(c(Q502895)|c(Q12973014),P641,c(Q349))
action argmax
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
[[{'concept': 'Q502895'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?j ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) ?e WHERE { VALUES ( ?n ) { ( ontology:Q12973014 ) ( ontology:Q502895 ) } . ?h rdf:type ?n } GROUP BY ?e } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?c WHERE { { ?a property:P641 ?c . ?a rdf:type ontology:Q502895 . ?c rdf:type ontology:Q349 } UNION { ?a property:P641 ?c . ?c rdf:type ontology:Q349 . ?a rdf:type ontology:Q12973014 } } GROUP BY ?c } . FILTER ( ?v = ?j ) }
action argmax
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type sports team
[[{'concept': 'common name'}, {'concept': 'sports team'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?j ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) ?e WHERE { VALUES ( ?n ) { ( ontology:sports_team ) ( ontology:common_name ) } . ?h rdf:type ?n } GROUP BY ?e } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?c WHERE { { ?a property:sport ?c . ?a rdf:type ontology:common_name . ?c rdf:type ontology:sport } UNION { ?a property:sport ?c . ?c rdf:type ontology:sport . ?a rdf:type ontology:sports_team } } GROUP BY ?c } . FILTER ( ?v = ?j ) }
[]
sport common name sports team
Q2736
SYSTEM
association football
Q2736
(c(Q502895)|c(Q12973014),P641,c(Q349))
action argmax
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
[ANSWER] was max number of people or sports teams a part of
[[{'concept': 'Q502895'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?j ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) ?e WHERE { VALUES ( ?n ) { ( ontology:Q12973014 ) ( ontology:Q502895 ) } . ?h rdf:type ?n } GROUP BY ?e } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?c WHERE { { ?a property:P641 ?c . ?a rdf:type ontology:Q502895 . ?c rdf:type ontology:Q349 } UNION { ?a property:P641 ?c . ?c rdf:type ontology:Q349 . ?a rdf:type ontology:Q12973014 } } GROUP BY ?c } . FILTER ( ?v = ?j ) }
association football
Association football was max number of people or sports teams a part of
association football
action argmax
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type sports team
[[{'concept': 'common name'}, {'concept': 'sports team'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?j ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) ?e WHERE { VALUES ( ?n ) { ( ontology:sports_team ) ( ontology:common_name ) } . ?h rdf:type ?n } GROUP BY ?e } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?c WHERE { { ?a property:sport ?c . ?a rdf:type ontology:common_name . ?c rdf:type ontology:sport } UNION { ?a property:sport ?c . ?c rdf:type ontology:sport . ?a rdf:type ontology:sports_team } } GROUP BY ?c } . FILTER ( ?v = ?j ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2736 Q11522285
P641
Q502895
USER
Is Katsuyuki Sugita involved in playing that sport ?
(Q11522285,P641,Q2736)
action is_in
entity Q11522285
action find
entity Q2736
relation P641
['Q11522285', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q11522285 }
association football Katsuyuki Sugita
action is_in
entity Katsuyuki Sugita
action find
entity association football
relation sport
['Katsuyuki Sugita', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:Katsuyuki_Sugita }
[]
common name
SYSTEM
NO
(Q11522285,P641,Q2736)
action is_in
entity Q11522285
action find
entity Q2736
relation P641
[ANSWER]
['Q11522285', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q11522285 }
No
action is_in
entity Katsuyuki Sugita
action find
entity association football
relation sport
['Katsuyuki Sugita', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:Katsuyuki_Sugita }
[]