Simple Question (Direct)
Simple Question
Q5342700
P7
Q502895
USER
Who is the brother of Edward E. Leamer ?
(Q5342700,P7,c(Q502895))
action filter_type
action find
entity Q5342700
relation P7
type Q502895
['Q5342700', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q5342700 property:P7 ?w . ?w rdf:type ontology:Q502895 }
Edward E. Leamer
action filter_type
action find
entity Edward E. Leamer
relation brother
type common name
['Edward E. Leamer', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Edward_E._Leamer property:brother ?w . ?w rdf:type ontology:common_name }
[]
common name
Q6500693
SYSTEM
Laurence Leamer
Q6500693
(Q5342700,P7,c(Q502895))
action filter_type
action find
entity Q5342700
relation P7
type Q502895
The brother of Edward E. Leamer is named [ANSWER]
['Q5342700', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q5342700 property:P7 ?w . ?w rdf:type ontology:Q502895 }
Laurence Leamer
The brother of Edward E. Leamer is named Laurence Leamer
Laurence Leamer
action filter_type
action find
entity Edward E. Leamer
relation brother
type common name
['Edward E. Leamer', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Edward_E._Leamer property:brother ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6500693
P166
Q618779
USER
Which award was that person awarded with ?
(Q6500693,P166,c(Q618779))
action filter_type
action find
entity Q6500693
relation P166
type Q618779
['Q6500693', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q618779 . resource:Q6500693 property:P166 ?o }
Laurence Leamer
action filter_type
action find
entity Laurence Leamer
relation award received
type award
['Laurence Leamer', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:award . resource:Laurence_Leamer property:award_received ?o }
[]
award
Q46525
SYSTEM
Pulitzer Prize
Q46525
(Q6500693,P166,c(Q618779))
action filter_type
action find
entity Q6500693
relation P166
type Q618779
That person was awarded a [ANSWER]
['Q6500693', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q618779 . resource:Q6500693 property:P166 ?o }
Pulitzer Prize
That person was awarded a Pulitzer Prize
Pulitzer Prize
action filter_type
action find
entity Laurence Leamer
relation award received
type award
['Laurence Leamer', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:award . resource:Laurence_Leamer property:award_received ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6500693
P50
Q2342494
USER
Which collectable is written by that person ?
(c(Q2342494),P50,Q46525)
action filter_type
action find_reverse
entity Q6500693
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q46525']
SELECT DISTINCT ?y WHERE { ?y property:P50 resource:Q6500693 . ?y rdf:type ontology:Q2342494 }
Laurence Leamer
action filter_type
action find_reverse
entity Laurence Leamer
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Pulitzer Prize']
SELECT DISTINCT ?y WHERE { ?y property:author resource:Laurence_Leamer . ?y rdf:type ontology:collectable }
[]
collectable
Q17151612
SYSTEM
Madness Under the Royal Palms
Q17151612
(c(Q2342494),P50,Q46525)
action filter_type
action find_reverse
entity Q6500693
relation P50
type Q2342494
[ANSWER] is written by that person
[{'concept': 'Q2342494'}, 'P50', 'Q46525']
SELECT DISTINCT ?y WHERE { ?y property:P50 resource:Q6500693 . ?y rdf:type ontology:Q2342494 }
Madness Under the Royal Palms
Madness Under the Royal Palms is written by that person
Madness Under the Royal Palms
action filter_type
action find_reverse
entity Laurence Leamer
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Pulitzer Prize']
SELECT DISTINCT ?y WHERE { ?y property:author resource:Laurence_Leamer . ?y rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17151612
P123
Q43229
USER
Who released that collectable ?
(Q17151612,P123,c(Q43229))
action filter_type
action find
entity Q17151612
relation P123
type Q43229
['Q17151612', 'P123', {'concept': 'Q43229'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q43229 . resource:Q17151612 property:P123 ?f }
Madness Under the Royal Palms
action filter_type
action find
entity Madness Under the Royal Palms
relation publisher
type organization
['Madness Under the Royal Palms', 'publisher', {'concept': 'organization'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:organization . resource:Madness_Under_the_Royal_Palms property:publisher ?f }
[]
organization
Q7888605
SYSTEM
Disney Publishing Worldwide
Q7888605
(Q17151612,P123,c(Q43229))
action filter_type
action find
entity Q17151612
relation P123
type Q43229
[ANSWER] released that collectable
['Q17151612', 'P123', {'concept': 'Q43229'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q43229 . resource:Q17151612 property:P123 ?f }
Disney Publishing Worldwide
Disney Publishing Worldwide released that collectable
Disney Publishing Worldwide
action filter_type
action find
entity Madness Under the Royal Palms
relation publisher
type organization
['Madness Under the Royal Palms', 'publisher', {'concept': 'organization'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:organization . resource:Madness_Under_the_Royal_Palms property:publisher ?f }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3222334
P1441
Q2342494 Q95074 Q15619164
USER
Which collectables are more number of fictional characters or abstract beings shown in than The Night Manager ?
(c(Q95074)|c(Q15619164),P1441,c(Q2342494))
action greater
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q95074
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q15619164
action count
action filter_multi_types
action find_reverse
entity Q3222334
relation P1441
type Q95074
type Q15619164
[[{'concept': 'Q95074'}, {'concept': 'Q15619164'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:P1441 resource:Q3222334 . { { ?a rdf:type ontology:Q95074 } UNION { ?a rdf:type ontology:Q15619164 } } } } . FILTER ( ?s > ?t ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) ?u WHERE { { ?c property:P1441 ?u . ?u rdf:type ontology:Q2342494 . ?c rdf:type ontology:Q95074 } UNION { ?c property:P1441 ?u . ?u rdf:type ontology:Q2342494 . ?c rdf:type ontology:Q15619164 } } GROUP BY ?u } }
The Night Manager
action greater
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional character
action find_reverse_tuple_counts
relation present in work
type collectable
type abstract being
action count
action filter_multi_types
action find_reverse
entity The Night Manager
relation present in work
type fictional character
type abstract being
[[{'concept': 'fictional character'}, {'concept': 'abstract being'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:present_in_work resource:The_Night_Manager . { { ?a rdf:type ontology:fictional_character } UNION { ?a rdf:type ontology:abstract_being } } } } . FILTER ( ?s > ?t ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) ?u WHERE { { ?c property:present_in_work ?u . ?u rdf:type ontology:collectable . ?c rdf:type ontology:fictional_character } UNION { ?c property:present_in_work ?u . ?u rdf:type ontology:collectable . ?c rdf:type ontology:abstract_being } } GROUP BY ?u } }
[]
collectable fictional character abstract being
Q140527 Q289130 Q92640
SYSTEM
The Three Musketeers, The Last Battle, Alice's Adventures in Wonderland
Q220331 Q70806 Q718289 Q4154269 Q289130 Q248899 Q8258 Q384635 Q189811 Q835341 Q3202526 Q218950 Q674832 Q477831 Q150827 Q887867 Q742753 Q437365 Q896604 Q466504 Q326914 Q978387 Q25958115 Q92640 Q331669 Q185449 Q7570608 Q157360 Q5642692 Q8563 Q161531 Q331656 Q733448 Q897685 Q74287 Q149552 Q1167993 Q3235292 Q164974 Q466605 Q7767037 Q339761 Q7732780 Q4348667 Q188538 Q2842837 Q2293012 Q9144808 Q480 Q1996380 Q19049533 Q308982 Q16246872 Q178869 Q2165190 Q17118796 Q485093 Q7719319 Q596874 Q70827 Q1079681 Q1250822 Q8279 Q70784 Q437338 Q130924 Q1638148 Q860091 Q437349 Q1751752 Q7930820 Q5431317 Q717326 Q174596 Q140527 Q932592 Q753251 Q2261855 Q212718 Q421615 Q929184 Q208460 Q137869 Q471926 Q837283 Q17116406 Q1396889 Q6579159 Q180736 Q1050014 Q202009 Q291087 Q605249 Q16438 Q181488 Q1187056 Q17116366 Q1964483 Q60672 Q437353 Q41542
(c(Q95074)|c(Q15619164),P1441,c(Q2342494))
action greater
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q95074
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q15619164
action count
action filter_multi_types
action find_reverse
entity Q3222334
relation P1441
type Q95074
type Q15619164
[ANSWERS] are more number of fictional characters or abstract beings shown in than The Night Manager
[[{'concept': 'Q95074'}, {'concept': 'Q15619164'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:P1441 resource:Q3222334 . { { ?a rdf:type ontology:Q95074 } UNION { ?a rdf:type ontology:Q15619164 } } } } . FILTER ( ?s > ?t ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) ?u WHERE { { ?c property:P1441 ?u . ?u rdf:type ontology:Q2342494 . ?c rdf:type ontology:Q95074 } UNION { ?c property:P1441 ?u . ?u rdf:type ontology:Q2342494 . ?c rdf:type ontology:Q15619164 } } GROUP BY ?u } }
Through the Looking-Glass Romance of the Three Kingdoms Brisingr The Farther Adventures of Robinson Crusoe The Last Battle Hunters of Dune One Thousand and One Nights The Diary of a Chambermaid David Copperfield 2001: A Space Odyssey Atlantida Prince Caspian Carmen The Magician's Nephew Frankenstein The Life of Hunger Bambi, A Life in the Woods Children of Dune Warcraft: Day of the Dragon American Psycho The Adventures of Tom Sawyer The Character of Rain Ali Baba and the Forty Thieves Alice's Adventures in Wonderland The Silver Chair Eragon Southern Victory Series The Horse and His Boy Hall of Heroes The Hundred and One Dalmatians War and Peace The Voyage of the Dawn Treader The Purloined Letter The Silence of the Lambs The Hobbit The Stand The Mystery of Marie Rogêt Bambi's Children Oliver Twist Charlie and the Chocolate Factory The String of Pearls Bel Ami The Executioners The Railway Series The Master and Margarita Péplum Paul et Virginie Red Dragon Don Quixote Tokyo Fiancée Vulthoom Eldest The Grand History of the Realms One Hundred Years of Solitude The Book of Proper Names Waterdeep The Lion, the Witch, and the Wardrobe The Book of Urizen Misery Water Margin The Hunting of the Snark Taras Bulba Shahnameh Journey to the West Dune: House Atreides Kalevala Fear and Trembling World of Warcraft: Arthas: Rise of the Lich King Sandworms of Dune 2010: Odyssey Two Villains' Lorebook Faiths and Pantheons The Other Wind Moby-Dick The Three Musketeers Foundation's Edge Atala Tehanu 2061: Odyssey Three Les Aventures de Télémaque Hannibal Nineteen Eighty-Four Germinal The Eyes of the Dragon Fight Club Tantras Animal Farm The Grimoire of Marisa Les Misérables Foundation and Earth Fahrenheit 451 Hannibal Rising Do Androids Dream of Electric Sheep? The Decameron Gulliver's Travels The Tailor of Panama Shadowdale Loving Sabotage Inheritance Heretics of Dune Dracula
The Three Musketeers, The Last Battle and Alice's Adventures in Wonderland are more number of fictional characters or abstract beings shown in than The Night Manager
The Three Musketeers The Last Battle Alice's Adventures in Wonderland
action greater
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional character
action find_reverse_tuple_counts
relation present in work
type collectable
type abstract being
action count
action filter_multi_types
action find_reverse
entity The Night Manager
relation present in work
type fictional character
type abstract being
[[{'concept': 'fictional character'}, {'concept': 'abstract being'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:present_in_work resource:The_Night_Manager . { { ?a rdf:type ontology:fictional_character } UNION { ?a rdf:type ontology:abstract_being } } } } . FILTER ( ?s > ?t ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) ?u WHERE { { ?c property:present_in_work ?u . ?u rdf:type ontology:collectable . ?c rdf:type ontology:fictional_character } UNION { ?c property:present_in_work ?u . ?u rdf:type ontology:collectable . ?c rdf:type ontology:abstract_being } } GROUP BY ?u } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q655296
P1441
Q2342494 Q95074 Q15619164
USER
And how about Tarzan of the Apes?
(c(Q95074)|c(Q15619164),P1441,c(Q2342494))
action greater
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q95074
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q15619164
action count
action filter_multi_types
action find_reverse
entity Q655296
relation P1441
type Q95074
type Q15619164
[[{'concept': 'Q95074'}, {'concept': 'Q15619164'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?f ) WHERE { VALUES ( ?k ) { ( ontology:Q95074 ) ( ontology:Q15619164 ) } . ?n rdf:type ?k } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { ?b property:P1441 resource:Q655296 . { VALUES ( ?h ) { ( ontology:Q15619164 ) ( ontology:Q95074 ) } . ?b rdf:type ?h } } } . FILTER ( ?f > ?m ) }
Tarzan of the Apes
action greater
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional character
action find_reverse_tuple_counts
relation present in work
type collectable
type abstract being
action count
action filter_multi_types
action find_reverse
entity Tarzan of the Apes
relation present in work
type fictional character
type abstract being
[[{'concept': 'fictional character'}, {'concept': 'abstract being'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?f ) WHERE { VALUES ( ?k ) { ( ontology:fictional_character ) ( ontology:abstract_being ) } . ?n rdf:type ?k } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { ?b property:present_in_work resource:Tarzan_of_the_Apes . { VALUES ( ?h ) { ( ontology:abstract_being ) ( ontology:fictional_character ) } . ?b rdf:type ?h } } } . FILTER ( ?f > ?m ) }
[]
collectable fictional character abstract being
Q140527 Q289130 Q92640
SYSTEM
The Three Musketeers, The Last Battle, Alice's Adventures in Wonderland
Q220331 Q70806 Q718289 Q4154269 Q289130 Q248899 Q8258 Q384635 Q189811 Q835341 Q3202526 Q218950 Q674832 Q477831 Q150827 Q887867 Q742753 Q437365 Q896604 Q466504 Q326914 Q978387 Q25958115 Q92640 Q331669 Q185449 Q7570608 Q157360 Q5642692 Q8563 Q161531 Q331656 Q733448 Q897685 Q74287 Q149552 Q1167993 Q3235292 Q164974 Q466605 Q7767037 Q339761 Q7732780 Q4348667 Q188538 Q2842837 Q2293012 Q9144808 Q480 Q1996380 Q19049533 Q308982 Q16246872 Q178869 Q2165190 Q17118796 Q485093 Q7719319 Q596874 Q70827 Q1079681 Q1250822 Q8279 Q70784 Q437338 Q130924 Q1638148 Q860091 Q437349 Q1751752 Q7930820 Q5431317 Q717326 Q174596 Q140527 Q932592 Q753251 Q2261855 Q212718 Q421615 Q929184 Q208460 Q137869 Q471926 Q837283 Q17116406 Q1396889 Q6579159 Q180736 Q1050014 Q202009 Q291087 Q605249 Q16438 Q181488 Q1187056 Q17116366 Q1964483 Q60672 Q437353 Q41542
(c(Q95074)|c(Q15619164),P1441,c(Q2342494))
action greater
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q95074
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q15619164
action count
action filter_multi_types
action find_reverse
entity Q655296
relation P1441
type Q95074
type Q15619164
[ANSWERS]
[[{'concept': 'Q95074'}, {'concept': 'Q15619164'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?f ) WHERE { VALUES ( ?k ) { ( ontology:Q95074 ) ( ontology:Q15619164 ) } . ?n rdf:type ?k } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { ?b property:P1441 resource:Q655296 . { VALUES ( ?h ) { ( ontology:Q15619164 ) ( ontology:Q95074 ) } . ?b rdf:type ?h } } } . FILTER ( ?f > ?m ) }
Through the Looking-Glass Romance of the Three Kingdoms Brisingr The Farther Adventures of Robinson Crusoe The Last Battle Hunters of Dune One Thousand and One Nights The Diary of a Chambermaid David Copperfield 2001: A Space Odyssey Atlantida Prince Caspian Carmen The Magician's Nephew Frankenstein The Life of Hunger Bambi, A Life in the Woods Children of Dune Warcraft: Day of the Dragon American Psycho The Adventures of Tom Sawyer The Character of Rain Ali Baba and the Forty Thieves Alice's Adventures in Wonderland The Silver Chair Eragon Southern Victory Series The Horse and His Boy Hall of Heroes The Hundred and One Dalmatians War and Peace The Voyage of the Dawn Treader The Purloined Letter The Silence of the Lambs The Hobbit The Stand The Mystery of Marie Rogêt Bambi's Children Oliver Twist Charlie and the Chocolate Factory The String of Pearls Bel Ami The Executioners The Railway Series The Master and Margarita Péplum Paul et Virginie Red Dragon Don Quixote Tokyo Fiancée Vulthoom Eldest The Grand History of the Realms One Hundred Years of Solitude The Book of Proper Names Waterdeep The Lion, the Witch, and the Wardrobe The Book of Urizen Misery Water Margin The Hunting of the Snark Taras Bulba Shahnameh Journey to the West Dune: House Atreides Kalevala Fear and Trembling World of Warcraft: Arthas: Rise of the Lich King Sandworms of Dune 2010: Odyssey Two Villains' Lorebook Faiths and Pantheons The Other Wind Moby-Dick The Three Musketeers Foundation's Edge Atala Tehanu 2061: Odyssey Three Les Aventures de Télémaque Hannibal Nineteen Eighty-Four Germinal The Eyes of the Dragon Fight Club Tantras Animal Farm The Grimoire of Marisa Les Misérables Foundation and Earth Fahrenheit 451 Hannibal Rising Do Androids Dream of Electric Sheep? The Decameron Gulliver's Travels The Tailor of Panama Shadowdale Loving Sabotage Inheritance Heretics of Dune Dracula
The Three Musketeers The Last Battle Alice's Adventures in Wonderland
action greater
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional character
action find_reverse_tuple_counts
relation present in work
type collectable
type abstract being
action count
action filter_multi_types
action find_reverse
entity Tarzan of the Apes
relation present in work
type fictional character
type abstract being
[[{'concept': 'fictional character'}, {'concept': 'abstract being'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?f ) WHERE { VALUES ( ?k ) { ( ontology:fictional_character ) ( ontology:abstract_being ) } . ?n rdf:type ?k } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { ?b property:present_in_work resource:Tarzan_of_the_Apes . { VALUES ( ?h ) { ( ontology:abstract_being ) ( ontology:fictional_character ) } . ?b rdf:type ?h } } } . FILTER ( ?f > ?m ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q140527 Q289130 Q92640
P1441
Q6619679
USER
Which fictional humanoids are featured in The Three Musketeers, The Last Battle and Alice's Adventures in Wonderland ?
(c(Q6619679),P1441,Q140527) (c(Q6619679),P1441,Q289130) (c(Q6619679),P1441,Q92640)
action union
action filter_type
action find_reverse
entity Q140527
relation P1441
type Q6619679
action filter_type
action find_reverse
entity Q289130
relation P1441
type Q6619679
action filter_type
action find_reverse
entity Q92640
relation P1441
type Q6619679
[{'concept': 'Q6619679'}, 'P1441', 'Q140527'] [{'concept': 'Q6619679'}, 'P1441', 'Q289130'] [{'concept': 'Q6619679'}, 'P1441', 'Q92640']
SELECT DISTINCT ?v WHERE { { ?v rdf:type ontology:Q6619679 . ?v property:P1441 resource:Q140527 } UNION { ?v property:P1441 resource:Q289130 . ?v rdf:type ontology:Q6619679 } }
The Three Musketeers The Last Battle Alice's Adventures in Wonderland
action union
action filter_type
action find_reverse
entity The Three Musketeers
relation present in work
type fictional humanoid
action filter_type
action find_reverse
entity The Last Battle
relation present in work
type fictional humanoid
action filter_type
action find_reverse
entity Alice's Adventures in Wonderland
relation present in work
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'present in work', 'The Three Musketeers'] [{'concept': 'fictional humanoid'}, 'present in work', 'The Last Battle'] [{'concept': 'fictional humanoid'}, 'present in work', "Alice's Adventures in Wonderland"]
SELECT DISTINCT ?v WHERE { { ?v rdf:type ontology:fictional_humanoid . ?v property:present_in_work resource:The_Three_Musketeers } UNION { ?v property:present_in_work resource:The_Last_Battle . ?v rdf:type ontology:fictional_humanoid } }
[]
fictional humanoid
Q1640313 Q1627590 Q582234
SYSTEM
Lucy Pevensie, Peter Pevensie, Edmund Pevensie
Q21073033 Q2111000 Q2206150 Q2530488 Q1627590 Q3313177 Q1640313 Q582234 Q2232602 Q2446175 Q2435983 Q14907064 Q2714871 Q26902956 Q864751 Q430315 Q4083088 Q10357223
(c(Q6619679),P1441,Q140527) (c(Q6619679),P1441,Q289130) (c(Q6619679),P1441,Q92640)
action union
action filter_type
action find_reverse
entity Q140527
relation P1441
type Q6619679
action filter_type
action find_reverse
entity Q289130
relation P1441
type Q6619679
action filter_type
action find_reverse
entity Q92640
relation P1441
type Q6619679
[ANSWERS] are featured in The Three Musketeers, The Last Battle and Alice's Adventures in Wonderland
[{'concept': 'Q6619679'}, 'P1441', 'Q140527'] [{'concept': 'Q6619679'}, 'P1441', 'Q289130'] [{'concept': 'Q6619679'}, 'P1441', 'Q92640']
SELECT DISTINCT ?v WHERE { { ?v rdf:type ontology:Q6619679 . ?v property:P1441 resource:Q140527 } UNION { ?v property:P1441 resource:Q289130 . ?v rdf:type ontology:Q6619679 } }
Comte de Wardes Eustace Scrubb Polly Plummer Tisroc Peter Pevensie Emeth Lucy Pevensie Edmund Pevensie Jill Pole Tirian Poggin Rishda Tash Father William The Hatter Duchess White King White Queen
Lucy Pevensie, Peter Pevensie and Edmund Pevensie are featured in The Three Musketeers, The Last Battle and Alice's Adventures in Wonderland
Lucy Pevensie Peter Pevensie Edmund Pevensie
action union
action filter_type
action find_reverse
entity The Three Musketeers
relation present in work
type fictional humanoid
action filter_type
action find_reverse
entity The Last Battle
relation present in work
type fictional humanoid
action filter_type
action find_reverse
entity Alice's Adventures in Wonderland
relation present in work
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'present in work', 'The Three Musketeers'] [{'concept': 'fictional humanoid'}, 'present in work', 'The Last Battle'] [{'concept': 'fictional humanoid'}, 'present in work', "Alice's Adventures in Wonderland"]
SELECT DISTINCT ?v WHERE { { ?v rdf:type ontology:fictional_humanoid . ?v property:present_in_work resource:The_Three_Musketeers } UNION { ?v property:present_in_work resource:The_Last_Battle . ?v rdf:type ontology:fictional_humanoid } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q92640
P941
Q838948
USER
What was inspired by Alice's Adventures in Wonderland ?
(c(Q838948),P941,Q92640)
action filter_type
action find_reverse
entity Q92640
relation P941
type Q838948
[{'concept': 'Q838948'}, 'P941', 'Q92640']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q838948 . ?c property:P941 resource:Q92640 }
Alice's Adventures in Wonderland
action filter_type
action find_reverse
entity Alice's Adventures in Wonderland
relation inspired by
type work of art
[{'concept': 'work of art'}, 'inspired by', "Alice's Adventures in Wonderland"]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:work_of_art . ?c property:inspired_by resource:Alice's_Adventures_in_Wonderland }
[]
work of art
Q83495
SYSTEM
The Matrix
Q83495
(c(Q838948),P941,Q92640)
action filter_type
action find_reverse
entity Q92640
relation P941
type Q838948
The [ANSWER] was inspired by Alice's Adventures in Wonderland
[{'concept': 'Q838948'}, 'P941', 'Q92640']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q838948 . ?c property:P941 resource:Q92640 }
The Matrix
The The Matrix was inspired by Alice's Adventures in Wonderland
The Matrix
action filter_type
action find_reverse
entity Alice's Adventures in Wonderland
relation inspired by
type work of art
[{'concept': 'work of art'}, 'inspired by', "Alice's Adventures in Wonderland"]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:work_of_art . ?c property:inspired_by resource:Alice's_Adventures_in_Wonderland }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q92640
P110
Q502895
USER
Which person illustrated that collectable ?
(Q83495,P110,c(Q502895))
action filter_type
action find
entity Q92640
relation P110
type Q502895
['Q83495', 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q92640 property:P110 ?j . ?j rdf:type ontology:Q502895 }
Alice's Adventures in Wonderland
action filter_type
action find
entity Alice's Adventures in Wonderland
relation illustrator
type common name
['The Matrix', 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Alice's_Adventures_in_Wonderland property:illustrator ?j . ?j rdf:type ontology:common_name }
[]
common name
Q457881
SYSTEM
John Tenniel
Q457881
(Q83495,P110,c(Q502895))
action filter_type
action find
entity Q92640
relation P110
type Q502895
[ANSWER] illustrated that collectable
['Q83495', 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q92640 property:P110 ?j . ?j rdf:type ontology:Q502895 }
John Tenniel
John Tenniel illustrated that collectable
John Tenniel
action filter_type
action find
entity Alice's Adventures in Wonderland
relation illustrator
type common name
['The Matrix', 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Alice's_Adventures_in_Wonderland property:illustrator ?j . ?j rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q457881 Q5858357 Q84
P19
Q56061
USER
Was that person born at Nadekan-e Shafi Mohammad and London ?
(Q457881,P19,Q5858357) (Q457881,P19,Q84)
action is_in
entity Q457881
action intersection
action find_reverse
entity Q5858357
relation P19
action find_reverse
entity Q84
relation P19
['Q457881', 'P19', 'Q5858357'] ['Q457881', 'P19', 'Q84']
ASK WHERE { resource:Q457881 property:P19 resource:Q5858357 . resource:Q457881 property:P19 resource:Q84 }
John Tenniel Nadekan-e Shafi Mohammad London
action is_in
entity John Tenniel
action intersection
action find_reverse
entity Nadekan-e Shafi Mohammad
relation place of birth
action find_reverse
entity London
relation place of birth
['John Tenniel', 'place of birth', 'Nadekan-e Shafi Mohammad'] ['John Tenniel', 'place of birth', 'London']
ASK WHERE { resource:John_Tenniel property:place_of_birth resource:Nadekan-e_Shafi_Mohammad . resource:John_Tenniel property:place_of_birth resource:London }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q457881,P19,Q5858357) (Q457881,P19,Q84)
action is_in
entity Q457881
action intersection
action find_reverse
entity Q5858357
relation P19
action find_reverse
entity Q84
relation P19
[ANSWER]
['Q457881', 'P19', 'Q5858357'] ['Q457881', 'P19', 'Q84']
ASK WHERE { resource:Q457881 property:P19 resource:Q5858357 . resource:Q457881 property:P19 resource:Q84 }
NO and YES respectively
action is_in
entity John Tenniel
action intersection
action find_reverse
entity Nadekan-e Shafi Mohammad
relation place of birth
action find_reverse
entity London
relation place of birth
['John Tenniel', 'place of birth', 'Nadekan-e Shafi Mohammad'] ['John Tenniel', 'place of birth', 'London']
ASK WHERE { resource:John_Tenniel property:place_of_birth resource:Nadekan-e_Shafi_Mohammad . resource:John_Tenniel property:place_of_birth resource:London }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q83495
P58
Q16979650
USER
Who was the screenwriter for The Matrix ?
(Q83495,P58,c(Q16979650))
action filter_type
action find
entity Q83495
relation P58
type Q16979650
['Q83495', 'P58', {'concept': 'Q16979650'}]
SELECT DISTINCT ?u WHERE { resource:Q83495 property:P58 ?u . ?u rdf:type ontology:Q16979650 }
The Matrix
action filter_type
action find
entity The Matrix
relation screenwriter
type sibling group
['The Matrix', 'screenwriter', {'concept': 'sibling group'}]
SELECT DISTINCT ?u WHERE { resource:The_Matrix property:screenwriter ?u . ?u rdf:type ontology:sibling_group }
[]
sibling group
Q195719
SYSTEM
The Wachowskis
Q195719
(Q83495,P58,c(Q16979650))
action filter_type
action find
entity Q83495
relation P58
type Q16979650
The screenwriter for The Matrix was titled [ANSWER]
['Q83495', 'P58', {'concept': 'Q16979650'}]
SELECT DISTINCT ?u WHERE { resource:Q83495 property:P58 ?u . ?u rdf:type ontology:Q16979650 }
The Wachowskis
The screenwriter for The Matrix was titled The Wachowskis
The Wachowskis
action filter_type
action find
entity The Matrix
relation screenwriter
type sibling group
['The Matrix', 'screenwriter', {'concept': 'sibling group'}]
SELECT DISTINCT ?u WHERE { resource:The_Matrix property:screenwriter ?u . ?u rdf:type ontology:sibling_group }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q83495
P800
Q502895
USER
Who has that one as their notable work ?
(c(Q502895),P800,Q195719)
action filter_type
action find_reverse
entity Q83495
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q195719']
SELECT DISTINCT ?x WHERE { ?x property:P800 resource:Q83495 . ?x rdf:type ontology:Q502895 }
The Matrix
action filter_type
action find_reverse
entity The Matrix
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'The Wachowskis']
SELECT DISTINCT ?x WHERE { ?x property:notable_work resource:The_Matrix . ?x rdf:type ontology:common_name }
[]
common name
Q43416
SYSTEM
Keanu Reeves
Q43416
(c(Q502895),P800,Q195719)
action filter_type
action find_reverse
entity Q83495
relation P800
type Q502895
[ANSWER] has that one as their notable work
[{'concept': 'Q502895'}, 'P800', 'Q195719']
SELECT DISTINCT ?x WHERE { ?x property:P800 resource:Q83495 . ?x rdf:type ontology:Q502895 }
Keanu Reeves
Keanu Reeves has that one as their notable work
Keanu Reeves
action filter_type
action find_reverse
entity The Matrix
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'The Wachowskis']
SELECT DISTINCT ?x WHERE { ?x property:notable_work resource:The_Matrix . ?x rdf:type ontology:common_name }
[]