Simple Question (Direct)
Simple Question
Q884134
P20
Q5119
USER
Where did the demise of George Wilbur Peck occur ?
(Q884134,P20,c(Q5119))
action filter_type
action find
entity Q884134
relation P20
type Q5119
['Q884134', 'P20', {'concept': 'Q5119'}]
SELECT DISTINCT ?w WHERE { resource:Q884134 property:P20 ?w . ?w rdf:type ontology:Q5119 }
George Wilbur Peck
action filter_type
action find
entity George Wilbur Peck
relation place of death
type capital
['George Wilbur Peck', 'place of death', {'concept': 'capital'}]
SELECT DISTINCT ?w WHERE { resource:George_Wilbur_Peck property:place_of_death ?w . ?w rdf:type ontology:capital }
[]
capital
Q37836
SYSTEM
Milwaukee
Q37836
(Q884134,P20,c(Q5119))
action filter_type
action find
entity Q884134
relation P20
type Q5119
The demise of George Wilbur Peck occurred in [ANSWER]
['Q884134', 'P20', {'concept': 'Q5119'}]
SELECT DISTINCT ?w WHERE { resource:Q884134 property:P20 ?w . ?w rdf:type ontology:Q5119 }
Milwaukee
The demise of George Wilbur Peck occurred in Milwaukee
Milwaukee
action filter_type
action find
entity George Wilbur Peck
relation place of death
type capital
['George Wilbur Peck', 'place of death', {'concept': 'capital'}]
SELECT DISTINCT ?w WHERE { resource:George_Wilbur_Peck property:place_of_death ?w . ?w rdf:type ontology:capital }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q884134
P102
Q7210356
USER
Which political organization is that person a member of ?
(Q37836,P102,c(Q7210356))
action filter_type
action find
entity Q884134
relation P102
type Q7210356
['Q37836', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q884134 property:P102 ?q . ?q rdf:type ontology:Q7210356 }
George Wilbur Peck
action filter_type
action find
entity George Wilbur Peck
relation member of political party
type political organization
['Milwaukee', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:George_Wilbur_Peck property:member_of_political_party ?q . ?q rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q37836,P102,c(Q7210356))
action filter_type
action find
entity Q884134
relation P102
type Q7210356
Party [ANSWER] is that person a member of
['Q37836', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q884134 property:P102 ?q . ?q rdf:type ontology:Q7210356 }
Democratic Party
Party Democratic Party is that person a member of
Democratic Party
action filter_type
action find
entity George Wilbur Peck
relation member of political party
type political organization
['Milwaukee', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:George_Wilbur_Peck property:member_of_political_party ?q . ?q rdf:type ontology:political_organization }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P361
Q7210356 Q874405
USER
Which social groups are a component of atleast 1 political organization ?
(c(Q874405),P361,c(Q7210356))
action atleast
action find_tuple_counts
relation P361
type Q874405
type Q7210356
value 1
[{'concept': 'Q874405'}, 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?h ) WHERE { ?e property:P361 ?v . ?e rdf:type ontology:Q874405 . ?v rdf:type ontology:Q7210356 } GROUP BY ?e } . FILTER ( ?h >= 1 ) }
action atleast
action find_tuple_counts
relation part of
type social group
type political organization
value 1
[{'concept': 'social group'}, 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?h ) WHERE { ?e property:part_of ?v . ?e rdf:type ontology:social_group . ?v rdf:type ontology:political_organization } GROUP BY ?e } . FILTER ( ?h >= 1 ) }
[]
political organization social group
Q5160819 Q2215977 Q5095781
SYSTEM
Congress Socialist Party, Christian Democratic Youth Appeal, Chicago Socialist Party
Q5160819 Q2215977 Q5095781
(c(Q874405),P361,c(Q7210356))
action atleast
action find_tuple_counts
relation P361
type Q874405
type Q7210356
value 1
[ANSWERS] are a component of atleast 1 political organization
[{'concept': 'Q874405'}, 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?h ) WHERE { ?e property:P361 ?v . ?e rdf:type ontology:Q874405 . ?v rdf:type ontology:Q7210356 } GROUP BY ?e } . FILTER ( ?h >= 1 ) }
Congress Socialist Party Christian Democratic Youth Appeal Chicago Socialist Party
Congress Socialist Party, Christian Democratic Youth Appeal and Chicago Socialist Party are a component of atleast 1 political organization
Congress Socialist Party Christian Democratic Youth Appeal Chicago Socialist Party
action atleast
action find_tuple_counts
relation part of
type social group
type political organization
value 1
[{'concept': 'social group'}, 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?h ) WHERE { ?e property:part_of ?v . ?e rdf:type ontology:social_group . ?v rdf:type ontology:political_organization } GROUP BY ?e } . FILTER ( ?h >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q884134
P106
Q12737077
USER
What is the profession of George Wilbur Peck ?
(Q884134,P106,c(Q12737077))
action filter_type
action find
entity Q884134
relation P106
type Q12737077
['Q884134', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q12737077 . resource:Q884134 property:P106 ?k }
George Wilbur Peck
action filter_type
action find
entity George Wilbur Peck
relation occupation
type occupation
['George Wilbur Peck', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:occupation . resource:George_Wilbur_Peck property:occupation ?k }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q884134,P106,c(Q12737077))
action filter_type
action find
entity Q884134
relation P106
type Q12737077
The profession of George Wilbur Peck is a [ANSWER]
['Q884134', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q12737077 . resource:Q884134 property:P106 ?k }
politician
The profession of George Wilbur Peck is a politician
politician
action filter_type
action find
entity George Wilbur Peck
relation occupation
type occupation
['George Wilbur Peck', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:occupation . resource:George_Wilbur_Peck property:occupation ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q884134
P39
Q12737077
USER
What was the position for which George Wilbur Peck was appointed ?
(Q884134,P39,c(Q12737077))
action filter_type
action find
entity Q884134
relation P39
type Q12737077
['Q884134', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q884134 property:P39 ?x . ?x rdf:type ontology:Q12737077 }
George Wilbur Peck
action filter_type
action find
entity George Wilbur Peck
relation position held
type occupation
['George Wilbur Peck', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:George_Wilbur_Peck property:position_held ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q3112727
SYSTEM
Governor of Wisconsin
Q3112727
(Q884134,P39,c(Q12737077))
action filter_type
action find
entity Q884134
relation P39
type Q12737077
The [ANSWER]
['Q884134', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q884134 property:P39 ?x . ?x rdf:type ontology:Q12737077 }
Governor of Wisconsin
The Governor of Wisconsin
Governor of Wisconsin
action filter_type
action find
entity George Wilbur Peck
relation position held
type occupation
['George Wilbur Peck', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:George_Wilbur_Peck property:position_held ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q884134
P21
Q290
USER
What is the sex of that person ?
(Q3112727,P21,c(Q290))
action filter_type
action find
entity Q884134
relation P21
type Q290
['Q3112727', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q884134 property:P21 ?j . ?j rdf:type ontology:Q290 }
George Wilbur Peck
action filter_type
action find
entity George Wilbur Peck
relation gender
type sex
['Governor of Wisconsin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:George_Wilbur_Peck property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3112727,P21,c(Q290))
action filter_type
action find
entity Q884134
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q3112727', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q884134 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity George Wilbur Peck
relation gender
type sex
['Governor of Wisconsin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:George_Wilbur_Peck property:gender ?j . ?j rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q607394
P1029
Q502895 Q2235308 Q12973014
USER
How many people were the team members of more number of ship types and sports teams than Richard Hieb ?
(c(Q2235308)|c(Q12973014),P1029,c(Q502895))
action count
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 Q607394
relation P1029
type Q2235308
type Q12973014
[[{'concept': 'Q2235308'}, {'concept': 'Q12973014'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) ?z WHERE { VALUES ( ?l ) { ( ontology:Q2235308 ) ( ontology:Q12973014 ) } . ?i rdf:type ?l } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { { ?m rdf:type ontology:Q2235308 } UNION { ?m rdf:type ontology:Q12973014 } } . ?m property:P1029 resource:Q607394 } } . FILTER ( ?p > ?n ) }
Richard Hieb
action count
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 Richard Hieb
relation crew member
type ship type
type sports team
[[{'concept': 'ship type'}, {'concept': 'sports team'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) ?z WHERE { VALUES ( ?l ) { ( ontology:ship_type ) ( ontology:sports_team ) } . ?i rdf:type ?l } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { { ?m rdf:type ontology:ship_type } UNION { ?m rdf:type ontology:sports_team } } . ?m property:crew_member resource:Richard_Hieb } } . FILTER ( ?p > ?n ) }
[]
common name ship type sports team
SYSTEM
97
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 count
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 Q607394
relation P1029
type Q2235308
type Q12973014
[ANSWER]
[[{'concept': 'Q2235308'}, {'concept': 'Q12973014'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) ?z WHERE { VALUES ( ?l ) { ( ontology:Q2235308 ) ( ontology:Q12973014 ) } . ?i rdf:type ?l } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { { ?m rdf:type ontology:Q2235308 } UNION { ?m rdf:type ontology:Q12973014 } } . ?m property:P1029 resource:Q607394 } } . FILTER ( ?p > ?n ) }
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
97
action count
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 Richard Hieb
relation crew member
type ship type
type sports team
[[{'concept': 'ship type'}, {'concept': 'sports team'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) ?z WHERE { VALUES ( ?l ) { ( ontology:ship_type ) ( ontology:sports_team ) } . ?i rdf:type ?l } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { { ?m rdf:type ontology:ship_type } UNION { ?m rdf:type ontology:sports_team } } . ?m property:crew_member resource:Richard_Hieb } } . FILTER ( ?p > ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q718630
P1029
Q502895 Q2235308 Q12973014
USER
And what about James P. Bagian?
(c(Q2235308)|c(Q12973014),P1029,c(Q502895))
action count
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 Q718630
relation P1029
type Q2235308
type Q12973014
[[{'concept': 'Q2235308'}, {'concept': 'Q12973014'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?z WHERE { { ?z rdf:type ontology:Q502895 . ?l rdf:type ontology:Q2235308 . ?l property:P1029 ?z } UNION { ?l property:P1029 ?z . ?l rdf:type ontology:Q12973014 . ?z rdf:type ontology:Q502895 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { ?h property:P1029 resource:Q718630 . { { ?h rdf:type ontology:Q2235308 } UNION { ?h rdf:type ontology:Q12973014 } } } } . FILTER ( ?d > ?x ) }
James P. Bagian
action count
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 James P. Bagian
relation crew member
type ship type
type sports team
[[{'concept': 'ship type'}, {'concept': 'sports team'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?z WHERE { { ?z rdf:type ontology:common_name . ?l rdf:type ontology:ship_type . ?l property:crew_member ?z } UNION { ?l property:crew_member ?z . ?l rdf:type ontology:sports_team . ?z rdf:type ontology:common_name } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { ?h property:crew_member resource:James_P._Bagian . { { ?h rdf:type ontology:ship_type } UNION { ?h rdf:type ontology:sports_team } } } } . FILTER ( ?d > ?x ) }
[]
common name ship type sports team
SYSTEM
97
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 count
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 Q718630
relation P1029
type Q2235308
type Q12973014
[ANSWER]
[[{'concept': 'Q2235308'}, {'concept': 'Q12973014'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?z WHERE { { ?z rdf:type ontology:Q502895 . ?l rdf:type ontology:Q2235308 . ?l property:P1029 ?z } UNION { ?l property:P1029 ?z . ?l rdf:type ontology:Q12973014 . ?z rdf:type ontology:Q502895 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { ?h property:P1029 resource:Q718630 . { { ?h rdf:type ontology:Q2235308 } UNION { ?h rdf:type ontology:Q12973014 } } } } . FILTER ( ?d > ?x ) }
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
97
action count
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 James P. Bagian
relation crew member
type ship type
type sports team
[[{'concept': 'ship type'}, {'concept': 'sports team'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?z WHERE { { ?z rdf:type ontology:common_name . ?l rdf:type ontology:ship_type . ?l property:crew_member ?z } UNION { ?l property:crew_member ?z . ?l rdf:type ontology:sports_team . ?z rdf:type ontology:common_name } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { ?h property:crew_member resource:James_P._Bagian . { { ?h rdf:type ontology:ship_type } UNION { ?h rdf:type ontology:sports_team } } } } . FILTER ( ?d > ?x ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3112727
P1313
Q852446
USER
Which US administrative territory has Governor of Wisconsin as title of head of government ?
(c(Q852446),P1313,Q3112727)
action filter_type
action find_reverse
entity Q3112727
relation P1313
type Q852446
[{'concept': 'Q852446'}, 'P1313', 'Q3112727']
SELECT DISTINCT ?z WHERE { ?z property:P1313 resource:Q3112727 . ?z rdf:type ontology:Q852446 }
Governor of Wisconsin
action filter_type
action find_reverse
entity Governor of Wisconsin
relation office held by head of government
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'office held by head of government', 'Governor of Wisconsin']
SELECT DISTINCT ?z WHERE { ?z property:office_held_by_head_of_government resource:Governor_of_Wisconsin . ?z rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q1537
SYSTEM
Wisconsin
Q1537
(c(Q852446),P1313,Q3112727)
action filter_type
action find_reverse
entity Q3112727
relation P1313
type Q852446
The [ANSWER] has Governor of [ANSWER] as title of head of government
[{'concept': 'Q852446'}, 'P1313', 'Q3112727']
SELECT DISTINCT ?z WHERE { ?z property:P1313 resource:Q3112727 . ?z rdf:type ontology:Q852446 }
Wisconsin
The Wisconsin has Governor of Wisconsin as title of head of government
Wisconsin
action filter_type
action find_reverse
entity Governor of Wisconsin
relation office held by head of government
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'office held by head of government', 'Governor of Wisconsin']
SELECT DISTINCT ?z WHERE { ?z property:office_held_by_head_of_government resource:Governor_of_Wisconsin . ?z rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3112727
P1001
Q852446
USER
Which US administrative territory is linked to that occupation ?
(Q1537,P1001,c(Q852446))
action filter_type
action find
entity Q3112727
relation P1001
type Q852446
['Q1537', 'P1001', {'concept': 'Q852446'}]
SELECT DISTINCT ?t WHERE { resource:Q3112727 property:P1001 ?t . ?t rdf:type ontology:Q852446 }
Governor of Wisconsin
action filter_type
action find
entity Governor of Wisconsin
relation applies to jurisdiction
type administrative territorial entity of the United States
['Wisconsin', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?t WHERE { resource:Governor_of_Wisconsin property:applies_to_jurisdiction ?t . ?t rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q1537
SYSTEM
Wisconsin
Q1537
(Q1537,P1001,c(Q852446))
action filter_type
action find
entity Q3112727
relation P1001
type Q852446
[ANSWER] is linked to that occupation
['Q1537', 'P1001', {'concept': 'Q852446'}]
SELECT DISTINCT ?t WHERE { resource:Q3112727 property:P1001 ?t . ?t rdf:type ontology:Q852446 }
Wisconsin
Wisconsin is linked to that occupation
Wisconsin
action filter_type
action find
entity Governor of Wisconsin
relation applies to jurisdiction
type administrative territorial entity of the United States
['Wisconsin', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?t WHERE { resource:Governor_of_Wisconsin property:applies_to_jurisdiction ?t . ?t rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1537
P206
Q23397 Q355304
USER
How many lakes or watercourses are located in the neighbourhood of Wisconsin ?
(Q1537,P206,c(Q23397)) (Q1537,P206,c(Q355304))
action count
action union
action filter_type
action find
entity Q1537
relation P206
type Q23397
action filter_type
action find
entity Q1537
relation P206
type Q355304
['Q1537', 'P206', {'concept': 'Q23397'}] ['Q1537', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { resource:Q1537 property:P206 ?l . ?l rdf:type ontology:Q23397 } UNION { resource:Q1537 property:P206 ?l . ?l rdf:type ontology:Q355304 } }
Wisconsin
action count
action union
action filter_type
action find
entity Wisconsin
relation located next to body of water
type lake
action filter_type
action find
entity Wisconsin
relation located next to body of water
type watercourse
['Wisconsin', 'located next to body of water', {'concept': 'lake'}] ['Wisconsin', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { resource:Wisconsin property:located_next_to_body_of_water ?l . ?l rdf:type ontology:lake } UNION { resource:Wisconsin property:located_next_to_body_of_water ?l . ?l rdf:type ontology:watercourse } }
[]
lake watercourse
SYSTEM
2
Q1497 Q1066
(Q1537,P206,c(Q23397)) (Q1537,P206,c(Q355304))
action count
action union
action filter_type
action find
entity Q1537
relation P206
type Q23397
action filter_type
action find
entity Q1537
relation P206
type Q355304
[ANSWER]
['Q1537', 'P206', {'concept': 'Q23397'}] ['Q1537', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { resource:Q1537 property:P206 ?l . ?l rdf:type ontology:Q23397 } UNION { resource:Q1537 property:P206 ?l . ?l rdf:type ontology:Q355304 } }
Mississippi River Lake Superior
2
action count
action union
action filter_type
action find
entity Wisconsin
relation located next to body of water
type lake
action filter_type
action find
entity Wisconsin
relation located next to body of water
type watercourse
['Wisconsin', 'located next to body of water', {'concept': 'lake'}] ['Wisconsin', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { resource:Wisconsin property:located_next_to_body_of_water ?l . ?l rdf:type ontology:lake } UNION { resource:Wisconsin property:located_next_to_body_of_water ?l . ?l rdf:type ontology:watercourse } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1537
P36
Q56061
USER
Which administrative territory is associated to that US administrative territory as the capital ?
action filter_type
action find
entity Q1537
relation P36
type Q56061
SELECT DISTINCT ?n WHERE { resource:Q1537 property:P36 ?n . ?n rdf:type ontology:Q56061 }
Wisconsin
action filter_type
action find
entity Wisconsin
relation capital
type administrative territorial entity
SELECT DISTINCT ?n WHERE { resource:Wisconsin property:capital ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q43788
SYSTEM
Madison
Q43788
action filter_type
action find
entity Q1537
relation P36
type Q56061
[ANSWER] is associated to that US administrative territory as the capital
SELECT DISTINCT ?n WHERE { resource:Q1537 property:P36 ?n . ?n rdf:type ontology:Q56061 }
Madison
Madison is associated to that US administrative territory as the capital
Madison
action filter_type
action find
entity Wisconsin
relation capital
type administrative territorial entity
SELECT DISTINCT ?n WHERE { resource:Wisconsin property:capital ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]