Simple Question (Direct)
Simple Question
Q786040
P735
Q82799
USER
What is the firstname of Sami Tchak ?
(Q786040,P735,c(Q82799))
action filter_type
action find
entity Q786040
relation P735
type Q82799
['Q786040', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q786040 property:P735 ?w . ?w rdf:type ontology:Q82799 }
Sami Tchak
action filter_type
action find
entity Sami Tchak
relation given name
type name
['Sami Tchak', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Sami_Tchak property:given_name ?w . ?w rdf:type ontology:name }
[]
name
Q19832245
SYSTEM
Sami
Q19832245
(Q786040,P735,c(Q82799))
action filter_type
action find
entity Q786040
relation P735
type Q82799
The firstname of [ANSWER] Tchak is of [ANSWER]
['Q786040', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q786040 property:P735 ?w . ?w rdf:type ontology:Q82799 }
Sami
The firstname of Sami Tchak is of Sami
Sami
action filter_type
action find
entity Sami Tchak
relation given name
type name
['Sami Tchak', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Sami_Tchak property:given_name ?w . ?w rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q19832245 Q1289050
P361
Q853614
USER
Is that name a component of Hartrad ?
(Q19832245,P361,Q1289050)
action is_in
entity Q1289050
action find
entity Q19832245
relation P361
['Q19832245', 'P361', 'Q1289050']
ASK WHERE { resource:Q19832245 property:P361 resource:Q1289050 }
Sami Hartrad
action is_in
entity Hartrad
action find
entity Sami
relation part of
['Sami', 'part of', 'Hartrad']
ASK WHERE { resource:Sami property:part_of resource:Hartrad }
[]
identifier
SYSTEM
NO
(Q19832245,P361,Q1289050)
action is_in
entity Q1289050
action find
entity Q19832245
relation P361
[ANSWER]
['Q19832245', 'P361', 'Q1289050']
ASK WHERE { resource:Q19832245 property:P361 resource:Q1289050 }
No
action is_in
entity Hartrad
action find
entity Sami
relation part of
['Sami', 'part of', 'Hartrad']
ASK WHERE { resource:Sami property:part_of resource:Hartrad }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q786040
P50
Q2342494
USER
How many collectables are written by Sami Tchak ?
(c(Q2342494),P50,Q786040)
action count
action filter_type
action find_reverse
entity Q786040
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q786040']
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { ?h property:P50 resource:Q786040 . ?h rdf:type ontology:Q2342494 }
Sami Tchak
action count
action filter_type
action find_reverse
entity Sami Tchak
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Sami Tchak']
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { ?h property:author resource:Sami_Tchak . ?h rdf:type ontology:collectable }
[]
collectable
SYSTEM
1
Q16959545
(c(Q2342494),P50,Q786040)
action count
action filter_type
action find_reverse
entity Q786040
relation P50
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P50', 'Q786040']
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { ?h property:P50 resource:Q786040 . ?h rdf:type ontology:Q2342494 }
La fête des masques
1
action count
action filter_type
action find_reverse
entity Sami Tchak
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Sami Tchak']
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { ?h property:author resource:Sami_Tchak . ?h rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6937625
P1412
Q34770
USER
Which language can Nellie Campobello read ?
(Q6937625,P1412,c(Q34770))
action filter_type
action find
entity Q6937625
relation P1412
type Q34770
['Q6937625', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q6937625 property:P1412 ?q . ?q rdf:type ontology:Q34770 }
Nellie Campobello
action filter_type
action find
entity Nellie Campobello
relation languages spoken, written or signed
type language
['Nellie Campobello', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:Nellie_Campobello property:languages_spoken,_written_or_signed ?q . ?q rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q6937625,P1412,c(Q34770))
action filter_type
action find
entity Q6937625
relation P1412
type Q34770
Nellie Campobello can read in [ANSWER]
['Q6937625', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q6937625 property:P1412 ?q . ?q rdf:type ontology:Q34770 }
Spanish
Nellie Campobello can read in Spanish
Spanish
action filter_type
action find
entity Nellie Campobello
relation languages spoken, written or signed
type language
['Nellie Campobello', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:Nellie_Campobello property:languages_spoken,_written_or_signed ?q . ?q rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1321 Q6235345
P1412
Q502895
USER
Does John Gilkey speak that language ?
(Q6235345,P1412,Q1321)
action is_in
entity Q6235345
action find
entity Q1321
relation P1412
['Q6235345', 'P1412', 'Q1321']
ASK WHERE { resource:Q1321 property:P1412 resource:Q6235345 }
Spanish John Gilkey
action is_in
entity John Gilkey
action find
entity Spanish
relation languages spoken, written or signed
['John Gilkey', 'languages spoken, written or signed', 'Spanish']
ASK WHERE { resource:Spanish property:languages_spoken,_written_or_signed resource:John_Gilkey }
[]
common name
SYSTEM
NO
(Q6235345,P1412,Q1321)
action is_in
entity Q6235345
action find
entity Q1321
relation P1412
[ANSWER]
['Q6235345', 'P1412', 'Q1321']
ASK WHERE { resource:Q1321 property:P1412 resource:Q6235345 }
No
action is_in
entity John Gilkey
action find
entity Spanish
relation languages spoken, written or signed
['John Gilkey', 'languages spoken, written or signed', 'Spanish']
ASK WHERE { resource:Spanish property:languages_spoken,_written_or_signed resource:John_Gilkey }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q786040
P50
Q2342494
USER
Which collectable is Sami Tchak an author of ?
(c(Q2342494),P50,Q786040)
action filter_type
action find_reverse
entity Q786040
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q786040']
SELECT DISTINCT ?n WHERE { ?n property:P50 resource:Q786040 . ?n rdf:type ontology:Q2342494 }
Sami Tchak
action filter_type
action find_reverse
entity Sami Tchak
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Sami Tchak']
SELECT DISTINCT ?n WHERE { ?n property:author resource:Sami_Tchak . ?n rdf:type ontology:collectable }
[]
collectable
Q16959545
SYSTEM
La fête des masques
Q16959545
(c(Q2342494),P50,Q786040)
action filter_type
action find_reverse
entity Q786040
relation P50
type Q2342494
Which collectable is Sami Tchak an author of
[{'concept': 'Q2342494'}, 'P50', 'Q786040']
SELECT DISTINCT ?n WHERE { ?n property:P50 resource:Q786040 . ?n rdf:type ontology:Q2342494 }
La fête des masques
Which collectable is Sami Tchak an author of
La fête des masques
action filter_type
action find_reverse
entity Sami Tchak
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Sami Tchak']
SELECT DISTINCT ?n WHERE { ?n property:author resource:Sami_Tchak . ?n rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19832245
P1533
Q82799
USER
Which name is equal to Sami ?
(Q19832245,P1533,c(Q82799))
action filter_type
action find
entity Q19832245
relation P1533
type Q82799
['Q19832245', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q19832245 property:P1533 ?r . ?r rdf:type ontology:Q82799 }
Sami
action filter_type
action find
entity Sami
relation family name identical to this first name
type name
['Sami', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Sami property:family_name_identical_to_this_first_name ?r . ?r rdf:type ontology:name }
[]
name
Q27678568
SYSTEM
Sami
Q27678568
(Q19832245,P1533,c(Q82799))
action filter_type
action find
entity Q19832245
relation P1533
type Q82799
[ANSWER] is equal to [ANSWER]
['Q19832245', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q19832245 property:P1533 ?r . ?r rdf:type ontology:Q82799 }
Sami
Sami is equal to Sami
Sami
action filter_type
action find
entity Sami
relation family name identical to this first name
type name
['Sami', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Sami property:family_name_identical_to_this_first_name ?r . ?r rdf:type ontology:name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2738156
P1441
Q2342494 Q502895 Q6619679
USER
Which collectables are more number of people and fictional humanoids shown in than Jumanji ?
(c(Q502895)|c(Q6619679),P1441,c(Q2342494))
action greater
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q502895
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q2738156
relation P1441
type Q502895
type Q6619679
[[{'concept': 'Q502895'}, {'concept': 'Q6619679'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) ?b WHERE { { ?x property:P1441 ?b . ?b rdf:type ontology:Q2342494 . ?x rdf:type ontology:Q502895 } UNION { ?x property:P1441 ?b . ?b rdf:type ontology:Q2342494 . ?x rdf:type ontology:Q6619679 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q property:P1441 resource:Q2738156 . { { ?q rdf:type ontology:Q502895 } UNION { ?q rdf:type ontology:Q6619679 } } } } . FILTER ( ?j > ?o ) }
Jumanji
action greater
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type common name
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity Jumanji
relation present in work
type common name
type fictional humanoid
[[{'concept': 'common name'}, {'concept': 'fictional humanoid'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) ?b WHERE { { ?x property:present_in_work ?b . ?b rdf:type ontology:collectable . ?x rdf:type ontology:common_name } UNION { ?x property:present_in_work ?b . ?b rdf:type ontology:collectable . ?x rdf:type ontology:fictional_humanoid } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q property:present_in_work resource:Jumanji . { { ?q rdf:type ontology:common_name } UNION { ?q rdf:type ontology:fictional_humanoid } } } } . FILTER ( ?j > ?o ) }
[]
collectable common name fictional humanoid
Q191838 Q140527 Q289130
SYSTEM
The Count of Monte Cristo, The Three Musketeers, The Last Battle
Q788777 Q1788243 Q220331 Q70806 Q17066134 Q4742226 Q2870 Q1336124 Q289130 Q1418731 Q2892898 Q1195639 Q734675 Q18516245 Q45192 Q472228 Q191838 Q1130299 Q208556 Q8258 Q692557 Q542293 Q655296 Q183565 Q384635 Q189811 Q3225953 Q746253 Q7769623 Q7759097 Q304493 Q2564464 Q215983 Q308918 Q53592 Q174654 Q7991093 Q914197 Q1932742 Q459842 Q218950 Q2917980 Q1349759 Q3024051 Q674832 Q1305005 Q245194 Q15228 Q863438 Q19872993 Q1188815 Q1532676 Q477831 Q261281 Q3776389 Q636815 Q255423 Q629438 Q1952957 Q7249957 Q377710 Q150827 Q217352 Q457252 Q7759963 Q500688 Q15032745 Q1187628 Q957248 Q731626 Q20058700 Q1321432 Q326914 Q727861 Q769001 Q18084 Q4801009 Q92640 Q3210024 Q1340493 Q3201517 Q4887188 Q331669 Q278208 Q1529231 Q247364 Q582811 Q157360 Q3342544 Q18516256 Q2268391 Q2608698 Q770474 Q143707 Q1165495 Q6511 Q3107329 Q2295976 Q29424 Q2616869 Q426600 Q3411636 Q161531 Q1262456 Q331656 Q62879 Q465649 Q28491 Q5406934 Q117182 Q670552 Q2070380 Q459303 Q465360 Q5605505 Q329989 Q1980191 Q18949486 Q543790 Q970822 Q3222334 Q11125816 Q164974 Q3039168 Q337944 Q468071 Q11894198 Q63707 Q368432 Q466605 Q870551 Q3549724 Q741033 Q4348667 Q3030638 Q604922 Q3305214 Q11635893 Q185118 Q172850 Q1345004 Q2293012 Q1219561 Q223131 Q652350 Q471005 Q2563691 Q642911 Q184222 Q2819868 Q3818564 Q924455 Q772435 Q183883 Q485093 Q645024 Q189509 Q4500509 Q1939346 Q8086533 Q1231505 Q785972 Q654170 Q129929 Q472208 Q70827 Q2915600 Q774233 Q4584917 Q1539509 Q243556 Q8279 Q219552 Q3530935 Q849701 Q1935913 Q753290 Q3220799 Q1138330 Q5135450 Q659731 Q845889 Q169976 Q4727821 Q17027074 Q202975 Q726535 Q785255 Q733639 Q1044713 Q210784 Q19867004 Q1422318 Q1903609 Q1165753 Q7930820 Q3212124 Q183157 Q1239133 Q717326 Q2776744 Q2092894 Q845106 Q174596 Q833775 Q140527 Q2627355 Q219457 Q1171231 Q7940528 Q2263221 Q3735626 Q7940527 Q2261855 Q131068 Q2291295 Q265954 Q759467 Q16654394 Q214371 Q753535 Q917055 Q929184 Q752439 Q374098 Q752432 Q1218985 Q1336310 Q2380686 Q42040 Q268112 Q3208673 Q1396889 Q3324572 Q3427602 Q180736 Q552213 Q776551 Q3280221 Q2915291 Q927292 Q1047711 Q1637738 Q2136755 Q743180 Q1167555 Q2915294 Q224078 Q8265 Q1472204 Q605249 Q16438 Q381756 Q274744 Q1197817 Q1476462 Q444213 Q2446285 Q603310 Q1619595 Q187655 Q41542 Q2660166 Q3224473 Q251076 Q1777426 Q925538 Q221765 Q2746500
(c(Q502895)|c(Q6619679),P1441,c(Q2342494))
action greater
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q502895
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q2738156
relation P1441
type Q502895
type Q6619679
[ANSWERS] are more number of people and fictional humanoids shown in than Jumanji
[[{'concept': 'Q502895'}, {'concept': 'Q6619679'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) ?b WHERE { { ?x property:P1441 ?b . ?b rdf:type ontology:Q2342494 . ?x rdf:type ontology:Q502895 } UNION { ?x property:P1441 ?b . ?b rdf:type ontology:Q2342494 . ?x rdf:type ontology:Q6619679 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q property:P1441 resource:Q2738156 . { { ?q rdf:type ontology:Q502895 } UNION { ?q rdf:type ontology:Q6619679 } } } } . FILTER ( ?j > ?o ) }
Breakfast of Champions The Unknown Soldier Through the Looking-Glass Romance of the Three Kingdoms Raylan Amelia Bedelia Gone with the Wind Shōgun The Last Battle Poirot Investigates Beastly Things The Man with the Golden Gun The Big Four The Golden Egg The Hound of the Baskervilles The Mysterious Affair at Styles The Count of Monte Cristo Dead Man's Folly Malleus Maleficarum One Thousand and One Nights A Clockwork Orange Murder on the links Tarzan of the Apes Twenty Thousand Leagues Under the Sea The Diary of a Chambermaid David Copperfield A Venetian Reckoning Meno The Torment of Others The Quiet Game Five Little Pigs Une fille d'Ève The Grapes of Wrath A Tale of Two Cities From the Earth to the Moon The Secret of Chimneys What Ever Happened to Baby Jane? Cat Among the Pigeons Colonel Chabert Book of Mormon Prince Caspian Midrash Rabba Death at La Fenice Friends in High Places Carmen A Murder of Quality The Twelve Chairs The Lord of the Rings The Valley of Fear Baldur's Gate II: Shadows of Amn The Smiling, Proud Wanderer Parker Pyne Investigates The Magician's Nephew Solaris An Béal Bocht The Mystery of the Blue Train Josephine Mutzenbacher Elephants Can Remember Thunderball Pronto Hercule Poirot's Christmas Frankenstein Strange Case of Dr Jekyll and Mr Hyde The Seven Dials Mystery The Red Wolf The Sign of the Four Tarzan Alive: A Definitive Biography of Lord Greystoke The Return of the Condor Heroes Peril at End House Curtain Trigger Mortis Tripitaka The Adventures of Tom Sawyer The A.B.C. Murders The Vicomte of Bragelonne: Ten Years Later Vita Nuova Artifact of Evil Alice's Adventures in Wonderland Forever Free Hard Times Fatal Remedies Beneath the Bleeding The Silver Chair Catch-22 Splendeurs et misères des courtisanes The Dark Tower V: Wolves of the Calla Tinker, Tailor, Soldier, Spy The Horse and His Boy A Noble Radiance By its Cover A Wrinkle in Time Children of the Mind Never Dream of Dying The Child of the Cavern Hickory Dickory Dock Ulysses The Hitchhiker's Guide to the Galaxy Pattern Recognition Fathers and Sons The Land of Mist After the Funeral The Death of Faith War and Peace You Only Live Twice The Voyage of the Dawn Treader A Christmas Carol One, Two, Buckle My Shoe The Betrothed The Forever War Salammbô The Dark Tower IV: Wizard and Glass The Tombs of Atuan Perfume A Portrait of the Artist as a Young Man The Russia House Demons Half-Life 2: Raising the Bar Go Set a Watchman Thrilling Cities Gump and Co. The Night Manager The Lincoln Lawyer Oliver Twist Drawing Conclusions Dumb Witness The Spy Who Came in from the Cold Sotaromaani How the Steel Was Tempered Live and Let Die Charlie and the Chocolate Factory The Maltese Falcon Wilful Behaviour Evil Under the Sun The Railway Series Doctored Evidence Death in the Clouds Melmoth réconcilié Akō Rōshi Treasure Island The Name of the Rose Heart of a Dog Paul et Virginie Around the World in Eighty Days A Study in Scarlet Call for the Dead The Mysterious Island The Mystery of the Yellow Room Murder in Mesopotamia The Metamorphosis A Question of Belief The Ring of Solomon Ursule Mirouët Fear and Loathing in Las Vegas The Catcher in the Rye The Lion, the Witch, and the Wardrobe Mathias Sandorf The Jungle Book My First Summer in the Sierra Mistress Branican The Ambushers Smiley's People The Forever War Third Girl The Amber Spyglass The Subtle Knife Water Margin Ender in Exile Journey to the End of the Night Mrs. Pepperpot The Invisible Man The Godfather Shahnameh Great Expectations Tom a Lincoln East of Eden The Princess Bride 'Salem's Lot Suffer the Little Children Sad Cypress Closing Time Diamonds Are Forever Murder on the Orient Express Northern Lights All-Consuming Fire Saga of Old City Wuthering Heights Three Act Tragedy The Lost World Cards on the Table Taken at the Flood The Idiot Baldur's Gate The Dark Tower: The Gunslinger Martin Chuzzlewit From Russia, with Love Villains' Lorebook La Rabouilleuse The Brothers Karamazov The Honourable Schoolboy The Other Wind De Witte Illusions perdues Mrs McGinty's Dead Moby-Dick The Hollow The Three Musketeers Timequake A Journey to the Center of the Earth The Little Golden Calf Volo's Guide to the Dalelands Mémoires d'Outre-Tombe Black Coffee Volo's Guide to Waterdeep Tehanu Book of Esther Speaker for the Dead Slaughterhouse-Five The Clocks Blast From the Past The Great Gatsby Jin Ping Mei The Unbearable Lightness of Being Hannibal Appointment with Death Atlas Shrugged Lord Edgware Dies The Last Days of Pompeii Fengshen Yanyi The Girl of His Dreams Revelation The Looking Glass War About Face Animal Farm A Sea of Troubles Through a Glass Darkly Les Misérables Forrest Gump Gobseck The Bomber Shadow of the Giant With Fire and Sword Casino Royale The Dark Tower VI: Song of Susannah On Her Majesty's Secret Service On the Road The Man in the Brown Suit Xenocide The Murder of Roger Ackroyd Dream of the Red Chamber The Dark Tower VII: The Dark Tower Do Androids Dream of Electric Sheep? The Decameron Death on the Nile Sense and Sensibility The Legend of the Condor Heroes The BFG The Secret Pilgrim Pippi Longstocking Moonraker Valley of the Dolls Mostly Harmless Dracula The Poison Belt Uniform Justice Hallowe'en Party Goldfinger Abbé Jules Facing the Flag Ender's Shadow
The Count of Monte Cristo, The Three Musketeers and The Last Battle are more number of people and fictional humanoids shown in than Jumanji
The Count of Monte Cristo The Three Musketeers The Last Battle
action greater
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type common name
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity Jumanji
relation present in work
type common name
type fictional humanoid
[[{'concept': 'common name'}, {'concept': 'fictional humanoid'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) ?b WHERE { { ?x property:present_in_work ?b . ?b rdf:type ontology:collectable . ?x rdf:type ontology:common_name } UNION { ?x property:present_in_work ?b . ?b rdf:type ontology:collectable . ?x rdf:type ontology:fictional_humanoid } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q property:present_in_work resource:Jumanji . { { ?q rdf:type ontology:common_name } UNION { ?q rdf:type ontology:fictional_humanoid } } } } . FILTER ( ?j > ?o ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q191838 Q140527 Q289130
P1441
Q6619679
USER
Which fictional humanoids appear in those collectables ?
(c(Q6619679),P1441,Q191838) (c(Q6619679),P1441,Q140527) (c(Q6619679),P1441,Q289130)
action filter_type
action find_reverse
entity prev_answer
relation P1441
type Q6619679
[{'concept': 'Q6619679'}, 'P1441', 'Q191838'] [{'concept': 'Q6619679'}, 'P1441', 'Q140527'] [{'concept': 'Q6619679'}, 'P1441', 'Q289130']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q6619679 . VALUES ( ?o ) { ( resource:Q788777 ) ( resource:Q1788243 ) ( resource:Q220331 ) } . ?t property:P1441 ?o }
The Count of Monte Cristo The Three Musketeers The Last Battle
action filter_type
action find_reverse
entity prev_answer
relation present in work
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'present in work', 'The Count of Monte Cristo'] [{'concept': 'fictional humanoid'}, 'present in work', 'The Three Musketeers'] [{'concept': 'fictional humanoid'}, 'present in work', 'The Last Battle']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:fictional_humanoid . VALUES ( ?o ) { ( resource:Breakfast_of_Champions ) ( resource:The_Unknown_Soldier ) ( resource:Through_the_Looking-Glass ) } . ?t property:present_in_work ?o }
[]
fictional humanoid
Q1640313 Q1627590 Q582234
SYSTEM
Lucy Pevensie, Peter Pevensie, Edmund Pevensie
Q1933207 Q1952877 Q21073033 Q2111000 Q2206150 Q2530488 Q1627590 Q3313177 Q1640313 Q582234 Q2232602 Q2446175 Q2435983 Q14907064 Q2714871
(c(Q6619679),P1441,Q191838) (c(Q6619679),P1441,Q140527) (c(Q6619679),P1441,Q289130)
action filter_type
action find_reverse
entity prev_answer
relation P1441
type Q6619679
[ANSWERS] appear in those collectables
[{'concept': 'Q6619679'}, 'P1441', 'Q191838'] [{'concept': 'Q6619679'}, 'P1441', 'Q140527'] [{'concept': 'Q6619679'}, 'P1441', 'Q289130']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q6619679 . VALUES ( ?o ) { ( resource:Q788777 ) ( resource:Q1788243 ) ( resource:Q220331 ) } . ?t property:P1441 ?o }
Julie Herbault Edmond Dantès Comte de Wardes Eustace Scrubb Polly Plummer Tisroc Peter Pevensie Emeth Lucy Pevensie Edmund Pevensie Jill Pole Tirian Poggin Rishda Tash
Lucy Pevensie, Peter Pevensie and Edmund Pevensie appear in those collectables
Lucy Pevensie Peter Pevensie Edmund Pevensie
action filter_type
action find_reverse
entity prev_answer
relation present in work
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'present in work', 'The Count of Monte Cristo'] [{'concept': 'fictional humanoid'}, 'present in work', 'The Three Musketeers'] [{'concept': 'fictional humanoid'}, 'present in work', 'The Last Battle']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:fictional_humanoid . VALUES ( ?o ) { ( resource:Breakfast_of_Champions ) ( resource:The_Unknown_Soldier ) ( resource:Through_the_Looking-Glass ) } . ?t property:present_in_work ?o }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1640313 Q1627590 Q582234
P1441
Q2342494
USER
Where are those fictional humanoids shown in ?
(Q1640313,P1441,c(Q2342494)) (Q1627590,P1441,c(Q2342494)) (Q582234,P1441,c(Q2342494))
action filter_type
action find
entity prev_answer
relation P1441
type Q2342494
['Q1640313', 'P1441', {'concept': 'Q2342494'}] ['Q1627590', 'P1441', {'concept': 'Q2342494'}] ['Q582234', 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?l WHERE { VALUES ( ?g ) { ( resource:Q1933207 ) ( resource:Q1952877 ) ( resource:Q21073033 ) } . ?g property:P1441 ?l . ?l rdf:type ontology:Q2342494 }
Lucy Pevensie Peter Pevensie Edmund Pevensie
action filter_type
action find
entity prev_answer
relation present in work
type collectable
['Lucy Pevensie', 'present in work', {'concept': 'collectable'}] ['Peter Pevensie', 'present in work', {'concept': 'collectable'}] ['Edmund Pevensie', 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?l WHERE { VALUES ( ?g ) { ( resource:Julie_Herbault ) ( resource:Edmond_Dantès ) ( resource:Comte_de_Wardes ) } . ?g property:present_in_work ?l . ?l rdf:type ontology:collectable }
[]
collectable
Q289130 Q289130 Q289130
SYSTEM
The Last Battle
Q157360 Q218950 Q331656 Q485093 Q289130 Q218950 Q485093 Q289130 Q331656 Q485093 Q289130
(Q1640313,P1441,c(Q2342494)) (Q1627590,P1441,c(Q2342494)) (Q582234,P1441,c(Q2342494))
action filter_type
action find
entity prev_answer
relation P1441
type Q2342494
Those fictional humanoids shown in are in [ANSWER], [ANSWER] and [ANSWER]
['Q1640313', 'P1441', {'concept': 'Q2342494'}] ['Q1627590', 'P1441', {'concept': 'Q2342494'}] ['Q582234', 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?l WHERE { VALUES ( ?g ) { ( resource:Q1933207 ) ( resource:Q1952877 ) ( resource:Q21073033 ) } . ?g property:P1441 ?l . ?l rdf:type ontology:Q2342494 }
The Horse and His Boy Prince Caspian The Voyage of the Dawn Treader The Lion, the Witch, and the Wardrobe The Last Battle Prince Caspian The Lion, the Witch, and the Wardrobe The Last Battle The Voyage of the Dawn Treader The Lion, the Witch, and the Wardrobe The Last Battle
Those fictional humanoids shown in are in The Last Battle, The Last Battle and The Last Battle
The Last Battle The Last Battle The Last Battle
action filter_type
action find
entity prev_answer
relation present in work
type collectable
['Lucy Pevensie', 'present in work', {'concept': 'collectable'}] ['Peter Pevensie', 'present in work', {'concept': 'collectable'}] ['Edmund Pevensie', 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?l WHERE { VALUES ( ?g ) { ( resource:Julie_Herbault ) ( resource:Edmond_Dantès ) ( resource:Comte_de_Wardes ) } . ?g property:present_in_work ?l . ?l rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q289130
P136
Q223393
USER
What can be considered as category for The Last Battle ?
(Q289130,P136,c(Q223393))
action filter_type
action find
entity Q289130
relation P136
type Q223393
['Q289130', 'P136', {'concept': 'Q223393'}]
SELECT DISTINCT ?g WHERE { resource:Q289130 property:P136 ?g . ?g rdf:type ontology:Q223393 }
The Last Battle
action filter_type
action find
entity The Last Battle
relation genre
type literary genre
['The Last Battle', 'genre', {'concept': 'literary genre'}]
SELECT DISTINCT ?g WHERE { resource:The_Last_Battle property:genre ?g . ?g rdf:type ontology:literary_genre }
[]
literary genre
Q132311
SYSTEM
fantasy
Q132311
(Q289130,P136,c(Q223393))
action filter_type
action find
entity Q289130
relation P136
type Q223393
The [ANSWER] can be considered as category for The Last Battle
['Q289130', 'P136', {'concept': 'Q223393'}]
SELECT DISTINCT ?g WHERE { resource:Q289130 property:P136 ?g . ?g rdf:type ontology:Q223393 }
fantasy
The fantasy can be considered as category for The Last Battle
fantasy
action filter_type
action find
entity The Last Battle
relation genre
type literary genre
['The Last Battle', 'genre', {'concept': 'literary genre'}]
SELECT DISTINCT ?g WHERE { resource:The_Last_Battle property:genre ?g . ?g rdf:type ontology:literary_genre }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1637730
Q223393
USER
And also tell me about The Dark Tower III: The Waste Lands?
(Q1637730,P136,c(Q223393))
action filter_type
action find
entity Q1637730
relation P136
type Q223393
['Q1637730', 'P136', {'concept': 'Q223393'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q223393 . resource:Q1637730 property:P136 ?m }
The Dark Tower III: The Waste Lands
action filter_type
action find
entity The Dark Tower III: The Waste Lands
relation genre
type literary genre
['The Dark Tower III: The Waste Lands', 'genre', {'concept': 'literary genre'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:literary_genre . resource:The_Dark_Tower_III:_The_Waste_Lands property:genre ?m }
[]
literary genre
Q132311
SYSTEM
fantasy
Q132311
(Q1637730,P136,c(Q223393))
action filter_type
action find
entity Q1637730
relation P136
type Q223393
[ANSWER]
['Q1637730', 'P136', {'concept': 'Q223393'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q223393 . resource:Q1637730 property:P136 ?m }
fantasy
fantasy
action filter_type
action find
entity The Dark Tower III: The Waste Lands
relation genre
type literary genre
['The Dark Tower III: The Waste Lands', 'genre', {'concept': 'literary genre'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:literary_genre . resource:The_Dark_Tower_III:_The_Waste_Lands property:genre ?m }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q243556
P1441
Q2342494 Q502895 Q95074
USER
How many collectables contain greater number of people or fictional characters than The Godfather ?
(c(Q502895)|c(Q95074),P1441,c(Q2342494))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q502895
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q95074
action count
action filter_multi_types
action find_reverse
entity Q243556
relation P1441
type Q502895
type Q95074
[[{'concept': 'Q502895'}, {'concept': 'Q95074'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?w WHERE { { ?j property:P1441 ?w . ?j rdf:type ontology:Q502895 . ?w rdf:type ontology:Q2342494 } UNION { ?j property:P1441 ?w . ?w rdf:type ontology:Q2342494 . ?j rdf:type ontology:Q95074 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:P1441 resource:Q243556 . { { ?v rdf:type ontology:Q502895 } UNION { ?v rdf:type ontology:Q95074 } } } } . FILTER ( ?s > ?q ) }
The Godfather
action count
action greater
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type common name
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional character
action count
action filter_multi_types
action find_reverse
entity The Godfather
relation present in work
type common name
type fictional character
[[{'concept': 'common name'}, {'concept': 'fictional character'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?w WHERE { { ?j property:present_in_work ?w . ?j rdf:type ontology:common_name . ?w rdf:type ontology:collectable } UNION { ?j property:present_in_work ?w . ?w rdf:type ontology:collectable . ?j rdf:type ontology:fictional_character } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:present_in_work resource:The_Godfather . { { ?v rdf:type ontology:common_name } UNION { ?v rdf:type ontology:fictional_character } } } } . FILTER ( ?s > ?q ) }
[]
collectable common name fictional character
SYSTEM
51
Q220331 Q718289 Q289130 Q8258 Q3202526 Q459842 Q218950 Q2917980 Q477831 Q150827 Q742753 Q1321432 Q466504 Q92640 Q331669 Q185449 Q157360 Q8563 Q6511 Q161531 Q897685 Q149552 Q117182 Q3235292 Q164974 Q7767037 Q7732780 Q9144808 Q308982 Q3818564 Q485093 Q189509 Q4500509 Q596874 Q70827 Q1079681 Q1250822 Q8279 Q130924 Q140527 Q2263221 Q131068 Q929184 Q208460 Q137869 Q471926 Q42040 Q1396889 Q180736 Q16438 Q60672
(c(Q502895)|c(Q95074),P1441,c(Q2342494))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q502895
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q95074
action count
action filter_multi_types
action find_reverse
entity Q243556
relation P1441
type Q502895
type Q95074
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q95074'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?w WHERE { { ?j property:P1441 ?w . ?j rdf:type ontology:Q502895 . ?w rdf:type ontology:Q2342494 } UNION { ?j property:P1441 ?w . ?w rdf:type ontology:Q2342494 . ?j rdf:type ontology:Q95074 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:P1441 resource:Q243556 . { { ?v rdf:type ontology:Q502895 } UNION { ?v rdf:type ontology:Q95074 } } } } . FILTER ( ?s > ?q ) }
Through the Looking-Glass Brisingr The Last Battle One Thousand and One Nights Atlantida Book of Mormon Prince Caspian Midrash Rabba The Magician's Nephew Frankenstein Bambi, A Life in the Woods Tripitaka American Psycho Alice's Adventures in Wonderland The Silver Chair Eragon The Horse and His Boy The Hundred and One Dalmatians Ulysses War and Peace The Silence of the Lambs The Stand Salammbô Bambi's Children Oliver Twist The String of Pearls The Executioners Red Dragon Eldest The Ring of Solomon The Lion, the Witch, and the Wardrobe The Jungle Book My First Summer in the Sierra Misery Water Margin The Hunting of the Snark Taras Bulba Shahnameh Kalevala The Three Musketeers Mémoires d'Outre-Tombe Book of Esther Hannibal Nineteen Eighty-Four Germinal The Eyes of the Dragon Revelation Animal Farm Les Misérables The Decameron Inheritance
51
action count
action greater
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type common name
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional character
action count
action filter_multi_types
action find_reverse
entity The Godfather
relation present in work
type common name
type fictional character
[[{'concept': 'common name'}, {'concept': 'fictional character'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?w WHERE { { ?j property:present_in_work ?w . ?j rdf:type ontology:common_name . ?w rdf:type ontology:collectable } UNION { ?j property:present_in_work ?w . ?w rdf:type ontology:collectable . ?j rdf:type ontology:fictional_character } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:present_in_work resource:The_Godfather . { { ?v rdf:type ontology:common_name } UNION { ?v rdf:type ontology:fictional_character } } } } . FILTER ( ?s > ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q466605
P1441
Q2342494 Q502895 Q95074
USER
And what about Charlie and the Chocolate Factory?
(c(Q502895)|c(Q95074),P1441,c(Q2342494))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q502895
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q95074
action count
action filter_multi_types
action find_reverse
entity Q466605
relation P1441
type Q502895
type Q95074
[[{'concept': 'Q502895'}, {'concept': 'Q95074'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:P1441 resource:Q466605 . { { ?x rdf:type ontology:Q502895 } UNION { ?x rdf:type ontology:Q95074 } } } } . FILTER ( ?c > ?d ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) ?a WHERE { VALUES ( ?h ) { ( ontology:Q95074 ) ( ontology:Q502895 ) } . ?r rdf:type ?h } GROUP BY ?a } }
Charlie and the Chocolate Factory
action count
action greater
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type common name
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional character
action count
action filter_multi_types
action find_reverse
entity Charlie and the Chocolate Factory
relation present in work
type common name
type fictional character
[[{'concept': 'common name'}, {'concept': 'fictional character'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:present_in_work resource:Charlie_and_the_Chocolate_Factory . { { ?x rdf:type ontology:common_name } UNION { ?x rdf:type ontology:fictional_character } } } } . FILTER ( ?c > ?d ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) ?a WHERE { VALUES ( ?h ) { ( ontology:fictional_character ) ( ontology:common_name ) } . ?r rdf:type ?h } GROUP BY ?a } }
[]
collectable common name fictional character
SYSTEM
51
Q220331 Q718289 Q289130 Q8258 Q3202526 Q459842 Q218950 Q2917980 Q477831 Q150827 Q742753 Q1321432 Q466504 Q92640 Q331669 Q185449 Q157360 Q8563 Q6511 Q161531 Q897685 Q149552 Q117182 Q3235292 Q164974 Q7767037 Q7732780 Q9144808 Q308982 Q3818564 Q485093 Q189509 Q4500509 Q596874 Q70827 Q1079681 Q1250822 Q8279 Q130924 Q140527 Q2263221 Q131068 Q929184 Q208460 Q137869 Q471926 Q42040 Q1396889 Q180736 Q16438 Q60672
(c(Q502895)|c(Q95074),P1441,c(Q2342494))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q502895
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q95074
action count
action filter_multi_types
action find_reverse
entity Q466605
relation P1441
type Q502895
type Q95074
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q95074'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:P1441 resource:Q466605 . { { ?x rdf:type ontology:Q502895 } UNION { ?x rdf:type ontology:Q95074 } } } } . FILTER ( ?c > ?d ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) ?a WHERE { VALUES ( ?h ) { ( ontology:Q95074 ) ( ontology:Q502895 ) } . ?r rdf:type ?h } GROUP BY ?a } }
Through the Looking-Glass Brisingr The Last Battle One Thousand and One Nights Atlantida Book of Mormon Prince Caspian Midrash Rabba The Magician's Nephew Frankenstein Bambi, A Life in the Woods Tripitaka American Psycho Alice's Adventures in Wonderland The Silver Chair Eragon The Horse and His Boy The Hundred and One Dalmatians Ulysses War and Peace The Silence of the Lambs The Stand Salammbô Bambi's Children Oliver Twist The String of Pearls The Executioners Red Dragon Eldest The Ring of Solomon The Lion, the Witch, and the Wardrobe The Jungle Book My First Summer in the Sierra Misery Water Margin The Hunting of the Snark Taras Bulba Shahnameh Kalevala The Three Musketeers Mémoires d'Outre-Tombe Book of Esther Hannibal Nineteen Eighty-Four Germinal The Eyes of the Dragon Revelation Animal Farm Les Misérables The Decameron Inheritance
51
action count
action greater
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type common name
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional character
action count
action filter_multi_types
action find_reverse
entity Charlie and the Chocolate Factory
relation present in work
type common name
type fictional character
[[{'concept': 'common name'}, {'concept': 'fictional character'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:present_in_work resource:Charlie_and_the_Chocolate_Factory . { { ?x rdf:type ontology:common_name } UNION { ?x rdf:type ontology:fictional_character } } } } . FILTER ( ?c > ?d ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) ?a WHERE { VALUES ( ?h ) { ( ontology:fictional_character ) ( ontology:common_name ) } . ?r rdf:type ?h } GROUP BY ?a } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q289130
P840
Q1145276
USER
Which is the narrative location of The Last Battle ?
(Q289130,P840,c(Q1145276))
action filter_type
action find
entity Q289130
relation P840
type Q1145276
['Q289130', 'P840', {'concept': 'Q1145276'}]
SELECT DISTINCT ?f WHERE { resource:Q289130 property:P840 ?f . ?f rdf:type ontology:Q1145276 }
The Last Battle
action filter_type
action find
entity The Last Battle
relation narrative location
type fictional country
['The Last Battle', 'narrative location', {'concept': 'fictional country'}]
SELECT DISTINCT ?f WHERE { resource:The_Last_Battle property:narrative_location ?f . ?f rdf:type ontology:fictional_country }
[]
fictional country
Q2464538
SYSTEM
Calormen
Q2464538
(Q289130,P840,c(Q1145276))
action filter_type
action find
entity Q289130
relation P840
type Q1145276
[ANSWER] is the narrative location of The Last Battle
['Q289130', 'P840', {'concept': 'Q1145276'}]
SELECT DISTINCT ?f WHERE { resource:Q289130 property:P840 ?f . ?f rdf:type ontology:Q1145276 }
Calormen
Calormen is the narrative location of The Last Battle
Calormen
action filter_type
action find
entity The Last Battle
relation narrative location
type fictional country
['The Last Battle', 'narrative location', {'concept': 'fictional country'}]
SELECT DISTINCT ?f WHERE { resource:The_Last_Battle property:narrative_location ?f . ?f rdf:type ontology:fictional_country }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q157360
Q1145276
USER
And what about The Horse and His Boy?
(Q157360,P840,c(Q1145276))
action filter_type
action find
entity Q157360
relation P840
type Q1145276
['Q157360', 'P840', {'concept': 'Q1145276'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1145276 . resource:Q157360 property:P840 ?d }
The Horse and His Boy
action filter_type
action find
entity The Horse and His Boy
relation narrative location
type fictional country
['The Horse and His Boy', 'narrative location', {'concept': 'fictional country'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:fictional_country . resource:The_Horse_and_His_Boy property:narrative_location ?d }
[]
fictional country
Q2469685 Q2464538
SYSTEM
Archenland, Calormen
Q2469685 Q2464538
(Q157360,P840,c(Q1145276))
action filter_type
action find
entity Q157360
relation P840
type Q1145276
[ANSWERS]
['Q157360', 'P840', {'concept': 'Q1145276'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1145276 . resource:Q157360 property:P840 ?d }
Archenland Calormen
Archenland Calormen
action filter_type
action find
entity The Horse and His Boy
relation narrative location
type fictional country
['The Horse and His Boy', 'narrative location', {'concept': 'fictional country'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:fictional_country . resource:The_Horse_and_His_Boy property:narrative_location ?d }
[]