Simple Question (Direct)
Simple Question
Q6916176
P641
Q349
USER
Which sport was Moshe Varon a part of ?
(Q6916176,P641,c(Q349))
action filter_type
action find
entity Q6916176
relation P641
type Q349
['Q6916176', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q6916176 property:P641 ?y . ?y rdf:type ontology:Q349 }
Moshe Varon
action filter_type
action find
entity Moshe Varon
relation sport
type sport
['Moshe Varon', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Moshe_Varon property:sport ?y . ?y rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6916176,P641,c(Q349))
action filter_type
action find
entity Q6916176
relation P641
type Q349
Which sport was Moshe Varon a part of
['Q6916176', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q6916176 property:P641 ?y . ?y rdf:type ontology:Q349 }
association football
Which sport was Moshe Varon a part of
association football
action filter_type
action find
entity Moshe Varon
relation sport
type sport
['Moshe Varon', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Moshe_Varon property:sport ?y . ?y rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6916176
P54
Q1194951
USER
Which national sports team is Moshe Varon a member of ?
(Q6916176,P54,c(Q1194951))
action filter_type
action find
entity Q6916176
relation P54
type Q1194951
['Q6916176', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?r WHERE { resource:Q6916176 property:P54 ?r . ?r rdf:type ontology:Q1194951 }
Moshe Varon
action filter_type
action find
entity Moshe Varon
relation member of sports team
type national sports team
['Moshe Varon', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?r WHERE { resource:Moshe_Varon property:member_of_sports_team ?r . ?r rdf:type ontology:national_sports_team }
[]
national sports team
Q191406
SYSTEM
Israel national football team
Q191406
(Q6916176,P54,c(Q1194951))
action filter_type
action find
entity Q6916176
relation P54
type Q1194951
The [ANSWER] is Moshe Varon a member of
['Q6916176', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?r WHERE { resource:Q6916176 property:P54 ?r . ?r rdf:type ontology:Q1194951 }
Israel national football team
The Israel national football team is Moshe Varon a member of
Israel national football team
action filter_type
action find
entity Moshe Varon
relation member of sports team
type national sports team
['Moshe Varon', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?r WHERE { resource:Moshe_Varon property:member_of_sports_team ?r . ?r rdf:type ontology:national_sports_team }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6700940
Q1194951
USER
And also tell me about Luis Olaso?
(Q6700940,P54,c(Q1194951))
action filter_type
action find
entity Q6700940
relation P54
type Q1194951
['Q6700940', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?y WHERE { resource:Q6700940 property:P54 ?y . ?y rdf:type ontology:Q1194951 }
Luis Olaso
action filter_type
action find
entity Luis Olaso
relation member of sports team
type national sports team
['Luis Olaso', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?y WHERE { resource:Luis_Olaso property:member_of_sports_team ?y . ?y rdf:type ontology:national_sports_team }
[]
national sports team
Q42267
SYSTEM
Spain national football team
Q42267
(Q6700940,P54,c(Q1194951))
action filter_type
action find
entity Q6700940
relation P54
type Q1194951
[ANSWER]
['Q6700940', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?y WHERE { resource:Q6700940 property:P54 ?y . ?y rdf:type ontology:Q1194951 }
Spain national football team
Spain national football team
action filter_type
action find
entity Luis Olaso
relation member of sports team
type national sports team
['Luis Olaso', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?y WHERE { resource:Luis_Olaso property:member_of_sports_team ?y . ?y rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q42267
P463
Q1346006
USER
What international sport governing bodies had that national sports team as their member ?
(Q42267,P463,c(Q1346006))
action filter_type
action find
entity Q42267
relation P463
type Q1346006
['Q42267', 'P463', {'concept': 'Q1346006'}]
SELECT DISTINCT ?y WHERE { resource:Q42267 property:P463 ?y . ?y rdf:type ontology:Q1346006 }
Spain national football team
action filter_type
action find
entity Spain national football team
relation member of
type international sport governing body
['Spain national football team', 'member of', {'concept': 'international sport governing body'}]
SELECT DISTINCT ?y WHERE { resource:Spain_national_football_team property:member_of ?y . ?y rdf:type ontology:international_sport_governing_body }
[]
international sport governing body
Q35572 Q253414
SYSTEM
Union of European Football Associations, FIFA
Q35572 Q253414
(Q42267,P463,c(Q1346006))
action filter_type
action find
entity Q42267
relation P463
type Q1346006
[ANSWERS] had that national sports team as their member
['Q42267', 'P463', {'concept': 'Q1346006'}]
SELECT DISTINCT ?y WHERE { resource:Q42267 property:P463 ?y . ?y rdf:type ontology:Q1346006 }
Union of European Football Associations FIFA
Union of European Football Associations and FIFA had that national sports team as their member
Union of European Football Associations FIFA
action filter_type
action find
entity Spain national football team
relation member of
type international sport governing body
['Spain national football team', 'member of', {'concept': 'international sport governing body'}]
SELECT DISTINCT ?y WHERE { resource:Spain_national_football_team property:member_of ?y . ?y rdf:type ontology:international_sport_governing_body }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q35572 Q253414
P664
Q13406554
USER
Who event did those international sport governing bodies serve as the organizer for ?
(c(Q13406554),P664,Q35572) (c(Q13406554),P664,Q253414)
action filter_type
action find_reverse
entity prev_answer
relation P664
type Q13406554
[{'concept': 'Q13406554'}, 'P664', 'Q35572'] [{'concept': 'Q13406554'}, 'P664', 'Q253414']
SELECT DISTINCT ?j WHERE { ?j property:P664 ?o . ?j rdf:type ontology:Q13406554 . VALUES ( ?o ) { ( resource:Q35572 ) ( resource:Q253414 ) } }
Union of European Football Associations FIFA
action filter_type
action find_reverse
entity prev_answer
relation organizer
type sport competition
[{'concept': 'sport competition'}, 'organizer', 'Union of European Football Associations'] [{'concept': 'sport competition'}, 'organizer', 'FIFA']
SELECT DISTINCT ?j WHERE { ?j property:organizer ?o . ?j rdf:type ontology:sport_competition . VALUES ( ?o ) { ( resource:Union_of_European_Football_Associations ) ( resource:FIFA ) } }
[]
sport competition
Q576136 Q13557593 Q18707603
SYSTEM
Copa América Centenario, 2015 UEFA Champions League Final, Olympiacos F.C. - Atlético Madrid match on the 16 September 2014
Q952369 Q13557593 Q597316 Q947567 Q259310 Q432279 Q18707603 Q939925 Q522194 Q1192930 Q748083 Q948609 Q576136
(c(Q13406554),P664,Q35572) (c(Q13406554),P664,Q253414)
action filter_type
action find_reverse
entity prev_answer
relation P664
type Q13406554
[ANSWERS]
[{'concept': 'Q13406554'}, 'P664', 'Q35572'] [{'concept': 'Q13406554'}, 'P664', 'Q253414']
SELECT DISTINCT ?j WHERE { ?j property:P664 ?o . ?j rdf:type ontology:Q13406554 . VALUES ( ?o ) { ( resource:Q35572 ) ( resource:Q253414 ) } }
1999 UEFA Super Cup 2015 UEFA Champions League Final 2001 UEFA Super Cup 2003 UEFA Super Cup 1997 UEFA Super Cup 1998 UEFA Super Cup Olympiacos F.C. - Atlético Madrid match on the 16 September 2014 2006 UEFA Super Cup 2004 UEFA Super Cup 1995 UEFA Super Cup 2005 UEFA Super Cup 2002 UEFA Super Cup Copa América Centenario
Those international sport governing bodies served as the organizer for the Copa América Centenario, 2015 UEFA Champions League Final and Olympiacos F.C.-Atlético Madrid match on the 16 September 2014 event
Copa América Centenario 2015 UEFA Champions League Final Olympiacos F.C. - Atlético Madrid match on the 16 September 2014
action filter_type
action find_reverse
entity prev_answer
relation organizer
type sport competition
[{'concept': 'sport competition'}, 'organizer', 'Union of European Football Associations'] [{'concept': 'sport competition'}, 'organizer', 'FIFA']
SELECT DISTINCT ?j WHERE { ?j property:organizer ?o . ?j rdf:type ontology:sport_competition . VALUES ( ?o ) { ( resource:Union_of_European_Football_Associations ) ( resource:FIFA ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q18707603
P276
Q483110
USER
Which stadium is the location of that sport competition ?
(Q18707603,P276,c(Q483110))
action filter_type
action find
entity Q18707603
relation P276
type Q483110
['Q18707603', 'P276', {'concept': 'Q483110'}]
SELECT DISTINCT ?q WHERE { resource:Q18707603 property:P276 ?q . ?q rdf:type ontology:Q483110 }
Olympiacos F.C. - Atlético Madrid match on the 16 September 2014
action filter_type
action find
entity Olympiacos F.C. - Atlético Madrid match on the 16 September 2014
relation location
type stadium
['Olympiacos F.C. - Atlético Madrid match on the 16 September 2014', 'location', {'concept': 'stadium'}]
SELECT DISTINCT ?q WHERE { resource:Olympiacos_F.C._-_Atlético_Madrid_match_on_the_16_September_2014 property:location ?q . ?q rdf:type ontology:stadium }
[]
stadium
Clarification for simple ques.
Q18707603
SYSTEM
Did you mean Olympiacos F.C. - Atlético Madrid match on the 16 September 2014 ?
Q576136 Q13557593 Q18707603
(Q576136,P276,c(Q483110)) (Q13557593,P276,c(Q483110)) (Q18707603,P276,c(Q483110))
[ANSWER]
['Q576136', 'P276', {'concept': 'Q483110'}] ['Q13557593', 'P276', {'concept': 'Q483110'}] ['Q18707603', 'P276', {'concept': 'Q483110'}]
SELECT DISTINCT ?q WHERE { resource:Q18707603 property:P276 ?q . ?q rdf:type ontology:Q483110 }
Copa América Centenario 2015 UEFA Champions League Final Olympiacos F.C. - Atlético Madrid match on the 16 September 2014
Did you mean Olympiacos F.C. - Atlético Madrid match on the 16 September 2014 ?
Olympiacos F.C. - Atlético Madrid match on the 16 September 2014
['Copa América Centenario', 'location', {'concept': 'stadium'}] ['2015 UEFA Champions League Final', 'location', {'concept': 'stadium'}] ['Olympiacos F.C. - Atlético Madrid match on the 16 September 2014', 'location', {'concept': 'stadium'}]
SELECT DISTINCT ?q WHERE { resource:Olympiacos_F.C._-_Atlético_Madrid_match_on_the_16_September_2014 property:location ?q . ?q rdf:type ontology:stadium }
[]
Simple Question (Coreferenced)
USER
Yes
(Q18707603,P276,c(Q483110))
['Q18707603', 'P276', {'concept': 'Q483110'}]
['Olympiacos F.C. - Atlético Madrid match on the 16 September 2014', 'location', {'concept': 'stadium'}]
[]
Q213508
SYSTEM
Karaiskakis Stadium
Q213508
(Q18707603,P276,c(Q483110))
action filter_type
action find
entity Q18707603
relation P276
type Q483110
[ANSWER] is the location of that sport competition
['Q18707603', 'P276', {'concept': 'Q483110'}]
SELECT DISTINCT ?q WHERE { resource:Q18707603 property:P276 ?q . ?q rdf:type ontology:Q483110 }
Karaiskakis Stadium
Karaiskakis Stadium is the location of that sport competition
Karaiskakis Stadium
action filter_type
action find
entity Olympiacos F.C. - Atlético Madrid match on the 16 September 2014
relation location
type stadium
['Olympiacos F.C. - Atlético Madrid match on the 16 September 2014', 'location', {'concept': 'stadium'}]
SELECT DISTINCT ?q WHERE { resource:Olympiacos_F.C._-_Atlético_Madrid_match_on_the_16_September_2014 property:location ?q . ?q rdf:type ontology:stadium }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q213508
P17
Q15617994
USER
Which administrative territory does that stadium belong to ?
(Q213508,P17,c(Q15617994))
action filter_type
action find
entity Q213508
relation P17
type Q15617994
['Q213508', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q213508 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Karaiskakis Stadium
action filter_type
action find
entity Karaiskakis Stadium
relation country
type designation for an administrative territorial entity
['Karaiskakis Stadium', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Karaiskakis_Stadium property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q41
SYSTEM
Greece
Q41
(Q213508,P17,c(Q15617994))
action filter_type
action find
entity Q213508
relation P17
type Q15617994
That stadium belongs to [ANSWER]
['Q213508', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q213508 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Greece
That stadium belongs to Greece
Greece
action filter_type
action find
entity Karaiskakis Stadium
relation country
type designation for an administrative territorial entity
['Karaiskakis Stadium', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Karaiskakis_Stadium property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q213508
P276
Q13406554
USER
Which sport competition is located at that stadium ?
(c(Q13406554),P276,Q41)
action filter_type
action find_reverse
entity Q213508
relation P276
type Q13406554
[{'concept': 'Q13406554'}, 'P276', 'Q41']
SELECT DISTINCT ?u WHERE { ?u property:P276 resource:Q213508 . ?u rdf:type ontology:Q13406554 }
Karaiskakis Stadium
action filter_type
action find_reverse
entity Karaiskakis Stadium
relation location
type sport competition
[{'concept': 'sport competition'}, 'location', 'Greece']
SELECT DISTINCT ?u WHERE { ?u property:location resource:Karaiskakis_Stadium . ?u rdf:type ontology:sport_competition }
[]
sport competition
Q18707603
SYSTEM
Olympiacos F.C. - Atlético Madrid match on the 16 September 2014
Q18707603
(c(Q13406554),P276,Q41)
action filter_type
action find_reverse
entity Q213508
relation P276
type Q13406554
[ANSWER] is located at that stadium
[{'concept': 'Q13406554'}, 'P276', 'Q41']
SELECT DISTINCT ?u WHERE { ?u property:P276 resource:Q213508 . ?u rdf:type ontology:Q13406554 }
Olympiacos F.C. - Atlético Madrid match on the 16 September 2014
Olympiacos F.C. - Atlético Madrid match on the 16 September 2014 is located at that stadium
Olympiacos F.C. - Atlético Madrid match on the 16 September 2014
action filter_type
action find_reverse
entity Karaiskakis Stadium
relation location
type sport competition
[{'concept': 'sport competition'}, 'location', 'Greece']
SELECT DISTINCT ?u WHERE { ?u property:location resource:Karaiskakis_Stadium . ?u rdf:type ontology:sport_competition }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q235910
P1923
Q1194951 Q15275719 Q13406554
USER
How many national sports teams contested in approximately the same number of recurring events and sport competitions as United Arab Emirates national football team ?
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action count
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 Q235910
relation P1923
type Q15275719
type Q13406554
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) ?x WHERE { VALUES ( ?n ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } . ?y rdf:type ?n } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { { ?u rdf:type ?c . VALUES ( ?c ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } } . ?u property:P1923 resource:Q235910 } } . FILTER ( ?l = ?a ) }
United Arab Emirates national football team
action count
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 United Arab Emirates 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 ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) ?x WHERE { VALUES ( ?n ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } . ?y rdf:type ?n } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { { ?u rdf:type ?c . VALUES ( ?c ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } } . ?u property:participating_teams resource:United_Arab_Emirates_national_football_team } } . FILTER ( ?l = ?a ) }
[]
national sports team recurring event sport competition
SYSTEM
63
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 count
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 Q235910
relation P1923
type Q15275719
type Q13406554
[ANSWER]
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) ?x WHERE { VALUES ( ?n ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } . ?y rdf:type ?n } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { { ?u rdf:type ?c . VALUES ( ?c ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } } . ?u property:P1923 resource:Q235910 } } . FILTER ( ?l = ?a ) }
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
63
action count
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 United Arab Emirates 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 ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) ?x WHERE { VALUES ( ?n ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } . ?y rdf:type ?n } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { { ?u rdf:type ?c . VALUES ( ?c ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } } . ?u property:participating_teams resource:United_Arab_Emirates_national_football_team } } . FILTER ( ?l = ?a ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q267245
P1923
Q1194951 Q15275719 Q13406554
USER
And also tell me about Portugal national football team?
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action count
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 Q267245
relation P1923
type Q15275719
type Q13406554
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) ?t WHERE { ?o rdf:type ?r . VALUES ( ?r ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:P1923 resource:Q267245 . { { ?s rdf:type ontology:Q15275719 } UNION { ?s rdf:type ontology:Q13406554 } } } } . FILTER ( ?w = ?a ) }
Portugal national football team
action count
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 Portugal 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 ( ?t ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) ?t WHERE { ?o rdf:type ?r . VALUES ( ?r ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:participating_teams resource:Portugal_national_football_team . { { ?s rdf:type ontology:recurring_event } UNION { ?s rdf:type ontology:sport_competition } } } } . FILTER ( ?w = ?a ) }
[]
national sports team recurring event sport competition
SYSTEM
22
Q34044 Q267245 Q166776 Q160826 Q543842 Q170561 Q172025 Q172020 Q134479 Q47050 Q42267 Q166196 Q164089 Q163534 Q188363 Q168397 Q165141 Q182072 Q164134 Q79800 Q134916 Q47762
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action count
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 Q267245
relation P1923
type Q15275719
type Q13406554
[ANSWER]
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) ?t WHERE { ?o rdf:type ?r . VALUES ( ?r ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:P1923 resource:Q267245 . { { ?s rdf:type ontology:Q15275719 } UNION { ?s rdf:type ontology:Q13406554 } } } } . FILTER ( ?w = ?a ) }
Scotland 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 Mexico national football team Austria national football team Yugoslavia national football team Romania national football team Swiss 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
22
action count
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 Portugal 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 ( ?t ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) ?t WHERE { ?o rdf:type ?r . VALUES ( ?r ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:participating_teams resource:Portugal_national_football_team . { { ?s rdf:type ontology:recurring_event } UNION { ?s rdf:type ontology:sport_competition } } } } . FILTER ( ?w = ?a ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q500834 Q43229 Q13406554
USER
How many sport competitions are a portion of around 1 tournaments or organizations ?
(c(Q13406554),P361,c(Q500834)|c(Q43229))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q13406554
type Q500834
action find_tuple_counts
relation P361
type Q13406554
type Q43229
value 1
[{'concept': 'Q13406554'}, 'P361', [{'concept': 'Q500834'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { FILTER ( ?s = 1 ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) ?v WHERE { VALUES ( ?f ) { ( ontology:Q500834 ) ( ontology:Q43229 ) } . ?n rdf:type ?f } GROUP BY ?v } }
action count
action approx
action union
action find_tuple_counts
relation part of
type sport competition
type tournament
action find_tuple_counts
relation part of
type sport competition
type organization
value 1
[{'concept': 'sport competition'}, 'part of', [{'concept': 'tournament'}, {'concept': 'organization'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { FILTER ( ?s = 1 ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) ?v WHERE { VALUES ( ?f ) { ( ontology:tournament ) ( ontology:organization ) } . ?n rdf:type ?f } GROUP BY ?v } }
[]
tournament organization sport competition
SYSTEM
14
Q299814 Q1225246 Q19849295 Q4874436 Q1349725 Q1393520 Q511746 Q1349715 Q599143 Q24287194 Q299783 Q17067266 Q2558469 Q1635282
(c(Q13406554),P361,c(Q500834)|c(Q43229))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q13406554
type Q500834
action find_tuple_counts
relation P361
type Q13406554
type Q43229
value 1
[ANSWER]
[{'concept': 'Q13406554'}, 'P361', [{'concept': 'Q500834'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { FILTER ( ?s = 1 ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) ?v WHERE { VALUES ( ?f ) { ( ontology:Q500834 ) ( ontology:Q43229 ) } . ?n rdf:type ?f } GROUP BY ?v } }
Tokyo Indoor 2009–10 Polish Cup 2015–16 Manchester United F.C. season Bayern Munich v Norwich City 2007–08 Polish Cup 2012–13 Polish Cup 2008–09 Polish Cup 2010–11 Polish Cup 1968–69 FA Cup 2016–17 Polish Cup Sydney Indoor 2014–15 Copa del Rey 1999 Masters 2011–12 Polish Cup
14
action count
action approx
action union
action find_tuple_counts
relation part of
type sport competition
type tournament
action find_tuple_counts
relation part of
type sport competition
type organization
value 1
[{'concept': 'sport competition'}, 'part of', [{'concept': 'tournament'}, {'concept': 'organization'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { FILTER ( ?s = 1 ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) ?v WHERE { VALUES ( ?f ) { ( ontology:tournament ) ( ontology:organization ) } . ?n rdf:type ?f } GROUP BY ?v } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q213508
P127
Q15617994
USER
Which administrative territory owned Karaiskakis Stadium ?
(Q213508,P127,c(Q15617994))
action filter_type
action find
entity Q213508
relation P127
type Q15617994
['Q213508', 'P127', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q213508 property:P127 ?k . ?k rdf:type ontology:Q15617994 }
Karaiskakis Stadium
action filter_type
action find
entity Karaiskakis Stadium
relation owned by
type designation for an administrative territorial entity
['Karaiskakis Stadium', 'owned by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Karaiskakis_Stadium property:owned_by ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q41
SYSTEM
Greece
Q41
(Q213508,P127,c(Q15617994))
action filter_type
action find
entity Q213508
relation P127
type Q15617994
[ANSWER] owned Karaiskakis Stadium
['Q213508', 'P127', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q213508 property:P127 ?k . ?k rdf:type ontology:Q15617994 }
Greece
Greece owned Karaiskakis Stadium
Greece
action filter_type
action find
entity Karaiskakis Stadium
relation owned by
type designation for an administrative territorial entity
['Karaiskakis Stadium', 'owned by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Karaiskakis_Stadium property:owned_by ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3509777
Q15617994
USER
And also tell me about I/51 road?
(Q3509777,P127,c(Q15617994))
action filter_type
action find
entity Q3509777
relation P127
type Q15617994
['Q3509777', 'P127', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q3509777 property:P127 ?w }
I/51 road
action filter_type
action find
entity I/51 road
relation owned by
type designation for an administrative territorial entity
['I/51 road', 'owned by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:I/51_road property:owned_by ?w }
[]
designation for an administrative territorial entity
Q213
SYSTEM
Czech Republic
Q213
(Q3509777,P127,c(Q15617994))
action filter_type
action find
entity Q3509777
relation P127
type Q15617994
[ANSWER]
['Q3509777', 'P127', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q3509777 property:P127 ?w }
Czech Republic
Czech Republic
action filter_type
action find
entity I/51 road
relation owned by
type designation for an administrative territorial entity
['I/51 road', 'owned by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:I/51_road property:owned_by ?w }
[]