Simple Question (Direct)
Simple Question
Q317770
P106
Q12737077
USER
Which occupation is the profession of Fritz Becker ?
(Q317770,P106,c(Q12737077))
action filter_type
action find
entity Q317770
relation P106
type Q12737077
['Q317770', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q317770 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Fritz Becker
action filter_type
action find
entity Fritz Becker
relation occupation
type occupation
['Fritz Becker', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Fritz_Becker property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q317770,P106,c(Q12737077))
action filter_type
action find
entity Q317770
relation P106
type Q12737077
Player [ANSWER] is the profession of Fritz Becker
['Q317770', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q317770 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of Fritz Becker
association football player
action filter_type
action find
entity Fritz Becker
relation occupation
type occupation
['Fritz Becker', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Fritz_Becker property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q317770
P734
Q82799
USER
Which name is associated with that person ?
(Q937857,P734,c(Q82799))
action filter_type
action find
entity Q317770
relation P734
type Q82799
['Q937857', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q82799 . resource:Q317770 property:P734 ?z }
Fritz Becker
action filter_type
action find
entity Fritz Becker
relation family name
type name
['association football player', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:name . resource:Fritz_Becker property:family_name ?z }
[]
name
Q813701
SYSTEM
Becker
Q813701
(Q937857,P734,c(Q82799))
action filter_type
action find
entity Q317770
relation P734
type Q82799
[ANSWER] is associated with that person
['Q937857', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q82799 . resource:Q317770 property:P734 ?z }
Becker
Becker is associated with that person
Becker
action filter_type
action find
entity Fritz Becker
relation family name
type name
['association football player', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:name . resource:Fritz_Becker property:family_name ?z }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q317770
P27
Q1048835
USER
How many political territories do Fritz Becker belong to ?
(Q317770,P27,c(Q1048835))
action count
action filter_type
action find
entity Q317770
relation P27
type Q1048835
['Q317770', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { ?m rdf:type ontology:Q1048835 . resource:Q317770 property:P27 ?m }
Fritz Becker
action count
action filter_type
action find
entity Fritz Becker
relation country of citizenship
type political territorial entity
['Fritz Becker', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { ?m rdf:type ontology:political_territorial_entity . resource:Fritz_Becker property:country_of_citizenship ?m }
[]
political territorial entity
SYSTEM
1
Q183
(Q317770,P27,c(Q1048835))
action count
action filter_type
action find
entity Q317770
relation P27
type Q1048835
[ANSWER]
['Q317770', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { ?m rdf:type ontology:Q1048835 . resource:Q317770 property:P27 ?m }
Germany
1
action count
action filter_type
action find
entity Fritz Becker
relation country of citizenship
type political territorial entity
['Fritz Becker', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { ?m rdf:type ontology:political_territorial_entity . resource:Fritz_Becker property:country_of_citizenship ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q317770
P19
Q515
USER
Which city is the place of birth of that person ?
action filter_type
action find
entity Q317770
relation P19
type Q515
SELECT DISTINCT ?v WHERE { resource:Q317770 property:P19 ?v . ?v rdf:type ontology:Q515 }
Fritz Becker
action filter_type
action find
entity Fritz Becker
relation place of birth
type city
SELECT DISTINCT ?v WHERE { resource:Fritz_Becker property:place_of_birth ?v . ?v rdf:type ontology:city }
[]
city
Q1794
SYSTEM
Frankfurt
Q1794
action filter_type
action find
entity Q317770
relation P19
type Q515
[ANSWER] is the place of birth of that person
SELECT DISTINCT ?v WHERE { resource:Q317770 property:P19 ?v . ?v rdf:type ontology:Q515 }
Frankfurt
Frankfurt is the place of birth of that person
Frankfurt
action filter_type
action find
entity Fritz Becker
relation place of birth
type city
SELECT DISTINCT ?v WHERE { resource:Fritz_Becker property:place_of_birth ?v . ?v rdf:type ontology:city }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P206
Q1267889 Q515
USER
Which cities are located in the neighbourhood of more number of waterways than that city ?
(c(Q515),P206,c(Q1267889))
action greater
action find_tuple_counts
relation P206
type Q515
type Q1267889
action count
action filter_type
action find
entity Q1794
relation P206
type Q515
[{'concept': 'Q515'}, 'P206', {'concept': 'Q1267889'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?i ) WHERE { ?q property:P206 ?s . ?q rdf:type ontology:Q515 . ?s rdf:type ontology:Q1267889 } GROUP BY ?q } . FILTER ( ?i > ?l ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { ?a rdf:type ontology:Q515 . resource:Q1794 property:P206 ?a } } }
action greater
action find_tuple_counts
relation located next to body of water
type city
type waterway
action count
action filter_type
action find
entity Frankfurt
relation located next to body of water
type city
[{'concept': 'city'}, 'located next to body of water', {'concept': 'waterway'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?i ) WHERE { ?q property:located_next_to_body_of_water ?s . ?q rdf:type ontology:city . ?s rdf:type ontology:waterway } GROUP BY ?q } . FILTER ( ?i > ?l ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { ?a rdf:type ontology:city . resource:Frankfurt property:located_next_to_body_of_water ?a } } }
[]
waterway city
Q3826 Q23661
SYSTEM
Muscat, Wellington
Q3826 Q23661
(c(Q515),P206,c(Q1267889))
action greater
action find_tuple_counts
relation P206
type Q515
type Q1267889
action count
action filter_type
action find
entity Q1794
relation P206
type Q515
[ANSWERS] are located in the neighbourhood of more number of waterways than that city
[{'concept': 'Q515'}, 'P206', {'concept': 'Q1267889'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?i ) WHERE { ?q property:P206 ?s . ?q rdf:type ontology:Q515 . ?s rdf:type ontology:Q1267889 } GROUP BY ?q } . FILTER ( ?i > ?l ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { ?a rdf:type ontology:Q515 . resource:Q1794 property:P206 ?a } } }
Muscat Wellington
Muscat and Wellington are located in the neighbourhood of more number of waterways than that city
Muscat Wellington
action greater
action find_tuple_counts
relation located next to body of water
type city
type waterway
action count
action filter_type
action find
entity Frankfurt
relation located next to body of water
type city
[{'concept': 'city'}, 'located next to body of water', {'concept': 'waterway'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?i ) WHERE { ?q property:located_next_to_body_of_water ?s . ?q rdf:type ontology:city . ?s rdf:type ontology:waterway } GROUP BY ?q } . FILTER ( ?i > ?l ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { ?a rdf:type ontology:city . resource:Frankfurt property:located_next_to_body_of_water ?a } } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q57395 Q317770
P27
Q1048835
USER
Which political territories are Fritz Becker and Helmut Newton an inhabitant of ?
AND((Q317770,P27,c(Q1048835)), (Q57395,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q317770
relation P27
action find
entity Q57395
relation P27
type Q1048835
{'AND': [['Q317770', 'P27', {'concept': 'Q1048835'}], ['Q57395', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1048835 . resource:Q317770 property:P27 ?w . resource:Q57395 property:P27 ?w }
Helmut Newton Fritz Becker
action filter_type
action intersection
action find
entity Fritz Becker
relation country of citizenship
action find
entity Helmut Newton
relation country of citizenship
type political territorial entity
{'AND': [['Fritz Becker', 'country of citizenship', {'concept': 'political territorial entity'}], ['Helmut Newton', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:political_territorial_entity . resource:Fritz_Becker property:country_of_citizenship ?w . resource:Helmut_Newton property:country_of_citizenship ?w }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q317770,P27,c(Q1048835)), (Q57395,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q317770
relation P27
action find
entity Q57395
relation P27
type Q1048835
[ANSWER] is Fritz Becker and Helmut Newton an inhabitant of
{'AND': [['Q317770', 'P27', {'concept': 'Q1048835'}], ['Q57395', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1048835 . resource:Q317770 property:P27 ?w . resource:Q57395 property:P27 ?w }
Germany
Germany is Fritz Becker and Helmut Newton an inhabitant of
Germany
action filter_type
action intersection
action find
entity Fritz Becker
relation country of citizenship
action find
entity Helmut Newton
relation country of citizenship
type political territorial entity
{'AND': [['Fritz Becker', 'country of citizenship', {'concept': 'political territorial entity'}], ['Helmut Newton', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:political_territorial_entity . resource:Fritz_Becker property:country_of_citizenship ?w . resource:Helmut_Newton property:country_of_citizenship ?w }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q23661
P19 P21
Q502895
USER
Which people were born at Wellington and are a male ?
AND((c(Q502895),P19,Q23661), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q23661
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q23661'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P19 resource:Q23661 . ?v property:P21 resource:Q6581097 }
male Wellington
action filter_type
action intersection
action find_reverse
entity Wellington
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Wellington'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:place_of_birth resource:Wellington . ?v property:gender resource:male }
[]
common name
Q4722360 Q2634938 Q3177325 Q5592364 Q7373153 Q3349746 Q4087976 Q3343694 Q6220548 Q6832829
SYSTEM
Some of them are Alfred Brandon, Raf de Gregorio, Jeremy Kench, Graeme Petersen, Roy McLennan, Ofisa Tonu'u, Denis Blundell, Norm Berryman, John Banks, Michael Miles
Q3328208 Q447931 Q2903233 Q5373566 Q3047321 Q3177325 Q2903742 Q7146837 Q5522839 Q26236247 Q18684141 Q2924435 Q6742292 Q808909 Q4723439 Q6832829 Q7488254 Q724072 Q6768089 Q3193410 Q26845565 Q3293992 Q23927901 Q4057354 Q2287450 Q7411392 Q389597 Q7411397 Q4963059 Q3816095 Q2447874 Q7373153 Q24176261 Q4352666 Q7352331 Q21451582 Q5181022 Q4714212 Q6389828 Q3190490 Q5486854 Q23008772 Q16232033 Q5585177 Q16235038 Q3079757 Q27063266 Q1404832 Q7488026 Q18167139 Q3645492 Q284733 Q19874749 Q3418242 Q355300 Q6918721 Q5234727 Q19876801 Q6531823 Q16023459 Q1858557 Q16214925 Q3081432 Q5106890 Q3376812 Q3349746 Q7172810 Q3014440 Q6548834 Q3441402 Q2344808 Q1431261 Q449104 Q7612663 Q20741907 Q6224992 Q16105857 Q2150791 Q23682484 Q381154 Q8013457 Q6247833 Q4003343 Q2634938 Q7151444 Q653459 Q129817 Q443019 Q1706785 Q7356046 Q6220548 Q3809385 Q2040994 Q4779872 Q6384163 Q3072194 Q151572 Q27074107 Q46171 Q22007118 Q7350574 Q7804126 Q3481576 Q7347566 Q3616296 Q16186653 Q22006347 Q6220954 Q521755 Q1033115 Q352603 Q16233133 Q2149015 Q7319248 Q2863376 Q172535 Q3030366 Q3696471 Q14042 Q5106549 Q3192615 Q7364017 Q1383143 Q5079531 Q16745421 Q6483604 Q3814330 Q4679627 Q521912 Q22947735 Q3014019 Q4760888 Q7324837 Q3390280 Q27074113 Q2388576 Q3350252 Q356038 Q6073409 Q23766053 Q1687471 Q5292857 Q4465 Q4087976 Q3193649 Q7680952 Q6831051 Q7143859 Q4706235 Q6789255 Q4788055 Q26721194 Q4965252 Q3086936 Q7175422 Q4977964 Q322813 Q6218954 Q1873076 Q5584904 Q23978359 Q1174996 Q27074171 Q1816676 Q132430 Q5144886 Q4964876 Q5241481 Q7357902 Q7143508 Q6160904 Q1248312 Q3051855 Q487382 Q371040 Q7609819 Q6138141 Q7345295 Q3189106 Q7610498 Q3019384 Q7356835 Q3530769 Q3258864 Q3816076 Q6231428 Q2001575 Q1047359 Q7173020 Q3434284 Q2406307 Q20851364 Q1209704 Q5498614 Q20046896 Q124043 Q5592364 Q1680884 Q939026 Q929120 Q6139810 Q5075468 Q1984848 Q7613780 Q5106991 Q2129622 Q8033803 Q3287995 Q7626825 Q27049829 Q6076310 Q976089 Q2761720 Q14372315 Q4773269 Q19595034 Q725399 Q16232141 Q6693276 Q321569 Q4707553 Q5480818 Q3645449 Q5669578 Q4647202 Q18204975 Q18167642 Q3339839 Q1716125 Q5077137 Q6258639 Q4963282 Q5980603 Q1700035 Q14779245 Q7789099 Q18187149 Q7363571 Q7271285 Q4708001 Q913075 Q968315 Q16239766 Q456548 Q910486 Q16009941 Q5981043 Q3034852 Q2082385 Q3087612 Q4722360 Q1138558 Q7291460 Q504503 Q3160933 Q6451366 Q5525096 Q771396 Q3063485 Q3660919 Q5673437 Q3644246 Q4758942 Q1286880 Q3343694 Q1388807 Q3574638 Q3814405 Q20822545 Q16320191
AND((c(Q502895),P19,Q23661), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q23661
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] were born at Wellington and are a male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q23661'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P19 resource:Q23661 . ?v property:P21 resource:Q6581097 }
Murray Mexted Alun Bollinger Bill Hardcastle Emmett Skilton Michael Utting Jeremy Kench Billy Wallace Patrick Jameson Gareth Farr Michael Powles Roy Clark Brendan Reidy Malcolm Dunford Barrie Jones Alfred Shout Michael Miles Shane Rufer Bob Scott Mark Holyoake Karl Kippenberger Rory McSweeney Mark Beale Alexander Charles Begg Philip Adams Simon Duggan Samuel Flynn Scott Russell Coutts Samuel Forsyth Brian Barratt-Boyes Allan Pearce William Hayward Pickering Roy McLennan Leslie Denis Swindale Diamond Jenness Robin Cooke, Baron Cooke of Thorndon Nik Tzanev Craig Heatley Alec McLean Kenneth Athol Webster Justin Purdie Frank Gill Mike Watt Gareth Williams Gordon Gostelow Tupou Sopoaga Fotunuupule Auelua Tom Just Perry Freshwater Shane Cortese James Shaw Bruce Phillips Jack Marshall Reginald Johansson Ralph Caulton Richard Curtis Motu Matu'u David Harland John Tynan Lester Castle John Lillicrap Peter Whittle King Kapisi Francis Marion Bates Fisher Chris Hipkins Peter Pokai Ofisa Tonu'u Peter Betham Daniel McLay Lima Sopoaga Ron Horsley Stephen J. Turnovsky Steve Guy Lee Tamahori Steve Gilpin John Todd John Campbell David Bollard Richard Ussher Glyn Tucker Jnr Simon Elliott William James Hardham John McGrath Umberto Calcinai Raf de Gregorio Paul Hutchison Benjamin Griffin Russell Crowe Leo Bertos Joseph Cooper Rocky Wood John Banks John Karlsen Graeme Allwright Apirana Taylor Keith Caldwell Filo Tiatia Victor Vito John Gibbons Pekahou Cowan Stew Nairn Robert Vance Tim Powles Shaun Longstaff Robert McLean Andrew Stroud John Eden Kyle Lockwood John Bartley Duncan Oughton Stephen Hunter Derek Freeman Bureta Faraimo Richard Barrer Rex Mason Arnold Trowell Graham McRae Jon Toogood Craig Thomson Willy Moon Chris Finlayson Kane Thompson Ron Kearns Mark Burton Charles John Johnston Elton Moncrieff Lancelot Bavin Keith Mackay Adam Proudlock Alexander Grant Kenneth Clark Daniel Farani Andy Kent Richard Collinge Peter McKenzie John Clark Taika Waititi Ole Avei Chris Killen Todd Rippon Grafton Francis Bothamley Nico Evers-Swindell Don Jowett Peter Jackson Denis Blundell Kas Lealamanua Tamati Ellison Michael Hedges Pat O'Connor Alan Brash Matt Robinson Ardie Savea Levi Alexander Brian Sergent Fred Roberts Peter Leitch Bruce Mason Michael Wesley-Smith John Anderson Lucas Hayward Gordon Bridson Paul Annear David Kirk Peter Delaney Lelia Masaga Karl Urban Colin Beyer Brian Newth David de Vries Roger Bradley Pat Hannan Jarrad Butler Ma'a Nonu Elvis Seveali'i Michael Seresin Michael McGlinchey Stephen Lovatt James Lloyd Findlay Robert Harte Julian Savea Stephen Setephano Dayyan Neve Rodney Ah You Tom Larkin Lome Fa'atau Louis Fenton John Edwin Ashley Williams Vaughan Coveny Michael Hardie Boys Peter Bruntnell Robbie Fruean George Bridgewater Manu Leiataua Dick Joyce Frederick Revans Chapman Clayton Lewis Wynton Rufer Graeme Petersen James Napier Robertson Onny Parun Chris James James Mills Charles Bateson Nicholas Dunlop Steve Roche Chris Jannides Ralph Grey, Baron Grey of Naunton Woolf Fisher Marc Ellis Stuart McCutcheon Tim Logan Isaac Feau’nati Steve Beresford Alex Feneridis Mako Vunipola Anthony Perenise Scott Ambrose Clive Revill Kane Hames Lowell Yerex Peter O'Leary Alan Preston Francis Earl Johnston Bruce Anstey Harry Hawthorn A.J. Freeley Mark Albiston Alastair Scott Nicky Barr Alexander Horsburgh Turnbull Charles E. M. Pearce John Spencer Brian Carbury Iain Rennie John Fahey Dylan Andrews Thomas Duncan MacGregor Stout John Ritchie Ron Brierley Quentin Rew Alan Watson Brian Smith Paul Reeves Alex Rufer Michael King Bret McKenzie Jack Chalmers Ian Bruce Ferguson Dominic Feau'nati Digby Ioane Jonathan Hardy Alfred Brandon Craig Henderson Randal Elliott Andrew Dominik James Belich Kyle Pontifex Gary Freeman Kosta Barbarouses Fa'atonu Fili Martin Knight Harry Wilson Brendon Polyblank Andrew Wilson Murray Chandler Norm Berryman Sala Baker Zak Feau'nati Kelly Rolleston Godfrey Miller Elijah Niko
Alfred Brandon, Raf de Gregorio, Jeremy Kench, Graeme Petersen, Roy McLennan, Ofisa Tonu'u, Denis Blundell, Norm Berryman, John Banks and Michael Miles were born at Wellington and are a male
Alfred Brandon Raf de Gregorio Jeremy Kench Graeme Petersen Roy McLennan Ofisa Tonu'u Denis Blundell Norm Berryman John Banks Michael Miles
action filter_type
action intersection
action find_reverse
entity Wellington
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Wellington'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:place_of_birth resource:Wellington . ?v property:gender resource:male }
[]