Simple Question (Direct)
Simple Question
Q7146430
P20
Q56061
USER
Where did Patrick E. Burke expire ?
(Q7146430,P20,c(Q56061))
action filter_type
action find
entity Q7146430
relation P20
type Q56061
['Q7146430', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q7146430 property:P20 ?y . ?y rdf:type ontology:Q56061 }
Patrick E. Burke
action filter_type
action find
entity Patrick E. Burke
relation place of death
type administrative territorial entity
['Patrick E. Burke', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Patrick_E._Burke property:place_of_death ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1402992
SYSTEM
Resaca
Q1402992
(Q7146430,P20,c(Q56061))
action filter_type
action find
entity Q7146430
relation P20
type Q56061
Patrick E. Burke expired [ANSWER]
['Q7146430', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q7146430 property:P20 ?y . ?y rdf:type ontology:Q56061 }
Resaca
Patrick E. Burke expired Resaca
Resaca
action filter_type
action find
entity Patrick E. Burke
relation place of death
type administrative territorial entity
['Patrick E. Burke', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Patrick_E._Burke property:place_of_death ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7146430
P937
Q56061
USER
What is the work location of that person ?
(Q1402992,P937,c(Q56061))
action filter_type
action find
entity Q7146430
relation P937
type Q56061
['Q1402992', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q7146430 property:P937 ?p . ?p rdf:type ontology:Q56061 }
Patrick E. Burke
action filter_type
action find
entity Patrick E. Burke
relation work location
type administrative territorial entity
['Resaca', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Patrick_E._Burke property:work_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q28180
SYSTEM
Jefferson City
Q28180
(Q1402992,P937,c(Q56061))
action filter_type
action find
entity Q7146430
relation P937
type Q56061
The work location of that person is in [ANSWER]
['Q1402992', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q7146430 property:P937 ?p . ?p rdf:type ontology:Q56061 }
Jefferson City
The work location of that person is in Jefferson City
Jefferson City
action filter_type
action find
entity Patrick E. Burke
relation work location
type administrative territorial entity
['Resaca', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Patrick_E._Burke property:work_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q28180
P36
Q852446
USER
Which US administrative territory has that administrative territory as its administrative centre ?
(c(Q852446),P36,Q28180)
action filter_type
action find_reverse
entity Q28180
relation P36
type Q852446
[{'concept': 'Q852446'}, 'P36', 'Q28180']
SELECT DISTINCT ?u WHERE { ?u property:P36 resource:Q28180 . ?u rdf:type ontology:Q852446 }
Jefferson City
action filter_type
action find_reverse
entity Jefferson City
relation capital
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'capital', 'Jefferson City']
SELECT DISTINCT ?u WHERE { ?u property:capital resource:Jefferson_City . ?u rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q1581
SYSTEM
Missouri
Q1581
(c(Q852446),P36,Q28180)
action filter_type
action find_reverse
entity Q28180
relation P36
type Q852446
The [ANSWER] has that administrative territory as its administrative centre
[{'concept': 'Q852446'}, 'P36', 'Q28180']
SELECT DISTINCT ?u WHERE { ?u property:P36 resource:Q28180 . ?u rdf:type ontology:Q852446 }
Missouri
The Missouri has that administrative territory as its administrative centre
Missouri
action filter_type
action find_reverse
entity Jefferson City
relation capital
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'capital', 'Jefferson City']
SELECT DISTINCT ?u WHERE { ?u property:capital resource:Jefferson_City . ?u rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P19
Q502895
USER
How many people have birthplace at that US administrative territory ?
(c(Q502895),P19,Q1581)
action count
action filter_type
action find_reverse
entity Q1581
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q1581']
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q property:P19 resource:Q1581 . ?q rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Missouri
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Missouri']
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q property:place_of_birth resource:Missouri . ?q rdf:type ontology:common_name }
[]
common name
SYSTEM
169
Q2024275 Q1077862 Q3703042 Q92991 Q16568857 Q719207 Q6144919 Q6847711 Q6437149 Q16539314 Q3127899 Q5591195 Q2170831 Q1750519 Q5084340 Q454453 Q16885801 Q3760436 Q382364 Q11728445 Q981976 Q1065702 Q17215739 Q507137 Q1681068 Q285754 Q6131729 Q5725551 Q322925 Q310295 Q274985 Q3178961 Q164328 Q6513844 Q2020455 Q730680 Q253906 Q5325835 Q21931923 Q207955 Q2332664 Q23308229 Q1339066 Q6229123 Q6113463 Q2363400 Q17400022 Q505035 Q8008587 Q257805 Q3260124 Q1689351 Q7342230 Q7793343 Q11702974 Q1634543 Q1095705 Q1441872 Q15999399 Q4972929 Q16008098 Q23071431 Q4410550 Q2976935 Q888012 Q202212 Q17398629 Q1606709 Q16026148 Q5701934 Q362210 Q164075 Q447971 Q18394239 Q252589 Q7498643 Q445701 Q3574544 Q7372732 Q22018498 Q230762 Q2159057 Q6969616 Q3499280 Q322275 Q2088566 Q7411443 Q1507263 Q8019369 Q5220391 Q335552 Q210173 Q3440485 Q803648 Q2501637 Q2065897 Q15999107 Q6209575 Q1688123 Q185873 Q5927433 Q982197 Q16062587 Q16263524 Q327175 Q8012635 Q4910284 Q944747 Q8015515 Q6105550 Q6115505 Q457730 Q22060352 Q1803393 Q230159 Q1076201 Q7589614 Q271575 Q22251879 Q176693 Q7381461 Q3440511 Q11832444 Q5889793 Q17626688 Q642196 Q713459 Q16594696 Q7933038 Q2344983 Q2017826 Q8008281 Q5129057 Q1687883 Q673138 Q5219414 Q18062172 Q15997807 Q51814 Q16013183 Q6911594 Q7174089 Q2598662 Q18148310 Q2637195 Q5040007 Q4966696 Q2895473 Q602459 Q2129795 Q6181656 Q5006220 Q4931175 Q5488110 Q3343649 Q4760786 Q1383223 Q6102325 Q5363239 Q3047116 Q16551375 Q3086959 Q4718786 Q1070740 Q5002148 Q21554170 Q2638008 Q27220593 Q978902
(c(Q502895),P19,Q1581)
action count
action filter_type
action find_reverse
entity Q1581
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q1581']
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q property:P19 resource:Q1581 . ?q rdf:type ontology:Q502895 }
Onie Wheeler Chris Williams Dave Minor Guy L. Steele Keri Claussen Charles Yeater James W. Sullivan Mike Long Kris Cook Charles Dellert Harry Richard Landis Grace Gregory Roy Gardner Wendell Mayes Charley Pierce Ruth Osburn Sophie Littlefield George Barnes William Walden Rubey Joseph Jefferson Howard Roy Thomas Charles O'Connor Al Long Russell A. Gausman James S. Green Terry Jones James Corcoran Henry Martyn Noel James O. McKinsey Dick Van Dyke Iris Yamashita Jim Uhls David Koechner Lee Hawkins Garby Oliver P. Snyder Todd Armstrong Casey Jones Earl Edwin Pitts Tanya Chaplin Omar Bradley Charles Osborne Nellie Neal Lawing Emory Holloway John Dellert Jack Kershaw Sue Thompson Fred Koenig Arthur E. Arling William Elvis Sloan I Leith Stevens Lou Frizzell Jimmy Edwards Robert Boswell Thomas R. Cornelius Gwen Berry Hugh S. Fowler Clark Griffith Tate Stevens Jack Whalen Broda Otto Barnes Marion Barton Skaggs Vera McGinnis Joseph Yoakum Claude B. Hutchison Bob James Cal Hubbard Fred Hussman Henry Fred Gerecke Vivian Chase Helen Boyce William C. Mellor Howard R. Hughes, Sr. Kasey Rogers Thomas J. Nissel Leroy Van Dyke Shirl Henke Kenneth Lay Zack Wheat Roy Daugherty Kate Frank Dale Carnegie Robert Usher Nathaniel Ford Steven Tharp Ferlin Husky Phog Allen Samuel G. Fuqua George E. Lee William Thompson Danny Goodwin Jack Dorsey Charlie Creath Claude Jameson Bahram Mashhoon Karen Dior Pearl Starr Arthur E. Eilers Joe Dougherty Jess Stacy Marlin Perkins Hubert L. Lee Joseph F. Smith John Wayland Lucas Lee Irvine Lester R. Ford William Hugh Young Bill Mueller Stephan Bender William McWaters J. Edward Hungerford Jack Tobin Donna Hightower W. Stuart Symington Emil Voigt Jane Darwell H. Richard Niebuhr St. Louis Estes Pearl White Alec Knight Elmer Keith Russell Davis Raymond Lawler Helen Bray William W. Johnstone Glen Lukens William A. Horning Tex Rickard Ray Toler Viola Slaughter Stephen Morehouse Avery Ola Elizabeth Winslow William E. Morris Claude V. Ricketts Jerry Wallace Arkansas Woodchopper Danielle Nierenberg Cody Lane Eugene Lorton Dale Dye Edwin Adams Davis Morgan Burkhart Peter French Israel Nash Paul Courty Frederick Suerig Carl Crow Patti McGuire Ben Hardaway William Gillock Ralph Sutton Jeremy Lucido C.T. Wilson Bo Sweeney Frank Magee Noreen Gammill Andy Hawkins Ewing Kauffman Rebecca Silva Elizabeth Morehead Jake Arrieta Edward Pueschell Fred Spencer Alexander E. Steen Chester Ray Longwell Buster Cupit Robert Hickman Gwynne Evans Larry Miller Harlow Rothert
169
action count
action filter_type
action find_reverse
entity Missouri
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Missouri']
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q property:place_of_birth resource:Missouri . ?q rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1581
P47
Q852446
USER
Which US administrative territories share border with Missouri ?
(Q1581,P47,c(Q852446))
action filter_type
action find
entity Q1581
relation P47
type Q852446
['Q1581', 'P47', {'concept': 'Q852446'}]
SELECT DISTINCT ?j WHERE { resource:Q1581 property:P47 ?j . ?j rdf:type ontology:Q852446 }
Missouri
action filter_type
action find
entity Missouri
relation shares border with
type administrative territorial entity of the United States
['Missouri', 'shares border with', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?j WHERE { resource:Missouri property:shares_border_with ?j . ?j rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q1204 Q1509 Q1603
SYSTEM
Illinois, Tennessee, Kentucky
Q1509 Q1649 Q1553 Q1612 Q1204 Q1603 Q1558 Q1546
(Q1581,P47,c(Q852446))
action filter_type
action find
entity Q1581
relation P47
type Q852446
[ANSWERS] share border with Missouri
['Q1581', 'P47', {'concept': 'Q852446'}]
SELECT DISTINCT ?j WHERE { resource:Q1581 property:P47 ?j . ?j rdf:type ontology:Q852446 }
Tennessee Oklahoma Nebraska Arkansas Illinois Kentucky Kansas Iowa
Illinois, Tennessee and Kentucky share border with Missouri
Illinois Tennessee Kentucky
action filter_type
action find
entity Missouri
relation shares border with
type administrative territorial entity of the United States
['Missouri', 'shares border with', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?j WHERE { resource:Missouri property:shares_border_with ?j . ?j rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q8001204
Q852446
USER
And what about Indian Point Township, Knox County?
(Q8001204,P47,c(Q852446))
action filter_type
action find
entity Q8001204
relation P47
type Q852446
['Q8001204', 'P47', {'concept': 'Q852446'}]
SELECT DISTINCT ?k WHERE { resource:Q8001204 property:P47 ?k . ?k rdf:type ontology:Q852446 }
Indian Point Township, Knox County
action filter_type
action find
entity Indian Point Township, Knox County
relation shares border with
type administrative territorial entity of the United States
['Indian Point Township, Knox County', 'shares border with', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?k WHERE { resource:Indian_Point_Township,_Knox_County property:shares_border_with ?k . ?k rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q5056926
SYSTEM
Cedar Township
Q5056926
(Q8001204,P47,c(Q852446))
action filter_type
action find
entity Q8001204
relation P47
type Q852446
[ANSWER]
['Q8001204', 'P47', {'concept': 'Q852446'}]
SELECT DISTINCT ?k WHERE { resource:Q8001204 property:P47 ?k . ?k rdf:type ontology:Q852446 }
Cedar Township
Cedar Township
action filter_type
action find
entity Indian Point Township, Knox County
relation shares border with
type administrative territorial entity of the United States
['Indian Point Township, Knox County', 'shares border with', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?k WHERE { resource:Indian_Point_Township,_Knox_County property:shares_border_with ?k . ?k rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5056926 Q30
P17
Q15617994
USER
Is Cedar Township a part of United States of America ?
(Q5056926,P17,Q30)
action is_in
entity Q30
action find
entity Q5056926
relation P17
['Q5056926', 'P17', 'Q30']
ASK WHERE { resource:Q5056926 property:P17 resource:Q30 }
Cedar Township United States of America
action is_in
entity United States of America
action find
entity Cedar Township
relation country
['Cedar Township', 'country', 'United States of America']
ASK WHERE { resource:Cedar_Township property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q5056926,P17,Q30)
action is_in
entity Q30
action find
entity Q5056926
relation P17
[ANSWER]
['Q5056926', 'P17', 'Q30']
ASK WHERE { resource:Q5056926 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Cedar Township
relation country
['Cedar Township', 'country', 'United States of America']
ASK WHERE { resource:Cedar_Township property:country resource:United_States_of_America }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1509
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of Tennessee ?
(Q1509,P1313,c(Q12737077))
action filter_type
action find
entity Q1509
relation P1313
type Q12737077
['Q1509', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q1509 property:P1313 ?e }
Tennessee
action filter_type
action find
entity Tennessee
relation office held by head of government
type occupation
['Tennessee', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Tennessee property:office_held_by_head_of_government ?e }
[]
occupation
Q5589724
SYSTEM
Governor of Tennessee
Q5589724
(Q1509,P1313,c(Q12737077))
action filter_type
action find
entity Q1509
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of Tennessee
['Q1509', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q1509 property:P1313 ?e }
Governor of Tennessee
The Governor of Tennessee serves as the political office that is fulfilled by the head of the government of Tennessee
Governor of Tennessee
action filter_type
action find
entity Tennessee
relation office held by head of government
type occupation
['Tennessee', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Tennessee property:office_held_by_head_of_government ?e }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1647726
Q12737077
USER
And what about Villanueva de Algaidas?
(Q1647726,P1313,c(Q12737077))
action filter_type
action find
entity Q1647726
relation P1313
type Q12737077
['Q1647726', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q1647726 property:P1313 ?x . ?x rdf:type ontology:Q12737077 }
Villanueva de Algaidas
action filter_type
action find
entity Villanueva de Algaidas
relation office held by head of government
type occupation
['Villanueva de Algaidas', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Villanueva_de_Algaidas property:office_held_by_head_of_government ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q26694457
SYSTEM
mayor of Villanueva de Algaidas
Q26694457
(Q1647726,P1313,c(Q12737077))
action filter_type
action find
entity Q1647726
relation P1313
type Q12737077
[ANSWER]
['Q1647726', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q1647726 property:P1313 ?x . ?x rdf:type ontology:Q12737077 }
mayor of Villanueva de Algaidas
mayor of Villanueva de Algaidas
action filter_type
action find
entity Villanueva de Algaidas
relation office held by head of government
type occupation
['Villanueva de Algaidas', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Villanueva_de_Algaidas property:office_held_by_head_of_government ?x . ?x rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7890590 Q5589724
P1001
Q852446
USER
Which US administrative territories come under the jurisdiction of Governor of Tennessee or United States House of Representatives elections in South Carolina, 1924 ?
OR((Q5589724,P1001,c(Q852446)), (Q7890590,P1001,c(Q852446)))
action filter_type
action union
action find
entity Q5589724
relation P1001
action find
entity Q7890590
relation P1001
type Q852446
{'OR': [['Q5589724', 'P1001', {'concept': 'Q852446'}], ['Q7890590', 'P1001', {'concept': 'Q852446'}]]}
SELECT DISTINCT ?x WHERE { { ?q property:P1001 ?x . VALUES ( ?q ) { ( resource:Q5589724 ) ( resource:Q7890590 ) } } . ?x rdf:type ontology:Q852446 }
United States House of Representatives elections in South Carolina, 1924 Governor of Tennessee
action filter_type
action union
action find
entity Governor of Tennessee
relation applies to jurisdiction
action find
entity United States House of Representatives elections in South Carolina, 1924
relation applies to jurisdiction
type administrative territorial entity of the United States
{'OR': [['Governor of Tennessee', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}], ['United States House of Representatives elections in South Carolina, 1924', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}]]}
SELECT DISTINCT ?x WHERE { { ?q property:applies_to_jurisdiction ?x . VALUES ( ?q ) { ( resource:Governor_of_Tennessee ) ( resource:United_States_House_of_Representatives_elections_in_South_Carolina,_1924 ) } } . ?x rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q1456 Q1509
SYSTEM
South Carolina, Tennessee
Q1456 Q1509
OR((Q5589724,P1001,c(Q852446)), (Q7890590,P1001,c(Q852446)))
action filter_type
action union
action find
entity Q5589724
relation P1001
action find
entity Q7890590
relation P1001
type Q852446
[ANSWERS] come under the jurisdiction of Governor of Tennessee or United States House of Representatives elections in South Carolina, 1924
{'OR': [['Q5589724', 'P1001', {'concept': 'Q852446'}], ['Q7890590', 'P1001', {'concept': 'Q852446'}]]}
SELECT DISTINCT ?x WHERE { { ?q property:P1001 ?x . VALUES ( ?q ) { ( resource:Q5589724 ) ( resource:Q7890590 ) } } . ?x rdf:type ontology:Q852446 }
South Carolina Tennessee
South Carolina and Tennessee come under the jurisdiction of Governor of Tennessee or United States House of Representatives elections in South Carolina, 1924
South Carolina Tennessee
action filter_type
action union
action find
entity Governor of Tennessee
relation applies to jurisdiction
action find
entity United States House of Representatives elections in South Carolina, 1924
relation applies to jurisdiction
type administrative territorial entity of the United States
{'OR': [['Governor of Tennessee', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}], ['United States House of Representatives elections in South Carolina, 1924', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}]]}
SELECT DISTINCT ?x WHERE { { ?q property:applies_to_jurisdiction ?x . VALUES ( ?q ) { ( resource:Governor_of_Tennessee ) ( resource:United_States_House_of_Representatives_elections_in_South_Carolina,_1924 ) } } . ?x rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P841
Q573 Q186081 Q502895
USER
How many people have around 2 days or time intervals as their principal feast day ?
(c(Q502895),P841,c(Q573)|c(Q186081))
action count
action approx
action union
action find_tuple_counts
relation P841
type Q502895
type Q573
action find_tuple_counts
relation P841
type Q502895
type Q186081
value 2
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?l ) WHERE { { ?y property:P841 ?t . ?y rdf:type ontology:Q502895 . ?t rdf:type ontology:Q573 } UNION { ?t rdf:type ontology:Q186081 . ?y rdf:type ontology:Q502895 . ?y property:P841 ?t } } GROUP BY ?y } . FILTER ( ?l = 2 ) }
action count
action approx
action union
action find_tuple_counts
relation feast day
type common name
type day
action find_tuple_counts
relation feast day
type common name
type time interval
value 2
[{'concept': 'common name'}, 'feast day', [{'concept': 'day'}, {'concept': 'time interval'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?l ) WHERE { { ?y property:feast_day ?t . ?y rdf:type ontology:common_name . ?t rdf:type ontology:day } UNION { ?t rdf:type ontology:time_interval . ?y rdf:type ontology:common_name . ?y property:feast_day ?t } } GROUP BY ?y } . FILTER ( ?l = 2 ) }
[]
day time interval common name
SYSTEM
9
Q770633 Q161775 Q44265 Q319319 Q37599 Q3189724 Q170164 Q158504 Q2332287
(c(Q502895),P841,c(Q573)|c(Q186081))
action count
action approx
action union
action find_tuple_counts
relation P841
type Q502895
type Q573
action find_tuple_counts
relation P841
type Q502895
type Q186081
value 2
[ANSWER]
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?l ) WHERE { { ?y property:P841 ?t . ?y rdf:type ontology:Q502895 . ?t rdf:type ontology:Q573 } UNION { ?t rdf:type ontology:Q186081 . ?y rdf:type ontology:Q502895 . ?y property:P841 ?t } } GROUP BY ?y } . FILTER ( ?l = 2 ) }
Padarn Stephen Benedict of Nursia Abercius of Hieropolis Theodore of Amasea Julienne de Vyazma Helena of Constantinople Clement of Ohrid Ingegerd Olofsdotter of Sweden
9
action count
action approx
action union
action find_tuple_counts
relation feast day
type common name
type day
action find_tuple_counts
relation feast day
type common name
type time interval
value 2
[{'concept': 'common name'}, 'feast day', [{'concept': 'day'}, {'concept': 'time interval'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?l ) WHERE { { ?y property:feast_day ?t . ?y rdf:type ontology:common_name . ?t rdf:type ontology:day } UNION { ?t rdf:type ontology:time_interval . ?y rdf:type ontology:common_name . ?y property:feast_day ?t } } GROUP BY ?y } . FILTER ( ?l = 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1509
P36
Q56061
USER
How many administrative territories are called the capital of Tennessee ?
(Q1509,P36,c(Q56061))
action count
action filter_type
action find
entity Q1509
relation P36
type Q56061
['Q1509', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { resource:Q1509 property:P36 ?e . ?e rdf:type ontology:Q56061 }
Tennessee
action count
action filter_type
action find
entity Tennessee
relation capital
type administrative territorial entity
['Tennessee', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { resource:Tennessee property:capital ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q23197
(Q1509,P36,c(Q56061))
action count
action filter_type
action find
entity Q1509
relation P36
type Q56061
[ANSWER]
['Q1509', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { resource:Q1509 property:P36 ?e . ?e rdf:type ontology:Q56061 }
Nashville
1
action count
action filter_type
action find
entity Tennessee
relation capital
type administrative territorial entity
['Tennessee', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { resource:Tennessee property:capital ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1509
P1376
Q56061
USER
Which administrative territory is the county seat of that US administrative territory ?
action filter_type
action find_reverse
entity Q1509
relation P1376
type Q56061
SELECT DISTINCT ?y WHERE { ?y property:P1376 resource:Q1509 . ?y rdf:type ontology:Q56061 }
Tennessee
action filter_type
action find_reverse
entity Tennessee
relation capital of
type administrative territorial entity
SELECT DISTINCT ?y WHERE { ?y property:capital_of resource:Tennessee . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q23197
SYSTEM
Nashville
Q23197
action filter_type
action find_reverse
entity Q1509
relation P1376
type Q56061
[ANSWER] is the county seat of that US administrative territory
SELECT DISTINCT ?y WHERE { ?y property:P1376 resource:Q1509 . ?y rdf:type ontology:Q56061 }
Nashville
Nashville is the county seat of that US administrative territory
Nashville
action filter_type
action find_reverse
entity Tennessee
relation capital of
type administrative territorial entity
SELECT DISTINCT ?y WHERE { ?y property:capital_of resource:Tennessee . ?y rdf:type ontology:administrative_territorial_entity }
[]