Simple Question (Direct)
Simple Question
Q3076144
P161
Q502895
USER
Which people were casted in Women in Trouble ?
(Q3076144,P161,c(Q502895))
action filter_type
action find
entity Q3076144
relation P161
type Q502895
['Q3076144', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q3076144 property:P161 ?z }
Women in Trouble
action filter_type
action find
entity Women in Trouble
relation cast member
type common name
['Women in Trouble', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Women_in_Trouble property:cast_member ?z }
[]
common name
Q41396 Q177311 Q235519
SYSTEM
Josh Brolin, Joseph Gordon-Levitt, Connie Britton
Q228871 Q235519 Q242451 Q262278 Q235072 Q177311 Q129831 Q192021 Q234809 Q450219 Q41396 Q298173
(Q3076144,P161,c(Q502895))
action filter_type
action find
entity Q3076144
relation P161
type Q502895
[ANSWERS] were casted in Women in Trouble
['Q3076144', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q3076144 property:P161 ?z }
Carla Gugino Connie Britton Cameron Richardson Adrianne Palicki Marley Shelton Joseph Gordon-Levitt Elizabeth Berkley Simon Baker Sarah Clarke Garcelle Beauvais Josh Brolin Emmanuelle Chriqui
Josh Brolin, Joseph Gordon-Levitt and Connie Britton were casted in Women in Trouble
Josh Brolin Joseph Gordon-Levitt Connie Britton
action filter_type
action find
entity Women in Trouble
relation cast member
type common name
['Women in Trouble', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Women_in_Trouble property:cast_member ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q41396
P175
Q6619679
USER
Which fictional humanoid presented Josh Brolin ?
(c(Q6619679),P175,Q41396)
action filter_type
action find_reverse
entity Q41396
relation P175
type Q6619679
[{'concept': 'Q6619679'}, 'P175', 'Q41396']
SELECT DISTINCT ?f WHERE { ?f property:P175 resource:Q41396 . ?f rdf:type ontology:Q6619679 }
Josh Brolin
action filter_type
action find_reverse
entity Josh Brolin
relation performer
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'performer', 'Josh Brolin']
SELECT DISTINCT ?f WHERE { ?f property:performer resource:Josh_Brolin . ?f rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q2071077
SYSTEM
Agent K
Q2071077
(c(Q6619679),P175,Q41396)
action filter_type
action find_reverse
entity Q41396
relation P175
type Q6619679
[ANSWER] presented Josh Brolin
[{'concept': 'Q6619679'}, 'P175', 'Q41396']
SELECT DISTINCT ?f WHERE { ?f property:P175 resource:Q41396 . ?f rdf:type ontology:Q6619679 }
Agent K
Agent K presented Josh Brolin
Agent K
action filter_type
action find_reverse
entity Josh Brolin
relation performer
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'performer', 'Josh Brolin']
SELECT DISTINCT ?f WHERE { ?f property:performer resource:Josh_Brolin . ?f rdf:type ontology:fictional_humanoid }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2071077
P1441
Q838948
USER
Which works of art are that fictional humanoid present in ?
(Q2071077,P1441,c(Q838948))
action filter_type
action find
entity Q2071077
relation P1441
type Q838948
['Q2071077', 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ?k WHERE { resource:Q2071077 property:P1441 ?k . ?k rdf:type ontology:Q838948 }
Agent K
action filter_type
action find
entity Agent K
relation present in work
type work of art
['Agent K', 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ?k WHERE { resource:Agent_K property:present_in_work ?k . ?k rdf:type ontology:work_of_art }
[]
work of art
Q51416 Q327713 Q156597
SYSTEM
Men in Black, Men in Black 3, Men in Black II
Q51416 Q327713 Q156597
(Q2071077,P1441,c(Q838948))
action filter_type
action find
entity Q2071077
relation P1441
type Q838948
[ANSWERS]
['Q2071077', 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ?k WHERE { resource:Q2071077 property:P1441 ?k . ?k rdf:type ontology:Q838948 }
Men in Black Men in Black 3 Men in Black II
Which works of art are that fictional humanoid present in
Men in Black Men in Black 3 Men in Black II
action filter_type
action find
entity Agent K
relation present in work
type work of art
['Agent K', 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ?k WHERE { resource:Agent_K property:present_in_work ?k . ?k rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q838948 Q2342494 Q1190554
USER
Which works of art are atmost 1 collectables and events a part of ?
(c(Q2342494)|c(Q1190554),P361,c(Q838948))
action atmost
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q2342494
action find_reverse_tuple_counts
relation P361
type Q838948
type Q1190554
value 1
[[{'concept': 'Q2342494'}, {'concept': 'Q1190554'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) ?l WHERE { { ?q property:P361 ?l . ?l rdf:type ontology:Q838948 . ?q rdf:type ontology:Q2342494 } UNION { ?l rdf:type ontology:Q838948 . ?q rdf:type ontology:Q1190554 . ?q property:P361 ?l } } GROUP BY ?l } . FILTER ( ?y <= 1 ) }
action atmost
action union
action find_reverse_tuple_counts
relation part of
type work of art
type collectable
action find_reverse_tuple_counts
relation part of
type work of art
type event
value 1
[[{'concept': 'collectable'}, {'concept': 'event'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) ?l WHERE { { ?q property:part_of ?l . ?l rdf:type ontology:work_of_art . ?q rdf:type ontology:collectable } UNION { ?l rdf:type ontology:work_of_art . ?q rdf:type ontology:event . ?q property:part_of ?l } } GROUP BY ?l } . FILTER ( ?y <= 1 ) }
[]
work of art collectable event
Q205028 Q102438 Q15624215
SYSTEM
Iron Man 2, Harry Potter and the Philosopher's Stone, Lucy
Q2312028 Q1762957 Q5723375 Q3415280 Q4143086 Q127367 Q22260775 Q193066 Q15624215 Q206400 Q2364709 Q7719555 Q372959 Q102438 Q10371896 Q18547944 Q6503493 Q3907523 Q3907489 Q29478 Q17275612 Q6675667 Q552002 Q19393199 Q10550583 Q934970 Q1209853 Q18609716 Q284184 Q16161848 Q215750 Q734834 Q222867 Q4660040 Q495954 Q733065 Q747847 Q977372 Q161687 Q1534737 Q4656518 Q1411766 Q205028 Q1623056 Q1760893 Q753449 Q4135545 Q314003 Q4110177 Q1356770 Q3193421 Q16741153 Q332368 Q3983379 Q478748 Q1195466 Q21129836 Q21129837 Q2003287 Q1752478 Q174811 Q945138 Q187483 Q6519361 Q874496 Q475476 Q103569 Q976149 Q3907478 Q1988321 Q18577910 Q3428050 Q3346699 Q472359 Q971109 Q1360347 Q632753 Q60072 Q489772 Q41567 Q7572454 Q3747490 Q1270166 Q3395799 Q7451782 Q463313 Q18217301 Q232009 Q309153 Q2905386 Q165325 Q2626332 Q7338317 Q15057808 Q22527805 Q203443 Q201022 Q213053 Q3907484 Q4680630 Q2089457 Q3907512 Q2661437 Q79218 Q1125687 Q20857440 Q24980 Q283134 Q93184 Q24568939 Q7203413 Q16980242 Q1230318 Q378838 Q928019 Q152185 Q2405799 Q281465 Q3907505 Q164804 Q16156301 Q3992615 Q1297233 Q482994 Q3087894 Q21340348 Q7600677 Q2467518 Q10512738
(c(Q2342494)|c(Q1190554),P361,c(Q838948))
action atmost
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q2342494
action find_reverse_tuple_counts
relation P361
type Q838948
type Q1190554
value 1
[ANSWERS] are atmost 1 collectables and events a part of
[[{'concept': 'Q2342494'}, {'concept': 'Q1190554'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) ?l WHERE { { ?q property:P361 ?l . ?l rdf:type ontology:Q838948 . ?q rdf:type ontology:Q2342494 } UNION { ?l rdf:type ontology:Q838948 . ?q rdf:type ontology:Q1190554 . ?q property:P361 ?l } } GROUP BY ?l } . FILTER ( ?y <= 1 ) }
Star Spangled Rhythm Release the Prisoners to Spring Tales of an Island Dangerous Moonlight Ride The Lord of the Rings: The Fellowship of the Ring Sonar Kella Breakfast at Tiffany's Lucy The Merchant of Venice Alice Comedies The Bowman and The Spearman The Towering Inferno Harry Potter and the Philosopher's Stone Sing, Baby, Sing The Martian Law of the Sea polyptych of Saint Augustine Assumption Faust Le Tour de France dans les Pyrénées Looney Tunes: Unleashed Ro.Go.Pa.G. Life of Humanity Kurt Olsson – filmen om mitt liv som mig själv Le Roi et l'oiseau Dick Tracy Scenes from the Life of the Virgin Ra.One The Arts of War and The Arts of Peace Julius Caesar Ghent Altarpiece 2 Fast 2 Furious A Texas Trilogy Henry V Dabangg New Orleans New York Stories Harry Potter and the Half-Blood Prince Life A Divine Double Feature predella Iron Man 2 The Fighting Temptations Roseanna Christine Henry IV (play) Stolpersteine A Night Before Christmas Heroon Karl Liebknecht 3x3D A View to a Kill Ten Minutes Older: The Trumpet The Holiday The Man on the Roof The Arts of War The Arts of Peace The Gates of Hell Slap Shot Up Bedknobs and Broomsticks Bayeux Tapestry Leif The Poseidon Adventure diptych Alien Laura Roverella Altarpiece Seven Sorrows Polyptych George VI and Queen Elizabeth Memorial Christ with singing and music-making Angels Nymphomaniac El Cantante Inferno Hunnestad Monument Babes in Arms The Sound of Music Seven Wonders of the Ancient World Hamlet Space Pirate Captain Harlock baptismal font of the Siena Baptistry Danish Crown Regalia Polyptych of Certosa di Pavia Separate Tables Romeo + Juliet Rizal Monument Harry Potter and the Deathly Hallows – Part 2 Singin' in the Rain Black Jack Kill Bill Volume 1 A Breed Apart Rivers and Tides Monument to the Republic Chatsworth Apollo headstone folk dance Superman 1472 Polyptych Sculptural Ensemble of Constantin Brâncuși at Târgu Jiu Cold War Porto San Giorgio Polyptych The Witches triptych Teheran 43 Henry VI (play) Part 1-3 Monty Python's The Meaning of Life Supergirl drawing Meditation Playing for Keeps Arabian Nights Carefree The Oldest Profession Kill Bill Volume 2 The Legend of Lucy Keyes DC Universe Animated Original Movies Albert Memorial Montefiore dell'Aso Polyptych Underworld Medals by Pisanello Tomb of Giuliano de' Medici, Duke of Nemours Ferdinand the Bull album Parthenon Frieze Madonna and Child, Saints Francis, John the Baptist, John the Evangelist and Anthony of Padua computer graphics Visions of the Hereafter Göta kanal eller Vem drog ur proppen?
Iron Man 2, Harry Potter and the Philosopher's Stone and Lucy are atmost 1 collectables and events a part of
Iron Man 2 Harry Potter and the Philosopher's Stone Lucy
action atmost
action union
action find_reverse_tuple_counts
relation part of
type work of art
type collectable
action find_reverse_tuple_counts
relation part of
type work of art
type event
value 1
[[{'concept': 'collectable'}, {'concept': 'event'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) ?l WHERE { { ?q property:part_of ?l . ?l rdf:type ontology:work_of_art . ?q rdf:type ontology:collectable } UNION { ?l rdf:type ontology:work_of_art . ?q rdf:type ontology:event . ?q property:part_of ?l } } GROUP BY ?l } . FILTER ( ?y <= 1 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q102438
P1412 P800
Q502895
USER
Which people have Harry Potter and the Philosopher's Stone as their notable work and write English ?
AND((c(Q502895),P800,Q102438), (c(Q502895),P1412,Q1860))
action filter_type
action intersection
action find_reverse
entity Q102438
relation P800
action find_reverse
entity Q1860
relation P1412
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P800', 'Q102438'], [{'concept': 'Q502895'}, 'P1412', 'Q1860']]}
SELECT DISTINCT ?n WHERE { ?n property:P800 resource:Q102438 . ?n property:P1412 resource:Q1860 . ?n rdf:type ontology:Q502895 }
English Harry Potter and the Philosopher's Stone
action filter_type
action intersection
action find_reverse
entity Harry Potter and the Philosopher's Stone
relation notable work
action find_reverse
entity English
relation languages spoken, written or signed
type common name
{'AND': [[{'concept': 'common name'}, 'notable work', "Harry Potter and the Philosopher's Stone"], [{'concept': 'common name'}, 'languages spoken, written or signed', 'English']]}
SELECT DISTINCT ?n WHERE { ?n property:notable_work resource:Harry_Potter_and_the_Philosopher's_Stone . ?n property:languages_spoken,_written_or_signed resource:English . ?n rdf:type ontology:common_name }
[]
common name
Q39476
SYSTEM
Emma Watson
Q39476
AND((c(Q502895),P800,Q102438), (c(Q502895),P1412,Q1860))
action filter_type
action intersection
action find_reverse
entity Q102438
relation P800
action find_reverse
entity Q1860
relation P1412
type Q502895
[ANSWER] have Harry Potter and the Philosopher's Stone as their notable work and write English
{'AND': [[{'concept': 'Q502895'}, 'P800', 'Q102438'], [{'concept': 'Q502895'}, 'P1412', 'Q1860']]}
SELECT DISTINCT ?n WHERE { ?n property:P800 resource:Q102438 . ?n property:P1412 resource:Q1860 . ?n rdf:type ontology:Q502895 }
Emma Watson
Emma Watson have Harry Potter and the Philosopher's Stone as their notable work and write English
Emma Watson
action filter_type
action intersection
action find_reverse
entity Harry Potter and the Philosopher's Stone
relation notable work
action find_reverse
entity English
relation languages spoken, written or signed
type common name
{'AND': [[{'concept': 'common name'}, 'notable work', "Harry Potter and the Philosopher's Stone"], [{'concept': 'common name'}, 'languages spoken, written or signed', 'English']]}
SELECT DISTINCT ?n WHERE { ?n property:notable_work resource:Harry_Potter_and_the_Philosopher's_Stone . ?n property:languages_spoken,_written_or_signed resource:English . ?n rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q39476 Q18561606
P161
Q838948
USER
Does that person star in Colonia ?
(Q18561606,P161,Q39476)
action is_in
entity Q39476
action find
entity Q18561606
relation P161
['Q18561606', 'P161', 'Q39476']
ASK WHERE { resource:Q18561606 property:P161 resource:Q39476 }
Emma Watson Colonia
action is_in
entity Emma Watson
action find
entity Colonia
relation cast member
['Colonia', 'cast member', 'Emma Watson']
ASK WHERE { resource:Colonia property:cast_member resource:Emma_Watson }
[]
work of art
SYSTEM
YES
(Q18561606,P161,Q39476)
action is_in
entity Q39476
action find
entity Q18561606
relation P161
[ANSWER]
['Q18561606', 'P161', 'Q39476']
ASK WHERE { resource:Q18561606 property:P161 resource:Q39476 }
Yes
action is_in
entity Emma Watson
action find
entity Colonia
relation cast member
['Colonia', 'cast member', 'Emma Watson']
ASK WHERE { resource:Colonia property:cast_member resource:Emma_Watson }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q39476
P161
Q838948 Q15416
USER
How many works of art and television programs have Emma Watson as actor ?
(c(Q838948),P161,Q39476) (c(Q15416),P161,Q39476)
action count
action union
action filter_type
action find_reverse
entity Q39476
relation P161
type Q838948
action filter_type
action find_reverse
entity Q39476
relation P161
type Q15416
[{'concept': 'Q838948'}, 'P161', 'Q39476'] [{'concept': 'Q15416'}, 'P161', 'Q39476']
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { ?f property:P161 resource:Q39476 . ?f rdf:type ontology:Q838948 } UNION { ?f rdf:type ontology:Q15416 . ?f property:P161 resource:Q39476 } }
Emma Watson
action count
action union
action filter_type
action find_reverse
entity Emma Watson
relation cast member
type work of art
action filter_type
action find_reverse
entity Emma Watson
relation cast member
type television program
[{'concept': 'work of art'}, 'cast member', 'Emma Watson'] [{'concept': 'television program'}, 'cast member', 'Emma Watson']
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { ?f property:cast_member resource:Emma_Watson . ?f rdf:type ontology:work_of_art } UNION { ?f rdf:type ontology:television_program . ?f property:cast_member resource:Emma_Watson } }
[]
work of art television program
SYSTEM
18 works of art and 1 television programs
Q102438 Q16641324 Q21010849 Q3077738 Q16672410 Q102448 Q102244 Q581859 Q1129480 Q675468 Q161687 Q607363 Q232009 Q18561606 Q161678 Q286868 Q102235 Q102225 Q19946102
(c(Q838948),P161,Q39476) (c(Q15416),P161,Q39476)
action count
action union
action filter_type
action find_reverse
entity Q39476
relation P161
type Q838948
action filter_type
action find_reverse
entity Q39476
relation P161
type Q15416
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q39476'] [{'concept': 'Q15416'}, 'P161', 'Q39476']
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { ?f property:P161 resource:Q39476 . ?f rdf:type ontology:Q838948 } UNION { ?f rdf:type ontology:Q15416 . ?f property:P161 resource:Q39476 } }
Harry Potter and the Philosopher's Stone Harry Potter and the Forbidden Journey The Circle The Bling Ring Regression Harry Potter and the Prisoner of Azkaban Harry Potter and the Chamber of Secrets My Week with Marilyn Ballet Shoes The Perks of Being a Wallflower Harry Potter and the Half-Blood Prince This Is the End Harry Potter and the Deathly Hallows – Part 2 Colonia Harry Potter and the Deathly Hallows – Part 1 Noah Harry Potter and the Order of the Phoenix Harry Potter and the Goblet of Fire Beauty and the Beast
18 works of art and 1 television programs
action count
action union
action filter_type
action find_reverse
entity Emma Watson
relation cast member
type work of art
action filter_type
action find_reverse
entity Emma Watson
relation cast member
type television program
[{'concept': 'work of art'}, 'cast member', 'Emma Watson'] [{'concept': 'television program'}, 'cast member', 'Emma Watson']
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { ?f property:cast_member resource:Emma_Watson . ?f rdf:type ontology:work_of_art } UNION { ?f rdf:type ontology:television_program . ?f property:cast_member resource:Emma_Watson } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5209147 Q39476
P800
Q838948
USER
Which works of art were done by Emma Watson or Daijiro Morohoshi ?
OR((Q39476,P800,c(Q838948)), (Q5209147,P800,c(Q838948)))
action filter_type
action union
action find
entity Q39476
relation P800
action find
entity Q5209147
relation P800
type Q838948
{'OR': [['Q39476', 'P800', {'concept': 'Q838948'}], ['Q5209147', 'P800', {'concept': 'Q838948'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q39476 property:P800 ?s } UNION { resource:Q5209147 property:P800 ?s } } . ?s rdf:type ontology:Q838948 }
Daijiro Morohoshi Emma Watson
action filter_type
action union
action find
entity Emma Watson
relation notable work
action find
entity Daijiro Morohoshi
relation notable work
type work of art
{'OR': [['Emma Watson', 'notable work', {'concept': 'work of art'}], ['Daijiro Morohoshi', 'notable work', {'concept': 'work of art'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Emma_Watson property:notable_work ?s } UNION { resource:Daijiro_Morohoshi property:notable_work ?s } } . ?s rdf:type ontology:work_of_art }
[]
work of art
Q581859 Q675468 Q102244 Q2778150 Q102438 Q102235
SYSTEM
My Week with Marilyn, The Perks of Being a Wallflower, Harry Potter and the Chamber of Secrets, Hiruko the Goblin, Harry Potter and the Philosopher's Stone, Harry Potter and the Order of the Phoenix
Q581859 Q675468 Q102244 Q2778150 Q102438 Q102235
OR((Q39476,P800,c(Q838948)), (Q5209147,P800,c(Q838948)))
action filter_type
action union
action find
entity Q39476
relation P800
action find
entity Q5209147
relation P800
type Q838948
[ANSWERS] were done by Emma Watson or Daijiro Morohoshi
{'OR': [['Q39476', 'P800', {'concept': 'Q838948'}], ['Q5209147', 'P800', {'concept': 'Q838948'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q39476 property:P800 ?s } UNION { resource:Q5209147 property:P800 ?s } } . ?s rdf:type ontology:Q838948 }
My Week with Marilyn The Perks of Being a Wallflower Harry Potter and the Chamber of Secrets Hiruko the Goblin Harry Potter and the Philosopher's Stone Harry Potter and the Order of the Phoenix
My Week with Marilyn, The Perks of Being a Wallflower, Harry Potter and the Chamber of Secrets, Hiruko the Goblin, Harry Potter and the Philosopher's Stone and Harry Potter and the Order of the Phoenix were done by Emma Watson or Daijiro Morohoshi
My Week with Marilyn The Perks of Being a Wallflower Harry Potter and the Chamber of Secrets Hiruko the Goblin Harry Potter and the Philosopher's Stone Harry Potter and the Order of the Phoenix
action filter_type
action union
action find
entity Emma Watson
relation notable work
action find
entity Daijiro Morohoshi
relation notable work
type work of art
{'OR': [['Emma Watson', 'notable work', {'concept': 'work of art'}], ['Daijiro Morohoshi', 'notable work', {'concept': 'work of art'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Emma_Watson property:notable_work ?s } UNION { resource:Daijiro_Morohoshi property:notable_work ?s } } . ?s rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q581859 Q675468 Q102244 Q2778150 Q102438 Q102235
P800
Q502895
USER
Whose notable work were My Week with Marilyn, The Perks of Being a Wallflower, Harry Potter and the Chamber of Secrets, Hiruko the Goblin, Harry Potter and the Philosopher's Stone and Harry Potter and the Order of the Phoenix ?
(c(Q502895),P800,Q581859) (c(Q502895),P800,Q675468) (c(Q502895),P800,Q102244) (c(Q502895),P800,Q2778150) (c(Q502895),P800,Q102438) (c(Q502895),P800,Q102235)
action union
action filter_type
action find_reverse
entity Q581859
relation P800
type Q502895
action filter_type
action find_reverse
entity Q675468
relation P800
type Q502895
action filter_type
action find_reverse
entity Q102244
relation P800
type Q502895
action filter_type
action find_reverse
entity Q2778150
relation P800
type Q502895
action filter_type
action find_reverse
entity Q102438
relation P800
type Q502895
action filter_type
action find_reverse
entity Q102235
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q581859'] [{'concept': 'Q502895'}, 'P800', 'Q675468'] [{'concept': 'Q502895'}, 'P800', 'Q102244'] [{'concept': 'Q502895'}, 'P800', 'Q2778150'] [{'concept': 'Q502895'}, 'P800', 'Q102438'] [{'concept': 'Q502895'}, 'P800', 'Q102235']
SELECT DISTINCT ?j WHERE { VALUES ( ?r ) { ( resource:Q581859 ) ( resource:Q675468 ) } . ?j property:P800 ?r }
My Week with Marilyn The Perks of Being a Wallflower Harry Potter and the Chamber of Secrets Hiruko the Goblin Harry Potter and the Philosopher's Stone Harry Potter and the Order of the Phoenix
action union
action filter_type
action find_reverse
entity My Week with Marilyn
relation notable work
type common name
action filter_type
action find_reverse
entity The Perks of Being a Wallflower
relation notable work
type common name
action filter_type
action find_reverse
entity Harry Potter and the Chamber of Secrets
relation notable work
type common name
action filter_type
action find_reverse
entity Hiruko the Goblin
relation notable work
type common name
action filter_type
action find_reverse
entity Harry Potter and the Philosopher's Stone
relation notable work
type common name
action filter_type
action find_reverse
entity Harry Potter and the Order of the Phoenix
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'My Week with Marilyn'] [{'concept': 'common name'}, 'notable work', 'The Perks of Being a Wallflower'] [{'concept': 'common name'}, 'notable work', 'Harry Potter and the Chamber of Secrets'] [{'concept': 'common name'}, 'notable work', 'Hiruko the Goblin'] [{'concept': 'common name'}, 'notable work', "Harry Potter and the Philosopher's Stone"] [{'concept': 'common name'}, 'notable work', 'Harry Potter and the Order of the Phoenix']
SELECT DISTINCT ?j WHERE { VALUES ( ?r ) { ( resource:My_Week_with_Marilyn ) ( resource:The_Perks_of_Being_a_Wallflower ) } . ?j property:notable_work ?r }
[]
common name
Q39476 Q39476 Q39476
SYSTEM
Emma Watson
Q39476 Q39476 Q39476 Q5209147 Q39476 Q39476
(c(Q502895),P800,Q581859) (c(Q502895),P800,Q675468) (c(Q502895),P800,Q102244) (c(Q502895),P800,Q2778150) (c(Q502895),P800,Q102438) (c(Q502895),P800,Q102235)
action union
action filter_type
action find_reverse
entity Q581859
relation P800
type Q502895
action filter_type
action find_reverse
entity Q675468
relation P800
type Q502895
action filter_type
action find_reverse
entity Q102244
relation P800
type Q502895
action filter_type
action find_reverse
entity Q2778150
relation P800
type Q502895
action filter_type
action find_reverse
entity Q102438
relation P800
type Q502895
action filter_type
action find_reverse
entity Q102235
relation P800
type Q502895
[ANSWER], [ANSWER] and [ANSWER] were My Week with Marilyn, The Perks of Being a Wallflower, Harry Potter and the Chamber of Secrets, Hiruko the Goblin, Harry Potter and the Philosopher's Stone and Harry Potter and the Order of the Phoenix
[{'concept': 'Q502895'}, 'P800', 'Q581859'] [{'concept': 'Q502895'}, 'P800', 'Q675468'] [{'concept': 'Q502895'}, 'P800', 'Q102244'] [{'concept': 'Q502895'}, 'P800', 'Q2778150'] [{'concept': 'Q502895'}, 'P800', 'Q102438'] [{'concept': 'Q502895'}, 'P800', 'Q102235']
SELECT DISTINCT ?j WHERE { VALUES ( ?r ) { ( resource:Q581859 ) ( resource:Q675468 ) } . ?j property:P800 ?r }
Emma Watson Emma Watson Emma Watson Daijiro Morohoshi Emma Watson Emma Watson
Emma Watson, Emma Watson and Emma Watson were My Week with Marilyn, The Perks of Being a Wallflower, Harry Potter and the Chamber of Secrets, Hiruko the Goblin, Harry Potter and the Philosopher's Stone and Harry Potter and the Order of the Phoenix
Emma Watson Emma Watson Emma Watson
action union
action filter_type
action find_reverse
entity My Week with Marilyn
relation notable work
type common name
action filter_type
action find_reverse
entity The Perks of Being a Wallflower
relation notable work
type common name
action filter_type
action find_reverse
entity Harry Potter and the Chamber of Secrets
relation notable work
type common name
action filter_type
action find_reverse
entity Hiruko the Goblin
relation notable work
type common name
action filter_type
action find_reverse
entity Harry Potter and the Philosopher's Stone
relation notable work
type common name
action filter_type
action find_reverse
entity Harry Potter and the Order of the Phoenix
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'My Week with Marilyn'] [{'concept': 'common name'}, 'notable work', 'The Perks of Being a Wallflower'] [{'concept': 'common name'}, 'notable work', 'Harry Potter and the Chamber of Secrets'] [{'concept': 'common name'}, 'notable work', 'Hiruko the Goblin'] [{'concept': 'common name'}, 'notable work', "Harry Potter and the Philosopher's Stone"] [{'concept': 'common name'}, 'notable work', 'Harry Potter and the Order of the Phoenix']
SELECT DISTINCT ?j WHERE { VALUES ( ?r ) { ( resource:My_Week_with_Marilyn ) ( resource:The_Perks_of_Being_a_Wallflower ) } . ?j property:notable_work ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q102244
P144
Q166142
USER
Which application builds on Harry Potter and the Chamber of Secrets ?
(c(Q166142),P144,Q102244)
action filter_type
action find_reverse
entity Q102244
relation P144
type Q166142
[{'concept': 'Q166142'}, 'P144', 'Q102244']
SELECT DISTINCT ?f WHERE { ?f property:P144 resource:Q102244 . ?f rdf:type ontology:Q166142 }
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 application
[{'concept': 'application'}, 'based on', 'Harry Potter and the Chamber of Secrets']
SELECT DISTINCT ?f WHERE { ?f property:based_on resource:Harry_Potter_and_the_Chamber_of_Secrets . ?f rdf:type ontology:application }
[]
application
Q726167
SYSTEM
Harry Potter and the Chamber of Secrets
Q726167
(c(Q166142),P144,Q102244)
action filter_type
action find_reverse
entity Q102244
relation P144
type Q166142
[ANSWER] builds on [ANSWER]
[{'concept': 'Q166142'}, 'P144', 'Q102244']
SELECT DISTINCT ?f WHERE { ?f property:P144 resource:Q102244 . ?f rdf:type ontology:Q166142 }
Harry Potter and the Chamber of Secrets
Harry Potter and the Chamber of Secrets builds on Harry Potter and the Chamber of Secrets
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 application
[{'concept': 'application'}, 'based on', 'Harry Potter and the Chamber of Secrets']
SELECT DISTINCT ?f WHERE { ?f property:based_on resource:Harry_Potter_and_the_Chamber_of_Secrets . ?f rdf:type ontology:application }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q102244
P1040
Q502895
USER
Who has editted that work of art ?
(Q726167,P1040,c(Q502895))
action filter_type
action find
entity Q102244
relation P1040
type Q502895
['Q726167', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q102244 property:P1040 ?h . ?h rdf:type ontology:Q502895 }
Harry Potter and the Chamber of Secrets
action filter_type
action find
entity Harry Potter and the Chamber of Secrets
relation film editor
type common name
['Harry Potter and the Chamber of Secrets', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Harry_Potter_and_the_Chamber_of_Secrets property:film_editor ?h . ?h rdf:type ontology:common_name }
[]
common name
Q977704
SYSTEM
Peter Honess
Q977704
(Q726167,P1040,c(Q502895))
action filter_type
action find
entity Q102244
relation P1040
type Q502895
[ANSWER] has editted that work of art
['Q726167', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q102244 property:P1040 ?h . ?h rdf:type ontology:Q502895 }
Peter Honess
Peter Honess has editted that work of art
Peter Honess
action filter_type
action find
entity Harry Potter and the Chamber of Secrets
relation film editor
type common name
['Harry Potter and the Chamber of Secrets', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Harry_Potter_and_the_Chamber_of_Secrets property:film_editor ?h . ?h rdf:type ontology:common_name }
[]