Simple Question (Direct)
Simple Question
Q3771233
P641
Q349
USER
Which sport was Giuseppe Pironi a part of ?
(Q3771233,P641,c(Q349))
action filter_type
action find
entity Q3771233
relation P641
type Q349
['Q3771233', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q3771233 property:P641 ?o . ?o rdf:type ontology:Q349 }
Giuseppe Pironi
action filter_type
action find
entity Giuseppe Pironi
relation sport
type sport
['Giuseppe Pironi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Giuseppe_Pironi property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3771233,P641,c(Q349))
action filter_type
action find
entity Q3771233
relation P641
type Q349
Giuseppe Pironi was in [ANSWER]
['Q3771233', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q3771233 property:P641 ?o . ?o rdf:type ontology:Q349 }
association football
Giuseppe Pironi was in association football
association football
action filter_type
action find
entity Giuseppe Pironi
relation sport
type sport
['Giuseppe Pironi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Giuseppe_Pironi property:sport ?o . ?o rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
Which territory is the origin of that sport ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1496967 . resource:Q2736 property:P495 ?g }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:territorial_entity . resource:association_football property:country_of_origin ?g }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
[ANSWER] is the origin of that sport
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1496967 . resource:Q2736 property:P495 ?g }
England
England is the origin of that sport
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:territorial_entity . resource:association_football property:country_of_origin ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3771233
P19
Q56061
USER
Which administrative territory was Giuseppe Pironi born at ?
(Q3771233,P19,c(Q56061))
action filter_type
action find
entity Q3771233
relation P19
type Q56061
['Q3771233', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q3771233 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Giuseppe Pironi
action filter_type
action find
entity Giuseppe Pironi
relation place of birth
type administrative territorial entity
['Giuseppe Pironi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Giuseppe_Pironi property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q490
SYSTEM
Milan
Q490
(Q3771233,P19,c(Q56061))
action filter_type
action find
entity Q3771233
relation P19
type Q56061
Giuseppe Pironi was born in [ANSWER]
['Q3771233', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q3771233 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Milan
Giuseppe Pironi was born in Milan
Milan
action filter_type
action find
entity Giuseppe Pironi
relation place of birth
type administrative territorial entity
['Giuseppe Pironi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Giuseppe_Pironi property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3771233
P27
Q15617994
USER
Which administrative territory does Giuseppe Pironi belong to ?
(Q3771233,P27,c(Q15617994))
action filter_type
action find
entity Q3771233
relation P27
type Q15617994
['Q3771233', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q3771233 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Giuseppe Pironi
action filter_type
action find
entity Giuseppe Pironi
relation country of citizenship
type designation for an administrative territorial entity
['Giuseppe Pironi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Giuseppe_Pironi property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q3771233,P27,c(Q15617994))
action filter_type
action find
entity Q3771233
relation P27
type Q15617994
Giuseppe Pironi belongs to [ANSWER]
['Q3771233', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q3771233 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Italy
Giuseppe Pironi belongs to Italy
Italy
action filter_type
action find
entity Giuseppe Pironi
relation country of citizenship
type designation for an administrative territorial entity
['Giuseppe Pironi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Giuseppe_Pironi property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1718191
Q15617994
USER
And how about K. Lee Scott?
(Q1718191,P27,c(Q15617994))
action filter_type
action find
entity Q1718191
relation P27
type Q15617994
['Q1718191', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q1718191 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
K. Lee Scott
action filter_type
action find
entity K. Lee Scott
relation country of citizenship
type designation for an administrative territorial entity
['K. Lee Scott', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:K._Lee_Scott property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1718191,P27,c(Q15617994))
action filter_type
action find
entity Q1718191
relation P27
type Q15617994
[ANSWER]
['Q1718191', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q1718191 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity K. Lee Scott
relation country of citizenship
type designation for an administrative territorial entity
['K. Lee Scott', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:K._Lee_Scott property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q408 Q30
P27
Q502895
USER
Which people are civilians of United States of America and Australia ?
AND((c(Q502895),P27,Q30), (c(Q502895),P27,Q408))
action filter_type
action intersection
action find_reverse
entity Q30
relation P27
action find_reverse
entity Q408
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q30'], [{'concept': 'Q502895'}, 'P27', 'Q408']]}
SELECT DISTINCT ?x WHERE { ?x property:P27 resource:Q30 . ?x property:P27 resource:Q408 . ?x rdf:type ontology:Q502895 }
Australia United States of America
action filter_type
action intersection
action find_reverse
entity United States of America
relation country of citizenship
action find_reverse
entity Australia
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'United States of America'], [{'concept': 'common name'}, 'country of citizenship', 'Australia']]}
SELECT DISTINCT ?x WHERE { ?x property:country_of_citizenship resource:United_States_of_America . ?x property:country_of_citizenship resource:Australia . ?x rdf:type ontology:common_name }
[]
common name
Q6730215 Q1714242 Q5053975 Q366939 Q241268 Q5549358 Q6767815 Q380212 Q16205888 Q3269223
SYSTEM
Some of them are Maggie Diaz, Justin Wolfers, Catriona Sparks, Sean Murray, Jacinda Barrett, Gerald M. Lawrie, Mark Gregory Pegg, Grote Reber, Sally Whitwell, Lydia Yeamans Titus
Q201452 Q466983 Q3483316 Q1714242 Q6369947 Q450304 Q2368306 Q233362 Q6524628 Q6820928 Q78925 Q529456 Q316802 Q37459 Q5606925 Q6830255 Q15858394 Q1621229 Q20739197 Q5053975 Q1327040 Q4275637 Q1455459 Q19870766 Q7177579 Q6375450 Q15990101 Q547495 Q241268 Q10561934 Q6451720 Q2705403 Q2137531 Q552672 Q7163398 Q15995601 Q6769648 Q6456635 Q241599 Q933562 Q26321 Q194529 Q6767815 Q1631716 Q442238 Q7648301 Q233575 Q17736942 Q3269223 Q5217532 Q7597601 Q1606924 Q645067 Q2550874 Q6730215 Q5335609 Q348618 Q508226 Q2980420 Q7509006 Q5526158 Q1324831 Q366939 Q1555323 Q6370063 Q6270947 Q6831539 Q504387 Q301717 Q2053311 Q735789 Q4911267 Q2835202 Q16019534 Q7827485 Q11727974 Q18687863 Q707446 Q430085 Q66934 Q6969277 Q5295326 Q16192810 Q6709343 Q238782 Q16253005 Q1086790 Q5549358 Q5101506 Q5416997 Q5367595 Q1738023 Q259600 Q507894 Q7681194 Q16196153 Q4088396 Q956227 Q5238337 Q6217351 Q4910266 Q380212 Q5334563 Q3082492 Q7149453 Q1164526 Q5274115 Q2489833 Q13563224 Q493699 Q266520 Q1100270 Q165894 Q1502565 Q554577 Q5515630 Q3644376 Q215366 Q5606277 Q4741834 Q15715224 Q5363495 Q1257803 Q5257467 Q16885718 Q16204007 Q1316535 Q2646169 Q93188 Q7359153 Q295981 Q16205888 Q5394003 Q435773 Q3309259 Q514082 Q922527 Q53944 Q4898726 Q7675850 Q6811260 Q963559 Q7807462 Q5686851 Q542546 Q3288255 Q2830551 Q2747213
AND((c(Q502895),P27,Q30), (c(Q502895),P27,Q408))
action filter_type
action intersection
action find_reverse
entity Q30
relation P27
action find_reverse
entity Q408
relation P27
type Q502895
[ANSWERS] are civilians of United States of America and Australia
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q30'], [{'concept': 'Q502895'}, 'P27', 'Q408']]}
SELECT DISTINCT ?x WHERE { ?x property:P27 resource:Q30 . ?x property:P27 resource:Q408 . ?x rdf:type ontology:Q502895 }
Brian Schmidt Selena Silver Sidney Bracey Justin Wolfers Karen Pearlman Helen Quinn Terri Irwin Helen Reddy Leon Errol Mervyn Meggitt Edwin Ernest Salpeter Teddy Dunn James Clavell Nicole Kidman Gregory G. Rose Michael Fellows Harris Horder Amiel Daemion Brian Glenister Catriona Sparks Ron Randell Francine McDougall Nick Steele Panos Armenakas Peter Walsh Kate Crawford Christine Kenneally John Farrow Jacinda Barrett James Oxley Kym Campbell Philip K. Chapman Reggie McNamara Carsten Ball Penne Hackforth-Jones Ian A. Young Mark Scott L. Scott Pendlebury Helena Rubinstein Ben Lewin Elizabeth Blackburn Jessica Marais Mark Gregory Pegg C. J. Bruton Kristina Keneally Susan Powter Melissa George Charles Coleman Lydia Yeamans Titus Daniel Howard Stan Cross Shawn Redhage Ricky Grace Lydia Vandenbergh Maggie Diaz Ed Wyatt Kyrie Irving Coral Browne Clyde Cook Sidney Craig Gary Wilkinson Elaine Summers Sean Murray Gus Mercurio Karen Stollznow Jon Hunter Spence Michael J Gale James Wolfensohn Aaron Baddeley J. P. McGowan Walter Browne Bill Walker Alfred J. Goulding Wiley Reed Tory Green John Richard Paxton Matt Hoyle Rick Springfield Phyllis Kaberry Hans Hermann Behr Nathan Parsons Donald Wood-Smith Martin Lass Lynne Cooke Tracy Caulkins Gary Jeffress Christopher Kirby Gerald M. Lawrie Chip Goodyear Everett De Roche Elsie Jane Wilson Keir O'Donnell May Robson Andy Thomas Tami Bruce Kathleen McGuire Arvīds Blūmentāls Colin Higgins David P Reiter John-Michael Howson Bill Morrow Grote Reber Ed Blakely Frank Armitage Paul Bottomley Danny Calegari Didem Erol Cal Bruton I. A. R. Wylie Paul Scully-Power Nicholas Hammond Clement Meadmore John Davies William J. Mitchell Edward Ashley-Cooper Gabriel Freeman Brett Hawke Portia de Rossi Greg Smith Ambrose McCarthy Patterson William Motzing Elizabeth Sharland Tushka Bergen Denis Piel Nicole Skeltys Katie Cole Tristan Rogers Alfred Winslow Jones Errol Flynn Roger Wolcott Richardson Terence Tao Sally Whitwell Ernest William Christmas Terry Markwell Kate Fischer Margel Hinder Orry-Kelly Rupert Murdoch Betty Bobbitt Tai Wesley Melanie Camp Alfred Jefferis Turner Timothy Potts Hayley Lever Marion Mahony Griffin Marc McDermott Alan Marshal Brooke Harman
Maggie Diaz, Justin Wolfers, Catriona Sparks, Sean Murray, Jacinda Barrett, Gerald M. Lawrie, Mark Gregory Pegg, Grote Reber, Sally Whitwell and Lydia Yeamans Titus are civilians of United States of America and Australia
Maggie Diaz Justin Wolfers Catriona Sparks Sean Murray Jacinda Barrett Gerald M. Lawrie Mark Gregory Pegg Grote Reber Sally Whitwell Lydia Yeamans Titus
action filter_type
action intersection
action find_reverse
entity United States of America
relation country of citizenship
action find_reverse
entity Australia
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'United States of America'], [{'concept': 'common name'}, 'country of citizenship', 'Australia']]}
SELECT DISTINCT ?x WHERE { ?x property:country_of_citizenship resource:United_States_of_America . ?x property:country_of_citizenship resource:Australia . ?x rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q159696 Q5549358
P47 P27
Q15617994
USER
Which administrative territories do Gerald M. Lawrie belong to or share the border with Calcata ?
OR((Q5549358,P27,c(Q15617994)), (Q159696,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q5549358
relation P27
action find
entity Q159696
relation P47
type Q15617994
{'OR': [['Q5549358', 'P27', {'concept': 'Q15617994'}], ['Q159696', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q5549358 property:P27 ?c } UNION { resource:Q159696 property:P47 ?c } } . ?c rdf:type ontology:Q15617994 }
Calcata Gerald M. Lawrie
action filter_type
action union
action find
entity Gerald M. Lawrie
relation country of citizenship
action find
entity Calcata
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Gerald M. Lawrie', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Calcata', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Gerald_M._Lawrie property:country_of_citizenship ?c } UNION { resource:Calcata property:shares_border_with ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q243195 Q30 Q242935 Q161657 Q242870
SYSTEM
Rignano Flaminio, United States of America, Mazzano Romano, Faleria, Magliano Romano
Q243195 Q30 Q242935 Q161657 Q242870
OR((Q5549358,P27,c(Q15617994)), (Q159696,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q5549358
relation P27
action find
entity Q159696
relation P47
type Q15617994
[ANSWERS] do Gerald M. Lawrie belong to or share the border with Calcata
{'OR': [['Q5549358', 'P27', {'concept': 'Q15617994'}], ['Q159696', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q5549358 property:P27 ?c } UNION { resource:Q159696 property:P47 ?c } } . ?c rdf:type ontology:Q15617994 }
Rignano Flaminio United States of America Mazzano Romano Faleria Magliano Romano
Rignano Flaminio, United States of America, Mazzano Romano, Faleria and Magliano Romano do Gerald M. Lawrie belong to or share the border with Calcata
Rignano Flaminio United States of America Mazzano Romano Faleria Magliano Romano
action filter_type
action union
action find
entity Gerald M. Lawrie
relation country of citizenship
action find
entity Calcata
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Gerald M. Lawrie', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Calcata', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Gerald_M._Lawrie property:country_of_citizenship ?c } UNION { resource:Calcata property:shares_border_with ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories have a diplomatic relationship with exactly 1 administrative territory ?
(c(Q15617994),P530,c(Q1048835))
action count
action equal
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 1
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?m ) WHERE { ?c rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q15617994 . ?c property:P530 ?i } GROUP BY ?c } . FILTER ( ?m = 1 ) }
action count
action equal
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?m ) WHERE { ?c rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c property:diplomatic_relation ?i } GROUP BY ?c } . FILTER ( ?m = 1 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
4
Q1000 Q781 Q778 Q769
(c(Q15617994),P530,c(Q1048835))
action count
action equal
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?m ) WHERE { ?c rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q15617994 . ?c property:P530 ?i } GROUP BY ?c } . FILTER ( ?m = 1 ) }
Gabon Antigua and Barbuda The Bahamas Grenada
4
action count
action equal
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?m ) WHERE { ?c rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c property:diplomatic_relation ?i } GROUP BY ?c } . FILTER ( ?m = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q30
P6
Q502895
USER
How many people are the head of government of United States of America ?
(Q30,P6,c(Q502895))
action count
action filter_type
action find
entity Q30
relation P6
type Q502895
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { resource:Q30 property:P6 ?u . ?u rdf:type ontology:Q502895 }
United States of America
action count
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { resource:United_States_of_America property:head_of_government ?u . ?u rdf:type ontology:common_name }
[]
common name
SYSTEM
44
Q35171 Q11815 Q11816 Q11817 Q35498 Q11812 Q12306 Q91 Q12325 Q33866 Q35648 Q9588 Q9582 Q11869 Q207 Q11813 Q35236 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q35041 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891
(Q30,P6,c(Q502895))
action count
action filter_type
action find
entity Q30
relation P6
type Q502895
[ANSWER]
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { resource:Q30 property:P6 ?u . ?u rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Chester A. Arthur Thomas Jefferson Millard Fillmore Abraham Lincoln James Buchanan Theodore Roosevelt William Howard Taft Richard Nixon Gerald Ford William Henry Harrison George W. Bush James Madison Herbert Hoover Jimmy Carter John F. Kennedy Donald Trump James A. Garfield Calvin Coolidge John Tyler Dwight D. Eisenhower Franklin Pierce John Adams Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison William McKinley Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk
44
action count
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { resource:United_States_of_America property:head_of_government ?u . ?u rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q543387
P6
Q502895
USER
And how about Baia de Criș?
(Q543387,P6,c(Q502895))
action count
action filter_type
action find
entity Q543387
relation P6
type Q502895
['Q543387', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { resource:Q543387 property:P6 ?j . ?j rdf:type ontology:Q502895 }
Baia de Criș
action count
action filter_type
action find
entity Baia de Criș
relation head of government
type common name
['Baia de Criș', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { resource:Baia_de_Criș property:head_of_government ?j . ?j rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q26272021 Q26272817
(Q543387,P6,c(Q502895))
action count
action filter_type
action find
entity Q543387
relation P6
type Q502895
[ANSWER]
['Q543387', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { resource:Q543387 property:P6 ?j . ?j rdf:type ontology:Q502895 }
Romeo Horia Fărcaș Mihaiu Liviu Gorcea
2
action count
action filter_type
action find
entity Baia de Criș
relation head of government
type common name
['Baia de Criș', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { resource:Baia_de_Criș property:head_of_government ?j . ?j rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q804494
Q502895
USER
And also tell me about Blăjeni?
(Q804494,P6,c(Q502895))
action count
action filter_type
action find
entity Q804494
relation P6
type Q502895
['Q804494', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Q804494 property:P6 ?h . ?h rdf:type ontology:Q502895 }
Blăjeni
action count
action filter_type
action find
entity Blăjeni
relation head of government
type common name
['Blăjeni', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Blăjeni property:head_of_government ?h . ?h rdf:type ontology:common_name }
[]
common name
SYSTEM
1
(Q804494,P6,c(Q502895))
action count
action filter_type
action find
entity Q804494
relation P6
type Q502895
[ANSWER]
['Q804494', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Q804494 property:P6 ?h . ?h rdf:type ontology:Q502895 }
1
action count
action filter_type
action find
entity Blăjeni
relation head of government
type common name
['Blăjeni', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Blăjeni property:head_of_government ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1714242
P1412
Q34770
USER
Which language is spoken by Justin Wolfers ?
(Q1714242,P1412,c(Q34770))
action filter_type
action find
entity Q1714242
relation P1412
type Q34770
['Q1714242', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q1714242 property:P1412 ?u . ?u rdf:type ontology:Q34770 }
Justin Wolfers
action filter_type
action find
entity Justin Wolfers
relation languages spoken, written or signed
type language
['Justin Wolfers', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Justin_Wolfers property:languages_spoken,_written_or_signed ?u . ?u rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1714242,P1412,c(Q34770))
action filter_type
action find
entity Q1714242
relation P1412
type Q34770
Is [ANSWER] is spoken by Justin Wolfers
['Q1714242', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q1714242 property:P1412 ?u . ?u rdf:type ontology:Q34770 }
English
Is English is spoken by Justin Wolfers
English
action filter_type
action find
entity Justin Wolfers
relation languages spoken, written or signed
type language
['Justin Wolfers', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Justin_Wolfers property:languages_spoken,_written_or_signed ?u . ?u rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1714242
P184
Q502895
USER
Which person was the doctoral superviser of that one ?
(Q1860,P184,c(Q502895))
action filter_type
action find
entity Q1714242
relation P184
type Q502895
['Q1860', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q1714242 property:P184 ?w . ?w rdf:type ontology:Q502895 }
Justin Wolfers
action filter_type
action find
entity Justin Wolfers
relation doctoral advisor
type common name
['English', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Justin_Wolfers property:doctoral_advisor ?w . ?w rdf:type ontology:common_name }
[]
common name
Q241094
SYSTEM
Olivier Blanchard
Q241094
(Q1860,P184,c(Q502895))
action filter_type
action find
entity Q1714242
relation P184
type Q502895
[ANSWER] was the doctoral superviser of that one
['Q1860', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q1714242 property:P184 ?w . ?w rdf:type ontology:Q502895 }
Olivier Blanchard
Olivier Blanchard was the doctoral superviser of that one
Olivier Blanchard
action filter_type
action find
entity Justin Wolfers
relation doctoral advisor
type common name
['English', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Justin_Wolfers property:doctoral_advisor ?w . ?w rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q7121670 Q30
P530 P27
Q15617994
USER
Which administrative territories have a diplomatic relationship with United States of America and are Pablo Lombi a civilian of ?
AND((Q30,P530,c(Q15617994)), (Q7121670,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q30
relation P530
action find
entity Q7121670
relation P27
type Q15617994
{'AND': [['Q30', 'P530', {'concept': 'Q15617994'}], ['Q7121670', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { resource:Q30 property:P530 ?p . resource:Q7121670 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Pablo Lombi United States of America
action filter_type
action intersection
action find
entity United States of America
relation diplomatic relation
action find
entity Pablo Lombi
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Pablo Lombi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { resource:United_States_of_America property:diplomatic_relation ?p . resource:Pablo_Lombi property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
AND((Q30,P530,c(Q15617994)), (Q7121670,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q30
relation P530
action find
entity Q7121670
relation P27
type Q15617994
[ANSWER] have a diplomatic relationship with United States of America and are Pablo Lombi a civilian of
{'AND': [['Q30', 'P530', {'concept': 'Q15617994'}], ['Q7121670', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { resource:Q30 property:P530 ?p . resource:Q7121670 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Argentina
Argentina have a diplomatic relationship with United States of America and are Pablo Lombi a civilian of
Argentina
action filter_type
action intersection
action find
entity United States of America
relation diplomatic relation
action find
entity Pablo Lombi
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Pablo Lombi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { resource:United_States_of_America property:diplomatic_relation ?p . resource:Pablo_Lombi property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]