Simple Question (Direct)
Simple Question
Q9012447
P1050
Q12136
USER
What has John Hoynes contracted ?
(Q9012447,P1050,c(Q12136))
action filter_type
action find
entity Q9012447
relation P1050
type Q12136
['Q9012447', 'P1050', {'concept': 'Q12136'}]
SELECT DISTINCT ?j WHERE { resource:Q9012447 property:P1050 ?j . ?j rdf:type ontology:Q12136 }
John Hoynes
action filter_type
action find
entity John Hoynes
relation medical condition
type disease
['John Hoynes', 'medical condition', {'concept': 'disease'}]
SELECT DISTINCT ?j WHERE { resource:John_Hoynes property:medical_condition ?j . ?j rdf:type ontology:disease }
[]
disease
Q15326
SYSTEM
alcoholism
Q15326
(Q9012447,P1050,c(Q12136))
action filter_type
action find
entity Q9012447
relation P1050
type Q12136
John Hoynes has contracted for [ANSWER]
['Q9012447', 'P1050', {'concept': 'Q12136'}]
SELECT DISTINCT ?j WHERE { resource:Q9012447 property:P1050 ?j . ?j rdf:type ontology:Q12136 }
alcoholism
John Hoynes has contracted for alcoholism
alcoholism
action filter_type
action find
entity John Hoynes
relation medical condition
type disease
['John Hoynes', 'medical condition', {'concept': 'disease'}]
SELECT DISTINCT ?j WHERE { resource:John_Hoynes property:medical_condition ?j . ?j rdf:type ontology:disease }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9012447
P1441
Q15416
USER
Which television program features that fictional character ?
(Q15326,P1441,c(Q15416))
action filter_type
action find
entity Q9012447
relation P1441
type Q15416
['Q15326', 'P1441', {'concept': 'Q15416'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15416 . resource:Q9012447 property:P1441 ?j }
John Hoynes
action filter_type
action find
entity John Hoynes
relation present in work
type television program
['alcoholism', 'present in work', {'concept': 'television program'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:television_program . resource:John_Hoynes property:present_in_work ?j }
[]
television program
Q3577037
SYSTEM
The West Wing
Q3577037
(Q15326,P1441,c(Q15416))
action filter_type
action find
entity Q9012447
relation P1441
type Q15416
[ANSWER] features that fictional character
['Q15326', 'P1441', {'concept': 'Q15416'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15416 . resource:Q9012447 property:P1441 ?j }
The West Wing
The West Wing features that fictional character
The West Wing
action filter_type
action find
entity John Hoynes
relation present in work
type television program
['alcoholism', 'present in work', {'concept': 'television program'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:television_program . resource:John_Hoynes property:present_in_work ?j }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q3577037 Q2344334 Q30
P495
Q15617994
USER
Is Červená Třemešná and United States of America a country of origin of Q3577037 ?
(Q3577037,P495,Q2344334) (Q3577037,P495,Q30)
action is_in
entity Q3577037
action intersection
action find_reverse
entity Q2344334
relation P495
action find_reverse
entity Q30
relation P495
['Q3577037', 'P495', 'Q2344334'] ['Q3577037', 'P495', 'Q30']
ASK WHERE { resource:Q3577037 property:P495 resource:Q30 . resource:Q3577037 property:P495 resource:Q2344334 }
The West Wing Červená Třemešná United States of America
action is_in
entity The West Wing
action intersection
action find_reverse
entity Červená Třemešná
relation country of origin
action find_reverse
entity United States of America
relation country of origin
['The West Wing', 'country of origin', 'Červená Třemešná'] ['The West Wing', 'country of origin', 'United States of America']
ASK WHERE { resource:The_West_Wing property:country_of_origin resource:United_States_of_America . resource:The_West_Wing property:country_of_origin resource:Červená_Třemešná }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q3577037,P495,Q2344334) (Q3577037,P495,Q30)
action is_in
entity Q3577037
action intersection
action find_reverse
entity Q2344334
relation P495
action find_reverse
entity Q30
relation P495
[ANSWER]
['Q3577037', 'P495', 'Q2344334'] ['Q3577037', 'P495', 'Q30']
ASK WHERE { resource:Q3577037 property:P495 resource:Q30 . resource:Q3577037 property:P495 resource:Q2344334 }
NO and YES respectively
action is_in
entity The West Wing
action intersection
action find_reverse
entity Červená Třemešná
relation country of origin
action find_reverse
entity United States of America
relation country of origin
['The West Wing', 'country of origin', 'Červená Třemešná'] ['The West Wing', 'country of origin', 'United States of America']
ASK WHERE { resource:The_West_Wing property:country_of_origin resource:United_States_of_America . resource:The_West_Wing property:country_of_origin resource:Červená_Třemešná }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q9012447 Q9640
P144
Q502895
USER
Is that fictional character considered a copy of Lyndon B. Johnson ?
(Q9012447,P144,Q9640)
action is_in
entity Q9640
action find
entity Q9012447
relation P144
['Q9012447', 'P144', 'Q9640']
ASK WHERE { resource:Q9012447 property:P144 resource:Q9640 }
John Hoynes Lyndon B. Johnson
action is_in
entity Lyndon B. Johnson
action find
entity John Hoynes
relation based on
['John Hoynes', 'based on', 'Lyndon B. Johnson']
ASK WHERE { resource:John_Hoynes property:based_on resource:Lyndon_B._Johnson }
[]
common name
SYSTEM
YES
(Q9012447,P144,Q9640)
action is_in
entity Q9640
action find
entity Q9012447
relation P144
[ANSWER]
['Q9012447', 'P144', 'Q9640']
ASK WHERE { resource:Q9012447 property:P144 resource:Q9640 }
Yes
action is_in
entity Lyndon B. Johnson
action find
entity John Hoynes
relation based on
['John Hoynes', 'based on', 'Lyndon B. Johnson']
ASK WHERE { resource:John_Hoynes property:based_on resource:Lyndon_B._Johnson }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3577037 Q1379405
P674
Q95074
USER
Does divinity play a role in The West Wing ?
(Q3577037,P674,Q1379405)
action is_in
entity Q1379405
action find
entity Q3577037
relation P674
['Q3577037', 'P674', 'Q1379405']
ASK WHERE { resource:Q3577037 property:P674 resource:Q1379405 }
The West Wing divinity
action is_in
entity divinity
action find
entity The West Wing
relation characters
['The West Wing', 'characters', 'divinity']
ASK WHERE { resource:The_West_Wing property:characters resource:divinity }
[]
fictional character
SYSTEM
NO
(Q3577037,P674,Q1379405)
action is_in
entity Q1379405
action find
entity Q3577037
relation P674
[ANSWER]
['Q3577037', 'P674', 'Q1379405']
ASK WHERE { resource:Q3577037 property:P674 resource:Q1379405 }
No
action is_in
entity divinity
action find
entity The West Wing
relation characters
['The West Wing', 'characters', 'divinity']
ASK WHERE { resource:The_West_Wing property:characters resource:divinity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q9012447 Q30
P27
Q15617994
USER
Is United States of America the native country of John Hoynes ?
(Q9012447,P27,Q30)
action is_in
entity Q30
action find
entity Q9012447
relation P27
['Q9012447', 'P27', 'Q30']
ASK WHERE { resource:Q9012447 property:P27 resource:Q30 }
John Hoynes United States of America
action is_in
entity United States of America
action find
entity John Hoynes
relation country of citizenship
['John Hoynes', 'country of citizenship', 'United States of America']
ASK WHERE { resource:John_Hoynes property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q9012447,P27,Q30)
action is_in
entity Q30
action find
entity Q9012447
relation P27
[ANSWER]
['Q9012447', 'P27', 'Q30']
ASK WHERE { resource:Q9012447 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity John Hoynes
relation country of citizenship
['John Hoynes', 'country of citizenship', 'United States of America']
ASK WHERE { resource:John_Hoynes property:country_of_citizenship resource:United_States_of_America }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3577037
P1441
Q95074
USER
How many fictional characters appear in The West Wing ?
(c(Q95074),P1441,Q3577037)
action count
action filter_type
action find_reverse
entity Q3577037
relation P1441
type Q95074
[{'concept': 'Q95074'}, 'P1441', 'Q3577037']
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { ?q property:P1441 resource:Q3577037 . ?q rdf:type ontology:Q95074 }
The West Wing
action count
action filter_type
action find_reverse
entity The West Wing
relation present in work
type fictional character
[{'concept': 'fictional character'}, 'present in work', 'The West Wing']
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { ?q property:present_in_work resource:The_West_Wing . ?q rdf:type ontology:fictional_character }
[]
fictional character
SYSTEM
182
Q23981988 Q7167342 Q23037303 Q23038562 Q24062967 Q24020884 Q24054552 Q23038541 Q23011464 Q23898951 Q24040324 Q24052982 Q23014039 Q23014030 Q23893764 Q23008443 Q23939646 Q23762112 Q23900341 Q24023874 Q23015114 Q5656906 Q24037769 Q8002690 Q14396915 Q24068632 Q24068630 Q24037752 Q23035757 Q23001650 Q23001659 Q24054431 Q23894023 Q24039746 Q23762190 Q23893787 Q23900472 Q23005293 Q23035765 Q23777628 Q23900602 Q23760935 Q23011516 Q610519 Q23938898 Q23000758 Q23001841 Q23047434 Q2715593 Q23011599 Q23046165 Q23047422 Q23762427 Q23785282 Q6744279 Q23899066 Q23035753 Q3666688 Q23899095 Q23003776 Q23058141 Q23024676 Q23005125 Q4749202 Q24054376 Q23826623 Q23826628 Q23024397 Q4933846 Q24054367 Q24054813 Q23010238 Q23784735 Q23900493 Q24044109 Q23058181 Q23000140 Q23761797 Q23014839 Q23036869 Q24054363 Q23932620 Q23899180 Q23030384 Q23005189 Q23011568 Q23053752 Q5354221 Q6214458 Q24053385 Q23301677 Q23214200 Q24024851 Q23003614 Q24084368 Q23000261 Q23000267 Q24062083 Q23826180 Q3603297 Q1080587 Q23047371 Q23761301 Q23799249 Q23029164 Q3036775 Q3704358 Q23301736 Q24054381 Q23912069 Q22999522 Q23799208 Q23025185 Q23007298 Q24020978 Q23301703 Q23010252 Q1345373 Q4755325 Q24036633 Q24036639 Q6748296 Q23012300 Q23012307 Q24053179 Q24039948 Q22999546 Q24044444 Q24039954 Q23890919 Q9012447 Q23012330 Q23042922 Q4767744 Q23047396 Q24021446 Q22999595 Q22999590 Q24052834 Q22999586 Q23042970 Q24023460 Q23042967 Q24044563 Q23932637 Q23000290 Q23833727 Q24069196 Q6929804 Q23908883 Q8073344 Q24090736 Q7349306 Q23898966 Q23898969 Q4795290 Q23000920 Q23000921 Q24009496 Q23777896 Q23024229 Q23938893 Q23054665 Q23005306 Q24039836 Q23038751 Q17075849 Q23005316 Q23005310 Q23005318 Q23005324 Q24035460 Q23785435 Q23001864 Q23940153 Q3946354 Q6524042 Q23982155 Q23900741 Q23305518 Q23008119 Q23777554
(c(Q95074),P1441,Q3577037)
action count
action filter_type
action find_reverse
entity Q3577037
relation P1441
type Q95074
[ANSWER]
[{'concept': 'Q95074'}, 'P1441', 'Q3577037']
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { ?q property:P1441 resource:Q3577037 . ?q rdf:type ontology:Q95074 }
Jack Sosa Percy Fitzwallace Michael Casper Zach Steve Hodder Colin Ayres Charles Frost Howard Stackhouse Jonathan Elizabeth Bartlet Westin Trevor Bram Howard Mark Gottfried Ainsley Hayes Secret Service Agent Wesley Kenny Thurman Greg Brock Ted Willard Jeff Haffley Saeb Mukarat Mary Marsh Josh Lyman Ling-Po Will Bailey Kate Harper Miranda Santos Peter Santos Eric Baker Jack Sloan Bob Engler Carol Fitzpatrick Louise Thornton Glenallen Walken Curtis Carruthers June Wheeler Jamie Reed Theodore Barrow Lord John Marbury Mike Chysler Reporter John Reporter Charlayne Intern Stacy Max Lobell Matt Santos Matt Hunt Chris Matt Skinner Sally Josiah Bartlet Sondra Cliff Calley Phil Reporter Jo Manny Mallory O'Brien Ryan Pierce Mickey Troop Charlie Young Lewis Berryhill Katie Witt Jordon Kendall Robbie Mosley Ginger Amy Gardner Ellis Taylor Cassie Tatum Jimmy Wendall Bernard Thatch Bob Russell Otto Barry Goodwin Gina Toscano Wendell Tripplehorn Reporter George Sheila Brooks Darren Gibson Nancy Elsie Snuffin Mark Chase Millicent Griffith Edie Ortega Efraim 'Eli' Zahavy Angela Blake Roger Salier Donnie Steve Alan Adamle Eleanor Bartlet Joey Lucas Dylan Clark SitRoom Civilian Advisor Simon Donovan Doran Mazar Roberto Mendoza Mark B. Sellner Bobbi Stevie Vic Faison Miles Hutchinson Abbey Bartlet C. J. Cregg Robert Royce Alexander Thompson Jean Paul Henry Shallick Donna Moss Deborah Fiderer SitRoom Civilian Advisor David Mike Diacovo Rina Laurie Jules Ziegler Mark O'Donnell Roger Tribbey Colonel Leahy Officer Thomas Al Kiefer Toby Ziegler Andrea Wyatt Ned Carlson Ronna Beckman Mandy Hampton Nancy McNally Ken Shannon Ray Sullivan Helen Santos Cathy Bob Mayer Marla Worisky Joe Quincy John Hoynes Arthur Leeds Bruno Gianelli Annabeth Schott Bob Slatterly Nizar Farad Bonnie Margaret Hooper Congresswoman Gleeson Al Caldwell Connie Tate Shira Galit Douglas Wegland Sean Taylor Reid Ed Bartender Tammy Jane Braun Delores Landingham Roy Ashland Zoey Bartlet Curtis Shaeffer Robert Ritchie Steve Atwood Doug Westin Arnold Vinick Mark Richardson Jenny McGarry Mike Gordon Gail Mackee Stanley Keyworth Ben Dryer Albie Duncan Larry Claypool Edwin Kelwick Oliver Babish Danny Concannon Jaworski Chinese Ambassador George Rollie Larry Congressman Lackey Presidential Reporter Ron Butterfield Lisa Wolfe Sam Seaborn Leo McGarry George Arnold Nicholas Alexander Mitch Bryce Joseph Bruno Jack Reese
182
action count
action filter_type
action find_reverse
entity The West Wing
relation present in work
type fictional character
[{'concept': 'fictional character'}, 'present in work', 'The West Wing']
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { ?q property:present_in_work resource:The_West_Wing . ?q rdf:type ontology:fictional_character }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3202526
P840
Q107425
USER
Which is the narrative location of Atlantida ?
(Q3202526,P840,c(Q107425))
action filter_type
action find
entity Q3202526
relation P840
type Q107425
['Q3202526', 'P840', {'concept': 'Q107425'}]
SELECT DISTINCT ?p WHERE { resource:Q3202526 property:P840 ?p . ?p rdf:type ontology:Q107425 }
Atlantida
action filter_type
action find
entity Atlantida
relation narrative location
type landscape
['Atlantida', 'narrative location', {'concept': 'landscape'}]
SELECT DISTINCT ?p WHERE { resource:Atlantida property:narrative_location ?p . ?p rdf:type ontology:landscape }
[]
landscape
Q6583
SYSTEM
Sahara
Q6583
(Q3202526,P840,c(Q107425))
action filter_type
action find
entity Q3202526
relation P840
type Q107425
Is the narrative location of Atlantida [ANSWER]
['Q3202526', 'P840', {'concept': 'Q107425'}]
SELECT DISTINCT ?p WHERE { resource:Q3202526 property:P840 ?p . ?p rdf:type ontology:Q107425 }
Sahara
Is the narrative location of Atlantida Sahara
Sahara
action filter_type
action find
entity Atlantida
relation narrative location
type landscape
['Atlantida', 'narrative location', {'concept': 'landscape'}]
SELECT DISTINCT ?p WHERE { resource:Atlantida property:narrative_location ?p . ?p rdf:type ontology:landscape }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1213253
Q107425
USER
And also tell me about The Gods Must Be Crazy II?
(Q1213253,P840,c(Q107425))
action filter_type
action find
entity Q1213253
relation P840
type Q107425
['Q1213253', 'P840', {'concept': 'Q107425'}]
SELECT DISTINCT ?o WHERE { resource:Q1213253 property:P840 ?o . ?o rdf:type ontology:Q107425 }
The Gods Must Be Crazy II
action filter_type
action find
entity The Gods Must Be Crazy II
relation narrative location
type landscape
['The Gods Must Be Crazy II', 'narrative location', {'concept': 'landscape'}]
SELECT DISTINCT ?o WHERE { resource:The_Gods_Must_Be_Crazy_II property:narrative_location ?o . ?o rdf:type ontology:landscape }
[]
landscape
Q47700
SYSTEM
Kalahari Desert
Q47700
(Q1213253,P840,c(Q107425))
action filter_type
action find
entity Q1213253
relation P840
type Q107425
Also tell me about The Gods Must Be Crazy II And the [ANSWER]
['Q1213253', 'P840', {'concept': 'Q107425'}]
SELECT DISTINCT ?o WHERE { resource:Q1213253 property:P840 ?o . ?o rdf:type ontology:Q107425 }
Kalahari Desert
Also tell me about The Gods Must Be Crazy II And the Kalahari Desert
Kalahari Desert
action filter_type
action find
entity The Gods Must Be Crazy II
relation narrative location
type landscape
['The Gods Must Be Crazy II', 'narrative location', {'concept': 'landscape'}]
SELECT DISTINCT ?o WHERE { resource:The_Gods_Must_Be_Crazy_II property:narrative_location ?o . ?o rdf:type ontology:landscape }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3577037
P800
Q502895
USER
Who has The West Wing as their notable work ?
(c(Q502895),P800,Q3577037)
action filter_type
action find_reverse
entity Q3577037
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q3577037']
SELECT DISTINCT ?x WHERE { ?x property:P800 resource:Q3577037 . ?x rdf:type ontology:Q502895 }
The West Wing
action filter_type
action find_reverse
entity The West Wing
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'The West Wing']
SELECT DISTINCT ?x WHERE { ?x property:notable_work resource:The_West_Wing . ?x rdf:type ontology:common_name }
[]
common name
Q4133060
SYSTEM
Rick Cleveland
Q4133060
(c(Q502895),P800,Q3577037)
action filter_type
action find_reverse
entity Q3577037
relation P800
type Q502895
[ANSWER] has The West Wing as their notable work
[{'concept': 'Q502895'}, 'P800', 'Q3577037']
SELECT DISTINCT ?x WHERE { ?x property:P800 resource:Q3577037 . ?x rdf:type ontology:Q502895 }
Rick Cleveland
Rick Cleveland has The West Wing as their notable work
Rick Cleveland
action filter_type
action find_reverse
entity The West Wing
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'The West Wing']
SELECT DISTINCT ?x WHERE { ?x property:notable_work resource:The_West_Wing . ?x rdf:type ontology:common_name }
[]