Simple Question (Direct)
Simple Question
Q1870823
P54
Q1194951
USER
Which national sports team is Yukio Shimomura a member of ?
(Q1870823,P54,c(Q1194951))
action filter_type
action find
entity Q1870823
relation P54
type Q1194951
['Q1870823', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?z WHERE { resource:Q1870823 property:P54 ?z . ?z rdf:type ontology:Q1194951 }
Yukio Shimomura
action filter_type
action find
entity Yukio Shimomura
relation member of sports team
type national sports team
['Yukio Shimomura', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?z WHERE { resource:Yukio_Shimomura property:member_of_sports_team ?z . ?z rdf:type ontology:national_sports_team }
[]
national sports team
Q170566
SYSTEM
Japan national football team
Q170566
(Q1870823,P54,c(Q1194951))
action filter_type
action find
entity Q1870823
relation P54
type Q1194951
The [ANSWER] is Yukio Shimomura a member of
['Q1870823', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?z WHERE { resource:Q1870823 property:P54 ?z . ?z rdf:type ontology:Q1194951 }
Japan national football team
The Japan national football team is Yukio Shimomura a member of
Japan national football team
action filter_type
action find
entity Yukio Shimomura
relation member of sports team
type national sports team
['Yukio Shimomura', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?z WHERE { resource:Yukio_Shimomura property:member_of_sports_team ?z . ?z rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q170566
P1923
Q15275719
USER
Which recurring events did that national sports team take part in ?
(c(Q15275719),P1923,Q170566)
action filter_type
action find_reverse
entity Q170566
relation P1923
type Q15275719
[{'concept': 'Q15275719'}, 'P1923', 'Q170566']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15275719 . ?z property:P1923 resource:Q170566 }
Japan national football team
action filter_type
action find_reverse
entity Japan national football team
relation participating teams
type recurring event
[{'concept': 'recurring event'}, 'participating teams', 'Japan national football team']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:recurring_event . ?z property:participating_teams resource:Japan_national_football_team }
[]
recurring event
Q47735 Q79859 Q37285
SYSTEM
2002 FIFA World Cup, 2014 FIFA World Cup, 2006 FIFA World Cup
Q37285 Q47735 Q176883 Q101730 Q79859
(c(Q15275719),P1923,Q170566)
action filter_type
action find_reverse
entity Q170566
relation P1923
type Q15275719
That national sports team took in part in [ANSWERS]
[{'concept': 'Q15275719'}, 'P1923', 'Q170566']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15275719 . ?z property:P1923 resource:Q170566 }
2006 FIFA World Cup 2002 FIFA World Cup 2010 FIFA World Cup 1998 FIFA World Cup 2014 FIFA World Cup
That national sports team took in part in 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 filter_type
action find_reverse
entity Japan national football team
relation participating teams
type recurring event
[{'concept': 'recurring event'}, 'participating teams', 'Japan national football team']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:recurring_event . ?z property:participating_teams resource:Japan_national_football_team }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q47735 Q79859 Q37285
P1923
Q1194951
USER
Which national sports teams took part in 2002 FIFA World Cup, 2014 FIFA World Cup and 2006 FIFA World Cup ?
(Q47735,P1923,c(Q1194951)) (Q79859,P1923,c(Q1194951)) (Q37285,P1923,c(Q1194951))
action union
action filter_type
action find
entity Q47735
relation P1923
type Q1194951
action filter_type
action find
entity Q79859
relation P1923
type Q1194951
action filter_type
action find
entity Q37285
relation P1923
type Q1194951
['Q47735', 'P1923', {'concept': 'Q1194951'}] ['Q79859', 'P1923', {'concept': 'Q1194951'}] ['Q37285', 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?d WHERE { { resource:Q79859 property:P1923 ?d . ?d rdf:type ontology:Q1194951 } UNION { resource:Q47735 property:P1923 ?d . ?d rdf:type ontology:Q1194951 } }
2002 FIFA World Cup 2014 FIFA World Cup 2006 FIFA World Cup
action union
action filter_type
action find
entity 2002 FIFA World Cup
relation participating teams
type national sports team
action filter_type
action find
entity 2014 FIFA World Cup
relation participating teams
type national sports team
action filter_type
action find
entity 2006 FIFA World Cup
relation participating teams
type national sports team
['2002 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}] ['2014 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}] ['2006 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?d WHERE { { resource:2014_FIFA_World_Cup property:participating_teams ?d . ?d rdf:type ontology:national_sports_team } UNION { resource:2002_FIFA_World_Cup property:participating_teams ?d . ?d rdf:type ontology:national_sports_team } }
[]
national sports team
Q166196 Q166196 Q43310
SYSTEM
Germany national football team for 3rd, Poland national football team for 1st, 2nd
Q170327 Q130582 Q134479 Q267245 Q163547 Q42267 Q166776 Q207441 Q47762 Q160826 Q166196 Q83459 Q175309 Q164134 Q79800 Q543842 Q726080 Q27971 Q181930 Q134916 Q172020 Q170566 Q164089 Q131785 Q43310 Q676899 Q189723 Q194387 Q987584 Q172221 Q483856 Q47774 Q175145 Q134479 Q267245 Q47050 Q184602 Q42267 Q166776 Q181903 Q47762 Q164134 Q83459 Q175309 Q172014 Q181190 Q180187 Q79800 Q164089 Q726080 Q212564 Q181930 Q268208 Q172025 Q170566 Q134916 Q43310 Q676899 Q543842 Q165141 Q194387 Q987584 Q134925 Q47774 Q175145 Q134479 Q191595 Q267245 Q1131732 Q47050 Q42267 Q184602 Q192149 Q164134 Q166196 Q83459 Q192828 Q172014 Q160826 Q483868 Q79800 Q164089 Q47762 Q27971 Q170403 Q268208 Q172020 Q170566 Q543842 Q43310 Q676899 Q189723 Q194387 Q987584 Q165141 Q47774
(Q47735,P1923,c(Q1194951)) (Q79859,P1923,c(Q1194951)) (Q37285,P1923,c(Q1194951))
action union
action filter_type
action find
entity Q47735
relation P1923
type Q1194951
action filter_type
action find
entity Q79859
relation P1923
type Q1194951
action filter_type
action find
entity Q37285
relation P1923
type Q1194951
[ANSWERS]
['Q47735', 'P1923', {'concept': 'Q1194951'}] ['Q79859', 'P1923', {'concept': 'Q1194951'}] ['Q37285', 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?d WHERE { { resource:Q79859 property:P1923 ?d . ?d rdf:type ontology:Q1194951 } UNION { resource:Q47735 property:P1923 ?d . ?d rdf:type ontology:Q1194951 } }
South Africa national football team China PR national football team Croatia national football team Portugal national football team Republic of Ireland national football team Spain national football team Belgium national football team Senegal national football team England national football team Sweden national football team Poland national football team Brazil national football team Cameroon national football team United States men's national soccer team Argentina national football team South Korea national football team Russia national football team Tunisia national football team Nigeria national football team Uruguay national football team Paraguay national football team Japan national football team Mexico national football team Denmark national football team Germany national football team Italy national football team Saudi Arabia national football team Costa Rica national football team Ecuador national football team Slovenia national football team Turkey national football team France national football team Ivory Coast national football team Croatia national football team Portugal national football team Netherlands national football team Iran national football team Spain national football team Belgium national football team Algeria national football team England national football team United States men's national soccer team Brazil national football team Cameroon national football team Ghana national football team Bosnia and Herzegovina national football team Honduras national football team Argentina national football team Mexico national football team Russia national football team Colombia national football team Nigeria national football team Australia national association football team Chile national football team Japan national football team Uruguay national football team Germany national football team Italy national football team South Korea national football team Swiss national football team Costa Rica national football team Ecuador national football team Greece national football team France national football team Ivory Coast national football team Croatia national football team Togo national football team Portugal national football team Serbia and Montenegro national football team Netherlands national football team Spain national football team Iran national football team Trinidad and Tobago national football team United States men's national soccer team Poland national football team Brazil national football team Angola national football team Ghana national football team Sweden national football team Czech Republic national football team Argentina national football team Mexico national football team England national football team Tunisia national football team Ukraine national football team Australia national association football team Paraguay national football team Japan national football team South Korea national football team Germany national football team Italy national football team Saudi Arabia national football team Costa Rica national football team Ecuador national football team Swiss national football team France national football team
Poland national football team, Poland national football team and Germany national football team took part in 2002 FIFA World Cup, 2014 FIFA World Cup and 2006 FIFA World Cup
Poland national football team Poland national football team Germany national football team
action union
action filter_type
action find
entity 2002 FIFA World Cup
relation participating teams
type national sports team
action filter_type
action find
entity 2014 FIFA World Cup
relation participating teams
type national sports team
action filter_type
action find
entity 2006 FIFA World Cup
relation participating teams
type national sports team
['2002 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}] ['2014 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}] ['2006 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?d WHERE { { resource:2014_FIFA_World_Cup property:participating_teams ?d . ?d rdf:type ontology:national_sports_team } UNION { resource:2002_FIFA_World_Cup property:participating_teams ?d . ?d rdf:type ontology:national_sports_team } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q166196
P466
Q483110
USER
Which stadium is occupied by that national sports team ?
(c(Q483110),P466,Q166196)
action filter_type
action find_reverse
entity Q166196
relation P466
type Q483110
[{'concept': 'Q483110'}, 'P466', 'Q166196']
SELECT DISTINCT ?z WHERE { ?z property:P466 resource:Q166196 . ?z rdf:type ontology:Q483110 }
Poland national football team
action filter_type
action find_reverse
entity Poland national football team
relation occupant
type stadium
[{'concept': 'stadium'}, 'occupant', 'Poland national football team']
SELECT DISTINCT ?z WHERE { ?z property:occupant resource:Poland_national_football_team . ?z rdf:type ontology:stadium }
[]
stadium
Clarification for simple ques.
Q166196
SYSTEM
Did you mean Poland national football team ?
Q166196 Q166196 Q43310
(c(Q483110),P466,Q166196) (c(Q483110),P466,Q166196) (c(Q483110),P466,Q43310)
[ANSWER]
[{'concept': 'Q483110'}, 'P466', 'Q166196'] [{'concept': 'Q483110'}, 'P466', 'Q166196'] [{'concept': 'Q483110'}, 'P466', 'Q43310']
SELECT DISTINCT ?z WHERE { ?z property:P466 resource:Q166196 . ?z rdf:type ontology:Q483110 }
Poland national football team Poland national football team Germany national football team
Did you mean Poland national football team ?
Poland national football team
[{'concept': 'stadium'}, 'occupant', 'Poland national football team'] [{'concept': 'stadium'}, 'occupant', 'Poland national football team'] [{'concept': 'stadium'}, 'occupant', 'Germany national football team']
SELECT DISTINCT ?z WHERE { ?z property:occupant resource:Poland_national_football_team . ?z rdf:type ontology:stadium }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q483110),P466,Q166196)
[{'concept': 'Q483110'}, 'P466', 'Q166196']
[{'concept': 'stadium'}, 'occupant', 'Poland national football team']
[]
Q599592
SYSTEM
Silesian Stadium
Q599592
(c(Q483110),P466,Q166196)
action filter_type
action find_reverse
entity Q166196
relation P466
type Q483110
[ANSWER] is occupied by that national sports team
[{'concept': 'Q483110'}, 'P466', 'Q166196']
SELECT DISTINCT ?z WHERE { ?z property:P466 resource:Q166196 . ?z rdf:type ontology:Q483110 }
Silesian Stadium
Silesian Stadium is occupied by that national sports team
Silesian Stadium
action filter_type
action find_reverse
entity Poland national football team
relation occupant
type stadium
[{'concept': 'stadium'}, 'occupant', 'Poland national football team']
SELECT DISTINCT ?z WHERE { ?z property:occupant resource:Poland_national_football_team . ?z rdf:type ontology:stadium }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5985708 Q166196
P1344
Q15275719
USER
Which recurring events did Poland national football team or Iceland in the Eurovision Song Contest 1992 participate in ?
OR((Q166196,P1344,c(Q15275719)), (Q5985708,P1344,c(Q15275719)))
action filter_type
action union
action find
entity Q166196
relation P1344
action find
entity Q5985708
relation P1344
type Q15275719
{'OR': [['Q166196', 'P1344', {'concept': 'Q15275719'}], ['Q5985708', 'P1344', {'concept': 'Q15275719'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?u ) { ( resource:Q166196 ) ( resource:Q5985708 ) } . ?u property:P1344 ?t } . ?t rdf:type ontology:Q15275719 }
Iceland in the Eurovision Song Contest 1992 Poland national football team
action filter_type
action union
action find
entity Poland national football team
relation participant of
action find
entity Iceland in the Eurovision Song Contest 1992
relation participant of
type recurring event
{'OR': [['Poland national football team', 'participant of', {'concept': 'recurring event'}], ['Iceland in the Eurovision Song Contest 1992', 'participant of', {'concept': 'recurring event'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?u ) { ( resource:Poland_national_football_team ) ( resource:Iceland_in_the_Eurovision_Song_Contest_1992 ) } . ?u property:participant_of ?t } . ?t rdf:type ontology:recurring_event }
[]
recurring event
Q211487 Q37285 Q166121 Q47735 Q46938 Q46943 Q131591 Q46934
SYSTEM
Eurovision Song Contest 1992, 2006 FIFA World Cup, 1974 FIFA World Cup, 2002 FIFA World Cup, 1986 FIFA World Cup, 1978 FIFA World Cup, 1938 FIFA World Cup, 1982 FIFA World Cup
Q211487 Q37285 Q166121 Q47735 Q46938 Q46943 Q131591 Q46934
OR((Q166196,P1344,c(Q15275719)), (Q5985708,P1344,c(Q15275719)))
action filter_type
action union
action find
entity Q166196
relation P1344
action find
entity Q5985708
relation P1344
type Q15275719
Poland national football team or Iceland in the Eurovision Song Contest 1992 participated in [ANSWERS]
{'OR': [['Q166196', 'P1344', {'concept': 'Q15275719'}], ['Q5985708', 'P1344', {'concept': 'Q15275719'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?u ) { ( resource:Q166196 ) ( resource:Q5985708 ) } . ?u property:P1344 ?t } . ?t rdf:type ontology:Q15275719 }
Eurovision Song Contest 1992 2006 FIFA World Cup 1974 FIFA World Cup 2002 FIFA World Cup 1986 FIFA World Cup 1978 FIFA World Cup 1938 FIFA World Cup 1982 FIFA World Cup
Poland national football team or Iceland in the Eurovision Song Contest 1992 participated in Eurovision Song Contest 1992, 2006 FIFA World Cup, 1974 FIFA World Cup, 2002 FIFA World Cup, 1986 FIFA World Cup, 1978 FIFA World Cup, 1938 FIFA World Cup and 1982 FIFA World Cup
Eurovision Song Contest 1992 2006 FIFA World Cup 1974 FIFA World Cup 2002 FIFA World Cup 1986 FIFA World Cup 1978 FIFA World Cup 1938 FIFA World Cup 1982 FIFA World Cup
action filter_type
action union
action find
entity Poland national football team
relation participant of
action find
entity Iceland in the Eurovision Song Contest 1992
relation participant of
type recurring event
{'OR': [['Poland national football team', 'participant of', {'concept': 'recurring event'}], ['Iceland in the Eurovision Song Contest 1992', 'participant of', {'concept': 'recurring event'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?u ) { ( resource:Poland_national_football_team ) ( resource:Iceland_in_the_Eurovision_Song_Contest_1992 ) } . ?u property:participant_of ?t } . ?t rdf:type ontology:recurring_event }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P1923
Q1194951
USER
How many national sports teams were participants in that recurring event ?
(Q46934,P1923,c(Q1194951))
['Q46934', 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q46934 property:P1923 ?z . ?z rdf:type ontology:Q1194951 }
['1982 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:1982_FIFA_World_Cup property:participating_teams ?z . ?z rdf:type ontology:national_sports_team }
[]
national sports team
Quantitative|Count|Single entity type|Clarification
Q46943
SYSTEM
Did you mean 1978 FIFA World Cup ?
(Q211487,P1923,c(Q1194951)) (Q37285,P1923,c(Q1194951)) (Q166121,P1923,c(Q1194951)) (Q47735,P1923,c(Q1194951)) (Q46938,P1923,c(Q1194951)) (Q46943,P1923,c(Q1194951)) (Q131591,P1923,c(Q1194951)) (Q46934,P1923,c(Q1194951))
[ANSWER]
['Q211487', 'P1923', {'concept': 'Q1194951'}] ['Q37285', 'P1923', {'concept': 'Q1194951'}] ['Q166121', 'P1923', {'concept': 'Q1194951'}] ['Q47735', 'P1923', {'concept': 'Q1194951'}] ['Q46938', 'P1923', {'concept': 'Q1194951'}] ['Q46943', 'P1923', {'concept': 'Q1194951'}] ['Q131591', 'P1923', {'concept': 'Q1194951'}] ['Q46934', 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q46934 property:P1923 ?z . ?z rdf:type ontology:Q1194951 }
Did you mean 1978 FIFA World Cup ?
1978 FIFA World Cup
['Eurovision Song Contest 1992', 'participating teams', {'concept': 'national sports team'}] ['2006 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}] ['1974 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}] ['2002 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}] ['1986 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}] ['1978 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}] ['1938 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}] ['1982 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:1982_FIFA_World_Cup property:participating_teams ?z . ?z rdf:type ontology:national_sports_team }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant 1982 FIFA World Cup. Could you tell me the answer for that?
(Q46934,P1923,c(Q1194951))
Q46934
['Q46934', 'P1923', {'concept': 'Q1194951'}]
['1982 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}]
[]
SYSTEM
24
Q182072 Q212166 Q42267 Q166776 Q181903 Q189275 Q166196 Q34044 Q83459 Q175309 Q180187 Q188228 Q190978 Q79800 Q47762 Q163534 Q188363 Q170561 Q172025 Q43310 Q676899 Q175315 Q206828 Q47774
(Q46934,P1923,c(Q1194951))
[ANSWER]
['Q46934', 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q46934 property:P1923 ?z . ?z rdf:type ontology:Q1194951 }
Czechoslovakia national football team Peru national football team Spain national football team Belgium national football team Algeria national football team Soviet Union national football team Poland national football team Scotland national football team Brazil national football team Cameroon national football team Honduras national football team El Salvador national football team Northern Ireland national football team Argentina national football team England national football team Austria national football team Yugoslavia national football team Hungary national football team Chile national football team Germany national football team Italy national football team New Zealand national football team Kuwait national football team France national football team
24
['1982 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:1982_FIFA_World_Cup property:participating_teams ?z . ?z rdf:type ontology:national_sports_team }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q182740
P1923
Q1194951 Q13406554 Q15275719
USER
How many national sports teams contested in lesser number of sport competitions and recurring events than Serbia national football team ?
(c(Q13406554)|c(Q15275719),P1923,c(Q1194951))
action count
action less
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action count
action filter_multi_types
action find_reverse
entity Q182740
relation P1923
type Q13406554
type Q15275719
[[{'concept': 'Q13406554'}, {'concept': 'Q15275719'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) ?m WHERE { VALUES ( ?k ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } . ?b rdf:type ?k } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:P1923 resource:Q182740 . { VALUES ( ?x ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } . ?l rdf:type ?x } } } . FILTER ( ?u < ?j ) }
Serbia national football team
action count
action less
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
action count
action filter_multi_types
action find_reverse
entity Serbia national football team
relation participating teams
type sport competition
type recurring event
[[{'concept': 'sport competition'}, {'concept': 'recurring event'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) ?m WHERE { VALUES ( ?k ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } . ?b rdf:type ?k } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:participating_teams resource:Serbia_national_football_team . { VALUES ( ?x ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } . ?l rdf:type ?x } } } . FILTER ( ?u < ?j ) }
[]
national sports team sport competition recurring event
SYSTEM
11
Q189322 Q21130178 Q21130160 Q21130162 Q21130165 Q21130166 Q21130168 Q21130170 Q721418 Q21130157 Q21130156
(c(Q13406554)|c(Q15275719),P1923,c(Q1194951))
action count
action less
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action count
action filter_multi_types
action find_reverse
entity Q182740
relation P1923
type Q13406554
type Q15275719
[ANSWER]
[[{'concept': 'Q13406554'}, {'concept': 'Q15275719'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) ?m WHERE { VALUES ( ?k ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } . ?b rdf:type ?k } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:P1923 resource:Q182740 . { VALUES ( ?x ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } . ?l rdf:type ?x } } } . FILTER ( ?u < ?j ) }
Latvia national football team Transylvania national quidditch team England national quidditch team Wales national quidditch team Scotland national quidditch team Luxembourg national quidditch team Uganda national quidditch team Peru national quidditch team CIS national football team Bulgaria national quidditch team Ireland national quidditch team
11
action count
action less
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
action count
action filter_multi_types
action find_reverse
entity Serbia national football team
relation participating teams
type sport competition
type recurring event
[[{'concept': 'sport competition'}, {'concept': 'recurring event'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) ?m WHERE { VALUES ( ?k ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } . ?b rdf:type ?k } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:participating_teams resource:Serbia_national_football_team . { VALUES ( ?x ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } . ?l rdf:type ?x } } } . FILTER ( ?u < ?j ) }
[]