Simple Question (Direct)
Simple Question
Q727926
P1344
Q15275719
USER
Which recurring events did Władysław Żmuda participate in ?
(Q727926,P1344,c(Q15275719))
action filter_type
action find
entity Q727926
relation P1344
type Q15275719
['Q727926', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?k WHERE { resource:Q727926 property:P1344 ?k . ?k rdf:type ontology:Q15275719 }
Władysław Żmuda
action filter_type
action find
entity Władysław Żmuda
relation participant of
type recurring event
['Władysław Żmuda', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?k WHERE { resource:Władysław_Żmuda property:participant_of ?k . ?k rdf:type ontology:recurring_event }
[]
recurring event
Q46934 Q46938 Q166121
SYSTEM
1982 FIFA World Cup, 1986 FIFA World Cup, 1974 FIFA World Cup
Q46943 Q46934 Q46938 Q166121
(Q727926,P1344,c(Q15275719))
action filter_type
action find
entity Q727926
relation P1344
type Q15275719
Władysław Żmuda participated in [ANSWERS]
['Q727926', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?k WHERE { resource:Q727926 property:P1344 ?k . ?k rdf:type ontology:Q15275719 }
1978 FIFA World Cup 1982 FIFA World Cup 1986 FIFA World Cup 1974 FIFA World Cup
Władysław Żmuda participated in 1982 FIFA World Cup, 1986 FIFA World Cup and 1974 FIFA World Cup
1982 FIFA World Cup 1986 FIFA World Cup 1974 FIFA World Cup
action filter_type
action find
entity Władysław Żmuda
relation participant of
type recurring event
['Władysław Żmuda', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?k WHERE { resource:Władysław_Żmuda property:participant_of ?k . ?k rdf:type ontology:recurring_event }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q46934 Q46938 Q166121
P1923
Q1194951
USER
Which national sports teams were participants in 1982 FIFA World Cup, 1986 FIFA World Cup and 1974 FIFA World Cup ?
(Q46934,P1923,c(Q1194951)) (Q46938,P1923,c(Q1194951)) (Q166121,P1923,c(Q1194951))
action union
action filter_type
action find
entity Q46934
relation P1923
type Q1194951
action filter_type
action find
entity Q46938
relation P1923
type Q1194951
action filter_type
action find
entity Q166121
relation P1923
type Q1194951
['Q46934', 'P1923', {'concept': 'Q1194951'}] ['Q46938', 'P1923', {'concept': 'Q1194951'}] ['Q166121', 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?s ) { ( resource:Q46934 ) ( resource:Q46938 ) } . ?s property:P1923 ?e }
1982 FIFA World Cup 1986 FIFA World Cup 1974 FIFA World Cup
action union
action filter_type
action find
entity 1982 FIFA World Cup
relation participating teams
type national sports team
action filter_type
action find
entity 1986 FIFA World Cup
relation participating teams
type national sports team
action filter_type
action find
entity 1974 FIFA World Cup
relation participating teams
type national sports team
['1982 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}] ['1986 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}] ['1974 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?s ) { ( resource:1982_FIFA_World_Cup ) ( resource:1986_FIFA_World_Cup ) } . ?s property:participating_teams ?e }
[]
national sports team
Q166196 Q166196 Q166196
SYSTEM
Poland national football team
Q182072 Q212166 Q42267 Q166776 Q181903 Q189275 Q166196 Q34044 Q83459 Q175309 Q180187 Q188228 Q190978 Q79800 Q47762 Q163534 Q188363 Q170561 Q172025 Q43310 Q676899 Q175315 Q206828 Q47774 Q186243 Q164089 Q267245 Q42267 Q166776 Q181903 Q189275 Q166196 Q34044 Q83459 Q207337 Q79800 Q134916 Q47762 Q43310 Q170561 Q190978 Q172020 Q208635 Q543842 Q131785 Q180845 Q676899 Q47774 Q43310 Q180845 Q34044 Q676899 Q83459 Q166196 Q47050 Q236006 Q188363 Q268208 Q172025 Q152424 Q79800 Q134916 Q270080 Q160826
(Q46934,P1923,c(Q1194951)) (Q46938,P1923,c(Q1194951)) (Q166121,P1923,c(Q1194951))
action union
action filter_type
action find
entity Q46934
relation P1923
type Q1194951
action filter_type
action find
entity Q46938
relation P1923
type Q1194951
action filter_type
action find
entity Q166121
relation P1923
type Q1194951
[ANSWER], [ANSWER] and [ANSWER] were participants in 1982 FIFA World Cup, 1986 FIFA World Cup and 1974 FIFA World Cup
['Q46934', 'P1923', {'concept': 'Q1194951'}] ['Q46938', 'P1923', {'concept': 'Q1194951'}] ['Q166121', 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?s ) { ( resource:Q46934 ) ( resource:Q46938 ) } . ?s property:P1923 ?e }
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 Iraq national football team Mexico national football team Portugal 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 Morocco national football team Argentina national football team Uruguay national football team England national football team Germany national football team Hungary national football team Northern Ireland national football team Paraguay national football team Canada national soccer team South Korea national football team Denmark national football team Bulgaria national football team Italy national football team France national football team Germany national football team Bulgaria national football team Scotland national football team Italy national football team Brazil national football team Poland national football team Netherlands national football team Haiti national football team Yugoslavia national football team Australia national association football team Chile national football team East Germany national football team Argentina national football team Uruguay national football team Congo DR national football team Sweden national football team
Poland national football team, Poland national football team and Poland national football team were participants in 1982 FIFA World Cup, 1986 FIFA World Cup and 1974 FIFA World Cup
Poland national football team Poland national football team Poland national football team
action union
action filter_type
action find
entity 1982 FIFA World Cup
relation participating teams
type national sports team
action filter_type
action find
entity 1986 FIFA World Cup
relation participating teams
type national sports team
action filter_type
action find
entity 1974 FIFA World Cup
relation participating teams
type national sports team
['1982 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}] ['1986 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}] ['1974 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?s ) { ( resource:1982_FIFA_World_Cup ) ( resource:1986_FIFA_World_Cup ) } . ?s property:participating_teams ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q46934
P361
Q13406554
USER
Which sport competitions are parts of 1982 FIFA World Cup ?
(c(Q13406554),P361,Q46934)
action filter_type
action find_reverse
entity Q46934
relation P361
type Q13406554
[{'concept': 'Q13406554'}, 'P361', 'Q46934']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q13406554 . ?x property:P361 resource:Q46934 }
1982 FIFA World Cup
action filter_type
action find_reverse
entity 1982 FIFA World Cup
relation part of
type sport competition
[{'concept': 'sport competition'}, 'part of', '1982 FIFA World Cup']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sport_competition . ?x property:part_of resource:1982_FIFA_World_Cup }
[]
sport competition
Q3997253 Q696679 Q319363
SYSTEM
Brazil vs Italy, West Germany 1–0 Austria, West Germany vs France
Q3997253 Q696679 Q319363
(c(Q13406554),P361,Q46934)
action filter_type
action find_reverse
entity Q46934
relation P361
type Q13406554
[ANSWERS] are parts of 1982 FIFA World Cup
[{'concept': 'Q13406554'}, 'P361', 'Q46934']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q13406554 . ?x property:P361 resource:Q46934 }
Brazil vs Italy West Germany 1–0 Austria West Germany vs France
Brazil vs Italy, West Germany 1–0 Austria and West Germany vs France are parts of 1982 FIFA World Cup
Brazil vs Italy West Germany 1–0 Austria West Germany vs France
action filter_type
action find_reverse
entity 1982 FIFA World Cup
relation part of
type sport competition
[{'concept': 'sport competition'}, 'part of', '1982 FIFA World Cup']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sport_competition . ?x property:part_of resource:1982_FIFA_World_Cup }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q46934
P17
Q15617994
USER
Which administrative territory is that recurring event located in ?
(Q3997253,P17,c(Q15617994)) (Q696679,P17,c(Q15617994)) (Q319363,P17,c(Q15617994))
action filter_type
action find
entity Q46934
relation P17
type Q15617994
['Q3997253', 'P17', {'concept': 'Q15617994'}] ['Q696679', 'P17', {'concept': 'Q15617994'}] ['Q319363', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q46934 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
1982 FIFA World Cup
action filter_type
action find
entity 1982 FIFA World Cup
relation country
type designation for an administrative territorial entity
['Brazil vs Italy', 'country', {'concept': 'designation for an administrative territorial entity'}] ['West Germany 1–0 Austria', 'country', {'concept': 'designation for an administrative territorial entity'}] ['West Germany vs France', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:1982_FIFA_World_Cup property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q3997253,P17,c(Q15617994)) (Q696679,P17,c(Q15617994)) (Q319363,P17,c(Q15617994))
action filter_type
action find
entity Q46934
relation P17
type Q15617994
That recurring event is located in [ANSWER]
['Q3997253', 'P17', {'concept': 'Q15617994'}] ['Q696679', 'P17', {'concept': 'Q15617994'}] ['Q319363', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q46934 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Spain
That recurring event is located in Spain
Spain
action filter_type
action find
entity 1982 FIFA World Cup
relation country
type designation for an administrative territorial entity
['Brazil vs Italy', 'country', {'concept': 'designation for an administrative territorial entity'}] ['West Germany 1–0 Austria', 'country', {'concept': 'designation for an administrative territorial entity'}] ['West Germany vs France', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:1982_FIFA_World_Cup property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29
P921
Q223393
USER
Which literary genres were primarily based on that administrative territory ?
(c(Q223393),P921,Q29)
action filter_type
action find_reverse
entity Q29
relation P921
type Q223393
[{'concept': 'Q223393'}, 'P921', 'Q29']
SELECT DISTINCT ?c WHERE { ?c property:P921 resource:Q29 . ?c rdf:type ontology:Q223393 }
Spain
action filter_type
action find_reverse
entity Spain
relation main subject
type literary genre
[{'concept': 'literary genre'}, 'main subject', 'Spain']
SELECT DISTINCT ?c WHERE { ?c property:main_subject resource:Spain . ?c rdf:type ontology:literary_genre }
[]
literary genre
Q20982891 Q11681095
SYSTEM
Hades, Diccionario Biográfico del Socialismo Español
Q20982891 Q11681095
(c(Q223393),P921,Q29)
action filter_type
action find_reverse
entity Q29
relation P921
type Q223393
[ANSWERS] were primarily based on that administrative territory
[{'concept': 'Q223393'}, 'P921', 'Q29']
SELECT DISTINCT ?c WHERE { ?c property:P921 resource:Q29 . ?c rdf:type ontology:Q223393 }
Hades Diccionario Biográfico del Socialismo Español
Hades and Diccionario Biográfico del Socialismo Español were primarily based on that administrative territory
Hades Diccionario Biográfico del Socialismo Español
action filter_type
action find_reverse
entity Spain
relation main subject
type literary genre
[{'concept': 'literary genre'}, 'main subject', 'Spain']
SELECT DISTINCT ?c WHERE { ?c property:main_subject resource:Spain . ?c rdf:type ontology:literary_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P1071
Q15709879
USER
Which artwork series has Spain as its terminal assembly location ?
(c(Q15709879),P1071,Q29)
action filter_type
action find_reverse
entity Q29
relation P1071
type Q15709879
[{'concept': 'Q15709879'}, 'P1071', 'Q29']
SELECT DISTINCT ?g WHERE { ?g property:P1071 resource:Q29 . ?g rdf:type ontology:Q15709879 }
Spain
action filter_type
action find_reverse
entity Spain
relation location of final assembly
type artwork series
[{'concept': 'artwork series'}, 'location of final assembly', 'Spain']
SELECT DISTINCT ?g WHERE { ?g property:location_of_final_assembly resource:Spain . ?g rdf:type ontology:artwork_series }
[]
artwork series
Q115728
SYSTEM
The Madonna of Port Lligat
Q115728
(c(Q15709879),P1071,Q29)
action filter_type
action find_reverse
entity Q29
relation P1071
type Q15709879
[ANSWER] has Spain as its terminal assembly location
[{'concept': 'Q15709879'}, 'P1071', 'Q29']
SELECT DISTINCT ?g WHERE { ?g property:P1071 resource:Q29 . ?g rdf:type ontology:Q15709879 }
The Madonna of Port Lligat
The Madonna of Port Lligat has Spain as its terminal assembly location
The Madonna of Port Lligat
action filter_type
action find_reverse
entity Spain
relation location of final assembly
type artwork series
[{'concept': 'artwork series'}, 'location of final assembly', 'Spain']
SELECT DISTINCT ?g WHERE { ?g property:location_of_final_assembly resource:Spain . ?g rdf:type ontology:artwork_series }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29
P35
Q502895
USER
Which people are the heads of state of that administrative territory ?
(Q115728,P35,c(Q502895))
action filter_type
action find
entity Q29
relation P35
type Q502895
['Q115728', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q29 property:P35 ?p . ?p rdf:type ontology:Q502895 }
Spain
action filter_type
action find
entity Spain
relation head of state
type common name
['The Madonna of Port Lligat', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Spain property:head_of_state ?p . ?p rdf:type ontology:common_name }
[]
common name
Q191045 Q19943
SYSTEM
Felipe VI, Juan Carlos I
Q191045 Q19943
(Q115728,P35,c(Q502895))
action filter_type
action find
entity Q29
relation P35
type Q502895
[ANSWERS] are the heads of state of that administrative territory
['Q115728', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q29 property:P35 ?p . ?p rdf:type ontology:Q502895 }
Felipe VI Juan Carlos I
Felipe VI and Juan Carlos I are the heads of state of that administrative territory
Felipe VI Juan Carlos I
action filter_type
action find
entity Spain
relation head of state
type common name
['The Madonna of Port Lligat', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Spain property:head_of_state ?p . ?p rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P664
Q43229 Q618123 Q13406554
USER
Which sport competitions did min number of organizations or geographical objects serve as the organizer for ?
(c(Q13406554),P664,c(Q43229)|c(Q618123))
action argmin
action union
action find_tuple_counts
relation P664
type Q13406554
type Q43229
action find_tuple_counts
relation P664
type Q13406554
type Q618123
[{'concept': 'Q13406554'}, 'P664', [{'concept': 'Q43229'}, {'concept': 'Q618123'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?u ) { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?t ) WHERE { VALUES ( ?n ) { ( ontology:Q43229 ) ( ontology:Q618123 ) } . ?e rdf:type ?n } GROUP BY ?y } } . { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?k ) WHERE { { ?s property:P664 ?g . ?g rdf:type ontology:Q43229 . ?s rdf:type ontology:Q13406554 } UNION { ?s property:P664 ?g . ?s rdf:type ontology:Q13406554 . ?g rdf:type ontology:Q618123 } } GROUP BY ?s } . FILTER ( ?k = ?u ) }
action argmin
action union
action find_tuple_counts
relation organizer
type sport competition
type organization
action find_tuple_counts
relation organizer
type sport competition
type geographical object
[{'concept': 'sport competition'}, 'organizer', [{'concept': 'organization'}, {'concept': 'geographical object'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?u ) { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?t ) WHERE { VALUES ( ?n ) { ( ontology:organization ) ( ontology:geographical_object ) } . ?e rdf:type ?n } GROUP BY ?y } } . { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?k ) WHERE { { ?s property:organizer ?g . ?g rdf:type ontology:organization . ?s rdf:type ontology:sport_competition } UNION { ?s property:organizer ?g . ?s rdf:type ontology:sport_competition . ?g rdf:type ontology:geographical_object } } GROUP BY ?s } . FILTER ( ?k = ?u ) }
[]
organization geographical object sport competition
Q19885540 Q23541421 Q576136
SYSTEM
2015–16 Oberliga Niederrhein, 2016–17 2. Bundesliga, Copa América Centenario
Q11082098 Q748083 Q939925 Q1346984 Q1994152 Q786414 Q19885540 Q185022 Q2954411 Q597316 Q512129 Q22030650 Q16958323 Q2752858 Q948609 Q4591129 Q20965938 Q21950830 Q23637002 Q947567 Q1755998 Q13557593 Q19828057 Q23541421 Q576136 Q2613987 Q18325942 Q2629008 Q4594935 Q18707603 Q259310 Q522194 Q16874664 Q952369 Q1336389 Q432279 Q175976 Q1192930 Q5089846 Q113618
(c(Q13406554),P664,c(Q43229)|c(Q618123))
action argmin
action union
action find_tuple_counts
relation P664
type Q13406554
type Q43229
action find_tuple_counts
relation P664
type Q13406554
type Q618123
Min number of organizations or geographical objects served as the organizer for the [ANSWERS]
[{'concept': 'Q13406554'}, 'P664', [{'concept': 'Q43229'}, {'concept': 'Q618123'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?u ) { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?t ) WHERE { VALUES ( ?n ) { ( ontology:Q43229 ) ( ontology:Q618123 ) } . ?e rdf:type ?n } GROUP BY ?y } } . { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?k ) WHERE { { ?s property:P664 ?g . ?g rdf:type ontology:Q43229 . ?s rdf:type ontology:Q13406554 } UNION { ?s property:P664 ?g . ?s rdf:type ontology:Q13406554 . ?g rdf:type ontology:Q618123 } } GROUP BY ?s } . FILTER ( ?k = ?u ) }
UCI Juniors Track World Championships 2005 UEFA Super Cup 2006 UEFA Super Cup AFC Futsal Championship 1961 American Football League season UCI Road World Cup 2015–16 Oberliga Niederrhein Zeit Debatten Asian Karate Championships 2001 UEFA Super Cup LEN European Aquatics Championships Irish Interprovincial Rugby Championship 2014 PBA Governors' Cup Finals World Darts Trophy 2002 UEFA Super Cup 1996 ABC Under-18 Championship for Women 2015-2016 UCI Cyclo-cross World Cup 2016 Premier League Darts Champions League of Darts 2003 UEFA Super Cup Boys Youth Volleyball World Championship 2015 UEFA Champions League Final BDO World Trophy 2016–17 2. Bundesliga Copa América Centenario NCAA Division I Men's Soccer Championship 2014-2015 UCI Cyclo-cross World Cup BDO World Darts Championship 1999 NCAA Division I Men's Soccer Championship Olympiacos F.C. - Atlético Madrid match on the 16 September 2014 1997 UEFA Super Cup 2004 UEFA Super Cup IRB Tbilisi Cup 1999 UEFA Super Cup 2012 Premier League Darts 1998 UEFA Super Cup National Championship of Excellence 1995 UEFA Super Cup 2013–14 UCI Cyclo-cross World Cup 2011 Premier League Darts
Min number of organizations or geographical objects served as the organizer for the 2015–16 Oberliga Niederrhein, 2016–17 2. Bundesliga and Copa América Centenario
2015–16 Oberliga Niederrhein 2016–17 2. Bundesliga Copa América Centenario
action argmin
action union
action find_tuple_counts
relation organizer
type sport competition
type organization
action find_tuple_counts
relation organizer
type sport competition
type geographical object
[{'concept': 'sport competition'}, 'organizer', [{'concept': 'organization'}, {'concept': 'geographical object'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?u ) { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?t ) WHERE { VALUES ( ?n ) { ( ontology:organization ) ( ontology:geographical_object ) } . ?e rdf:type ?n } GROUP BY ?y } } . { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?k ) WHERE { { ?s property:organizer ?g . ?g rdf:type ontology:organization . ?s rdf:type ontology:sport_competition } UNION { ?s property:organizer ?g . ?s rdf:type ontology:sport_competition . ?g rdf:type ontology:geographical_object } } GROUP BY ?s } . FILTER ( ?k = ?u ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P641
Q349 Q13406554
USER
How many sports were approximately 3221 sport competitions a part of ?
(c(Q13406554),P641,c(Q349))
action count
action approx
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
value 3221
[{'concept': 'Q13406554'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?q ) WHERE { ?l property:P641 ?w . ?l rdf:type ontology:Q13406554 . ?w rdf:type ontology:Q349 } GROUP BY ?w } . FILTER ( ?q = 3221 ) }
action count
action approx
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
value 3221
[{'concept': 'sport competition'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?q ) WHERE { ?l property:sport ?w . ?l rdf:type ontology:sport_competition . ?w rdf:type ontology:sport } GROUP BY ?w } . FILTER ( ?q = 3221 ) }
[]
sport sport competition
SYSTEM
4
Q7291 Q5372 Q5369 Q41466
(c(Q13406554),P641,c(Q349))
action count
action approx
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
value 3221
[ANSWER]
[{'concept': 'Q13406554'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?q ) WHERE { ?l property:P641 ?w . ?l rdf:type ontology:Q13406554 . ?w rdf:type ontology:Q349 } GROUP BY ?w } . FILTER ( ?q = 3221 ) }
badminton basketball baseball ice hockey
4
action count
action approx
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
value 3221
[{'concept': 'sport competition'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?q ) WHERE { ?l property:sport ?w . ?l rdf:type ontology:sport_competition . ?w rdf:type ontology:sport } GROUP BY ?w } . FILTER ( ?q = 3221 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q236006
P1923
Q1194951 Q13406554 Q15275719
USER
How many national sports teams contested in less number of sport competitions and recurring events than Haiti 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 Q236006
relation P1923
type Q13406554
type Q15275719
[[{'concept': 'Q13406554'}, {'concept': 'Q15275719'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) ?r WHERE { ?c rdf:type ?z . VALUES ( ?z ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:P1923 resource:Q236006 . { { ?p rdf:type ontology:Q13406554 } UNION { ?p rdf:type ontology:Q15275719 } } } } . FILTER ( ?m < ?v ) }
Haiti 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 Haiti 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 ( ?r ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) ?r WHERE { ?c rdf:type ?z . VALUES ( ?z ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:participating_teams resource:Haiti_national_football_team . { { ?p rdf:type ontology:sport_competition } UNION { ?p rdf:type ontology:recurring_event } } } } . FILTER ( ?m < ?v ) }
[]
national sports team sport competition recurring event
SYSTEM
30
Q130582 Q207441 Q189322 Q21130178 Q223748 Q21130160 Q236014 Q21130162 Q21130165 Q21130166 Q21130168 Q235910 Q1131732 Q192828 Q270080 Q182740 Q214151 Q191406 Q191595 Q21130170 Q152424 Q181190 Q186243 Q721418 Q192149 Q2535606 Q21130157 Q21130156 Q208635 Q206828
(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 Q236006
relation P1923
type Q13406554
type Q15275719
[ANSWER]
[[{'concept': 'Q13406554'}, {'concept': 'Q15275719'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) ?r WHERE { ?c rdf:type ?z . VALUES ( ?z ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:P1923 resource:Q236006 . { { ?p rdf:type ontology:Q13406554 } UNION { ?p rdf:type ontology:Q15275719 } } } } . FILTER ( ?m < ?v ) }
China PR national football team Senegal national football team Latvia national football team Transylvania national quidditch team Panama national football team England national quidditch 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 Serbia and Montenegro national football team Angola national football team Congo DR national football team Serbia national football team Venezuela national football team Israel national football team Togo national football team Peru national quidditch team East Germany national football team Bosnia and Herzegovina national football team Iraq national football team CIS national football team Trinidad and Tobago national football team Dutch East Indies national football team Bulgaria national quidditch team Ireland national quidditch team Canada national soccer team Kuwait national football team
30
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 Haiti 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 ( ?r ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) ?r WHERE { ?c rdf:type ?z . VALUES ( ?z ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:participating_teams resource:Haiti_national_football_team . { { ?p rdf:type ontology:sport_competition } UNION { ?p rdf:type ontology:recurring_event } } } } . FILTER ( ?m < ?v ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P248
Q223393 Q502895 Q43229
USER
How many literary genres are around 3 people and organizations mentioned in ?
(c(Q502895)|c(Q43229),P248,c(Q223393))
action count
action approx
action union
action find_reverse_tuple_counts
relation P248
type Q223393
type Q502895
action find_reverse_tuple_counts
relation P248
type Q223393
type Q43229
value 3
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P248', {'concept': 'Q223393'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?s ) WHERE { { ?j property:P248 ?y . ?y rdf:type ontology:Q223393 . ?j rdf:type ontology:Q502895 } UNION { ?j property:P248 ?y . ?j rdf:type ontology:Q43229 . ?y rdf:type ontology:Q223393 } } GROUP BY ?y } . FILTER ( ?s = 3 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation stated in
type literary genre
type common name
action find_reverse_tuple_counts
relation stated in
type literary genre
type organization
value 3
[[{'concept': 'common name'}, {'concept': 'organization'}], 'stated in', {'concept': 'literary genre'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?s ) WHERE { { ?j property:stated_in ?y . ?y rdf:type ontology:literary_genre . ?j rdf:type ontology:common_name } UNION { ?j property:stated_in ?y . ?j rdf:type ontology:organization . ?y rdf:type ontology:literary_genre } } GROUP BY ?y } . FILTER ( ?s = 3 ) }
[]
literary genre common name organization
SYSTEM
15
Q5375713 Q372286 Q4135594 Q2041543 Q5273977 Q774515 Q1976178 Q4532152 Q2664168 Q1645493 Q746368 Q838302 Q2745222 Q16679904 Q12163828
(c(Q502895)|c(Q43229),P248,c(Q223393))
action count
action approx
action union
action find_reverse_tuple_counts
relation P248
type Q223393
type Q502895
action find_reverse_tuple_counts
relation P248
type Q223393
type Q43229
value 3
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P248', {'concept': 'Q223393'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?s ) WHERE { { ?j property:P248 ?y . ?y rdf:type ontology:Q223393 . ?j rdf:type ontology:Q502895 } UNION { ?j property:P248 ?y . ?j rdf:type ontology:Q43229 . ?y rdf:type ontology:Q223393 } } GROUP BY ?y } . FILTER ( ?s = 3 ) }
Encyclopedia of Newfoundland and Labrador Lexikon des Mittelalters Geographical statistical dictionary of the Russian Imperia Otto's encyclopedia Dictionary of Welsh Biography Encyclopedia of Ukraine Small Soviet Encyclopedia Encyclopedia of Modern Ukraine Gran Enciclopèdia Catalana Lives of the Most Excellent Painters, Sculptors, and Architects Store norske leksikon Dictionary of Canadian Biography Te Ara: The Encyclopedia of New Zealand "Kyrgyzstan" national encyclopedia Ukrainian general encyclopedia
15
action count
action approx
action union
action find_reverse_tuple_counts
relation stated in
type literary genre
type common name
action find_reverse_tuple_counts
relation stated in
type literary genre
type organization
value 3
[[{'concept': 'common name'}, {'concept': 'organization'}], 'stated in', {'concept': 'literary genre'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?s ) WHERE { { ?j property:stated_in ?y . ?y rdf:type ontology:literary_genre . ?j rdf:type ontology:common_name } UNION { ?j property:stated_in ?y . ?j rdf:type ontology:organization . ?y rdf:type ontology:literary_genre } } GROUP BY ?y } . FILTER ( ?s = 3 ) }
[]