Simple Question (Direct)
Simple Question
Q21128842
P21
Q290
USER
Which sex does Johan Herman Kloos possess ?
(Q21128842,P21,c(Q290))
action filter_type
action find
entity Q21128842
relation P21
type Q290
['Q21128842', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q21128842 property:P21 ?t . ?t rdf:type ontology:Q290 }
Johan Herman Kloos
action filter_type
action find
entity Johan Herman Kloos
relation gender
type sex
['Johan Herman Kloos', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Johan_Herman_Kloos property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q21128842,P21,c(Q290))
action filter_type
action find
entity Q21128842
relation P21
type Q290
Johan Herman Kloos possesses un [ANSWER]
['Q21128842', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q21128842 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
Johan Herman Kloos possesses un male
male
action filter_type
action find
entity Johan Herman Kloos
relation gender
type sex
['Johan Herman Kloos', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Johan_Herman_Kloos property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21128842
P734
Q82799
USER
Which name is associated with Johan Herman Kloos ?
(Q21128842,P734,c(Q82799))
action filter_type
action find
entity Q21128842
relation P734
type Q82799
['Q21128842', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q21128842 property:P734 ?f . ?f rdf:type ontology:Q82799 }
Johan Herman Kloos
action filter_type
action find
entity Johan Herman Kloos
relation family name
type name
['Johan Herman Kloos', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Johan_Herman_Kloos property:family_name ?f . ?f rdf:type ontology:name }
[]
name
Q21508405
SYSTEM
Kloos
Q21508405
(Q21128842,P734,c(Q82799))
action filter_type
action find
entity Q21128842
relation P734
type Q82799
[ANSWER] is associated with Johan Herman [ANSWER]
['Q21128842', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q21128842 property:P734 ?f . ?f rdf:type ontology:Q82799 }
Kloos
Kloos is associated with Johan Herman Kloos
Kloos
action filter_type
action find
entity Johan Herman Kloos
relation family name
type name
['Johan Herman Kloos', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Johan_Herman_Kloos property:family_name ?f . ?f rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23071240 Q21128842
P27
Q1048835
USER
Which political territories are Johan Herman Kloos or Derreck Calvert a civilian of ?
OR((Q21128842,P27,c(Q1048835)), (Q23071240,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q21128842
relation P27
action find
entity Q23071240
relation P27
type Q1048835
{'OR': [['Q21128842', 'P27', {'concept': 'Q1048835'}], ['Q23071240', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1048835 . { { resource:Q21128842 property:P27 ?n } UNION { resource:Q23071240 property:P27 ?n } } }
Derreck Calvert Johan Herman Kloos
action filter_type
action union
action find
entity Johan Herman Kloos
relation country of citizenship
action find
entity Derreck Calvert
relation country of citizenship
type political territorial entity
{'OR': [['Johan Herman Kloos', 'country of citizenship', {'concept': 'political territorial entity'}], ['Derreck Calvert', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_territorial_entity . { { resource:Johan_Herman_Kloos property:country_of_citizenship ?n } UNION { resource:Derreck_Calvert property:country_of_citizenship ?n } } }
[]
political territorial entity
Q408 Q183
SYSTEM
Australia, Germany
Q408 Q183
OR((Q21128842,P27,c(Q1048835)), (Q23071240,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q21128842
relation P27
action find
entity Q23071240
relation P27
type Q1048835
[ANSWERS] are Johan Herman Kloos or Derreck Calvert a civilian of
{'OR': [['Q21128842', 'P27', {'concept': 'Q1048835'}], ['Q23071240', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1048835 . { { resource:Q21128842 property:P27 ?n } UNION { resource:Q23071240 property:P27 ?n } } }
Australia Germany
Australia and Germany are Johan Herman Kloos or Derreck Calvert a civilian of
Australia Germany
action filter_type
action union
action find
entity Johan Herman Kloos
relation country of citizenship
action find
entity Derreck Calvert
relation country of citizenship
type political territorial entity
{'OR': [['Johan Herman Kloos', 'country of citizenship', {'concept': 'political territorial entity'}], ['Derreck Calvert', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_territorial_entity . { { resource:Johan_Herman_Kloos property:country_of_citizenship ?n } UNION { resource:Derreck_Calvert property:country_of_citizenship ?n } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q229
P530
Q15617994
USER
Do Cyprus have diplomatic associations with those political territories ?
(Q229,P530,Q408) (Q229,P530,Q183)
action is_in
entity prev_answer
action find
entity Q229
relation P530
['Q229', 'P530', 'Q408'] ['Q229', 'P530', 'Q183']
ASK WHERE { resource:Q229 property:P530 ?i . VALUES ( ?i ) { ( resource:Q408 ) ( resource:Q183 ) } }
Cyprus
action is_in
entity prev_answer
action find
entity Cyprus
relation diplomatic relation
['Cyprus', 'diplomatic relation', 'Australia'] ['Cyprus', 'diplomatic relation', 'Germany']
ASK WHERE { resource:Cyprus property:diplomatic_relation ?i . VALUES ( ?i ) { ( resource:Australia ) ( resource:Germany ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q229,P530,Q408) (Q229,P530,Q183)
action is_in
entity prev_answer
action find
entity Q229
relation P530
[ANSWER]
['Q229', 'P530', 'Q408'] ['Q229', 'P530', 'Q183']
ASK WHERE { resource:Q229 property:P530 ?i . VALUES ( ?i ) { ( resource:Q408 ) ( resource:Q183 ) } }
Yes
action is_in
entity prev_answer
action find
entity Cyprus
relation diplomatic relation
['Cyprus', 'diplomatic relation', 'Australia'] ['Cyprus', 'diplomatic relation', 'Germany']
ASK WHERE { resource:Cyprus property:diplomatic_relation ?i . VALUES ( ?i ) { ( resource:Australia ) ( resource:Germany ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which administrative territories have diplomatic relationships with atmost 2 political territories ?
(c(Q1048835),P530,c(Q15617994))
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
value 2
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?n ) WHERE { ?x property:P530 ?b . ?b rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1048835 } GROUP BY ?b } . FILTER ( ?n <= 2 ) }
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 2
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?n ) WHERE { ?x property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:political_territorial_entity } GROUP BY ?b } . FILTER ( ?n <= 2 ) }
[]
designation for an administrative territorial entity political territorial entity
Q230 Q55 Q148
SYSTEM
Georgia, Netherlands, People's Republic of China
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q55 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q710 Q717 Q837 Q399 Q398 Q657 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q32 Q31 Q924 Q928 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q117 Q754 Q750 Q213 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q858 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q1048835),P530,c(Q15617994))
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
value 2
[ANSWERS] have diplomatic relationships with atmost 2 political territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?n ) WHERE { ?x property:P530 ?b . ?b rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1048835 } GROUP BY ?b } . FILTER ( ?n <= 2 ) }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina Netherlands Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Kiribati Venezuela Nepal Armenia Bahrain Chad Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Luxembourg Belgium Tanzania Philippines Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ghana Trinidad and Tobago Bolivia Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Syria Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Georgia, Netherlands and People's Republic of China have diplomatic relationships with atmost 2 political territories
Georgia Netherlands People's Republic of China
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 2
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?n ) WHERE { ?x property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:political_territorial_entity } GROUP BY ?b } . FILTER ( ?n <= 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have tactful political relations with approximately 106 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 106
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?r = 106 ) . { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?r ) WHERE { ?p property:P530 ?o . ?p rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } GROUP BY ?p } }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 106
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?r = 106 ) . { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?r ) WHERE { ?p property:diplomatic_relation ?o . ?p rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } }
[]
designation for an administrative territorial entity political territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 106
[ANSWERS] have tactful political relations with approximately 106 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?r = 106 ) . { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?r ) WHERE { ?p property:P530 ?o . ?p rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } GROUP BY ?p } }
Germany Australia
Germany and Australia have tactful political relations with approximately 106 administrative territories
Germany Australia
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 106
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?r = 106 ) . { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?r ) WHERE { ?p property:diplomatic_relation ?o . ?p rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q664 Q408
P27
Q502895
USER
Which people are civilians of Australia and New Zealand ?
AND((c(Q502895),P27,Q408), (c(Q502895),P27,Q664))
action filter_type
action intersection
action find_reverse
entity Q408
relation P27
action find_reverse
entity Q664
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q408'], [{'concept': 'Q502895'}, 'P27', 'Q664']]}
SELECT DISTINCT ?p WHERE { ?p property:P27 resource:Q408 . ?p property:P27 resource:Q664 . ?p rdf:type ontology:Q502895 }
New Zealand Australia
action filter_type
action intersection
action find_reverse
entity Australia
relation country of citizenship
action find_reverse
entity New Zealand
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Australia'], [{'concept': 'common name'}, 'country of citizenship', 'New Zealand']]}
SELECT DISTINCT ?p WHERE { ?p property:country_of_citizenship resource:Australia . ?p property:country_of_citizenship resource:New_Zealand . ?p rdf:type ontology:common_name }
[]
common name
Q4795273 Q6163284 Q1556676 Q5512387 Q1616831 Q3568405 Q23008187 Q3020652 Q5345046 Q4908947
SYSTEM
Some of them are Arnold Tancred, Jason Potts, Gustav von der Heyde, G. P. Nerli, Sacha Jones, William B. Rudman, Nathan McAndrew, Dean Mumm, Edward Richardson, Bill Farnsworth
Q377045 Q7578172 Q8014434 Q3453834 Q429595 Q7781445 Q265090 Q7340482 Q15998290 Q422980 Q1504643 Q7693942 Q3831534 Q4799715 Q6263041 Q18808590 Q4800290 Q16031016 Q7123647 Q8018845 Q16006521 Q2579667 Q16025244 Q5734221 Q15999386 Q234134 Q5982488 Q4762501 Q778944 Q20887169 Q4758243 Q7174787 Q5544658 Q16731797 Q4909523 Q8012625 Q15429298 Q6779919 Q5026653 Q3531701 Q709072 Q3294020 Q7345154 Q7319267 Q4696765 Q5125278 Q4800753 Q7788488 Q7360480 Q6849169 Q6791375 Q6962570 Q8019918 Q5078940 Q5247796 Q5246031 Q7047118 Q5984750 Q3470496 Q4908947 Q707755 Q274820 Q7659854 Q827300 Q5081964 Q3568405 Q975398 Q6163284 Q129817 Q1422483 Q5217437 Q8001971 Q7167598 Q1556676 Q5085913 Q3499152 Q914432 Q5392941 Q2923401 Q5345046 Q982602 Q14565342 Q3398990 Q6115010 Q26037 Q2064248 Q7287915 Q816494 Q15522082 Q5298672 Q6270943 Q212509 Q2903281 Q3018962 Q5026185 Q7356180 Q5728534 Q7174802 Q4662015 Q6483604 Q5280852 Q17627119 Q23008187 Q6701960 Q3020652 Q7519368 Q16058462 Q5512387 Q1361292 Q7836203 Q16062495 Q5336851 Q19876362 Q5536151 Q5478496 Q5163628 Q5361264 Q2975685 Q6394766 Q6767084 Q7519097 Q5083633 Q2367545 Q6179385 Q4861804 Q2739491 Q8016163 Q7409780 Q6226240 Q7177592 Q1616831 Q3107510 Q1882350 Q6245162 Q19666646 Q17403928 Q4799032 Q3023968 Q5562312 Q5669215 Q379072 Q7369628 Q4725845 Q5540556 Q3132658 Q8006451 Q6290268 Q5538665 Q6226971 Q1186349 Q5220005 Q16012660 Q7284478 Q6487046 Q6377102 Q7172462 Q5111066 Q967305 Q5212535 Q7811889 Q6702323 Q15998148 Q3526896 Q13408849 Q7896939 Q6387829 Q5078315 Q6792909 Q17626525 Q2896706 Q4932823 Q7363079 Q501870 Q5372828 Q4795273 Q17318946 Q5294914 Q16008471 Q5234047 Q6246053 Q553365 Q5539277 Q6552681 Q1794442 Q3087612 Q6865036 Q22004671 Q16186713 Q18632165 Q5238916 Q302175 Q16749910 Q20981392 Q1713010 Q2608802 Q19877827 Q3086860 Q16674206 Q19667140 Q17025901 Q20822545
AND((c(Q502895),P27,Q408), (c(Q502895),P27,Q664))
action filter_type
action intersection
action find_reverse
entity Q408
relation P27
action find_reverse
entity Q664
relation P27
type Q502895
[ANSWERS] are civilians of Australia and New Zealand
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q408'], [{'concept': 'Q502895'}, 'P27', 'Q664']]}
SELECT DISTINCT ?p WHERE { ?p property:P27 resource:Q408 . ?p property:P27 resource:Q664 . ?p rdf:type ontology:Q502895 }
Judith Binney Spiro Zavos William Lee Rees Ryan Nicholas Manu Bennett Theo Doropoulos Jessica Watson Rob Quiney Bill Parry Brett Lee George H. F. Ulrich Tedda Courtney Liam Graham Arthur Merric Boyd John Warham Meegan Fitzharris Arthur Sims John Endean Paddy Webb William Still Littlejohn Reg Bettington William Larnach Edward McCausland Herbert Gilles Watson Mona Innis Tracy Nancy Wake Ian Narev Angela Marino Mike Morwood A. M. Plante Andrew Perkins Peter Hume George Smith Duncan Marion Maddox Bill Hume William Hudson Thomas George Tucker Mary Jerram Camille Keenan Tony Brown Arthur Dale Trendall Mark Burry Robert Hague Rex Norman Aiden Blizzard Claire Oberman Arthur Worthington Thomas Cobcroft Roland Wakelin Mike Vincent Matthew Walker Nancy Borlase William Walkley Charles Henry Herbert Cook Deb Webber Dean Brownlie Noel Monkman Luke Adams Sam Harding Bill Farnsworth Roger Donaldson Liddy Holloway Sydney Callaway Bert Bailey Charles Reade William B. Rudman Charles Mesure Jason Potts Russell Crowe Stefan Merriman Daniel Harris Wilfrid Nelson Isaac Percy Storkey Gustav von der Heyde Charlotte Dawson Steve Walsh Marshall Napier Ernest Currie Brad Hodge Edward Richardson Harry Kerr Peter Gwynne Frances Alda Jack Saunders Quade Cooper Sekope Kepu Ralph Norris Ben Franks Charles Wheeler Dorothy Wall Jon Hume William Lane William Mackrell David Warner Cameron Borgas Rod Downey Henry Speight Peter Hurley Aaron Finch Lancelot Bavin Dirk Nannes Charles Ernest Weatherburn Nathan McAndrew Luke Feldman Dean Mumm Simon Mitchell Fred Evans G. P. Nerli Keith Edward Bullen Travis Birt William Spence Peter Eden George Charles Richardson George Alexander Currie Frances Ann Stewart Constant Mews Eliot V. Elliott Clarrie Grimmett Kerstin Thompson Mark Cleary Simon Keen Charles Wilson Bob Heffron Jenny Ludlam Barney Wood Arthur Coningham William Noel Benson Sammy Jones John Clarke Peter Ward Sacha Jones Shaun Tait Mabel Howard John Lomax Peter Janson Guthrie Wilson Arthur Henry Adams Derren Witcombe Gillian Whitehead Harry Graham Judith Adams Ross Skiffington Alice Elsie Reeve George Herrmann Tarr Henry Braddon William Calder Joshua Thomas Noble Anderson George Duncan John Conway James Busby Dann Hume Ian Milner Rain Mako Lani Tupu Kathryn Paterson Peter Adams Christine Jensen Burke Nikolai Nikolaeff Damien Wright Toby Smith Luke Ronchi Charles Victor Robertson Albert Trott Valerie Davies Unk White Ken Hough Charles Gordon O'Neill Maurice Bramley Tom Carlton Benson Stanley Bob Holland Romeo Bragato Catherine Wilkin Emma Harrison Arnold Tancred Paul Simonsson Donald Murray Wal Walmsley David Gatenby John MacDonald Jay Ryan George Finey Lindsay Daen Ralph O'Reilly Piddington Jonathan Hardy Mini Graff Patricia Grimshaw Timothy Hyde John Mace David Rathie Aaron Jeffery Edmund Dwen Gill Doug Booth Julius Stone Grant Bowler Richard Helms Fred Hollows Richard Norman Albert Edmund Bates Miz Ima Starr Godfrey Miller
Arnold Tancred, Jason Potts, Gustav von der Heyde, G. P. Nerli, Sacha Jones, William B. Rudman, Nathan McAndrew, Dean Mumm, Edward Richardson and Bill Farnsworth are civilians of Australia and New Zealand
Arnold Tancred Jason Potts Gustav von der Heyde G. P. Nerli Sacha Jones William B. Rudman Nathan McAndrew Dean Mumm Edward Richardson Bill Farnsworth
action filter_type
action intersection
action find_reverse
entity Australia
relation country of citizenship
action find_reverse
entity New Zealand
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Australia'], [{'concept': 'common name'}, 'country of citizenship', 'New Zealand']]}
SELECT DISTINCT ?p WHERE { ?p property:country_of_citizenship resource:Australia . ?p property:country_of_citizenship resource:New_Zealand . ?p rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3568405
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q3568405,P106,c(Q12737077))
action filter_type
action find
entity Q3568405
relation P106
type Q12737077
['Q3568405', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q3568405 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
William B. Rudman
action filter_type
action find
entity William B. Rudman
relation occupation
type occupation
['William B. Rudman', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:William_B._Rudman property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q6163284
SYSTEM
Did you mean Jason Potts ?
Q4795273 Q6163284 Q1556676 Q5512387 Q1616831 Q3568405 Q23008187 Q3020652 Q5345046 Q4908947
(Q4795273,P106,c(Q12737077)) (Q6163284,P106,c(Q12737077)) (Q1556676,P106,c(Q12737077)) (Q5512387,P106,c(Q12737077)) (Q1616831,P106,c(Q12737077)) (Q3568405,P106,c(Q12737077)) (Q23008187,P106,c(Q12737077)) (Q3020652,P106,c(Q12737077)) (Q5345046,P106,c(Q12737077)) (Q4908947,P106,c(Q12737077))
[ANSWER]
['Q4795273', 'P106', {'concept': 'Q12737077'}] ['Q6163284', 'P106', {'concept': 'Q12737077'}] ['Q1556676', 'P106', {'concept': 'Q12737077'}] ['Q5512387', 'P106', {'concept': 'Q12737077'}] ['Q1616831', 'P106', {'concept': 'Q12737077'}] ['Q3568405', 'P106', {'concept': 'Q12737077'}] ['Q23008187', 'P106', {'concept': 'Q12737077'}] ['Q3020652', 'P106', {'concept': 'Q12737077'}] ['Q5345046', 'P106', {'concept': 'Q12737077'}] ['Q4908947', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q3568405 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Arnold Tancred Jason Potts Gustav von der Heyde G. P. Nerli Sacha Jones William B. Rudman Nathan McAndrew Dean Mumm Edward Richardson Bill Farnsworth
Did you mean Jason Potts ?
Jason Potts
['Arnold Tancred', 'occupation', {'concept': 'occupation'}] ['Jason Potts', 'occupation', {'concept': 'occupation'}] ['Gustav von der Heyde', 'occupation', {'concept': 'occupation'}] ['G. P. Nerli', 'occupation', {'concept': 'occupation'}] ['Sacha Jones', 'occupation', {'concept': 'occupation'}] ['William B. Rudman', 'occupation', {'concept': 'occupation'}] ['Nathan McAndrew', 'occupation', {'concept': 'occupation'}] ['Dean Mumm', 'occupation', {'concept': 'occupation'}] ['Edward Richardson', 'occupation', {'concept': 'occupation'}] ['Bill Farnsworth', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:William_B._Rudman property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
No, I meant William B. Rudman. Could you tell me the answer for that?
(Q3568405,P106,c(Q12737077))
Q3568405
['Q3568405', 'P106', {'concept': 'Q12737077'}]
['William B. Rudman', 'occupation', {'concept': 'occupation'}]
[]
Q16271261
SYSTEM
malacologist
Q16271261
(Q3568405,P106,c(Q12737077))
action filter_type
action find
entity Q3568405
relation P106
type Q12737077
[ANSWER] has that person as his/her 's career
['Q3568405', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q3568405 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
malacologist
Malacologist has that person as his/her 's career
malacologist
action filter_type
action find
entity William B. Rudman
relation occupation
type occupation
['William B. Rudman', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:William_B._Rudman property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
Which people are the patron saints of approximately 3 occupations ?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 3
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?i ) WHERE { ?f rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q502895 . ?f property:P417 ?s } GROUP BY ?s } . FILTER ( ?i = 3 ) }
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 3
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?i ) WHERE { ?f rdf:type ontology:occupation . ?s rdf:type ontology:common_name . ?f property:patron_saint ?s } GROUP BY ?s } . FILTER ( ?i = 3 ) }
[]
common name occupation
Q128538 Q192816 Q200895
SYSTEM
Luke the Evangelist, Saint Barbara, Agatha of Sicily
Q128538 Q192816 Q200895
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 3
[ANSWERS] are the patron saints of approximately 3 occupations
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?i ) WHERE { ?f rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q502895 . ?f property:P417 ?s } GROUP BY ?s } . FILTER ( ?i = 3 ) }
Luke the Evangelist Saint Barbara Agatha of Sicily
Luke the Evangelist, Saint Barbara and Agatha of Sicily are the patron saints of approximately 3 occupations
Luke the Evangelist Saint Barbara Agatha of Sicily
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 3
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?i ) WHERE { ?f rdf:type ontology:occupation . ?s rdf:type ontology:common_name . ?f property:patron_saint ?s } GROUP BY ?s } . FILTER ( ?i = 3 ) }
[]