Simple Question (Direct)
Simple Question
Q591807
P166
Q2003221
USER
Which chivalric order was received by Frank Wild ?
(Q591807,P166,c(Q2003221))
action filter_type
action find
entity Q591807
relation P166
type Q2003221
['Q591807', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q2003221 . resource:Q591807 property:P166 ?m }
Frank Wild
action filter_type
action find
entity Frank Wild
relation award received
type chivalric order
['Frank Wild', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:chivalric_order . resource:Frank_Wild property:award_received ?m }
[]
chivalric order
Q12201477
SYSTEM
Commander of the Order of the British Empire
Q12201477
(Q591807,P166,c(Q2003221))
action filter_type
action find
entity Q591807
relation P166
type Q2003221
The [ANSWER] was received by Frank Wild
['Q591807', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q2003221 . resource:Q591807 property:P166 ?m }
Commander of the Order of the British Empire
The Commander of the Order of the British Empire was received by Frank Wild
Commander of the Order of the British Empire
action filter_type
action find
entity Frank Wild
relation award received
type chivalric order
['Frank Wild', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:chivalric_order . resource:Frank_Wild property:award_received ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q591807
P50
Q2342494
USER
Which collectable has that person as its author ?
(c(Q2342494),P50,Q12201477)
action filter_type
action find_reverse
entity Q591807
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q12201477']
SELECT DISTINCT ?l WHERE { ?l property:P50 resource:Q591807 . ?l rdf:type ontology:Q2342494 }
Frank Wild
action filter_type
action find_reverse
entity Frank Wild
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Commander of the Order of the British Empire']
SELECT DISTINCT ?l WHERE { ?l property:author resource:Frank_Wild . ?l rdf:type ontology:collectable }
[]
collectable
Q1647006
SYSTEM
Aurora Australis
Q1647006
(c(Q2342494),P50,Q12201477)
action filter_type
action find_reverse
entity Q591807
relation P50
type Q2342494
[ANSWER] has that person as its author
[{'concept': 'Q2342494'}, 'P50', 'Q12201477']
SELECT DISTINCT ?l WHERE { ?l property:P50 resource:Q591807 . ?l rdf:type ontology:Q2342494 }
Aurora Australis
Aurora Australis has that person as its author
Aurora Australis
action filter_type
action find_reverse
entity Frank Wild
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Commander of the Order of the British Empire']
SELECT DISTINCT ?l WHERE { ?l property:author resource:Frank_Wild . ?l rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q591807
P607
Q198
USER
What was was Frank Wild a part of ?
(Q591807,P607,c(Q198))
action filter_type
action find
entity Q591807
relation P607
type Q198
['Q591807', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?f WHERE { resource:Q591807 property:P607 ?f . ?f rdf:type ontology:Q198 }
Frank Wild
action filter_type
action find
entity Frank Wild
relation conflict
type war
['Frank Wild', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?f WHERE { resource:Frank_Wild property:conflict ?f . ?f rdf:type ontology:war }
[]
war
Q361
SYSTEM
World War I
Q361
(Q591807,P607,c(Q198))
action filter_type
action find
entity Q591807
relation P607
type Q198
Frank Wild was a part of [ANSWER]
['Q591807', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?f WHERE { resource:Q591807 property:P607 ?f . ?f rdf:type ontology:Q198 }
World War I
Frank Wild was a part of World War I
World War I
action filter_type
action find
entity Frank Wild
relation conflict
type war
['Frank Wild', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?f WHERE { resource:Frank_Wild property:conflict ?f . ?f rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q591807
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q361,P19,c(Q56061))
action filter_type
action find
entity Q591807
relation P19
type Q56061
['Q361', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q591807 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Frank Wild
action filter_type
action find
entity Frank Wild
relation place of birth
type administrative territorial entity
['World War I', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Frank_Wild property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1012044
SYSTEM
Skelton
Q1012044
(Q361,P19,c(Q56061))
action filter_type
action find
entity Q591807
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q361', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q591807 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Skelton
Skelton is the birthplace of that person
Skelton
action filter_type
action find
entity Frank Wild
relation place of birth
type administrative territorial entity
['World War I', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Frank_Wild property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q591807
P241
Q781132
USER
How many military branches are Frank Wild affiliated to ?
(Q591807,P241,c(Q781132))
action count
action filter_type
action find
entity Q591807
relation P241
type Q781132
['Q591807', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { ?l rdf:type ontology:Q781132 . resource:Q591807 property:P241 ?l }
Frank Wild
action count
action filter_type
action find
entity Frank Wild
relation military branch
type military branch
['Frank Wild', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { ?l rdf:type ontology:military_branch . resource:Frank_Wild property:military_branch ?l }
[]
military branch
SYSTEM
1
Q172771
(Q591807,P241,c(Q781132))
action count
action filter_type
action find
entity Q591807
relation P241
type Q781132
[ANSWER]
['Q591807', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { ?l rdf:type ontology:Q781132 . resource:Q591807 property:P241 ?l }
Royal Navy
1
action count
action filter_type
action find
entity Frank Wild
relation military branch
type military branch
['Frank Wild', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { ?l rdf:type ontology:military_branch . resource:Frank_Wild property:military_branch ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q591807
P138
Q34763
USER
Which peninsula is the eponym of that person ?
action filter_type
action find_reverse
entity Q591807
relation P138
type Q34763
SELECT DISTINCT ?z WHERE { ?z property:P138 resource:Q591807 . ?z rdf:type ontology:Q34763 }
Frank Wild
action filter_type
action find_reverse
entity Frank Wild
relation named after
type peninsula
SELECT DISTINCT ?z WHERE { ?z property:named_after resource:Frank_Wild . ?z rdf:type ontology:peninsula }
[]
peninsula
Q2605077
SYSTEM
Point Wild
Q2605077
action filter_type
action find_reverse
entity Q591807
relation P138
type Q34763
[ANSWER] is the eponym of that person
SELECT DISTINCT ?z WHERE { ?z property:P138 resource:Q591807 . ?z rdf:type ontology:Q34763 }
Point Wild
Point Wild is the eponym of that person
Point Wild
action filter_type
action find_reverse
entity Frank Wild
relation named after
type peninsula
SELECT DISTINCT ?z WHERE { ?z property:named_after resource:Frank_Wild . ?z rdf:type ontology:peninsula }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1441
Q2342494 Q6619679 Q15707583
USER
Which collectables feature min number of fictional humanoids and fictional taxons ?
(c(Q6619679)|c(Q15707583),P1441,c(Q2342494))
action argmin
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q6619679
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q15707583
[[{'concept': 'Q6619679'}, {'concept': 'Q15707583'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) ?o WHERE { ?q rdf:type ?a . VALUES ( ?a ) { ( ontology:Q6619679 ) ( ontology:Q15707583 ) } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) ?z WHERE { { ?k property:P1441 ?z . ?z rdf:type ontology:Q2342494 . ?k rdf:type ontology:Q15707583 } UNION { ?z rdf:type ontology:Q2342494 . ?k rdf:type ontology:Q6619679 . ?k property:P1441 ?z } } GROUP BY ?z } . FILTER ( ?j = ?s ) }
action argmin
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional humanoid
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional taxon
[[{'concept': 'fictional humanoid'}, {'concept': 'fictional taxon'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) ?o WHERE { ?q rdf:type ?a . VALUES ( ?a ) { ( ontology:fictional_humanoid ) ( ontology:fictional_taxon ) } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) ?z WHERE { { ?k property:present_in_work ?z . ?z rdf:type ontology:collectable . ?k rdf:type ontology:fictional_taxon } UNION { ?z rdf:type ontology:collectable . ?k rdf:type ontology:fictional_humanoid . ?k property:present_in_work ?z } } GROUP BY ?z } . FILTER ( ?j = ?s ) }
[]
collectable fictional humanoid fictional taxon
Q43361 Q188538 Q47209
SYSTEM
Harry Potter and the Philosopher's Stone, The Master and Margarita, Harry Potter and the Chamber of Secrets
Q74362 Q718289 Q4154269 Q28754 Q17024064 Q309450 Q939074 Q248899 Q5255573 Q130295 Q2738156 Q8258 Q332388 Q835341 Q918052 Q7516188 Q3202526 Q2917980 Q756866 Q46758 Q46751 Q47209 Q11612774 Q887867 Q742753 Q437365 Q3206513 Q3591952 Q3276721 Q2076844 Q896604 Q503793 Q1321432 Q466504 Q978387 Q25958115 Q2045474 Q503921 Q185449 Q7570608 Q318333 Q5642692 Q309019 Q3661221 Q3051582 Q8563 Q1229792 Q331651 Q733448 Q897685 Q607112 Q704677 Q282814 Q149552 Q117182 Q1167993 Q4730228 Q16998127 Q3235292 Q192258 Q7719300 Q2271327 Q7767037 Q339761 Q7732780 Q188538 Q1292533 Q7973944 Q3766392 Q1043792 Q2842837 Q9144808 Q480 Q1996380 Q19049533 Q330826 Q308982 Q41359 Q129493 Q340401 Q16246872 Q178869 Q3818564 Q2165190 Q17039930 Q17118796 Q7719319 Q4279275 Q4500509 Q596874 Q1079681 Q1250822 Q70784 Q437338 Q130924 Q5123928 Q25338 Q2317161 Q1771810 Q1638148 Q860091 Q20791621 Q437349 Q6980071 Q19587249 Q1751752 Q503974 Q2078564 Q3497005 Q1101819 Q5431317 Q502032 Q932592 Q753251 Q2263221 Q80817 Q131068 Q206870 Q510699 Q191949 Q557852 Q212718 Q857313 Q421615 Q2915384 Q17745584 Q3110346 Q208460 Q2288175 Q137869 Q471926 Q42040 Q837283 Q722594 Q17116406 Q6579159 Q1050014 Q202009 Q7883724 Q43361 Q340607 Q291087 Q46887 Q332581 Q1410482 Q181488 Q1187056 Q17116366 Q1964483 Q60672 Q437353 Q786586 Q1633087 Q47598
(c(Q6619679)|c(Q15707583),P1441,c(Q2342494))
action argmin
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q6619679
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q15707583
[ANSWERS] feature min number of fictional humanoids and fictional taxons
[[{'concept': 'Q6619679'}, {'concept': 'Q15707583'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) ?o WHERE { ?q rdf:type ?a . VALUES ( ?a ) { ( ontology:Q6619679 ) ( ontology:Q15707583 ) } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) ?z WHERE { { ?k property:P1441 ?z . ?z rdf:type ontology:Q2342494 . ?k rdf:type ontology:Q15707583 } UNION { ?z rdf:type ontology:Q2342494 . ?k rdf:type ontology:Q6619679 . ?k property:P1441 ?z } } GROUP BY ?z } . FILTER ( ?j = ?s ) }
Excession Brisingr The Farther Adventures of Robinson Crusoe Paradise Lost The Pirate King (novel) Jiraiya Gōketsu Monogatari Gesta Danorum Hunters of Dune The Hunt for Red October The Wonderful Wizard of Oz Jumanji One Thousand and One Nights The Two Towers 2001: A Space Odyssey The Martian Chronicles Silver Marches Atlantida Midrash Rabba Jurassic Park Harry Potter and the Deathly Hallows Harry Potter and the Goblet of Fire Harry Potter and the Chamber of Secrets Jiraiya Monogatari The Life of Hunger Bambi, A Life in the Woods Children of Dune Dark Force Rising Evermeet: Island of Elves Spellfire Heir to the Empire Warcraft: Day of the Dragon Morgoth's Ring Tripitaka American Psycho The Character of Rain Ali Baba and the Forty Thieves Time of Contempt The War of the Jewels Eragon Southern Victory Series Daphnis and Chloe Hall of Heroes Unfinished Tales The Last Ship Elminster in Myth Drannor The Hundred and One Dalmatians Pale Fire The Children of Húrin The Purloined Letter The Silence of the Lambs The Three-Body Problem Jim Button and Luke the Engine Driver Chapterhouse: Dune The Stand Salammbô The Mystery of Marie Rogêt All the Wrong Questions Kara-Tur: The Eastern Realms Bambi's Children Quidditch Through the Ages The Book of Ruth Dream Cycle The String of Pearls Bel Ami The Executioners The Master and Margarita The English Patient Waterdeep and the North Winnie-the-Pooh Carmilla Péplum Red Dragon Don Quixote Tokyo Fiancée Vulthoom Ainulindalë Eldest Cat's Cradle Golden Legend The Book of Lost Tales The Grand History of the Realms One Hundred Years of Solitude The Ring of Solomon The Book of Proper Names Undermountain: The Lost Level Waterdeep The Book of Urizen Space Mowgli My First Summer in the Sierra Misery The Hunting of the Snark Taras Bulba Journey to the West Dune: House Atreides Kalevala City of Splendors: Waterdeep Le Petit Prince The Dream-Quest of Unknown Kadath A Wizard of Earthsea Fear and Trembling World of Warcraft: Arthas: Rise of the Lich King Kharé: Cityport of Traps Sandworms of Dune Native Tongue Jim Button and the Wild 13 2010: Odyssey Two The Peoples of Middle-earth Guards! Guards! Star Wars Episode I: The Phantom Menace The Second Jungle Book Faiths and Pantheons The Shaping of Middle-earth Foundation's Edge Atala Mémoires d'Outre-Tombe Harry Potter and the Order of the Phoenix Book of Esther Doctor Zhivago Vril Brave New World Nansō Satomi Hakkenden 2061: Odyssey Three One Flew Over the Cuckoo's Nest Les Aventures de Télémaque The Giving Tree There's No Such Thing as a Free Lunch Magician Nineteen Eighty-Four The Farthest Shore Germinal The Eyes of the Dragon Revelation Fight Club The Hour of the Dragon Tantras The Grimoire of Marisa Foundation and Earth Fahrenheit 451 Undermountain: Maddgoth's Castle Harry Potter and the Philosopher's Stone The Lays of Beleriand Hannibal Rising Harry Potter and the Half-Blood Prince The Return of the King The Moon Is a Harsh Mistress Gulliver's Travels The Tailor of Panama Shadowdale Loving Sabotage Inheritance Heretics of Dune At the Mountains of Madness The House at Pooh Corner Harry Potter and the Prisoner of Azkaban
Harry Potter and the Philosopher's Stone, The Master and Margarita and Harry Potter and the Chamber of Secrets feature min number of fictional humanoids and fictional taxons
Harry Potter and the Philosopher's Stone The Master and Margarita Harry Potter and the Chamber of Secrets
action argmin
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional humanoid
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional taxon
[[{'concept': 'fictional humanoid'}, {'concept': 'fictional taxon'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) ?o WHERE { ?q rdf:type ?a . VALUES ( ?a ) { ( ontology:fictional_humanoid ) ( ontology:fictional_taxon ) } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) ?z WHERE { { ?k property:present_in_work ?z . ?z rdf:type ontology:collectable . ?k rdf:type ontology:fictional_taxon } UNION { ?z rdf:type ontology:collectable . ?k rdf:type ontology:fictional_humanoid . ?k property:present_in_work ?z } } GROUP BY ?z } . FILTER ( ?j = ?s ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q47209
P674
Q2537344
USER
Who appears as a character in that collectable ?
(Q47209,P674,c(Q2537344))
action filter_type
action find
entity Q47209
relation P674
type Q2537344
['Q47209', 'P674', {'concept': 'Q2537344'}]
SELECT DISTINCT ?w WHERE { resource:Q47209 property:P674 ?w . ?w rdf:type ontology:Q2537344 }
Harry Potter and the Chamber of Secrets
action filter_type
action find
entity Harry Potter and the Chamber of Secrets
relation characters
type beast species in the Harry Potter universe
['Harry Potter and the Chamber of Secrets', 'characters', {'concept': 'beast species in the Harry Potter universe'}]
SELECT DISTINCT ?w WHERE { resource:Harry_Potter_and_the_Chamber_of_Secrets property:characters ?w . ?w rdf:type ontology:beast_species_in_the_Harry_Potter_universe }
[]
beast species in the Harry Potter universe
Clarification for simple ques.
Q188538
SYSTEM
Did you mean The Master and Margarita ?
Q43361 Q188538 Q47209
(Q43361,P674,c(Q2537344)) (Q188538,P674,c(Q2537344)) (Q47209,P674,c(Q2537344))
[ANSWER]
['Q43361', 'P674', {'concept': 'Q2537344'}] ['Q188538', 'P674', {'concept': 'Q2537344'}] ['Q47209', 'P674', {'concept': 'Q2537344'}]
SELECT DISTINCT ?w WHERE { resource:Q47209 property:P674 ?w . ?w rdf:type ontology:Q2537344 }
Harry Potter and the Philosopher's Stone The Master and Margarita Harry Potter and the Chamber of Secrets
Did you mean The Master and Margarita ?
The Master and Margarita
["Harry Potter and the Philosopher's Stone", 'characters', {'concept': 'beast species in the Harry Potter universe'}] ['The Master and Margarita', 'characters', {'concept': 'beast species in the Harry Potter universe'}] ['Harry Potter and the Chamber of Secrets', 'characters', {'concept': 'beast species in the Harry Potter universe'}]
SELECT DISTINCT ?w WHERE { resource:Harry_Potter_and_the_Chamber_of_Secrets property:characters ?w . ?w rdf:type ontology:beast_species_in_the_Harry_Potter_universe }
[]
Simple Question (Coreferenced)
USER
No, I meant Harry Potter and the Chamber of Secrets. Could you tell me the answer for that?
(Q47209,P674,c(Q2537344))
Q47209
['Q47209', 'P674', {'concept': 'Q2537344'}]
['Harry Potter and the Chamber of Secrets', 'characters', {'concept': 'beast species in the Harry Potter universe'}]
[]
Q1254953 Q177439
SYSTEM
Dobby, Rubeus Hagrid
Q1254953 Q177439
(Q47209,P674,c(Q2537344))
action filter_type
action find
entity Q47209
relation P674
type Q2537344
[ANSWERS] appear as a character in that collectable
['Q47209', 'P674', {'concept': 'Q2537344'}]
SELECT DISTINCT ?w WHERE { resource:Q47209 property:P674 ?w . ?w rdf:type ontology:Q2537344 }
Dobby Rubeus Hagrid
Dobby and Rubeus Hagrid appear as a character in that collectable
Dobby Rubeus Hagrid
action filter_type
action find
entity Harry Potter and the Chamber of Secrets
relation characters
type beast species in the Harry Potter universe
['Harry Potter and the Chamber of Secrets', 'characters', {'concept': 'beast species in the Harry Potter universe'}]
SELECT DISTINCT ?w WHERE { resource:Harry_Potter_and_the_Chamber_of_Secrets property:characters ?w . ?w rdf:type ontology:beast_species_in_the_Harry_Potter_universe }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q47209
P800
Q502895
USER
Who is author of Harry Potter and the Chamber of Secrets ?
(c(Q502895),P800,Q47209)
action filter_type
action find_reverse
entity Q47209
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q47209']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P800 resource:Q47209 }
Harry Potter and the Chamber of Secrets
action filter_type
action find_reverse
entity Harry Potter and the Chamber of Secrets
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Harry Potter and the Chamber of Secrets']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:notable_work resource:Harry_Potter_and_the_Chamber_of_Secrets }
[]
common name
Q34660
SYSTEM
J. K. Rowling
Q34660
(c(Q502895),P800,Q47209)
action filter_type
action find_reverse
entity Q47209
relation P800
type Q502895
Author of Harry Potter and the Chamber of Secrets is [ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q47209']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P800 resource:Q47209 }
J. K. Rowling
Author of Harry Potter and the Chamber of Secrets is J. K. Rowling
J. K. Rowling
action filter_type
action find_reverse
entity Harry Potter and the Chamber of Secrets
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Harry Potter and the Chamber of Secrets']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:notable_work resource:Harry_Potter_and_the_Chamber_of_Secrets }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q47209
P144
Q838948
USER
Which work of art is adapted from that collectable ?
(c(Q838948),P144,Q34660)
action filter_type
action find_reverse
entity Q47209
relation P144
type Q838948
[{'concept': 'Q838948'}, 'P144', 'Q34660']
SELECT DISTINCT ?n WHERE { ?n property:P144 resource:Q47209 . ?n rdf:type ontology:Q838948 }
Harry Potter and the Chamber of Secrets
action filter_type
action find_reverse
entity Harry Potter and the Chamber of Secrets
relation based on
type work of art
[{'concept': 'work of art'}, 'based on', 'J. K. Rowling']
SELECT DISTINCT ?n WHERE { ?n property:based_on resource:Harry_Potter_and_the_Chamber_of_Secrets . ?n rdf:type ontology:work_of_art }
[]
work of art
Q102244
SYSTEM
Harry Potter and the Chamber of Secrets
Q102244
(c(Q838948),P144,Q34660)
action filter_type
action find_reverse
entity Q47209
relation P144
type Q838948
[ANSWER] is adapted from that collectable
[{'concept': 'Q838948'}, 'P144', 'Q34660']
SELECT DISTINCT ?n WHERE { ?n property:P144 resource:Q47209 . ?n rdf:type ontology:Q838948 }
Harry Potter and the Chamber of Secrets
Harry Potter and the Chamber of Secrets is adapted from that collectable
Harry Potter and the Chamber of Secrets
action filter_type
action find_reverse
entity Harry Potter and the Chamber of Secrets
relation based on
type work of art
[{'concept': 'work of art'}, 'based on', 'J. K. Rowling']
SELECT DISTINCT ?n WHERE { ?n property:based_on resource:Harry_Potter_and_the_Chamber_of_Secrets . ?n rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P800
Q502895
USER
How many people have that work of art as a notable work ?
(c(Q502895),P800,Q102244)
action count
action filter_type
action find_reverse
entity Q102244
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q102244']
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { ?w rdf:type ontology:Q502895 . ?w property:P800 resource:Q102244 }
action count
action filter_type
action find_reverse
entity Harry Potter and the Chamber of Secrets
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Harry Potter and the Chamber of Secrets']
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { ?w rdf:type ontology:common_name . ?w property:notable_work resource:Harry_Potter_and_the_Chamber_of_Secrets }
[]
common name
SYSTEM
1
Q39476
(c(Q502895),P800,Q102244)
action count
action filter_type
action find_reverse
entity Q102244
relation P800
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q102244']
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { ?w rdf:type ontology:Q502895 . ?w property:P800 resource:Q102244 }
Emma Watson
1
action count
action filter_type
action find_reverse
entity Harry Potter and the Chamber of Secrets
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Harry Potter and the Chamber of Secrets']
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { ?w rdf:type ontology:common_name . ?w property:notable_work resource:Harry_Potter_and_the_Chamber_of_Secrets }
[]