Simple Question (Direct)
Simple Question
Q5551064
P166
Q2003221
USER
Which chivalric order was received by Irene Vanbrugh ?
(Q5551064,P166,c(Q2003221))
action filter_type
action find
entity Q5551064
relation P166
type Q2003221
['Q5551064', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?a WHERE { resource:Q5551064 property:P166 ?a . ?a rdf:type ontology:Q2003221 }
Irene Vanbrugh
action filter_type
action find
entity Irene Vanbrugh
relation award received
type chivalric order
['Irene Vanbrugh', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?a WHERE { resource:Irene_Vanbrugh property:award_received ?a . ?a rdf:type ontology:chivalric_order }
[]
chivalric order
Q12201434
SYSTEM
Dame Commander of the Order of the British Empire
Q12201434
(Q5551064,P166,c(Q2003221))
action filter_type
action find
entity Q5551064
relation P166
type Q2003221
The [ANSWER] was received by Irene Vanbrugh
['Q5551064', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?a WHERE { resource:Q5551064 property:P166 ?a . ?a rdf:type ontology:Q2003221 }
Dame Commander of the Order of the British Empire
The Dame Commander of the Order of the British Empire was received by Irene Vanbrugh
Dame Commander of the Order of the British Empire
action filter_type
action find
entity Irene Vanbrugh
relation award received
type chivalric order
['Irene Vanbrugh', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?a WHERE { resource:Irene_Vanbrugh property:award_received ?a . ?a rdf:type ontology:chivalric_order }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5551064
P7
Q502895
USER
Who is the brother of that one ?
(Q12201434,P7,c(Q502895))
action filter_type
action find
entity Q5551064
relation P7
type Q502895
['Q12201434', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q5551064 property:P7 ?h }
Irene Vanbrugh
action filter_type
action find
entity Irene Vanbrugh
relation brother
type common name
['Dame Commander of the Order of the British Empire', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Irene_Vanbrugh property:brother ?h }
[]
common name
Q6389848
SYSTEM
Kenneth Barnes
Q6389848
(Q12201434,P7,c(Q502895))
action filter_type
action find
entity Q5551064
relation P7
type Q502895
The brother of that one is John [ANSWER]
['Q12201434', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q5551064 property:P7 ?h }
Kenneth Barnes
The brother of that one is John Kenneth Barnes
Kenneth Barnes
action filter_type
action find
entity Irene Vanbrugh
relation brother
type common name
['Dame Commander of the Order of the British Empire', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Irene_Vanbrugh property:brother ?h }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q5551064
P27
Q15617994 Q7275
USER
How many administrative territories or states are the native countriesof Irene Vanbrugh ?
(Q5551064,P27,c(Q15617994)) (Q5551064,P27,c(Q7275))
action count
action union
action filter_type
action find
entity Q5551064
relation P27
type Q15617994
action filter_type
action find
entity Q5551064
relation P27
type Q7275
['Q5551064', 'P27', {'concept': 'Q15617994'}] ['Q5551064', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { VALUES ( ?n ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } . ?m rdf:type ?n }
Irene Vanbrugh
action count
action union
action filter_type
action find
entity Irene Vanbrugh
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Irene Vanbrugh
relation country of citizenship
type state
['Irene Vanbrugh', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Irene Vanbrugh', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { VALUES ( ?n ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } . ?m rdf:type ?n }
[]
designation for an administrative territorial entity state
SYSTEM
2
Q174193 Q145
(Q5551064,P27,c(Q15617994)) (Q5551064,P27,c(Q7275))
action count
action union
action filter_type
action find
entity Q5551064
relation P27
type Q15617994
action filter_type
action find
entity Q5551064
relation P27
type Q7275
[ANSWER]
['Q5551064', 'P27', {'concept': 'Q15617994'}] ['Q5551064', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { VALUES ( ?n ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } . ?m rdf:type ?n }
United Kingdom of Great Britain and Ireland United Kingdom
2
action count
action union
action filter_type
action find
entity Irene Vanbrugh
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Irene Vanbrugh
relation country of citizenship
type state
['Irene Vanbrugh', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Irene Vanbrugh', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { VALUES ( ?n ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } . ?m rdf:type ?n }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q917543
P725
Q502895 Q15961987
USER
How many television genres had greater number of people as the dubbing artist than The Garfield Show ?
(c(Q15961987),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q917543
relation P725
type Q15961987
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?n ) WHERE { ?p rdf:type ontology:Q15961987 . ?t rdf:type ontology:Q502895 . ?p property:P725 ?t } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Q917543 property:P725 ?v . ?v rdf:type ontology:Q15961987 } } . FILTER ( ?n > ?k ) }
The Garfield Show
action count
action greater
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity The Garfield Show
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?n ) WHERE { ?p rdf:type ontology:television_genre . ?t rdf:type ontology:common_name . ?p property:voice_actor ?t } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:The_Garfield_Show property:voice_actor ?v . ?v rdf:type ontology:television_genre } } . FILTER ( ?n > ?k ) }
[]
common name television genre
SYSTEM
12
Q24034511 Q11296848 Q7615342 Q3235151 Q576501 Q22773153 Q18790 Q53093 Q753848 Q5415 Q886 Q2750339
(c(Q15961987),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q917543
relation P725
type Q15961987
[ANSWER]
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?n ) WHERE { ?p rdf:type ontology:Q15961987 . ?t rdf:type ontology:Q502895 . ?p property:P725 ?t } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Q917543 property:P725 ?v . ?v rdf:type ontology:Q15961987 } } . FILTER ( ?n > ?k ) }
Voltron: Legendary Defender Kiteretsu Daihyakka Steven Universe VeggieTales Garfield and Friends Milo Murphy's Law The Legend of Korra Adventure Time TaleSpin My Little Pony: Friendship Is Magic The Simpsons Hellsing Ultimate
12
action count
action greater
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity The Garfield Show
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?n ) WHERE { ?p rdf:type ontology:television_genre . ?t rdf:type ontology:common_name . ?p property:voice_actor ?t } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:The_Garfield_Show property:voice_actor ?v . ?v rdf:type ontology:television_genre } } . FILTER ( ?n > ?k ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5551064
P161
Q201658
USER
Which film genre has Irene Vanbrugh in its star cast ?
(c(Q201658),P161,Q5551064)
action filter_type
action find_reverse
entity Q5551064
relation P161
type Q201658
[{'concept': 'Q201658'}, 'P161', 'Q5551064']
SELECT DISTINCT ?i WHERE { ?i property:P161 resource:Q5551064 . ?i rdf:type ontology:Q201658 }
Irene Vanbrugh
action filter_type
action find_reverse
entity Irene Vanbrugh
relation cast member
type film genre
[{'concept': 'film genre'}, 'cast member', 'Irene Vanbrugh']
SELECT DISTINCT ?i WHERE { ?i property:cast_member resource:Irene_Vanbrugh . ?i rdf:type ontology:film_genre }
[]
film genre
Q6783449
SYSTEM
Masks and Faces
Q6783449
(c(Q201658),P161,Q5551064)
action filter_type
action find_reverse
entity Q5551064
relation P161
type Q201658
[ANSWER] has Irene Vanbrugh in its star cast
[{'concept': 'Q201658'}, 'P161', 'Q5551064']
SELECT DISTINCT ?i WHERE { ?i property:P161 resource:Q5551064 . ?i rdf:type ontology:Q201658 }
Masks and Faces
Masks and Faces has Irene Vanbrugh in its star cast
Masks and Faces
action filter_type
action find_reverse
entity Irene Vanbrugh
relation cast member
type film genre
[{'concept': 'film genre'}, 'cast member', 'Irene Vanbrugh']
SELECT DISTINCT ?i WHERE { ?i property:cast_member resource:Irene_Vanbrugh . ?i rdf:type ontology:film_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6783449
P57
Q502895
USER
Which person served as the directed of that film genre ?
(Q6783449,P57,c(Q502895))
action filter_type
action find
entity Q6783449
relation P57
type Q502895
['Q6783449', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q6783449 property:P57 ?y . ?y rdf:type ontology:Q502895 }
Masks and Faces
action filter_type
action find
entity Masks and Faces
relation director
type common name
['Masks and Faces', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Masks_and_Faces property:director ?y . ?y rdf:type ontology:common_name }
[]
common name
Q5496050
SYSTEM
Fred Paul
Q5496050
(Q6783449,P57,c(Q502895))
action filter_type
action find
entity Q6783449
relation P57
type Q502895
[ANSWER] served as the directed of that film genre
['Q6783449', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q6783449 property:P57 ?y . ?y rdf:type ontology:Q502895 }
Fred Paul
Fred Paul served as the directed of that film genre
Fred Paul
action filter_type
action find
entity Masks and Faces
relation director
type common name
['Masks and Faces', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Masks_and_Faces property:director ?y . ?y rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3577037 Q917543
P1441
Q95074
USER
Which fictional characters are from the works of The Garfield Show or The West Wing ?
OR((c(Q95074),P1441,Q917543), (c(Q95074),P1441,Q3577037))
action filter_type
action union
action find_reverse
entity Q917543
relation P1441
action find_reverse
entity Q3577037
relation P1441
type Q95074
{'OR': [[{'concept': 'Q95074'}, 'P1441', 'Q917543'], [{'concept': 'Q95074'}, 'P1441', 'Q3577037']]}
SELECT DISTINCT ?g WHERE { { { ?g property:P1441 resource:Q917543 } UNION { ?g property:P1441 resource:Q3577037 } } . ?g rdf:type ontology:Q95074 }
The West Wing The Garfield Show
action filter_type
action union
action find_reverse
entity The Garfield Show
relation present in work
action find_reverse
entity The West Wing
relation present in work
type fictional character
{'OR': [[{'concept': 'fictional character'}, 'present in work', 'The Garfield Show'], [{'concept': 'fictional character'}, 'present in work', 'The West Wing']]}
SELECT DISTINCT ?g WHERE { { { ?g property:present_in_work resource:The_Garfield_Show } UNION { ?g property:present_in_work resource:The_West_Wing } } . ?g rdf:type ontology:fictional_character }
[]
fictional character
Q24062083 Q24068632 Q23214200 Q24044444 Q24023460 Q23894023 Q23898969 Q24020884 Q23012330 Q24023874
SYSTEM
Some of them are Vic Faison, Miranda Santos, Simon Donovan, Bob Mayer, Shira Galit, Glenallen Walken, Doug Westin, Colin Ayres, Arthur Leeds, Saeb Mukarat
Q23214200 Q24044563 Q23038751 Q24039836 Q23038562 Q23024676 Q23046165 Q23000921 Q23826180 Q7167342 Q610519 Q24024851 Q24084368 Q24052834 Q24062967 Q6748296 Q23058141 Q23760935 Q23015114 Q23047371 Q4767744 Q23900493 Q23037303 Q9012447 Q24054552 Q23025185 Q24035460 Q23761797 Q23029164 Q23012330 Q24037769 Q23054665 Q23001864 Q24040324 Q23777628 Q17075849 Q24044109 Q23005189 Q23010238 Q23898951 Q8002690 Q24054431 Q23301703 Q23005293 Q23762190 Q24054813 Q23899095 Q23003614 Q23003776 Q23761301 Q23894023 Q23053752 Q23938898 Q14396915 Q23762112 Q23938893 Q23036869 Q23008119 Q23940153 Q4933846 Q24068632 Q24068630 Q23893764 Q23898966 Q3704358 Q23898969 Q4749202 Q23301677 Q23058181 Q23001650 Q22999546 Q23000140 Q23001659 Q24054376 Q23900741 Q23042970 Q24052982 Q23777896 Q23011599 Q23900341 Q24054381 Q23014030 Q24062083 Q23010252 Q23038541 Q5354221 Q23932637 Q24039746 Q23784735 Q24054363 Q2715593 Q23799249 Q24054367 Q23912069 Q23981988 Q23982155 Q23042967 Q3603297 Q4755325 Q23893787 Q23035757 Q23011464 Q23035753 Q24037752 Q23785282 Q23826623 Q23939646 Q6929804 Q23826628 Q23024229 Q23899066 Q23000758 Q23900602 Q23762427 Q24039948 Q23042922 Q4795290 Q24053179 Q23007298 Q22999522 Q23012300 Q23047422 Q23900472 Q23012307 Q767120 Q23305518 Q23799208 Q24021446 Q23000920 Q23005306 Q22999586 Q6524042 Q24039954 Q22999595 Q23890919 Q23014039 Q22999590 Q23014839 Q23024397 Q23833727 Q24020884 Q23047396 Q3946354 Q24009496 Q3666688 Q24036633 Q8073344 Q23777554 Q24036639 Q23008443 Q23932620 Q23005316 Q6744279 Q24023460 Q23005310 Q23005318 Q1080587 Q24044444 Q6214458 Q23011516 Q24069196 Q24023874 Q24053385 Q23035765 Q7349306 Q1345373 Q23899180 Q23301736 Q23000261 Q23908883 Q23000267 Q23785435 Q23005125 Q3036775 Q23047434 Q23005324 Q5656906 Q23000290 Q23001841 Q24020978 Q24090736 Q23011568 Q23030384
OR((c(Q95074),P1441,Q917543), (c(Q95074),P1441,Q3577037))
action filter_type
action union
action find_reverse
entity Q917543
relation P1441
action find_reverse
entity Q3577037
relation P1441
type Q95074
[ANSWERS] are from the works of The Garfield Show or The West Wing
{'OR': [[{'concept': 'Q95074'}, 'P1441', 'Q917543'], [{'concept': 'Q95074'}, 'P1441', 'Q3577037']]}
SELECT DISTINCT ?g WHERE { { { ?g property:P1441 resource:Q917543 } UNION { ?g property:P1441 resource:Q3577037 } } . ?g rdf:type ontology:Q95074 }
Simon Donovan Sean Oliver Babish Edwin Kelwick Zach Robbie Mosley Cliff Calley Jenny McGarry Miles Hutchinson Percy Fitzwallace Matt Santos Doran Mazar Mark B. Sellner Congresswoman Gleeson Steve Hodder Mandy Hampton Jordon Kendall Intern Stacy Mary Marsh Robert Royce Annabeth Schott Reporter George Michael Casper John Hoynes Charles Frost Mark O'Donnell Congressman Lackey Elsie Snuffin Henry Shallick Arthur Leeds Ling-Po Albie Duncan Ron Butterfield Trevor Reporter John Danny Concannon Sheila Brooks Donnie Gina Toscano Elizabeth Bartlet Westin Will Bailey Louise Thornton Officer Thomas Lord John Marbury June Wheeler Barry Goodwin Lewis Berryhill Roberto Mendoza Katie Witt Alexander Thompson Glenallen Walken Alan Adamle Matt Hunt Kate Harper Ted Willard Ben Dryer Millicent Griffith Joseph Bruno Lisa Wolfe Bob Russell Miranda Santos Peter Santos Secret Service Agent Wesley Steve Atwood Deborah Fiderer Doug Westin Amy Gardner SitRoom Civilian Advisor Darren Gibson Bob Engler Cathy Nancy Carol Fitzpatrick Ellis Taylor Nicholas Alexander Connie Tate Bram Howard Gail Mackee Sondra Jeff Haffley Mike Diacovo Ainsley Hayes Vic Faison Al Kiefer Howard Stackhouse Eleanor Bartlet Taylor Reid Curtis Carruthers Wendell Tripplehorn Edie Ortega Josiah Bartlet Jean Paul Otto Rina Jack Sosa George Arnold Douglas Wegland Abbey Bartlet Andrea Wyatt Jamie Reed Jack Sloan Jonathan Mickey Troop Eric Baker Manny Cassie Tatum Greg Brock Delores Landingham Jimmy Wendall Stanley Keyworth Ryan Pierce Chris Reporter Charlayne Reporter Jo Helen Santos Bruno Gianelli Arnold Vinick Ray Sullivan Roger Tribbey Laurie Nancy McNally Phil Theodore Barrow Ken Shannon Garfield Mitch Bryce Jules Ziegler Nizar Farad Mark Richardson Larry Claypool Al Caldwell Leo McGarry Marla Worisky Bonnie Joe Quincy Mark Gottfried Margaret Hooper Mark Chase Bernard Thatch Bartender Tammy Colin Ayres Bob Slatterly Sam Seaborn Mike Gordon Charlie Young Ned Carlson Zoey Bartlet Jack Reese Ronna Beckman Kenny Thurman Efraim 'Eli' Zahavy Jaworski Mallory O'Brien Shira Galit Chinese Ambassador George Rollie C. J. Cregg Bob Mayer Joey Lucas Max Lobell Jane Braun Saeb Mukarat Dylan Clark Mike Chysler Robert Ritchie Toby Ziegler Angela Blake SitRoom Civilian Advisor David Bobbi Roy Ashland Stevie Presidential Reporter Ginger Donna Moss Sally Larry Josh Lyman Ed Matt Skinner Colonel Leahy Curtis Shaeffer Steve Roger Salier
Vic Faison, Miranda Santos, Simon Donovan, Bob Mayer, Shira Galit, Glenallen Walken, Doug Westin, Colin Ayres, Arthur Leeds and Saeb Mukarat are from the works of The Garfield Show or The West Wing
Vic Faison Miranda Santos Simon Donovan Bob Mayer Shira Galit Glenallen Walken Doug Westin Colin Ayres Arthur Leeds Saeb Mukarat
action filter_type
action union
action find_reverse
entity The Garfield Show
relation present in work
action find_reverse
entity The West Wing
relation present in work
type fictional character
{'OR': [[{'concept': 'fictional character'}, 'present in work', 'The Garfield Show'], [{'concept': 'fictional character'}, 'present in work', 'The West Wing']]}
SELECT DISTINCT ?g WHERE { { { ?g property:present_in_work resource:The_Garfield_Show } UNION { ?g property:present_in_work resource:The_West_Wing } } . ?g rdf:type ontology:fictional_character }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q24062083 Q24068632 Q23214200 Q24044444 Q24023460 Q23894023 Q23898969 Q24020884 Q23012330 Q24023874
P1441
Q15416
USER
Where do those fictional characters appear ?
(Q24062083,P1441,c(Q15416)) (Q24068632,P1441,c(Q15416)) (Q23214200,P1441,c(Q15416)) (Q24044444,P1441,c(Q15416)) (Q24023460,P1441,c(Q15416)) (Q23894023,P1441,c(Q15416)) (Q23898969,P1441,c(Q15416)) (Q24020884,P1441,c(Q15416)) (Q23012330,P1441,c(Q15416)) (Q24023874,P1441,c(Q15416))
action filter_type
action find
entity prev_answer
relation P1441
type Q15416
['Q24062083', 'P1441', {'concept': 'Q15416'}] ['Q24068632', 'P1441', {'concept': 'Q15416'}] ['Q23214200', 'P1441', {'concept': 'Q15416'}] ['Q24044444', 'P1441', {'concept': 'Q15416'}] ['Q24023460', 'P1441', {'concept': 'Q15416'}] ['Q23894023', 'P1441', {'concept': 'Q15416'}] ['Q23898969', 'P1441', {'concept': 'Q15416'}] ['Q24020884', 'P1441', {'concept': 'Q15416'}] ['Q23012330', 'P1441', {'concept': 'Q15416'}] ['Q24023874', 'P1441', {'concept': 'Q15416'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?c ) { ( resource:Q23214200 ) ( resource:Q24044563 ) ( resource:Q23038751 ) } . ?c property:P1441 ?b . ?b rdf:type ontology:Q15416 }
Vic Faison Miranda Santos Simon Donovan Bob Mayer Shira Galit Glenallen Walken Doug Westin Colin Ayres Arthur Leeds Saeb Mukarat
action filter_type
action find
entity prev_answer
relation present in work
type television program
['Vic Faison', 'present in work', {'concept': 'television program'}] ['Miranda Santos', 'present in work', {'concept': 'television program'}] ['Simon Donovan', 'present in work', {'concept': 'television program'}] ['Bob Mayer', 'present in work', {'concept': 'television program'}] ['Shira Galit', 'present in work', {'concept': 'television program'}] ['Glenallen Walken', 'present in work', {'concept': 'television program'}] ['Doug Westin', 'present in work', {'concept': 'television program'}] ['Colin Ayres', 'present in work', {'concept': 'television program'}] ['Arthur Leeds', 'present in work', {'concept': 'television program'}] ['Saeb Mukarat', 'present in work', {'concept': 'television program'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?c ) { ( resource:Simon_Donovan ) ( resource:Sean ) ( resource:Oliver_Babish ) } . ?c property:present_in_work ?b . ?b rdf:type ontology:television_program }
[]
television program
Q3577037 Q3577037 Q3577037
SYSTEM
The West Wing
Q3577037 Q3577037 Q3577037 Q3577037 Q3577037 Q3577037 Q3577037 Q3577037 Q3577037 Q3577037
(Q24062083,P1441,c(Q15416)) (Q24068632,P1441,c(Q15416)) (Q23214200,P1441,c(Q15416)) (Q24044444,P1441,c(Q15416)) (Q24023460,P1441,c(Q15416)) (Q23894023,P1441,c(Q15416)) (Q23898969,P1441,c(Q15416)) (Q24020884,P1441,c(Q15416)) (Q23012330,P1441,c(Q15416)) (Q24023874,P1441,c(Q15416))
action filter_type
action find
entity prev_answer
relation P1441
type Q15416
Those fictional characters appear in [ANSWER], [ANSWER] and [ANSWER]
['Q24062083', 'P1441', {'concept': 'Q15416'}] ['Q24068632', 'P1441', {'concept': 'Q15416'}] ['Q23214200', 'P1441', {'concept': 'Q15416'}] ['Q24044444', 'P1441', {'concept': 'Q15416'}] ['Q24023460', 'P1441', {'concept': 'Q15416'}] ['Q23894023', 'P1441', {'concept': 'Q15416'}] ['Q23898969', 'P1441', {'concept': 'Q15416'}] ['Q24020884', 'P1441', {'concept': 'Q15416'}] ['Q23012330', 'P1441', {'concept': 'Q15416'}] ['Q24023874', 'P1441', {'concept': 'Q15416'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?c ) { ( resource:Q23214200 ) ( resource:Q24044563 ) ( resource:Q23038751 ) } . ?c property:P1441 ?b . ?b rdf:type ontology:Q15416 }
The West Wing The West Wing The West Wing The West Wing The West Wing The West Wing The West Wing The West Wing The West Wing The West Wing
Those fictional characters appear in The West Wing, The West Wing and The West Wing
The West Wing The West Wing The West Wing
action filter_type
action find
entity prev_answer
relation present in work
type television program
['Vic Faison', 'present in work', {'concept': 'television program'}] ['Miranda Santos', 'present in work', {'concept': 'television program'}] ['Simon Donovan', 'present in work', {'concept': 'television program'}] ['Bob Mayer', 'present in work', {'concept': 'television program'}] ['Shira Galit', 'present in work', {'concept': 'television program'}] ['Glenallen Walken', 'present in work', {'concept': 'television program'}] ['Doug Westin', 'present in work', {'concept': 'television program'}] ['Colin Ayres', 'present in work', {'concept': 'television program'}] ['Arthur Leeds', 'present in work', {'concept': 'television program'}] ['Saeb Mukarat', 'present in work', {'concept': 'television program'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?c ) { ( resource:Simon_Donovan ) ( resource:Sean ) ( resource:Oliver_Babish ) } . ?c property:present_in_work ?b . ?b rdf:type ontology:television_program }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23214200
P734
Q82799
USER
Which name is associated with Simon Donovan ?
(Q23214200,P734,c(Q82799))
action filter_type
action find
entity Q23214200
relation P734
type Q82799
['Q23214200', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q23214200 property:P734 ?w . ?w rdf:type ontology:Q82799 }
Simon Donovan
action filter_type
action find
entity Simon Donovan
relation family name
type name
['Simon Donovan', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Simon_Donovan property:family_name ?w . ?w rdf:type ontology:name }
[]
name
Q21446653
SYSTEM
Donovan
Q21446653
(Q23214200,P734,c(Q82799))
action filter_type
action find
entity Q23214200
relation P734
type Q82799
[ANSWER] is associated with Simon [ANSWER]
['Q23214200', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q23214200 property:P734 ?w . ?w rdf:type ontology:Q82799 }
Donovan
Donovan is associated with Simon Donovan
Donovan
action filter_type
action find
entity Simon Donovan
relation family name
type name
['Simon Donovan', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Simon_Donovan property:family_name ?w . ?w rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23214200
P175
Q502895
USER
What was staged by that fictional character ?
(Q21446653,P175,c(Q502895))
action filter_type
action find
entity Q23214200
relation P175
type Q502895
['Q21446653', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q23214200 property:P175 ?v . ?v rdf:type ontology:Q502895 }
Simon Donovan
action filter_type
action find
entity Simon Donovan
relation performer
type common name
['Donovan', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Simon_Donovan property:performer ?v . ?v rdf:type ontology:common_name }
[]
common name
Q296774
SYSTEM
Mark Harmon
Q296774
(Q21446653,P175,c(Q502895))
action filter_type
action find
entity Q23214200
relation P175
type Q502895
[ANSWER] was staged by that fictional character
['Q21446653', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q23214200 property:P175 ?v . ?v rdf:type ontology:Q502895 }
Mark Harmon
Mark Harmon was staged by that fictional character
Mark Harmon
action filter_type
action find
entity Simon Donovan
relation performer
type common name
['Donovan', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Simon_Donovan property:performer ?v . ?v rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6082533 Q23214200
P27
Q15617994
USER
Which administrative territories do Simon Donovan or Orhan Erçin belong to ?
OR((Q23214200,P27,c(Q15617994)), (Q6082533,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q23214200
relation P27
action find
entity Q6082533
relation P27
type Q15617994
{'OR': [['Q23214200', 'P27', {'concept': 'Q15617994'}], ['Q6082533', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?o ) { ( resource:Q23214200 ) ( resource:Q6082533 ) } . ?o property:P27 ?i } . ?i rdf:type ontology:Q15617994 }
Orhan Erçin Simon Donovan
action filter_type
action union
action find
entity Simon Donovan
relation country of citizenship
action find
entity Orhan Erçin
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Simon Donovan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Orhan Erçin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?o ) { ( resource:Simon_Donovan ) ( resource:Orhan_Erçin ) } . ?o property:country_of_citizenship ?i } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q43
SYSTEM
United States of America, Turkey
Q30 Q43
OR((Q23214200,P27,c(Q15617994)), (Q6082533,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q23214200
relation P27
action find
entity Q6082533
relation P27
type Q15617994
Simon Donovan or Orhan Erçin belong to the [ANSWERS]
{'OR': [['Q23214200', 'P27', {'concept': 'Q15617994'}], ['Q6082533', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?o ) { ( resource:Q23214200 ) ( resource:Q6082533 ) } . ?o property:P27 ?i } . ?i rdf:type ontology:Q15617994 }
United States of America Turkey
Simon Donovan or Orhan Erçin belong to the United States of America and Turkey
United States of America Turkey
action filter_type
action union
action find
entity Simon Donovan
relation country of citizenship
action find
entity Orhan Erçin
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Simon Donovan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Orhan Erçin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?o ) { ( resource:Simon_Donovan ) ( resource:Orhan_Erçin ) } . ?o property:country_of_citizenship ?i } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20011626
P102
Q7210356
USER
Which political organization is Ans de Jong-Crajé a member of ?
(Q20011626,P102,c(Q7210356))
action filter_type
action find
entity Q20011626
relation P102
type Q7210356
['Q20011626', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?a WHERE { resource:Q20011626 property:P102 ?a . ?a rdf:type ontology:Q7210356 }
Ans de Jong-Crajé
action filter_type
action find
entity Ans de Jong-Crajé
relation member of political party
type political organization
['Ans de Jong-Crajé', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?a WHERE { resource:Ans_de_Jong-Crajé property:member_of_political_party ?a . ?a rdf:type ontology:political_organization }
[]
political organization
Q239333
SYSTEM
People's Party for Freedom and Democracy
Q239333
(Q20011626,P102,c(Q7210356))
action filter_type
action find
entity Q20011626
relation P102
type Q7210356
The [ANSWER] is Ans de Jong-Crajé a member of
['Q20011626', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?a WHERE { resource:Q20011626 property:P102 ?a . ?a rdf:type ontology:Q7210356 }
People's Party for Freedom and Democracy
The People's Party for Freedom and Democracy is Ans de Jong-Crajé a member of
People's Party for Freedom and Democracy
action filter_type
action find
entity Ans de Jong-Crajé
relation member of political party
type political organization
['Ans de Jong-Crajé', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?a WHERE { resource:Ans_de_Jong-Crajé property:member_of_political_party ?a . ?a rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20011626
P21
Q290
USER
Which sex does that person possess ?
(Q239333,P21,c(Q290))
action filter_type
action find
entity Q20011626
relation P21
type Q290
['Q239333', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q20011626 property:P21 ?d . ?d rdf:type ontology:Q290 }
Ans de Jong-Crajé
action filter_type
action find
entity Ans de Jong-Crajé
relation gender
type sex
["People's Party for Freedom and Democracy", 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Ans_de_Jong-Crajé property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q239333,P21,c(Q290))
action filter_type
action find
entity Q20011626
relation P21
type Q290
That person possesses the [ANSWER]
['Q239333', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q20011626 property:P21 ?d . ?d rdf:type ontology:Q290 }
female
That person possesses the female
female
action filter_type
action find
entity Ans de Jong-Crajé
relation gender
type sex
["People's Party for Freedom and Democracy", 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Ans_de_Jong-Crajé property:gender ?d . ?d rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2347144 Q5496050
P57
Q201658
USER
Which film genres are Fred Paul or Steve Martino a director of ?
OR((c(Q201658),P57,Q5496050), (c(Q201658),P57,Q2347144))
action filter_type
action union
action find_reverse
entity Q5496050
relation P57
action find_reverse
entity Q2347144
relation P57
type Q201658
{'OR': [[{'concept': 'Q201658'}, 'P57', 'Q5496050'], [{'concept': 'Q201658'}, 'P57', 'Q2347144']]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?r ) { ( resource:Q5496050 ) ( resource:Q2347144 ) } . ?g property:P57 ?r } . ?g rdf:type ontology:Q201658 }
Steve Martino Fred Paul
action filter_type
action union
action find_reverse
entity Fred Paul
relation director
action find_reverse
entity Steve Martino
relation director
type film genre
{'OR': [[{'concept': 'film genre'}, 'director', 'Fred Paul'], [{'concept': 'film genre'}, 'director', 'Steve Martino']]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?r ) { ( resource:Fred_Paul ) ( resource:Steve_Martino ) } . ?g property:director ?r } . ?g rdf:type ontology:film_genre }
[]
film genre
Q5990310 Q3989858 Q21003255 Q5304455 Q5732259 Q4976279 Q4105875 Q5050604 Q8985286 Q6783449
SYSTEM
Some of them are If Four Walls Told, The Vicar of Wakefield, Scrat's Continental Crack-Up: Part 2, Dr. Wake's Patient, Her Greatest Performance, Brown Sugar, Lady Windermere's Fan, Castles in the Air, Scrat's Continental Crack-Up: Part 2, Masks and Faces
Q3989858 Q21003255 Q5732259 Q4976279 Q6783449 Q8985286 Q6470575 Q5990310 Q5050604 Q4105875 Q5304455
OR((c(Q201658),P57,Q5496050), (c(Q201658),P57,Q2347144))
action filter_type
action union
action find_reverse
entity Q5496050
relation P57
action find_reverse
entity Q2347144
relation P57
type Q201658
[ANSWERS] are Fred Paul or Steve Martino a director of
{'OR': [[{'concept': 'Q201658'}, 'P57', 'Q5496050'], [{'concept': 'Q201658'}, 'P57', 'Q2347144']]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?r ) { ( resource:Q5496050 ) ( resource:Q2347144 ) } . ?g property:P57 ?r } . ?g rdf:type ontology:Q201658 }
The Vicar of Wakefield Scrat's Continental Crack-Up: Part 2 Her Greatest Performance Brown Sugar Masks and Faces Scrat's Continental Crack-Up: Part 2 Lady Tetley's Decree If Four Walls Told Castles in the Air Lady Windermere's Fan Dr. Wake's Patient
If Four Walls Told, The Vicar of Wakefield, Scrat's Continental Crack-Up: Part 2, Dr. Wake's Patient, Her Greatest Performance, Brown Sugar, Lady Windermere's Fan, Castles in the Air, Scrat's Continental Crack-Up: Part 2 and Masks and Faces are Fred Paul or Steve Martino a director of
If Four Walls Told The Vicar of Wakefield Scrat's Continental Crack-Up: Part 2 Dr. Wake's Patient Her Greatest Performance Brown Sugar Lady Windermere's Fan Castles in the Air Scrat's Continental Crack-Up: Part 2 Masks and Faces
action filter_type
action union
action find_reverse
entity Fred Paul
relation director
action find_reverse
entity Steve Martino
relation director
type film genre
{'OR': [[{'concept': 'film genre'}, 'director', 'Fred Paul'], [{'concept': 'film genre'}, 'director', 'Steve Martino']]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?r ) { ( resource:Fred_Paul ) ( resource:Steve_Martino ) } . ?g property:director ?r } . ?g rdf:type ontology:film_genre }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q43 Q12560
P27
Q502895
USER
How many people are a native of Turkey and Ottoman Empire ?
(c(Q502895),P27,Q43) (c(Q502895),P27,Q12560)
action count
action intersection
action filter_type
action find_reverse
entity Q43
relation P27
type Q502895
action filter_type
action find_reverse
entity Q12560
relation P27
type Q502895
[{'concept': 'Q502895'}, 'P27', 'Q43'] [{'concept': 'Q502895'}, 'P27', 'Q12560']
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:P27 resource:Q43 . ?f rdf:type ontology:Q502895 . ?f property:P27 resource:Q12560 . ?f rdf:type ontology:Q502895 }
Turkey Ottoman Empire
action count
action intersection
action filter_type
action find_reverse
entity Turkey
relation country of citizenship
type common name
action filter_type
action find_reverse
entity Ottoman Empire
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Turkey'] [{'concept': 'common name'}, 'country of citizenship', 'Ottoman Empire']
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:country_of_citizenship resource:Turkey . ?f rdf:type ontology:common_name . ?f property:country_of_citizenship resource:Ottoman_Empire . ?f rdf:type ontology:common_name }
[]
common name
SYSTEM
26
Q6087751 Q27883 Q924251 Q1136761 Q6033278 Q198770 Q12810777 Q951155 Q6016835 Q983601 Q401411 Q4531649 Q984219 Q170707 Q382163 Q367697 Q1052624 Q4825800 Q2081598 Q2900391 Q269182 Q728188 Q924558 Q2606870 Q805549 Q153899
(c(Q502895),P27,Q43) (c(Q502895),P27,Q12560)
action count
action intersection
action filter_type
action find_reverse
entity Q43
relation P27
type Q502895
action filter_type
action find_reverse
entity Q12560
relation P27
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P27', 'Q43'] [{'concept': 'Q502895'}, 'P27', 'Q12560']
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:P27 resource:Q43 . ?f rdf:type ontology:Q502895 . ?f property:P27 resource:Q12560 . ?f rdf:type ontology:Q502895 }
Kâmil Miras Zeki Pasha Suleiman Pasha Fatma Aliye Topuz Aka Gündüz Said Nursî Mediha Sultan Mahmud Kâmil Pasha Bahire Bediş Morova Aydilek Ali Fuat Cebesoy Ahmed Muhtar Pasha Ahmet Emin Yalman Halil Rifat Pasha Abdul Hamid I Afet İnan Halil Kut Cevat Çobanlı Cemil Topuzlu Mehmet Esat Bülkat Fakhri Pasha Kâzım Karabekir Hasan Izzet Pasha Wehib Pasha Şehzade Beyazıt Baltacı Mehmet Pasha Enver Pasha
26
action count
action intersection
action filter_type
action find_reverse
entity Turkey
relation country of citizenship
type common name
action filter_type
action find_reverse
entity Ottoman Empire
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Turkey'] [{'concept': 'common name'}, 'country of citizenship', 'Ottoman Empire']
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:country_of_citizenship resource:Turkey . ?f rdf:type ontology:common_name . ?f property:country_of_citizenship resource:Ottoman_Empire . ?f rdf:type ontology:common_name }
[]