Simple Question (Direct)
Simple Question
Q3318351
P54
Q1194951
USER
What is Mohamed Ali Manser a member of ?
(Q3318351,P54,c(Q1194951))
action filter_type
action find
entity Q3318351
relation P54
type Q1194951
['Q3318351', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q1194951 . resource:Q3318351 property:P54 ?e }
Mohamed Ali Manser
action filter_type
action find
entity Mohamed Ali Manser
relation member of sports team
type national sports team
['Mohamed Ali Manser', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:national_sports_team . resource:Mohamed_Ali_Manser property:member_of_sports_team ?e }
[]
national sports team
Q27971
SYSTEM
Tunisia national football team
Q27971
(Q3318351,P54,c(Q1194951))
action filter_type
action find
entity Q3318351
relation P54
type Q1194951
Mohamed Ali Manser a member of is the [ANSWER]
['Q3318351', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q1194951 . resource:Q3318351 property:P54 ?e }
Tunisia national football team
Mohamed Ali Manser a member of is the Tunisia national football team
Tunisia national football team
action filter_type
action find
entity Mohamed Ali Manser
relation member of sports team
type national sports team
['Mohamed Ali Manser', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:national_sports_team . resource:Mohamed_Ali_Manser property:member_of_sports_team ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27971
P1344
Q15275719
USER
What recurring events did that national sports team participate in ?
(Q27971,P1344,c(Q15275719))
action filter_type
action find
entity Q27971
relation P1344
type Q15275719
['Q27971', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?r WHERE { resource:Q27971 property:P1344 ?r . ?r rdf:type ontology:Q15275719 }
Tunisia national football team
action filter_type
action find
entity Tunisia national football team
relation participant of
type recurring event
['Tunisia national football team', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?r WHERE { resource:Tunisia_national_football_team property:participant_of ?r . ?r rdf:type ontology:recurring_event }
[]
recurring event
Q47735 Q37285 Q101730
SYSTEM
2002 FIFA World Cup, 2006 FIFA World Cup, 1998 FIFA World Cup
Q46943 Q47735 Q37285 Q101730
(Q27971,P1344,c(Q15275719))
action filter_type
action find
entity Q27971
relation P1344
type Q15275719
That national sports team participated in [ANSWERS]
['Q27971', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?r WHERE { resource:Q27971 property:P1344 ?r . ?r rdf:type ontology:Q15275719 }
1978 FIFA World Cup 2002 FIFA World Cup 2006 FIFA World Cup 1998 FIFA World Cup
That national sports team participated in 2002 FIFA World Cup, 2006 FIFA World Cup and 1998 FIFA World Cup
2002 FIFA World Cup 2006 FIFA World Cup 1998 FIFA World Cup
action filter_type
action find
entity Tunisia national football team
relation participant of
type recurring event
['Tunisia national football team', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?r WHERE { resource:Tunisia_national_football_team property:participant_of ?r . ?r rdf:type ontology:recurring_event }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q192828
P1923
Q1194951 Q15275719 Q13406554
USER
Which national sports teams competed in approximately the same number of recurring events or sport competitions as Angola national football team ?
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action approx
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q192828
relation P1923
type Q15275719
type Q13406554
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) ?d WHERE { ?k rdf:type ?i . VALUES ( ?i ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:P1923 resource:Q192828 . { ?x rdf:type ?u . VALUES ( ?u ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } } } } . FILTER ( ?m = ?z ) }
Angola national football team
action approx
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action count
action filter_multi_types
action find_reverse
entity Angola national football team
relation participating teams
type recurring event
type sport competition
[[{'concept': 'recurring event'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) ?d WHERE { ?k rdf:type ?i . VALUES ( ?i ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:participating_teams resource:Angola_national_football_team . { ?x rdf:type ?u . VALUES ( ?u ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } } } } . FILTER ( ?m = ?z ) }
[]
national sports team recurring event sport competition
Q131785 Q184387 Q212564
SYSTEM
Denmark national football team, Norway national football team, Colombia national football team
Q170327 Q130582 Q212166 Q207441 Q189322 Q174512 Q21130178 Q193386 Q172014 Q223748 Q180187 Q188228 Q21130160 Q212564 Q236014 Q21130162 Q21130165 Q21130166 Q21130168 Q235910 Q987584 Q1131732 Q192828 Q270080 Q182740 Q27971 Q170403 Q170566 Q268208 Q175315 Q214151 Q186262 Q194387 Q191406 Q172221 Q175145 Q191595 Q21130170 Q181903 Q152424 Q207337 Q181190 Q186243 Q131785 Q184387 Q235399 Q483856 Q189198 Q28089 Q236006 Q721418 Q184602 Q192149 Q14132 Q2535606 Q21130157 Q21130156 Q483868 Q181930 Q208635 Q189723 Q206828 Q134925
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action approx
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q192828
relation P1923
type Q15275719
type Q13406554
[ANSWERS] competed in approximately the same number of recurring events or sport competitions as Angola national football team
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) ?d WHERE { ?k rdf:type ?i . VALUES ( ?i ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:P1923 resource:Q192828 . { ?x rdf:type ?u . VALUES ( ?u ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } } } } . FILTER ( ?m = ?z ) }
South Africa national football team China PR national football team Peru national football team Senegal national football team Latvia national football team Slovakia national football team Transylvania national quidditch team Bolivia national football team Ghana national football team Panama national football team Honduras national football team El Salvador national football team England national quidditch team Colombia national football team Cuba national football team Wales national quidditch team Scotland national quidditch team Luxembourg national quidditch team Uganda national quidditch team United Arab Emirates national football team Ecuador national football team Serbia and Montenegro national football team Angola national football team Congo DR national football team Serbia national football team Tunisia national football team Ukraine national football team Japan national football team Australia national association football team New Zealand national football team Venezuela national football team Albania national football team Costa Rica national football team Israel national football team Slovenia national football team Ivory Coast national football team Togo national football team Peru national quidditch team Algeria national football team East Germany national football team Morocco national football team Bosnia and Herzegovina national football team Iraq national football team Denmark national football team Norway national football team Jamaica national football team Turkey national football team Iceland national football team Egypt national football team Haiti national football team CIS national football team Iran national football team Trinidad and Tobago national football team North Korea national football team Dutch East Indies national football team Bulgaria national quidditch team Ireland national quidditch team Czech Republic national football team Nigeria national football team Canada national soccer team Saudi Arabia national football team Kuwait national football team Greece national football team
Denmark national football team, Norway national football team and Colombia national football team competed in approximately the same number of recurring events or sport competitions as Angola national football team
Denmark national football team Norway national football team Colombia national football team
action approx
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action count
action filter_multi_types
action find_reverse
entity Angola national football team
relation participating teams
type recurring event
type sport competition
[[{'concept': 'recurring event'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) ?d WHERE { ?k rdf:type ?i . VALUES ( ?i ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:participating_teams resource:Angola_national_football_team . { ?x rdf:type ?u . VALUES ( ?u ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } } } } . FILTER ( ?m = ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q194387
P1923
Q1194951 Q15275719 Q13406554
USER
And how about Costa Rica national football team?
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action approx
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q194387
relation P1923
type Q15275719
type Q13406554
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?a ) WHERE { { ?z property:P1923 ?u . ?u rdf:type ontology:Q1194951 . ?z rdf:type ontology:Q15275719 } UNION { ?u rdf:type ontology:Q1194951 . ?z rdf:type ontology:Q13406554 . ?z property:P1923 ?u } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { ?o property:P1923 resource:Q194387 . { { ?o rdf:type ontology:Q15275719 } UNION { ?o rdf:type ontology:Q13406554 } } } } . FILTER ( ?a = ?i ) }
Costa Rica national football team
action approx
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action count
action filter_multi_types
action find_reverse
entity Costa Rica national football team
relation participating teams
type recurring event
type sport competition
[[{'concept': 'recurring event'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?a ) WHERE { { ?z property:participating_teams ?u . ?u rdf:type ontology:national_sports_team . ?z rdf:type ontology:recurring_event } UNION { ?u rdf:type ontology:national_sports_team . ?z rdf:type ontology:sport_competition . ?z property:participating_teams ?u } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { ?o property:participating_teams resource:Costa_Rica_national_football_team . { { ?o rdf:type ontology:recurring_event } UNION { ?o rdf:type ontology:sport_competition } } } } . FILTER ( ?a = ?i ) }
[]
national sports team recurring event sport competition
Q47050 Q172025 Q163534
SYSTEM
Netherlands national football team, Chile national football team, Austria national football team
Q170327 Q130582 Q212166 Q207441 Q189322 Q34044 Q174512 Q21130178 Q193386 Q172014 Q223748 Q180187 Q188228 Q190978 Q21130160 Q212564 Q236014 Q180845 Q21130162 Q21130165 Q21130166 Q21130168 Q235910 Q987584 Q1131732 Q192828 Q270080 Q182740 Q180857 Q543842 Q726080 Q27971 Q170403 Q172025 Q172020 Q170566 Q268208 Q175315 Q214151 Q186262 Q194387 Q191406 Q172221 Q175145 Q134479 Q191595 Q47050 Q21130170 Q181903 Q189275 Q175309 Q152424 Q207337 Q181190 Q163534 Q188363 Q186243 Q131785 Q184387 Q168397 Q235399 Q483856 Q189198 Q28089 Q163547 Q236006 Q721418 Q182072 Q184602 Q192149 Q14132 Q2535606 Q21130157 Q21130156 Q483868 Q181930 Q208635 Q189723 Q206828 Q134925
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action approx
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q194387
relation P1923
type Q15275719
type Q13406554
[ANSWERS]
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?a ) WHERE { { ?z property:P1923 ?u . ?u rdf:type ontology:Q1194951 . ?z rdf:type ontology:Q15275719 } UNION { ?u rdf:type ontology:Q1194951 . ?z rdf:type ontology:Q13406554 . ?z property:P1923 ?u } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { ?o property:P1923 resource:Q194387 . { { ?o rdf:type ontology:Q15275719 } UNION { ?o rdf:type ontology:Q13406554 } } } } . FILTER ( ?a = ?i ) }
South Africa national football team China PR national football team Peru national football team Senegal national football team Latvia national football team Scotland national football team Slovakia national football team Transylvania national quidditch team Bolivia national football team Ghana national football team Panama national football team Honduras national football team El Salvador national football team Northern Ireland national football team England national quidditch team Colombia national football team Cuba national football team Bulgaria national football team Wales national quidditch team Scotland national quidditch team Luxembourg national quidditch team Uganda national quidditch team United Arab Emirates national football team Ecuador national football team Serbia and Montenegro national football team Angola national football team Congo DR national football team Serbia national football team Wales national football team South Korea national football team Russia national football team Tunisia national football team Ukraine national football team Chile national football team Paraguay national football team Japan national football team Australia national association football team New Zealand national football team Venezuela national football team Albania national football team Costa Rica national football team Israel national football team Slovenia national football team Ivory Coast national football team Croatia national football team Togo national football team Netherlands national football team Peru national quidditch team Algeria national football team Soviet Union national football team Cameroon national football team East Germany national football team Morocco national football team Bosnia and Herzegovina national football team Austria national football team Yugoslavia national football team Iraq national football team Denmark national football team Norway national football team Romania national football team Jamaica national football team Turkey national football team Iceland national football team Egypt national football team Republic of Ireland national football team Haiti national football team CIS national football team Czechoslovakia national football team Iran national football team Trinidad and Tobago national football team North Korea national football team Dutch East Indies national football team Bulgaria national quidditch team Ireland national quidditch team Czech Republic national football team Nigeria national football team Canada national soccer team Saudi Arabia national football team Kuwait national football team Greece national football team
Netherlands national football team Chile national football team Austria national football team
action approx
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action count
action filter_multi_types
action find_reverse
entity Costa Rica national football team
relation participating teams
type recurring event
type sport competition
[[{'concept': 'recurring event'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?a ) WHERE { { ?z property:participating_teams ?u . ?u rdf:type ontology:national_sports_team . ?z rdf:type ontology:recurring_event } UNION { ?u rdf:type ontology:national_sports_team . ?z rdf:type ontology:sport_competition . ?z property:participating_teams ?u } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { ?o property:participating_teams resource:Costa_Rica_national_football_team . { { ?o rdf:type ontology:recurring_event } UNION { ?o rdf:type ontology:sport_competition } } } } . FILTER ( ?a = ?i ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7747329
P1923
Q15275719
USER
Did those national sports teams participate in The Lights Before Christmas ?
(Q7747329,P1923,Q47050) (Q7747329,P1923,Q172025) (Q7747329,P1923,Q163534)
action is_in
entity prev_answer
action find
entity Q7747329
relation P1923
['Q7747329', 'P1923', 'Q47050'] ['Q7747329', 'P1923', 'Q172025'] ['Q7747329', 'P1923', 'Q163534']
ASK WHERE { VALUES ( ?a ) { ( resource:Q170327 ) ( resource:Q130582 ) ( resource:Q212166 ) } . resource:Q7747329 property:P1923 ?a }
The Lights Before Christmas
action is_in
entity prev_answer
action find
entity The Lights Before Christmas
relation participating teams
['The Lights Before Christmas', 'participating teams', 'Netherlands national football team'] ['The Lights Before Christmas', 'participating teams', 'Chile national football team'] ['The Lights Before Christmas', 'participating teams', 'Austria national football team']
ASK WHERE { VALUES ( ?a ) { ( resource:South_Africa_national_football_team ) ( resource:China_PR_national_football_team ) ( resource:Peru_national_football_team ) } . resource:The_Lights_Before_Christmas property:participating_teams ?a }
[]
recurring event
SYSTEM
NO
(Q7747329,P1923,Q47050) (Q7747329,P1923,Q172025) (Q7747329,P1923,Q163534)
action is_in
entity prev_answer
action find
entity Q7747329
relation P1923
[ANSWER]
['Q7747329', 'P1923', 'Q47050'] ['Q7747329', 'P1923', 'Q172025'] ['Q7747329', 'P1923', 'Q163534']
ASK WHERE { VALUES ( ?a ) { ( resource:Q170327 ) ( resource:Q130582 ) ( resource:Q212166 ) } . resource:Q7747329 property:P1923 ?a }
No
action is_in
entity prev_answer
action find
entity The Lights Before Christmas
relation participating teams
['The Lights Before Christmas', 'participating teams', 'Netherlands national football team'] ['The Lights Before Christmas', 'participating teams', 'Chile national football team'] ['The Lights Before Christmas', 'participating teams', 'Austria national football team']
ASK WHERE { VALUES ( ?a ) { ( resource:South_Africa_national_football_team ) ( resource:China_PR_national_football_team ) ( resource:Peru_national_football_team ) } . resource:The_Lights_Before_Christmas property:participating_teams ?a }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q189275
P1923
Q1194951 Q15275719 Q13406554
USER
How many national sports teams were participants in greater number of recurring events and sport competitions than Soviet Union national football team ?
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q189275
relation P1923
type Q15275719
type Q13406554
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:P1923 resource:Q189275 . { VALUES ( ?f ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } . ?d rdf:type ?f } } } . FILTER ( ?z > ?p ) . { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?z ) WHERE { { ?y rdf:type ontology:Q1194951 . ?e rdf:type ontology:Q13406554 . ?e property:P1923 ?y } UNION { ?e property:P1923 ?y . ?e rdf:type ontology:Q15275719 . ?y rdf:type ontology:Q1194951 } } GROUP BY ?y } }
Soviet Union national football team
action count
action greater
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action count
action filter_multi_types
action find_reverse
entity Soviet Union national football team
relation participating teams
type recurring event
type sport competition
[[{'concept': 'recurring event'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:participating_teams resource:Soviet_Union_national_football_team . { VALUES ( ?f ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } . ?d rdf:type ?f } } } . FILTER ( ?z > ?p ) . { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?z ) WHERE { { ?y rdf:type ontology:national_sports_team . ?e rdf:type ontology:sport_competition . ?e property:participating_teams ?y } UNION { ?e property:participating_teams ?y . ?e rdf:type ontology:recurring_event . ?y rdf:type ontology:national_sports_team } } GROUP BY ?y } }
[]
national sports team recurring event sport competition
SYSTEM
26
Q34044 Q43310 Q267245 Q166776 Q160826 Q543842 Q170561 Q172025 Q172020 Q134479 Q47050 Q42267 Q166196 Q83459 Q164089 Q163534 Q188363 Q676899 Q168397 Q165141 Q47774 Q182072 Q164134 Q79800 Q134916 Q47762
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q189275
relation P1923
type Q15275719
type Q13406554
[ANSWER]
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:P1923 resource:Q189275 . { VALUES ( ?f ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } . ?d rdf:type ?f } } } . FILTER ( ?z > ?p ) . { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?z ) WHERE { { ?y rdf:type ontology:Q1194951 . ?e rdf:type ontology:Q13406554 . ?e property:P1923 ?y } UNION { ?e property:P1923 ?y . ?e rdf:type ontology:Q15275719 . ?y rdf:type ontology:Q1194951 } } GROUP BY ?y } }
Scotland national football team Germany national football team Portugal national football team Belgium national football team Sweden national football team South Korea national football team Hungary national football team Chile national football team Paraguay national football team Croatia national football team Netherlands national football team Spain national football team Poland national football team Brazil national football team Mexico national football team Austria national football team Yugoslavia national football team Italy national football team Romania national football team Swiss national football team France national football team Czechoslovakia national football team United States men's national soccer team Argentina national football team Uruguay national football team England national football team
26
action count
action greater
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action count
action filter_multi_types
action find_reverse
entity Soviet Union national football team
relation participating teams
type recurring event
type sport competition
[[{'concept': 'recurring event'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:participating_teams resource:Soviet_Union_national_football_team . { VALUES ( ?f ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } . ?d rdf:type ?f } } } . FILTER ( ?z > ?p ) . { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?z ) WHERE { { ?y rdf:type ontology:national_sports_team . ?e rdf:type ontology:sport_competition . ?e property:participating_teams ?y } UNION { ?e property:participating_teams ?y . ?e rdf:type ontology:recurring_event . ?y rdf:type ontology:national_sports_team } } GROUP BY ?y } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1923
Q1194951 Q15275719
USER
Which recurring events did max number of national sports teams participate in ?
(c(Q15275719),P1923,c(Q1194951))
action argmax
action find_tuple_counts
relation P1923
type Q15275719
type Q1194951
[{'concept': 'Q15275719'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?s ) { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?h ) WHERE { ?b property:P1923 ?f . ?b rdf:type ontology:Q15275719 . ?f rdf:type ontology:Q1194951 } GROUP BY ?b } } . { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?w ) WHERE { ?z property:P1923 ?v . ?v rdf:type ontology:Q1194951 . ?z rdf:type ontology:Q15275719 } GROUP BY ?z } . FILTER ( ?w = ?s ) }
action argmax
action find_tuple_counts
relation participating teams
type recurring event
type national sports team
[{'concept': 'recurring event'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?s ) { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?h ) WHERE { ?b property:participating_teams ?f . ?b rdf:type ontology:recurring_event . ?f rdf:type ontology:national_sports_team } GROUP BY ?b } } . { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?w ) WHERE { ?z property:participating_teams ?v . ?v rdf:type ontology:national_sports_team . ?z rdf:type ontology:recurring_event } GROUP BY ?z } . FILTER ( ?w = ?s ) }
[]
national sports team recurring event
Q47735 Q79859 Q37285
SYSTEM
2002 FIFA World Cup, 2014 FIFA World Cup, 2006 FIFA World Cup
Q176883 Q37285 Q47735 Q101730 Q79859
(c(Q15275719),P1923,c(Q1194951))
action argmax
action find_tuple_counts
relation P1923
type Q15275719
type Q1194951
Max number of national sports teams participated in the [ANSWERS]
[{'concept': 'Q15275719'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?s ) { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?h ) WHERE { ?b property:P1923 ?f . ?b rdf:type ontology:Q15275719 . ?f rdf:type ontology:Q1194951 } GROUP BY ?b } } . { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?w ) WHERE { ?z property:P1923 ?v . ?v rdf:type ontology:Q1194951 . ?z rdf:type ontology:Q15275719 } GROUP BY ?z } . FILTER ( ?w = ?s ) }
2010 FIFA World Cup 2006 FIFA World Cup 2002 FIFA World Cup 1998 FIFA World Cup 2014 FIFA World Cup
Max number of national sports teams participated in the 2002 FIFA World Cup, 2014 FIFA World Cup and 2006 FIFA World Cup
2002 FIFA World Cup 2014 FIFA World Cup 2006 FIFA World Cup
action argmax
action find_tuple_counts
relation participating teams
type recurring event
type national sports team
[{'concept': 'recurring event'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?s ) { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?h ) WHERE { ?b property:participating_teams ?f . ?b rdf:type ontology:recurring_event . ?f rdf:type ontology:national_sports_team } GROUP BY ?b } } . { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?w ) WHERE { ?z property:participating_teams ?v . ?v rdf:type ontology:national_sports_team . ?z rdf:type ontology:recurring_event } GROUP BY ?z } . FILTER ( ?w = ?s ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q79859
P276
Q1076486
USER
Which sports venues are the place where 2014 FIFA World Cup are located ?
(Q79859,P276,c(Q1076486))
action filter_type
action find
entity Q79859
relation P276
type Q1076486
['Q79859', 'P276', {'concept': 'Q1076486'}]
SELECT DISTINCT ?j WHERE { resource:Q79859 property:P276 ?j . ?j rdf:type ontology:Q1076486 }
2014 FIFA World Cup
action filter_type
action find
entity 2014 FIFA World Cup
relation location
type sports venue
['2014 FIFA World Cup', 'location', {'concept': 'sports venue'}]
SELECT DISTINCT ?j WHERE { resource:2014_FIFA_World_Cup property:location ?j . ?j rdf:type ontology:sports_venue }
[]
sports venue
Q606803 Q1343986 Q910370
SYSTEM
Arena da Baixada, Arena das Dunas, Mineirão
Q1343986 Q1050224 Q606803 Q910370 Q641448 Q6499360 Q155174 Q958185 Q336088 Q641527 Q1362236 Q1362211
(Q79859,P276,c(Q1076486))
action filter_type
action find
entity Q79859
relation P276
type Q1076486
[ANSWERS] are the place where 2014 FIFA World Cup are located
['Q79859', 'P276', {'concept': 'Q1076486'}]
SELECT DISTINCT ?j WHERE { resource:Q79859 property:P276 ?j . ?j rdf:type ontology:Q1076486 }
Arena das Dunas Estádio Beira-Rio Arena da Baixada Mineirão Arena Pantanal Arena Fonte Nova Estádio do Maracanã Castelão Estádio Nacional de Brasília Arena Amazônia Arena Corinthians Arena Cidade da Copa
Arena da Baixada, Arena das Dunas and Mineirão are the place where 2014 FIFA World Cup are located
Arena da Baixada Arena das Dunas Mineirão
action filter_type
action find
entity 2014 FIFA World Cup
relation location
type sports venue
['2014 FIFA World Cup', 'location', {'concept': 'sports venue'}]
SELECT DISTINCT ?j WHERE { resource:2014_FIFA_World_Cup property:location ?j . ?j rdf:type ontology:sports_venue }
[]