Simple Question (Direct)
Simple Question
Q587124
P21
Q290
USER
What is the sex of Antoine Winfield ?
(Q587124,P21,c(Q290))
action filter_type
action find
entity Q587124
relation P21
type Q290
['Q587124', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q587124 property:P21 ?y . ?y rdf:type ontology:Q290 }
Antoine Winfield
action filter_type
action find
entity Antoine Winfield
relation gender
type sex
['Antoine Winfield', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Antoine_Winfield property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q587124,P21,c(Q290))
action filter_type
action find
entity Q587124
relation P21
type Q290
The sex of Antoine Winfield is the [ANSWER]
['Q587124', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q587124 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
The sex of Antoine Winfield is the male
male
action filter_type
action find
entity Antoine Winfield
relation gender
type sex
['Antoine Winfield', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Antoine_Winfield property:gender ?y . ?y rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q587124
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q587124
relation P27
type Q15617994
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q587124 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Antoine Winfield
action filter_type
action find
entity Antoine Winfield
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Antoine_Winfield property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q587124
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q587124 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
United States of America
The United States of America is that person an inhabitant of
United States of America
action filter_type
action find
entity Antoine Winfield
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Antoine_Winfield property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q587124
P69
Q3918
USER
How many universities are Antoine Winfield an alumni of ?
(Q587124,P69,c(Q3918))
action count
action filter_type
action find
entity Q587124
relation P69
type Q3918
['Q587124', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { resource:Q587124 property:P69 ?f . ?f rdf:type ontology:Q3918 }
Antoine Winfield
action count
action filter_type
action find
entity Antoine Winfield
relation educated at
type university
['Antoine Winfield', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { resource:Antoine_Winfield property:educated_at ?f . ?f rdf:type ontology:university }
[]
university
SYSTEM
1
Q309331
(Q587124,P69,c(Q3918))
action count
action filter_type
action find
entity Q587124
relation P69
type Q3918
[ANSWER]
['Q587124', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { resource:Q587124 property:P69 ?f . ?f rdf:type ontology:Q3918 }
Ohio State University
1
action count
action filter_type
action find
entity Antoine Winfield
relation educated at
type university
['Antoine Winfield', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { resource:Antoine_Winfield property:educated_at ?f . ?f rdf:type ontology:university }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q2383246
P69
Q3918
USER
And also tell me about T. Alan Broughton?
(Q2383246,P69,c(Q3918))
action count
action filter_type
action find
entity Q2383246
relation P69
type Q3918
['Q2383246', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { resource:Q2383246 property:P69 ?e . ?e rdf:type ontology:Q3918 }
T. Alan Broughton
action count
action filter_type
action find
entity T. Alan Broughton
relation educated at
type university
['T. Alan Broughton', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { resource:T._Alan_Broughton property:educated_at ?e . ?e rdf:type ontology:university }
[]
university
SYSTEM
1
Q219563
(Q2383246,P69,c(Q3918))
action count
action filter_type
action find
entity Q2383246
relation P69
type Q3918
[ANSWER]
['Q2383246', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { resource:Q2383246 property:P69 ?e . ?e rdf:type ontology:Q3918 }
University of Washington
1
action count
action filter_type
action find
entity T. Alan Broughton
relation educated at
type university
['T. Alan Broughton', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { resource:T._Alan_Broughton property:educated_at ?e . ?e rdf:type ontology:university }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q18682960
Q3918
USER
And how about Włodzimierz Surewicz?
(Q18682960,P69,c(Q3918))
action count
action filter_type
action find
entity Q18682960
relation P69
type Q3918
['Q18682960', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { ?d rdf:type ontology:Q3918 . resource:Q18682960 property:P69 ?d }
Włodzimierz Surewicz
action count
action filter_type
action find
entity Włodzimierz Surewicz
relation educated at
type university
['Włodzimierz Surewicz', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { ?d rdf:type ontology:university . resource:Włodzimierz_Surewicz property:educated_at ?d }
[]
university
SYSTEM
1
(Q18682960,P69,c(Q3918))
action count
action filter_type
action find
entity Q18682960
relation P69
type Q3918
[ANSWER]
['Q18682960', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { ?d rdf:type ontology:Q3918 . resource:Q18682960 property:P69 ?d }
1
action count
action filter_type
action find
entity Włodzimierz Surewicz
relation educated at
type university
['Włodzimierz Surewicz', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { ?d rdf:type ontology:university . resource:Włodzimierz_Surewicz property:educated_at ?d }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6113398 Q587124
P69
Q3918
USER
Which universities were Antoine Winfield or Jack Karwales educated at ?
OR((Q587124,P69,c(Q3918)), (Q6113398,P69,c(Q3918)))
action filter_type
action union
action find
entity Q587124
relation P69
action find
entity Q6113398
relation P69
type Q3918
{'OR': [['Q587124', 'P69', {'concept': 'Q3918'}], ['Q6113398', 'P69', {'concept': 'Q3918'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q3918 . { ?e property:P69 ?v . VALUES ( ?e ) { ( resource:Q587124 ) ( resource:Q6113398 ) } } }
Jack Karwales Antoine Winfield
action filter_type
action union
action find
entity Antoine Winfield
relation educated at
action find
entity Jack Karwales
relation educated at
type university
{'OR': [['Antoine Winfield', 'educated at', {'concept': 'university'}], ['Jack Karwales', 'educated at', {'concept': 'university'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:university . { ?e property:educated_at ?v . VALUES ( ?e ) { ( resource:Antoine_Winfield ) ( resource:Jack_Karwales ) } } }
[]
university
Q230492 Q309331
SYSTEM
University of Michigan, Ohio State University
Q230492 Q309331
OR((Q587124,P69,c(Q3918)), (Q6113398,P69,c(Q3918)))
action filter_type
action union
action find
entity Q587124
relation P69
action find
entity Q6113398
relation P69
type Q3918
Antoine Winfield or Jack Karwales were educated at [ANSWERS]
{'OR': [['Q587124', 'P69', {'concept': 'Q3918'}], ['Q6113398', 'P69', {'concept': 'Q3918'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q3918 . { ?e property:P69 ?v . VALUES ( ?e ) { ( resource:Q587124 ) ( resource:Q6113398 ) } } }
University of Michigan Ohio State University
Antoine Winfield or Jack Karwales were educated at University of Michigan and Ohio State University
University of Michigan Ohio State University
action filter_type
action union
action find
entity Antoine Winfield
relation educated at
action find
entity Jack Karwales
relation educated at
type university
{'OR': [['Antoine Winfield', 'educated at', {'concept': 'university'}], ['Jack Karwales', 'educated at', {'concept': 'university'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:university . { ?e property:educated_at ?v . VALUES ( ?e ) { ( resource:Antoine_Winfield ) ( resource:Jack_Karwales ) } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q23012700
P1029
Q502895 Q2235308 Q12973014
USER
Which people were crew members of more number of ship types and sports teams than Anders Jæger ?
(c(Q2235308)|c(Q12973014),P1029,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q2235308
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q12973014
action count
action filter_multi_types
action find_reverse
entity Q23012700
relation P1029
type Q2235308
type Q12973014
[[{'concept': 'Q2235308'}, {'concept': 'Q12973014'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?k ) WHERE { { ?f property:P1029 ?b . ?b rdf:type ontology:Q502895 . ?f rdf:type ontology:Q2235308 } UNION { ?f property:P1029 ?b . ?f rdf:type ontology:Q12973014 . ?b rdf:type ontology:Q502895 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:P1029 resource:Q23012700 . { VALUES ( ?x ) { ( ontology:Q12973014 ) ( ontology:Q2235308 ) } . ?z rdf:type ?x } } } . FILTER ( ?k > ?q ) }
Anders Jæger
action greater
action union
action find_reverse_tuple_counts
relation crew member
type common name
type ship type
action find_reverse_tuple_counts
relation crew member
type common name
type sports team
action count
action filter_multi_types
action find_reverse
entity Anders Jæger
relation crew member
type ship type
type sports team
[[{'concept': 'ship type'}, {'concept': 'sports team'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?k ) WHERE { { ?f property:crew_member ?b . ?b rdf:type ontology:common_name . ?f rdf:type ontology:ship_type } UNION { ?f property:crew_member ?b . ?f rdf:type ontology:sports_team . ?b rdf:type ontology:common_name } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:crew_member resource:Anders_Jæger . { VALUES ( ?x ) { ( ontology:sports_team ) ( ontology:ship_type ) } . ?z rdf:type ?x } } } . FILTER ( ?k > ?q ) }
[]
common name ship type sports team
Q334084 Q1680121 Q173317
SYSTEM
Thomas Grenville, James Calado, Stéphane Sarrazin
Q97007 Q704398 Q11813619 Q172001 Q257778 Q153242 Q554538 Q61395 Q173190 Q362174 Q17541629 Q70928 Q18431930 Q78499 Q121797 Q115985 Q14623220 Q719441 Q82798 Q3183604 Q1400906 Q82864 Q173317 Q716981 Q671886 Q1693251 Q1680121 Q445419 Q529119 Q15613580 Q23664664 Q171294 Q731751 Q115552 Q453542 Q23663985 Q82667 Q719413 Q116294 Q510394 Q961419 Q977386 Q461881 Q7322657 Q68329 Q1365511 Q971052 Q70033 Q1361680 Q17478723 Q4252659 Q361113 Q172783 Q64052 Q70468 Q1448596 Q1878433 Q334084 Q2093835 Q124809 Q578675 Q3180801 Q1914370 Q73081 Q616303 Q23664678 Q1853048 Q17542124 Q3339766 Q247508 Q82901 Q85493 Q171310 Q1333070 Q3189408 Q141651 Q87102 Q23664692 Q17385517 Q23664385 Q2279606 Q1985717 Q466522 Q23664799 Q2050429 Q84178 Q7146575 Q977664 Q1872734 Q171302 Q172838 Q906626 Q75810 Q64684 Q723989 Q171319 Q442910
(c(Q2235308)|c(Q12973014),P1029,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q2235308
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q12973014
action count
action filter_multi_types
action find_reverse
entity Q23012700
relation P1029
type Q2235308
type Q12973014
[ANSWERS] were crew members of more number of ship types and sports teams than Anders Jæger
[[{'concept': 'Q2235308'}, {'concept': 'Q12973014'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?k ) WHERE { { ?f property:P1029 ?b . ?b rdf:type ontology:Q502895 . ?f rdf:type ontology:Q2235308 } UNION { ?f property:P1029 ?b . ?f rdf:type ontology:Q12973014 . ?b rdf:type ontology:Q502895 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:P1029 resource:Q23012700 . { VALUES ( ?x ) { ( ontology:Q12973014 ) ( ontology:Q2235308 ) } . ?z rdf:type ?x } } } . FILTER ( ?k > ?q ) }
Alexandre Imperatori Nicolas Lapierre Paul-Loup Chatin Tiago Monteiro Danny Watts Sam Bird Nicolas Minassian André Lotterer Gianmaria Bruni Ho-Pin Tung Vincent Capillaire Daniel Abt Matt Rao Alexander Wurz Mathias Beche Simon Trummer Adolf Schönberg Olivier Pla Kamui Kobayashi Jonny Kane Tom Dillmann Bruno Senna Stéphane Sarrazin Filipe Albuquerque Nicolas Prost Nick Tandy James Calado Andy Priaulx James Rossiter Gustavo Menezes Ed Brown Vitantonio Liuzzi Marino Franchitti Neel Jani Davide Rigon Billy Johnson Mark Webber David Heinemeier Hansson Marcel Fässler Scott Sharp John Martin Roberto Merhi Mike Conway Ricardo González Stefan Mücke Nelson Panciatici Ryan Dalziel Marc Lieb Nathanaël Berthon Hans-Kurt von Bremen Kirill Ladygin Brendon Hartley Lucas di Grassi René Rast Otto von Bülow Harry Tincknell Pipo Derani Thomas Grenville Pierre Ragues Mathéo Tuscher Benoît Tréluyer Johannes van Overbeek Oliver Webb Pierre Kaffer Stéphane Richelmi Chris Cumming Michael Christensen Viktor Shaitar Nick Leventis Marco Bonanomi Vitaly Petrov Richard Lietz Sébastien Buemi Oliver Jarvis Julien Canal Roman Rusinov Dominik Kraihamer David Cheng Matthew Howson Maurizio Mediani Jon Fogarty Nicki Thiim Gustavo Yacamán Yutaka Yamagishi Paolo Ruberti Christian Klien Richard Bradley Marco Sørensen Loïc Duval Kazuki Nakajima Nelson Piquet Jr. Romain Dumas Nick Heidfeld Timo Bernhard Tsugio Matsuda Anthony Davidson Darren Turner
Thomas Grenville, James Calado and Stéphane Sarrazin were crew members of more number of ship types and sports teams than Anders Jæger
Thomas Grenville James Calado Stéphane Sarrazin
action greater
action union
action find_reverse_tuple_counts
relation crew member
type common name
type ship type
action find_reverse_tuple_counts
relation crew member
type common name
type sports team
action count
action filter_multi_types
action find_reverse
entity Anders Jæger
relation crew member
type ship type
type sports team
[[{'concept': 'ship type'}, {'concept': 'sports team'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?k ) WHERE { { ?f property:crew_member ?b . ?b rdf:type ontology:common_name . ?f rdf:type ontology:ship_type } UNION { ?f property:crew_member ?b . ?f rdf:type ontology:sports_team . ?b rdf:type ontology:common_name } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:crew_member resource:Anders_Jæger . { VALUES ( ?x ) { ( ontology:sports_team ) ( ontology:ship_type ) } . ?z rdf:type ?x } } } . FILTER ( ?k > ?q ) }
[]