Simple Question (Direct)
Simple Question
Q24054381
P106
Q12737077
USER
Which occupation is the profession of Mike Diacovo ?
(Q24054381,P106,c(Q12737077))
action filter_type
action find
entity Q24054381
relation P106
type Q12737077
['Q24054381', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q24054381 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Mike Diacovo
action filter_type
action find
entity Mike Diacovo
relation occupation
type occupation
['Mike Diacovo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Mike_Diacovo property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q1642960
SYSTEM
pundit
Q1642960
(Q24054381,P106,c(Q12737077))
action filter_type
action find
entity Q24054381
relation P106
type Q12737077
[ANSWER] is the profession of Mike Diacovo
['Q24054381', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q24054381 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
pundit
Pundit is the profession of Mike Diacovo
pundit
action filter_type
action find
entity Mike Diacovo
relation occupation
type occupation
['Mike Diacovo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Mike_Diacovo property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q24054381
P1441
Q15416
USER
Which television program features Mike Diacovo ?
(Q24054381,P1441,c(Q15416))
action filter_type
action find
entity Q24054381
relation P1441
type Q15416
['Q24054381', 'P1441', {'concept': 'Q15416'}]
SELECT DISTINCT ?q WHERE { resource:Q24054381 property:P1441 ?q . ?q rdf:type ontology:Q15416 }
Mike Diacovo
action filter_type
action find
entity Mike Diacovo
relation present in work
type television program
['Mike Diacovo', 'present in work', {'concept': 'television program'}]
SELECT DISTINCT ?q WHERE { resource:Mike_Diacovo property:present_in_work ?q . ?q rdf:type ontology:television_program }
[]
television program
Q3577037
SYSTEM
The West Wing
Q3577037
(Q24054381,P1441,c(Q15416))
action filter_type
action find
entity Q24054381
relation P1441
type Q15416
[ANSWER] features Mike Diacovo
['Q24054381', 'P1441', {'concept': 'Q15416'}]
SELECT DISTINCT ?q WHERE { resource:Q24054381 property:P1441 ?q . ?q rdf:type ontology:Q15416 }
The West Wing
The West Wing features Mike Diacovo
The West Wing
action filter_type
action find
entity Mike Diacovo
relation present in work
type television program
['Mike Diacovo', 'present in work', {'concept': 'television program'}]
SELECT DISTINCT ?q WHERE { resource:Mike_Diacovo property:present_in_work ?q . ?q rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q24054381
P175
Q502895
USER
What was presented by that fictional character ?
(Q3577037,P175,c(Q502895))
action filter_type
action find
entity Q24054381
relation P175
type Q502895
['Q3577037', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q24054381 property:P175 ?z . ?z rdf:type ontology:Q502895 }
Mike Diacovo
action filter_type
action find
entity Mike Diacovo
relation performer
type common name
['The West Wing', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Mike_Diacovo property:performer ?z . ?z rdf:type ontology:common_name }
[]
common name
Q728744
SYSTEM
David Garrison
Q728744
(Q3577037,P175,c(Q502895))
action filter_type
action find
entity Q24054381
relation P175
type Q502895
[ANSWER] was presented by that fictional character
['Q3577037', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q24054381 property:P175 ?z . ?z rdf:type ontology:Q502895 }
David Garrison
David Garrison was presented by that fictional character
David Garrison
action filter_type
action find
entity Mike Diacovo
relation performer
type common name
['The West Wing', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Mike_Diacovo property:performer ?z . ?z rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q120367
P725
Q502895 Q1001378
USER
How many cinematic techniques had lesser number of people as the dubbing artist than Shark Tale ?
(c(Q1001378),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q120367
relation P725
type Q502895
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?v ) WHERE { ?j property:P725 ?z . ?z rdf:type ontology:Q502895 . ?j rdf:type ontology:Q1001378 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { resource:Q120367 property:P725 ?p . ?p rdf:type ontology:Q502895 } } . FILTER ( ?v < ?t ) }
Shark Tale
action count
action less
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Shark Tale
relation voice actor
type common name
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?v ) WHERE { ?j property:voice_actor ?z . ?z rdf:type ontology:common_name . ?j rdf:type ontology:cinematic_technique } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { resource:Shark_Tale property:voice_actor ?p . ?p rdf:type ontology:common_name } } . FILTER ( ?v < ?t ) }
[]
common name cinematic technique
SYSTEM
32
Q656998 Q6505964 Q2388260 Q21079862 Q15270742 Q27229786 Q562140 Q221679 Q192212 Q23647031 Q182153 Q908816 Q244434 Q3623997 Q4096274 Q655133 Q2615381 Q170035 Q2613318 Q171048 Q223217 Q6739642 Q15709928 Q14545073 Q467678 Q15140309 Q656396 Q187266 Q15975680 Q104905 Q329603 Q633053
(c(Q1001378),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q120367
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?v ) WHERE { ?j property:P725 ?z . ?z rdf:type ontology:Q502895 . ?j rdf:type ontology:Q1001378 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { resource:Q120367 property:P725 ?p . ?p rdf:type ontology:Q502895 } } . FILTER ( ?v < ?t ) }
Garfield's Pet Force Rudolph the Red-Nosed Reindeer: The Movie The Humpbacked Horse Cars 3 Adventures of Mowgli The Animated Adventures of Tom Sawyer Yobi, the Five Tailed Fox Meet the Robinsons Cars 2 Batman: The Killing Joke Cars The Secret of Kells Lady and the Tramp II: Scamp's Adventure FernGully 2: The Magical Rescue The Bremen Town Musicians Treasure Island Korgoth of Barbaria Ratatouille Garfield's Fun Fest Toy Story The Lion King 1½ Making Stars Tríd an Stoirm 1912 film The Little Mermaid II: Return to the Sea Emil & Ida i Lönneberga Mickey's Magical Christmas: Snowed in at the House of Mouse Toy Story 2 Tamako Love Story WALL•E Laura's Star Surf's Up
32
action count
action less
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Shark Tale
relation voice actor
type common name
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?v ) WHERE { ?j property:voice_actor ?z . ?z rdf:type ontology:common_name . ?j rdf:type ontology:cinematic_technique } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { resource:Shark_Tale property:voice_actor ?p . ?p rdf:type ontology:common_name } } . FILTER ( ?v < ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q329603
P725
Q502895 Q1001378
USER
And what about Laura's Star?
(c(Q1001378),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q329603
relation P725
type Q502895
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { resource:Q329603 property:P725 ?k . ?k rdf:type ontology:Q502895 } } . FILTER ( ?s < ?q ) . { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?s ) WHERE { ?r property:P725 ?m . ?r rdf:type ontology:Q1001378 . ?m rdf:type ontology:Q502895 } GROUP BY ?r } }
Laura's Star
action count
action less
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Laura's Star
relation voice actor
type common name
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { resource:Laura's_Star property:voice_actor ?k . ?k rdf:type ontology:common_name } } . FILTER ( ?s < ?q ) . { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?s ) WHERE { ?r property:voice_actor ?m . ?r rdf:type ontology:cinematic_technique . ?m rdf:type ontology:common_name } GROUP BY ?r } }
[]
common name cinematic technique
SYSTEM
24
Q656998 Q2388260 Q21079862 Q27229786 Q562140 Q221679 Q192212 Q23647031 Q908816 Q3623997 Q4096274 Q655133 Q2615381 Q170035 Q2613318 Q223217 Q6739642 Q15709928 Q14545073 Q467678 Q656396 Q187266 Q15975680 Q104905
(c(Q1001378),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q329603
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { resource:Q329603 property:P725 ?k . ?k rdf:type ontology:Q502895 } } . FILTER ( ?s < ?q ) . { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?s ) WHERE { ?r property:P725 ?m . ?r rdf:type ontology:Q1001378 . ?m rdf:type ontology:Q502895 } GROUP BY ?r } }
Garfield's Pet Force The Humpbacked Horse Cars 3 The Animated Adventures of Tom Sawyer Yobi, the Five Tailed Fox Meet the Robinsons Cars 2 Batman: The Killing Joke The Secret of Kells FernGully 2: The Magical Rescue The Bremen Town Musicians Treasure Island Korgoth of Barbaria Ratatouille Garfield's Fun Fest The Lion King 1½ Making Stars Tríd an Stoirm 1912 film The Little Mermaid II: Return to the Sea Mickey's Magical Christmas: Snowed in at the House of Mouse Toy Story 2 Tamako Love Story WALL•E
24
action count
action less
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Laura's Star
relation voice actor
type common name
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { resource:Laura's_Star property:voice_actor ?k . ?k rdf:type ontology:common_name } } . FILTER ( ?s < ?q ) . { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?s ) WHERE { ?r property:voice_actor ?m . ?r rdf:type ontology:cinematic_technique . ?m rdf:type ontology:common_name } GROUP BY ?r } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can around 1189 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1189
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?h ) WHERE { ?o property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?g } . FILTER ( ?h = 1189 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1189
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?h ) WHERE { ?o property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?g } . FILTER ( ?h = 1189 ) }
[]
musical instrument common name
SYSTEM
64
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1189
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?h ) WHERE { ?o property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?g } . FILTER ( ?h = 1189 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
64
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1189
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?h ) WHERE { ?o property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?g } . FILTER ( ?h = 1189 ) }
[]
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 ( ?t ) AS ?q ) WHERE { ?t property:P1441 resource:Q3577037 . ?t 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 ( ?t ) AS ?q ) WHERE { ?t property:present_in_work resource:The_West_Wing . ?t 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 ( ?t ) AS ?q ) WHERE { ?t property:P1441 resource:Q3577037 . ?t 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 ( ?t ) AS ?q ) WHERE { ?t property:present_in_work resource:The_West_Wing . ?t rdf:type ontology:fictional_character }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q728744
P1412
Q34770
USER
Which language can David Garrison understand ?
(Q728744,P1412,c(Q34770))
action filter_type
action find
entity Q728744
relation P1412
type Q34770
['Q728744', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q728744 property:P1412 ?o . ?o rdf:type ontology:Q34770 }
David Garrison
action filter_type
action find
entity David Garrison
relation languages spoken, written or signed
type language
['David Garrison', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:David_Garrison property:languages_spoken,_written_or_signed ?o . ?o rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q728744,P1412,c(Q34770))
action filter_type
action find
entity Q728744
relation P1412
type Q34770
David Garrison can understand [ANSWER]
['Q728744', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q728744 property:P1412 ?o . ?o rdf:type ontology:Q34770 }
English
David Garrison can understand English
English
action filter_type
action find
entity David Garrison
relation languages spoken, written or signed
type language
['David Garrison', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:David_Garrison property:languages_spoken,_written_or_signed ?o . ?o rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q15888338
Q34770
USER
And how about Giovanna Palma?
(Q15888338,P1412,c(Q34770))
action filter_type
action find
entity Q15888338
relation P1412
type Q34770
['Q15888338', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q15888338 property:P1412 ?d . ?d rdf:type ontology:Q34770 }
Giovanna Palma
action filter_type
action find
entity Giovanna Palma
relation languages spoken, written or signed
type language
['Giovanna Palma', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:Giovanna_Palma property:languages_spoken,_written_or_signed ?d . ?d rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q15888338,P1412,c(Q34770))
action filter_type
action find
entity Q15888338
relation P1412
type Q34770
[ANSWER]
['Q15888338', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q15888338 property:P1412 ?d . ?d rdf:type ontology:Q34770 }
Italian
Italian
action filter_type
action find
entity Giovanna Palma
relation languages spoken, written or signed
type language
['Giovanna Palma', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:Giovanna_Palma property:languages_spoken,_written_or_signed ?d . ?d rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3027458 Q24054381
P27
Q15617994
USER
Which administrative territories do Mike Diacovo or Ranran Suzuki belong to ?
OR((Q24054381,P27,c(Q15617994)), (Q3027458,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q24054381
relation P27
action find
entity Q3027458
relation P27
type Q15617994
{'OR': [['Q24054381', 'P27', {'concept': 'Q15617994'}], ['Q3027458', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q24054381 property:P27 ?v } UNION { resource:Q3027458 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
Ranran Suzuki Mike Diacovo
action filter_type
action union
action find
entity Mike Diacovo
relation country of citizenship
action find
entity Ranran Suzuki
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Mike Diacovo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ranran Suzuki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Mike_Diacovo property:country_of_citizenship ?v } UNION { resource:Ranran_Suzuki property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q30
SYSTEM
Japan, United States of America
Q17 Q30
OR((Q24054381,P27,c(Q15617994)), (Q3027458,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q24054381
relation P27
action find
entity Q3027458
relation P27
type Q15617994
Mike Diacovo or Ranran Suzuki belong to the [ANSWERS]
{'OR': [['Q24054381', 'P27', {'concept': 'Q15617994'}], ['Q3027458', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q24054381 property:P27 ?v } UNION { resource:Q3027458 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
Japan United States of America
Mike Diacovo or Ranran Suzuki belong to the Japan and United States of America
Japan United States of America
action filter_type
action union
action find
entity Mike Diacovo
relation country of citizenship
action find
entity Ranran Suzuki
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Mike Diacovo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ranran Suzuki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Mike_Diacovo property:country_of_citizenship ?v } UNION { resource:Ranran_Suzuki property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6883392
P27
Q502895
USER
Are Mitsuye Yamada a citizen of those administrative territories ?
(Q6883392,P27,Q17) (Q6883392,P27,Q30)
action is_in
entity prev_answer
action find
entity Q6883392
relation P27
['Q6883392', 'P27', 'Q17'] ['Q6883392', 'P27', 'Q30']
ASK WHERE { resource:Q6883392 property:P27 ?b . VALUES ( ?b ) { ( resource:Q17 ) ( resource:Q30 ) } }
Mitsuye Yamada
action is_in
entity prev_answer
action find
entity Mitsuye Yamada
relation country of citizenship
['Mitsuye Yamada', 'country of citizenship', 'Japan'] ['Mitsuye Yamada', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Mitsuye_Yamada property:country_of_citizenship ?b . VALUES ( ?b ) { ( resource:Japan ) ( resource:United_States_of_America ) } }
[]
common name
SYSTEM
YES
(Q6883392,P27,Q17) (Q6883392,P27,Q30)
action is_in
entity prev_answer
action find
entity Q6883392
relation P27
[ANSWER]
['Q6883392', 'P27', 'Q17'] ['Q6883392', 'P27', 'Q30']
ASK WHERE { resource:Q6883392 property:P27 ?b . VALUES ( ?b ) { ( resource:Q17 ) ( resource:Q30 ) } }
Yes
action is_in
entity prev_answer
action find
entity Mitsuye Yamada
relation country of citizenship
['Mitsuye Yamada', 'country of citizenship', 'Japan'] ['Mitsuye Yamada', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Mitsuye_Yamada property:country_of_citizenship ?b . VALUES ( ?b ) { ( resource:Japan ) ( resource:United_States_of_America ) } }
[]