Simple Question (Direct)
Simple Question
Q308400
P106
Q12737077
USER
Which occupation has Abbe Ibrahim as his/her 's career ?
(Q308400,P106,c(Q12737077))
action filter_type
action find
entity Q308400
relation P106
type Q12737077
['Q308400', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q308400 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Abbe Ibrahim
action filter_type
action find
entity Abbe Ibrahim
relation occupation
type occupation
['Abbe Ibrahim', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Abbe_Ibrahim property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q308400,P106,c(Q12737077))
action filter_type
action find
entity Q308400
relation P106
type Q12737077
As [ANSWER] has Abbe Ibrahim as his/her 's career
['Q308400', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q308400 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
association football player
As association football player has Abbe Ibrahim as his/her 's career
association football player
action filter_type
action find
entity Abbe Ibrahim
relation occupation
type occupation
['Abbe Ibrahim', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Abbe_Ibrahim property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q308400
P54
Q1194951
USER
What is that person a member of ?
(Q937857,P54,c(Q1194951))
action filter_type
action find
entity Q308400
relation P54
type Q1194951
['Q937857', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?k WHERE { resource:Q308400 property:P54 ?k . ?k rdf:type ontology:Q1194951 }
Abbe Ibrahim
action filter_type
action find
entity Abbe Ibrahim
relation member of sports team
type national sports team
['association football player', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?k WHERE { resource:Abbe_Ibrahim property:member_of_sports_team ?k . ?k rdf:type ontology:national_sports_team }
[]
national sports team
Q191595
SYSTEM
Togo national football team
Q191595
(Q937857,P54,c(Q1194951))
action filter_type
action find
entity Q308400
relation P54
type Q1194951
That person a member of is the [ANSWER]
['Q937857', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?k WHERE { resource:Q308400 property:P54 ?k . ?k rdf:type ontology:Q1194951 }
Togo national football team
That person a member of is the Togo national football team
Togo national football team
action filter_type
action find
entity Abbe Ibrahim
relation member of sports team
type national sports team
['association football player', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?k WHERE { resource:Abbe_Ibrahim property:member_of_sports_team ?k . ?k rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q191595
P466
Q483110
USER
What was inhabited by that national sports team ?
(c(Q483110),P466,Q191595)
action filter_type
action find_reverse
entity Q191595
relation P466
type Q483110
[{'concept': 'Q483110'}, 'P466', 'Q191595']
SELECT DISTINCT ?k WHERE { ?k property:P466 resource:Q191595 . ?k rdf:type ontology:Q483110 }
Togo national football team
action filter_type
action find_reverse
entity Togo national football team
relation occupant
type stadium
[{'concept': 'stadium'}, 'occupant', 'Togo national football team']
SELECT DISTINCT ?k WHERE { ?k property:occupant resource:Togo_national_football_team . ?k rdf:type ontology:stadium }
[]
stadium
Q3082452
SYSTEM
Stade de Kégué
Q3082452
(c(Q483110),P466,Q191595)
action filter_type
action find_reverse
entity Q191595
relation P466
type Q483110
[ANSWER] was inhabited by that national sports team
[{'concept': 'Q483110'}, 'P466', 'Q191595']
SELECT DISTINCT ?k WHERE { ?k property:P466 resource:Q191595 . ?k rdf:type ontology:Q483110 }
Stade de Kégué
Stade de Kégué was inhabited by that national sports team
Stade de Kégué
action filter_type
action find_reverse
entity Togo national football team
relation occupant
type stadium
[{'concept': 'stadium'}, 'occupant', 'Togo national football team']
SELECT DISTINCT ?k WHERE { ?k property:occupant resource:Togo_national_football_team . ?k rdf:type ontology:stadium }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q191595
P1923
Q15275719
USER
What did Togo national football team participate in ?
(c(Q15275719),P1923,Q191595)
action filter_type
action find_reverse
entity Q191595
relation P1923
type Q15275719
[{'concept': 'Q15275719'}, 'P1923', 'Q191595']
SELECT DISTINCT ?p WHERE { ?p property:P1923 resource:Q191595 . ?p rdf:type ontology:Q15275719 }
Togo national football team
action filter_type
action find_reverse
entity Togo national football team
relation participating teams
type recurring event
[{'concept': 'recurring event'}, 'participating teams', 'Togo national football team']
SELECT DISTINCT ?p WHERE { ?p property:participating_teams resource:Togo_national_football_team . ?p rdf:type ontology:recurring_event }
[]
recurring event
Q37285
SYSTEM
2006 FIFA World Cup
Q37285
(c(Q15275719),P1923,Q191595)
action filter_type
action find_reverse
entity Q191595
relation P1923
type Q15275719
Togo national football team participated in [ANSWER]
[{'concept': 'Q15275719'}, 'P1923', 'Q191595']
SELECT DISTINCT ?p WHERE { ?p property:P1923 resource:Q191595 . ?p rdf:type ontology:Q15275719 }
2006 FIFA World Cup
Togo national football team participated in 2006 FIFA World Cup
2006 FIFA World Cup
action filter_type
action find_reverse
entity Togo national football team
relation participating teams
type recurring event
[{'concept': 'recurring event'}, 'participating teams', 'Togo national football team']
SELECT DISTINCT ?p WHERE { ?p property:participating_teams resource:Togo_national_football_team . ?p rdf:type ontology:recurring_event }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q37285 Q20807203 Q11482818
P1923
Q1194951
USER
Did Colombia at the 2014 UCI Road World Championships and 2006 Japanese national badminton team take part in Q37285 ?
(Q37285,P1923,Q20807203) (Q37285,P1923,Q11482818)
action is_in
entity Q37285
action intersection
action find_reverse
entity Q20807203
relation P1923
action find_reverse
entity Q11482818
relation P1923
['Q37285', 'P1923', 'Q20807203'] ['Q37285', 'P1923', 'Q11482818']
ASK WHERE { resource:Q37285 property:P1923 resource:Q20807203 . resource:Q37285 property:P1923 resource:Q11482818 }
2006 FIFA World Cup Colombia at the 2014 UCI Road World Championships 2006 Japanese national badminton team
action is_in
entity 2006 FIFA World Cup
action intersection
action find_reverse
entity Colombia at the 2014 UCI Road World Championships
relation participating teams
action find_reverse
entity 2006 Japanese national badminton team
relation participating teams
['2006 FIFA World Cup', 'participating teams', 'Colombia at the 2014 UCI Road World Championships'] ['2006 FIFA World Cup', 'participating teams', '2006 Japanese national badminton team']
ASK WHERE { resource:2006_FIFA_World_Cup property:participating_teams resource:Colombia_at_the_2014_UCI_Road_World_Championships . resource:2006_FIFA_World_Cup property:participating_teams resource:2006_Japanese_national_badminton_team }
[]
national sports team
SYSTEM
NO
(Q37285,P1923,Q20807203) (Q37285,P1923,Q11482818)
action is_in
entity Q37285
action intersection
action find_reverse
entity Q20807203
relation P1923
action find_reverse
entity Q11482818
relation P1923
[ANSWER]
['Q37285', 'P1923', 'Q20807203'] ['Q37285', 'P1923', 'Q11482818']
ASK WHERE { resource:Q37285 property:P1923 resource:Q20807203 . resource:Q37285 property:P1923 resource:Q11482818 }
No
action is_in
entity 2006 FIFA World Cup
action intersection
action find_reverse
entity Colombia at the 2014 UCI Road World Championships
relation participating teams
action find_reverse
entity 2006 Japanese national badminton team
relation participating teams
['2006 FIFA World Cup', 'participating teams', 'Colombia at the 2014 UCI Road World Championships'] ['2006 FIFA World Cup', 'participating teams', '2006 Japanese national badminton team']
ASK WHERE { resource:2006_FIFA_World_Cup property:participating_teams resource:Colombia_at_the_2014_UCI_Road_World_Championships . resource:2006_FIFA_World_Cup property:participating_teams resource:2006_Japanese_national_badminton_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q37285
P664
Q1346006
USER
Who is the organizer of that recurring event ?
action filter_type
action find
entity Q37285
relation P664
type Q1346006
SELECT DISTINCT ?f WHERE { resource:Q37285 property:P664 ?f . ?f rdf:type ontology:Q1346006 }
2006 FIFA World Cup
action filter_type
action find
entity 2006 FIFA World Cup
relation organizer
type international sport governing body
SELECT DISTINCT ?f WHERE { resource:2006_FIFA_World_Cup property:organizer ?f . ?f rdf:type ontology:international_sport_governing_body }
[]
international sport governing body
Q253414
SYSTEM
FIFA
Q253414
action filter_type
action find
entity Q37285
relation P664
type Q1346006
The organizer of that recurring event is a [ANSWER]
SELECT DISTINCT ?f WHERE { resource:Q37285 property:P664 ?f . ?f rdf:type ontology:Q1346006 }
FIFA
The organizer of that recurring event is a FIFA
FIFA
action filter_type
action find
entity 2006 FIFA World Cup
relation organizer
type international sport governing body
SELECT DISTINCT ?f WHERE { resource:2006_FIFA_World_Cup property:organizer ?f . ?f rdf:type ontology:international_sport_governing_body }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q253414 Q46938
P664
Q15275719
USER
Was 1986 FIFA World Cup the event organized by that international sport governing body ?
(Q46938,P664,Q253414)
action is_in
entity Q253414
action find
entity Q46938
relation P664
['Q46938', 'P664', 'Q253414']
ASK WHERE { resource:Q46938 property:P664 resource:Q253414 }
FIFA 1986 FIFA World Cup
action is_in
entity FIFA
action find
entity 1986 FIFA World Cup
relation organizer
['1986 FIFA World Cup', 'organizer', 'FIFA']
ASK WHERE { resource:1986_FIFA_World_Cup property:organizer resource:FIFA }
[]
recurring event
SYSTEM
YES
(Q46938,P664,Q253414)
action is_in
entity Q253414
action find
entity Q46938
relation P664
[ANSWER]
['Q46938', 'P664', 'Q253414']
ASK WHERE { resource:Q46938 property:P664 resource:Q253414 }
Yes
action is_in
entity FIFA
action find
entity 1986 FIFA World Cup
relation organizer
['1986 FIFA World Cup', 'organizer', 'FIFA']
ASK WHERE { resource:1986_FIFA_World_Cup property:organizer resource:FIFA }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1923
Q1194951 Q15275719 Q13406554
USER
How many national sports teams contested in atleast 7 recurring events or sport competitions ?
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
value 7
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?v WHERE { ?x rdf:type ?m . VALUES ( ?m ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } } GROUP BY ?v } . FILTER ( ?r >= 7 ) }
action count
action atleast
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
value 7
[[{'concept': 'recurring event'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?v WHERE { ?x rdf:type ?m . VALUES ( ?m ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } } GROUP BY ?v } . FILTER ( ?r >= 7 ) }
[]
national sports team recurring event sport competition
SYSTEM
33
Q34044 Q190978 Q43310 Q180845 Q267245 Q166776 Q160826 Q180857 Q543842 Q726080 Q170561 Q172025 Q172020 Q134479 Q47050 Q42267 Q189275 Q166196 Q83459 Q175309 Q164089 Q163534 Q188363 Q676899 Q168397 Q165141 Q47774 Q163547 Q182072 Q164134 Q79800 Q134916 Q47762
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
value 7
[ANSWER]
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?v WHERE { ?x rdf:type ?m . VALUES ( ?m ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } } GROUP BY ?v } . FILTER ( ?r >= 7 ) }
Scotland national football team Northern Ireland national football team Germany national football team Bulgaria national football team Portugal national football team Belgium national football team Sweden national football team Wales national football team South Korea national football team Russia 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 Soviet Union national football team Poland national football team Brazil national football team Cameroon 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 Republic of Ireland 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
33
action count
action atleast
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
value 7
[[{'concept': 'recurring event'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?v WHERE { ?x rdf:type ?m . VALUES ( ?m ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } } GROUP BY ?v } . FILTER ( ?r >= 7 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q253414
P641
Q877517 Q349
USER
How many ball games and sports did FIFA participate in ?
(Q253414,P641,c(Q877517)) (Q253414,P641,c(Q349))
action count
action union
action filter_type
action find
entity Q253414
relation P641
type Q877517
action filter_type
action find
entity Q253414
relation P641
type Q349
['Q253414', 'P641', {'concept': 'Q877517'}] ['Q253414', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { ?f rdf:type ?q . VALUES ( ?q ) { ( ontology:Q877517 ) ( ontology:Q349 ) } }
FIFA
action count
action union
action filter_type
action find
entity FIFA
relation sport
type ball game
action filter_type
action find
entity FIFA
relation sport
type sport
['FIFA', 'sport', {'concept': 'ball game'}] ['FIFA', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { ?f rdf:type ?q . VALUES ( ?q ) { ( ontology:ball_game ) ( ontology:sport ) } }
[]
ball game sport
SYSTEM
1 ball games and 2 sports
Q171401 Q2736 Q210778
(Q253414,P641,c(Q877517)) (Q253414,P641,c(Q349))
action count
action union
action filter_type
action find
entity Q253414
relation P641
type Q877517
action filter_type
action find
entity Q253414
relation P641
type Q349
[ANSWER]
['Q253414', 'P641', {'concept': 'Q877517'}] ['Q253414', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { ?f rdf:type ?q . VALUES ( ?q ) { ( ontology:Q877517 ) ( ontology:Q349 ) } }
futsal association football beach soccer
1 ball games and 2 sports
action count
action union
action filter_type
action find
entity FIFA
relation sport
type ball game
action filter_type
action find
entity FIFA
relation sport
type sport
['FIFA', 'sport', {'concept': 'ball game'}] ['FIFA', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { ?f rdf:type ?q . VALUES ( ?q ) { ( ontology:ball_game ) ( ontology:sport ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3082452
P17
Q15617994
USER
Which administrative territory is Stade de Kégué a part of ?
(Q3082452,P17,c(Q15617994))
action filter_type
action find
entity Q3082452
relation P17
type Q15617994
['Q3082452', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q3082452 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Stade de Kégué
action filter_type
action find
entity Stade de Kégué
relation country
type designation for an administrative territorial entity
['Stade de Kégué', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Stade_de_Kégué property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q945
SYSTEM
Togo
Q945
(Q3082452,P17,c(Q15617994))
action filter_type
action find
entity Q3082452
relation P17
type Q15617994
[ANSWER] is Stade de Kégué a part of
['Q3082452', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q3082452 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Togo
Togo is Stade de Kégué a part of
Togo
action filter_type
action find
entity Stade de Kégué
relation country
type designation for an administrative territorial entity
['Stade de Kégué', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Stade_de_Kégué property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q945
P1532
Q1194951
USER
Whose national sports team is that administrative territory ?
(c(Q1194951),P1532,Q945)
action filter_type
action find_reverse
entity Q945
relation P1532
type Q1194951
[{'concept': 'Q1194951'}, 'P1532', 'Q945']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1194951 . ?i property:P1532 resource:Q945 }
Togo
action filter_type
action find_reverse
entity Togo
relation country for sport
type national sports team
[{'concept': 'national sports team'}, 'country for sport', 'Togo']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:national_sports_team . ?i property:country_for_sport resource:Togo }
[]
national sports team
Q191595
SYSTEM
Togo national football team
Q191595
(c(Q1194951),P1532,Q945)
action filter_type
action find_reverse
entity Q945
relation P1532
type Q1194951
[ANSWER] is that administrative territory
[{'concept': 'Q1194951'}, 'P1532', 'Q945']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1194951 . ?i property:P1532 resource:Q945 }
Togo national football team
Togo national football team is that administrative territory
Togo national football team
action filter_type
action find_reverse
entity Togo
relation country for sport
type national sports team
[{'concept': 'national sports team'}, 'country for sport', 'Togo']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:national_sports_team . ?i property:country_for_sport resource:Togo }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q945
P463
Q180684 Q43229
USER
How many conflicts and organizations were Togo a member of ?
(Q945,P463,c(Q180684)) (Q945,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q945
relation P463
type Q180684
action filter_type
action find
entity Q945
relation P463
type Q43229
['Q945', 'P463', {'concept': 'Q180684'}] ['Q945', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { VALUES ( ?x ) { ( ontology:Q180684 ) ( ontology:Q43229 ) } . ?r rdf:type ?x }
Togo
action count
action union
action filter_type
action find
entity Togo
relation member of
type conflict
action filter_type
action find
entity Togo
relation member of
type organization
['Togo', 'member of', {'concept': 'conflict'}] ['Togo', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { VALUES ( ?x ) { ( ontology:conflict ) ( ontology:organization ) } . ?r rdf:type ?x }
[]
conflict organization
SYSTEM
1 conflicts and 6 organizations
Q340195 Q384535 Q191384 Q899770 Q656801 Q7825 Q827525
(Q945,P463,c(Q180684)) (Q945,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q945
relation P463
type Q180684
action filter_type
action find
entity Q945
relation P463
type Q43229
[ANSWER]
['Q945', 'P463', {'concept': 'Q180684'}] ['Q945', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { VALUES ( ?x ) { ( ontology:Q180684 ) ( ontology:Q43229 ) } . ?r rdf:type ?x }
African Development Bank African Union – United Nations Hybrid Operation in Darfur International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes International Finance Corporation World Trade Organization International Development Association
1 conflicts and 6 organizations
action count
action union
action filter_type
action find
entity Togo
relation member of
type conflict
action filter_type
action find
entity Togo
relation member of
type organization
['Togo', 'member of', {'concept': 'conflict'}] ['Togo', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { VALUES ( ?x ) { ( ontology:conflict ) ( ontology:organization ) } . ?r rdf:type ?x }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q192149
P1923
Q1194951 Q13406554 Q15275719
USER
How many national sports teams competed in greater number of sport competitions or recurring events than Trinidad and Tobago national football team ?
(c(Q13406554)|c(Q15275719),P1923,c(Q1194951))
action count
action greater
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 Q192149
relation P1923
type Q13406554
type Q15275719
[[{'concept': 'Q13406554'}, {'concept': 'Q15275719'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { ?t property:P1923 resource:Q192149 . { ?t rdf:type ?h . VALUES ( ?h ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } } } } . FILTER ( ?l > ?a ) . { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?l ) WHERE { { ?c property:P1923 ?z . ?z rdf:type ontology:Q1194951 . ?c rdf:type ontology:Q15275719 } UNION { ?c property:P1923 ?z . ?c rdf:type ontology:Q13406554 . ?z rdf:type ontology:Q1194951 } } GROUP BY ?z } }
Trinidad and Tobago national football team
action count
action greater
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 Trinidad and Tobago 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 ( ?z ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { ?t property:participating_teams resource:Trinidad_and_Tobago_national_football_team . { ?t rdf:type ?h . VALUES ( ?h ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } } } } . FILTER ( ?l > ?a ) . { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?l ) WHERE { { ?c property:participating_teams ?z . ?z rdf:type ontology:national_sports_team . ?c rdf:type ontology:recurring_event } UNION { ?c property:participating_teams ?z . ?c rdf:type ontology:sport_competition . ?z rdf:type ontology:national_sports_team } } GROUP BY ?z } }
[]
national sports team sport competition recurring event
SYSTEM
66
Q170327 Q212166 Q34044 Q174512 Q193386 Q172014 Q180187 Q188228 Q190978 Q43310 Q212564 Q180845 Q987584 Q267245 Q166776 Q160826 Q180857 Q543842 Q726080 Q27971 Q170403 Q170561 Q172025 Q172020 Q170566 Q268208 Q175315 Q186262 Q194387 Q172221 Q175145 Q134479 Q47050 Q42267 Q181903 Q189275 Q166196 Q83459 Q175309 Q207337 Q164089 Q163534 Q188363 Q131785 Q676899 Q184387 Q168397 Q235399 Q483856 Q165141 Q47774 Q189198 Q28089 Q163547 Q236006 Q182072 Q184602 Q164134 Q14132 Q483868 Q79800 Q134916 Q47762 Q181930 Q189723 Q134925
(c(Q13406554)|c(Q15275719),P1923,c(Q1194951))
action count
action greater
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 Q192149
relation P1923
type Q13406554
type Q15275719
[ANSWER]
[[{'concept': 'Q13406554'}, {'concept': 'Q15275719'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { ?t property:P1923 resource:Q192149 . { ?t rdf:type ?h . VALUES ( ?h ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } } } } . FILTER ( ?l > ?a ) . { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?l ) WHERE { { ?c property:P1923 ?z . ?z rdf:type ontology:Q1194951 . ?c rdf:type ontology:Q15275719 } UNION { ?c property:P1923 ?z . ?c rdf:type ontology:Q13406554 . ?z rdf:type ontology:Q1194951 } } GROUP BY ?z } }
South Africa national football team Peru national football team Scotland national football team Slovakia national football team Bolivia national football team Ghana national football team Honduras national football team El Salvador national football team Northern Ireland national football team Germany national football team Colombia national football team Bulgaria national football team Ecuador national football team Portugal national football team Belgium national football team Sweden national football team Wales national football team South Korea national football team Russia national football team Tunisia national football team Ukraine national football team Hungary 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 Albania national football team Costa Rica national football team Slovenia national football team Ivory Coast national football team Croatia national football team Netherlands national football team Spain national football team Algeria national football team Soviet Union national football team Poland national football team Brazil national football team Cameroon national football team Morocco national football team Mexico national football team Austria national football team Yugoslavia national football team Denmark national football team Italy national football team Norway national football team Romania national football team Jamaica national football team Turkey national football team Swiss national football team France national football team Iceland national football team Egypt national football team Republic of Ireland national football team Haiti national football team Czechoslovakia national football team Iran national football team United States men's national soccer team North Korea national football team Czech Republic national football team Argentina national football team Uruguay national football team England national football team Nigeria national football team Saudi Arabia national football team Greece national football team
66
action count
action greater
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 Trinidad and Tobago 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 ( ?z ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { ?t property:participating_teams resource:Trinidad_and_Tobago_national_football_team . { ?t rdf:type ?h . VALUES ( ?h ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } } } } . FILTER ( ?l > ?a ) . { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?l ) WHERE { { ?c property:participating_teams ?z . ?z rdf:type ontology:national_sports_team . ?c rdf:type ontology:recurring_event } UNION { ?c property:participating_teams ?z . ?c rdf:type ontology:sport_competition . ?z rdf:type ontology:national_sports_team } } GROUP BY ?z } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q163547
P1923
Q1194951 Q13406554 Q15275719
USER
And also tell me about Republic of Ireland national football team?
(c(Q13406554)|c(Q15275719),P1923,c(Q1194951))
action count
action greater
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 Q163547
relation P1923
type Q13406554
type Q15275719
[[{'concept': 'Q13406554'}, {'concept': 'Q15275719'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?l WHERE { VALUES ( ?d ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } . ?y rdf:type ?d } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { { ?z rdf:type ontology:Q15275719 } UNION { ?z rdf:type ontology:Q13406554 } } . ?z property:P1923 resource:Q163547 } } . FILTER ( ?p > ?v ) }
Republic of Ireland national football team
action count
action greater
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 Republic of Ireland 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 ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?l WHERE { VALUES ( ?d ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } . ?y rdf:type ?d } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { { ?z rdf:type ontology:recurring_event } UNION { ?z rdf:type ontology:sport_competition } } . ?z property:participating_teams resource:Republic_of_Ireland_national_football_team } } . FILTER ( ?p > ?v ) }
[]
national sports team sport competition recurring event
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(Q13406554)|c(Q15275719),P1923,c(Q1194951))
action count
action greater
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 Q163547
relation P1923
type Q13406554
type Q15275719
[ANSWER]
[[{'concept': 'Q13406554'}, {'concept': 'Q15275719'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?l WHERE { VALUES ( ?d ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } . ?y rdf:type ?d } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { { ?z rdf:type ontology:Q15275719 } UNION { ?z rdf:type ontology:Q13406554 } } . ?z property:P1923 resource:Q163547 } } . FILTER ( ?p > ?v ) }
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 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 Republic of Ireland 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 ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?l WHERE { VALUES ( ?d ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } . ?y rdf:type ?d } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { { ?z rdf:type ontology:recurring_event } UNION { ?z rdf:type ontology:sport_competition } } . ?z property:participating_teams resource:Republic_of_Ireland_national_football_team } } . FILTER ( ?p > ?v ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q328734 Q253414
P20 P159
Q56061
USER
Which administrative territories are the headquarter locations of FIFA or did the expiration of Saad Zaghloul occur ?
OR((Q253414,P159,c(Q56061)), (Q328734,P20,c(Q56061)))
action filter_type
action union
action find
entity Q253414
relation P159
action find
entity Q328734
relation P20
type Q56061
{'OR': [['Q253414', 'P159', {'concept': 'Q56061'}], ['Q328734', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q253414 property:P159 ?x } UNION { resource:Q328734 property:P20 ?x } } . ?x rdf:type ontology:Q56061 }
Saad Zaghloul FIFA
action filter_type
action union
action find
entity FIFA
relation headquarters location
action find
entity Saad Zaghloul
relation place of death
type administrative territorial entity
{'OR': [['FIFA', 'headquarters location', {'concept': 'administrative territorial entity'}], ['Saad Zaghloul', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:FIFA property:headquarters_location ?x } UNION { resource:Saad_Zaghloul property:place_of_death ?x } } . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q72 Q85
SYSTEM
Zürich, Cairo
Q72 Q85
OR((Q253414,P159,c(Q56061)), (Q328734,P20,c(Q56061)))
action filter_type
action union
action find
entity Q253414
relation P159
action find
entity Q328734
relation P20
type Q56061
[ANSWERS] are the headquarter locations of FIFA or did the expiration of Saad Zaghloul occur
{'OR': [['Q253414', 'P159', {'concept': 'Q56061'}], ['Q328734', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q253414 property:P159 ?x } UNION { resource:Q328734 property:P20 ?x } } . ?x rdf:type ontology:Q56061 }
Zürich Cairo
Zürich and Cairo are the headquarter locations of FIFA or did the expiration of Saad Zaghloul occur
Zürich Cairo
action filter_type
action union
action find
entity FIFA
relation headquarters location
action find
entity Saad Zaghloul
relation place of death
type administrative territorial entity
{'OR': [['FIFA', 'headquarters location', {'concept': 'administrative territorial entity'}], ['Saad Zaghloul', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:FIFA property:headquarters_location ?x } UNION { resource:Saad_Zaghloul property:place_of_death ?x } } . ?x rdf:type ontology:administrative_territorial_entity }
[]