Simple Question (Direct)
Simple Question
Q248392
P161
Q502895
USER
Which people were casted in Nuremberg ?
(Q248392,P161,c(Q502895))
action filter_type
action find
entity Q248392
relation P161
type Q502895
['Q248392', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q248392 property:P161 ?m . ?m rdf:type ontology:Q502895 }
Nuremberg
action filter_type
action find
entity Nuremberg
relation cast member
type common name
['Nuremberg', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Nuremberg property:cast_member ?m . ?m rdf:type ontology:common_name }
[]
common name
Q352 Q9916 Q190523
SYSTEM
Adolf Hitler, Dwight D. Eisenhower, Christopher Plummer
Q43067 Q449679 Q533470 Q344973 Q352 Q725247 Q203215 Q237925 Q1720470 Q1396699 Q170572 Q190523 Q34975 Q276005 Q9916
(Q248392,P161,c(Q502895))
action filter_type
action find
entity Q248392
relation P161
type Q502895
[ANSWERS] were casted in Nuremberg
['Q248392', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q248392 property:P161 ?m . ?m rdf:type ontology:Q502895 }
Heinrich Himmler Colm Feore Christopher Heyerdahl Michael Ironside Adolf Hitler Robert Joy Max von Sydow Jill Hennessy Len Cariou Matt Craven Alec Baldwin Christopher Plummer Brian Cox Charlotte Gainsbourg Dwight D. Eisenhower
Adolf Hitler, Dwight D. Eisenhower and Christopher Plummer were casted in Nuremberg
Adolf Hitler Dwight D. Eisenhower Christopher Plummer
action filter_type
action find
entity Nuremberg
relation cast member
type common name
['Nuremberg', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Nuremberg property:cast_member ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q248392
P1040
Q502895
USER
What is the name of person who editted Nuremberg ?
(Q248392,P1040,c(Q502895))
action filter_type
action find
entity Q248392
relation P1040
type Q502895
['Q248392', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q248392 property:P1040 ?w }
Nuremberg
action filter_type
action find
entity Nuremberg
relation film editor
type common name
['Nuremberg', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Nuremberg property:film_editor ?w }
[]
common name
Q2602233
SYSTEM
Yves Langlois
Q2602233
(Q248392,P1040,c(Q502895))
action filter_type
action find
entity Q248392
relation P1040
type Q502895
The name of person editted Nuremberg is [ANSWER]
['Q248392', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q248392 property:P1040 ?w }
Yves Langlois
The name of person editted Nuremberg is Yves Langlois
Yves Langlois
action filter_type
action find
entity Nuremberg
relation film editor
type common name
['Nuremberg', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Nuremberg property:film_editor ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13055019
P800
Q502895
USER
Whose notable work was Wounds of Armenia ?
(c(Q502895),P800,Q13055019)
action filter_type
action find_reverse
entity Q13055019
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q13055019']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P800 resource:Q13055019 }
Wounds of Armenia
action filter_type
action find_reverse
entity Wounds of Armenia
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Wounds of Armenia']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:notable_work resource:Wounds_of_Armenia }
[]
common name
Q313461
SYSTEM
Khachatur Abovian
Q313461
(c(Q502895),P800,Q13055019)
action filter_type
action find_reverse
entity Q13055019
relation P800
type Q502895
[ANSWER] was Wounds of Armenia
[{'concept': 'Q502895'}, 'P800', 'Q13055019']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P800 resource:Q13055019 }
Khachatur Abovian
Khachatur Abovian was Wounds of Armenia
Khachatur Abovian
action filter_type
action find_reverse
entity Wounds of Armenia
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Wounds of Armenia']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:notable_work resource:Wounds_of_Armenia }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q352
P1196
Q1914636
USER
What situation did Adolf Hitler die in ?
(Q352,P1196,c(Q1914636))
action filter_type
action find
entity Q352
relation P1196
type Q1914636
['Q352', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?v WHERE { resource:Q352 property:P1196 ?v . ?v rdf:type ontology:Q1914636 }
Adolf Hitler
action filter_type
action find
entity Adolf Hitler
relation manner of death
type activity
['Adolf Hitler', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?v WHERE { resource:Adolf_Hitler property:manner_of_death ?v . ?v rdf:type ontology:activity }
[]
activity
Q10737
SYSTEM
suicide
Q10737
(Q352,P1196,c(Q1914636))
action filter_type
action find
entity Q352
relation P1196
type Q1914636
Adolf Hitler died in [ANSWER]
['Q352', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?v WHERE { resource:Q352 property:P1196 ?v . ?v rdf:type ontology:Q1914636 }
suicide
Adolf Hitler died in suicide
suicide
action filter_type
action find
entity Adolf Hitler
relation manner of death
type activity
['Adolf Hitler', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?v WHERE { resource:Adolf_Hitler property:manner_of_death ?v . ?v rdf:type ontology:activity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10737
P1995
Q1047113
USER
Which special field is the medical expertise concerned with that activity ?
(Q10737,P1995,c(Q1047113))
action filter_type
action find
entity Q10737
relation P1995
type Q1047113
['Q10737', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?g WHERE { resource:Q10737 property:P1995 ?g . ?g rdf:type ontology:Q1047113 }
suicide
action filter_type
action find
entity suicide
relation medical specialty
type special field
['suicide', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?g WHERE { resource:suicide property:medical_specialty ?g . ?g rdf:type ontology:special_field }
[]
special field
Q7867
SYSTEM
psychiatry
Q7867
(Q10737,P1995,c(Q1047113))
action filter_type
action find
entity Q10737
relation P1995
type Q1047113
So [ANSWER] is the medical expertise concerned with that activity
['Q10737', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?g WHERE { resource:Q10737 property:P1995 ?g . ?g rdf:type ontology:Q1047113 }
psychiatry
So psychiatry is the medical expertise concerned with that activity
psychiatry
action filter_type
action find
entity suicide
relation medical specialty
type special field
['suicide', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?g WHERE { resource:suicide property:medical_specialty ?g . ?g rdf:type ontology:special_field }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10737
P921
Q838948
USER
What are that activity a main subject of ?
(c(Q838948),P921,Q7867)
action filter_type
action find_reverse
entity Q10737
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q7867']
SELECT DISTINCT ?u WHERE { ?u property:P921 resource:Q10737 . ?u rdf:type ontology:Q838948 }
suicide
action filter_type
action find_reverse
entity suicide
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'psychiatry']
SELECT DISTINCT ?u WHERE { ?u property:main_subject resource:suicide . ?u rdf:type ontology:work_of_art }
[]
work of art
Q110278 Q157044 Q1653396
SYSTEM
Vanilla Sky, The Hours, Sin City: A Dame to Kill For
Q492455 Q6199111 Q7858909 Q7743706 Q501749 Q1595847 Q2740346 Q681092 Q3110449 Q3265568 Q6691692 Q499515 Q7771463 Q1653396 Q6946469 Q1410288 Q1740171 Q3072646 Q1123479 Q686533 Q1093085 Q216269 Q594649 Q1142950 Q1057774 Q1156769 Q3007582 Q961403 Q202548 Q2002073 Q5303159 Q300559 Q368577 Q5245315 Q493559 Q18533961 Q2034354 Q2093499 Q939163 Q1469774 Q1551916 Q526162 Q157044 Q3988393 Q2340418 Q110278 Q280918 Q657977 Q15043378 Q659756 Q15043376 Q3050405 Q463313 Q486803 Q1342540 Q80318 Q902480 Q1659640 Q184255 Q7602981 Q1616729 Q477370 Q703188 Q221992 Q7637438 Q1129186 Q5557242 Q4659170 Q214013 Q976061 Q229633 Q1507790 Q4385210 Q2574952 Q3511728 Q1679872 Q1508993 Q7077577 Q635924 Q340130 Q737870 Q2095992 Q3388893 Q1095356 Q475693 Q794178 Q570221 Q4067950 Q210873 Q2850218 Q6307469 Q22244926 Q7635333 Q7635337 Q1535050 Q950029 Q668357 Q4952080 Q1278929 Q638799 Q178568 Q4997639 Q2091985 Q602289 Q976982 Q643283 Q2548513 Q1508772 Q1033396 Q675468 Q1783897 Q533383 Q4004245 Q1423971 Q3110707 Q6495200 Q3868909 Q2985421
(c(Q838948),P921,Q7867)
action filter_type
action find_reverse
entity Q10737
relation P921
type Q838948
That activity a main subject of are the [ANSWERS]
[{'concept': 'Q838948'}, 'P921', 'Q7867']
SELECT DISTINCT ?u WHERE { ?u property:P921 resource:Q10737 . ?u rdf:type ontology:Q838948 }
Bleak Night Jim in Bold Two Days The Joy of Life Paco Les amitiés particulières The Kovak Box The Happening Hatter's Castle Asylum Love and Suicide Ben X The Unforgiven Sin City: A Dame to Kill For My Suicidal Sweetheart The Chumscrubber Mishima: A Life in Four Chapters Le courage d'aimer The Number 23 Gods and Monsters The Big Heat 23 Colonel Redl Lilya 4-ever Noriko's Dinner Table Suicide Club Cuore Sacro Interiors Vertigo Wristcutters: A Love Story Downhearted Duckling A Single Man Harold and Maude Dead Man on Campus The Suicide Forecast Announce Earthquakes Kill Me Later Psychomania Chelsea Walls On the Beach Heathers Last Days The Hours The Moth Diaries Van de koele meren des doods Vanilla Sky Leaving Las Vegas Salò, or the 120 Days of Sodom SilkAir 185: Pilot Suicide? Shutter Love and Suicide Wilby Wonderful Romeo + Juliet Poetry To Save a Life Ken Park Lost and Delirious Imaginary Heroes Million Dollar Baby State's Evidence Love Liza Heart of America Veronika Voss 2:37 Summer Solstice Control Ghost in Love A Reason to Live 21 Grams Elvira Madigan 3 Idiots Rails & Ties Blessed by Fire Khamosh Pani Soeur Sourire Monsieur Lazhar The Last Time I Committed Suicide Ode to Billy Joe Seven Pounds Whose Life Is It Anyway? To Write Love on Her Arms The Slender Thread Triple Dog Suicide Room Oldboy Taste of Cherry Reuben, Reuben Apartment 1303 3D Leave Her to Heaven Anjaana Anjaani Julian Po Christine Suicide Dolls Suicide Manual The Death of Kevin Carter: Casualty of the Bang Bang Club The Bridge The Good Girl Boy Interrupted Turtles Can Fly Pretty Persuasion Der Todesking Bungee Jumping of Their Own The Power and the Glory The Pallbearer Double Suicide Women on the Verge of a Nervous Breakdown Romulus, My Father It's Kind of a Funny Story Cannibal The Perks of Being a Wallflower Veronika Decides to Die The Room 'night, Mother The Virgin Suicides Goodbye Solo Late Blossom Archie's Final Project It's My Party
That activity a main subject of are the Vanilla Sky, The Hours and Sin City: A Dame to Kill For
Vanilla Sky The Hours Sin City: A Dame to Kill For
action filter_type
action find_reverse
entity suicide
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'psychiatry']
SELECT DISTINCT ?u WHERE { ?u property:main_subject resource:suicide . ?u rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1653396
P58
Q502895
USER
Who wrote the script for that work of art ?
(Q1653396,P58,c(Q502895))
action filter_type
action find
entity Q1653396
relation P58
type Q502895
['Q1653396', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q1653396 property:P58 ?g . ?g rdf:type ontology:Q502895 }
Sin City: A Dame to Kill For
action filter_type
action find
entity Sin City: A Dame to Kill For
relation screenwriter
type common name
['Sin City: A Dame to Kill For', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Sin_City:_A_Dame_to_Kill_For property:screenwriter ?g . ?g rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q157044
SYSTEM
Did you mean The Hours ?
Q110278 Q157044 Q1653396
(Q110278,P58,c(Q502895)) (Q157044,P58,c(Q502895)) (Q1653396,P58,c(Q502895))
[ANSWER]
['Q110278', 'P58', {'concept': 'Q502895'}] ['Q157044', 'P58', {'concept': 'Q502895'}] ['Q1653396', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q1653396 property:P58 ?g . ?g rdf:type ontology:Q502895 }
Vanilla Sky The Hours Sin City: A Dame to Kill For
Did you mean The Hours ?
The Hours
['Vanilla Sky', 'screenwriter', {'concept': 'common name'}] ['The Hours', 'screenwriter', {'concept': 'common name'}] ['Sin City: A Dame to Kill For', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Sin_City:_A_Dame_to_Kill_For property:screenwriter ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Sin City: A Dame to Kill For. Could you tell me the answer for that?
(Q1653396,P58,c(Q502895))
Q1653396
['Q1653396', 'P58', {'concept': 'Q502895'}]
['Sin City: A Dame to Kill For', 'screenwriter', {'concept': 'common name'}]
[]
Q207676 Q611586 Q47284
SYSTEM
Frank Miller, William Monahan, Robert Rodriguez
Q207676 Q611586 Q47284
(Q1653396,P58,c(Q502895))
action filter_type
action find
entity Q1653396
relation P58
type Q502895
[ANSWERS] wrote the script for that work of art
['Q1653396', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q1653396 property:P58 ?g . ?g rdf:type ontology:Q502895 }
Frank Miller William Monahan Robert Rodriguez
Frank Miller, William Monahan and Robert Rodriguez wrote the script for that work of art
Frank Miller William Monahan Robert Rodriguez
action filter_type
action find
entity Sin City: A Dame to Kill For
relation screenwriter
type common name
['Sin City: A Dame to Kill For', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Sin_City:_A_Dame_to_Kill_For property:screenwriter ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1653396
P344
Q502895
USER
Which person is the cinematographer of Sin City: A Dame to Kill For ?
(Q1653396,P344,c(Q502895))
action filter_type
action find
entity Q1653396
relation P344
type Q502895
['Q1653396', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1653396 property:P344 ?c . ?c rdf:type ontology:Q502895 }
Sin City: A Dame to Kill For
action filter_type
action find
entity Sin City: A Dame to Kill For
relation director of photography
type common name
['Sin City: A Dame to Kill For', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Sin_City:_A_Dame_to_Kill_For property:director_of_photography ?c . ?c rdf:type ontology:common_name }
[]
common name
Q47284
SYSTEM
Robert Rodriguez
Q47284
(Q1653396,P344,c(Q502895))
action filter_type
action find
entity Q1653396
relation P344
type Q502895
[ANSWER] is the cinematographer of Sin City: A Dame to Kill For
['Q1653396', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1653396 property:P344 ?c . ?c rdf:type ontology:Q502895 }
Robert Rodriguez
Robert Rodriguez is the cinematographer of Sin City: A Dame to Kill For
Robert Rodriguez
action filter_type
action find
entity Sin City: A Dame to Kill For
relation director of photography
type common name
['Sin City: A Dame to Kill For', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Sin_City:_A_Dame_to_Kill_For property:director_of_photography ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1212494
Q502895
USER
And how about The Fly?
(Q1212494,P344,c(Q502895))
action filter_type
action find
entity Q1212494
relation P344
type Q502895
['Q1212494', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q1212494 property:P344 ?r . ?r rdf:type ontology:Q502895 }
The Fly
action filter_type
action find
entity The Fly
relation director of photography
type common name
['The Fly', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:The_Fly property:director_of_photography ?r . ?r rdf:type ontology:common_name }
[]
common name
Q1351247
SYSTEM
Karl Struss
Q1351247
(Q1212494,P344,c(Q502895))
action filter_type
action find
entity Q1212494
relation P344
type Q502895
[ANSWER]
['Q1212494', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q1212494 property:P344 ?r . ?r rdf:type ontology:Q502895 }
Karl Struss
Karl Struss
action filter_type
action find
entity The Fly
relation director of photography
type common name
['The Fly', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:The_Fly property:director_of_photography ?r . ?r rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q838948 Q15709879 Q838948
USER
How many works of art are expressed in approximately 1 artwork series and works of art ?
(c(Q15709879)|c(Q838948),P180,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q838948
type Q838948
value 1
[[{'concept': 'Q15709879'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) ?r WHERE { VALUES ( ?j ) { ( ontology:Q15709879 ) ( ontology:Q838948 ) } . ?x rdf:type ?j } GROUP BY ?r } . FILTER ( ?d = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type artwork series
action find_reverse_tuple_counts
relation depicts
type work of art
type work of art
value 1
[[{'concept': 'artwork series'}, {'concept': 'work of art'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) ?r WHERE { VALUES ( ?j ) { ( ontology:artwork_series ) ( ontology:work_of_art ) } . ?x rdf:type ?j } GROUP BY ?r } . FILTER ( ?d = 1 ) }
[]
work of art artwork series work of art
SYSTEM
30
Q143912 Q766487 Q2439030 Q23770419 Q1064990 Q3497617 Q267971 Q324926 Q3013723 Q2551806 Q185382 Q9764 Q179900 Q826635 Q2070542 Q733893 Q185392 Q619135 Q848790 Q907387 Q18177089 Q374591 Q945850 Q1989744 Q465762 Q492461 Q7539835 Q1349065 Q397447 Q208440
(c(Q15709879)|c(Q838948),P180,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q838948
type Q838948
value 1
[ANSWER]
[[{'concept': 'Q15709879'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) ?r WHERE { VALUES ( ?j ) { ( ontology:Q15709879 ) ( ontology:Q838948 ) } . ?x rdf:type ?j } GROUP BY ?r } . FILTER ( ?d = 1 ) }
triumphal arch David St. Peter's Baldacchino Bear Hunter Monument aux Girondins equestrian statue of Joan of Arc Triton Fountain fibula The Railrodder Belvedere Torso Trevi Fountain flamenco David Elephant and Obelisk Hermes Chair of Saint Peter Borghese Gladiator Apollo Belvedere Dying Gaul Equestrian Statue of Marcus Aurelius Dénicheur d'oursons Farnese Hercules Apollo and Daphne Moses Laocoön and His Sons kalathos Sleeping Ariadne Passion play torc chess piece
30
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type artwork series
action find_reverse_tuple_counts
relation depicts
type work of art
type work of art
value 1
[[{'concept': 'artwork series'}, {'concept': 'work of art'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) ?r WHERE { VALUES ( ?j ) { ( ontology:artwork_series ) ( ontology:work_of_art ) } . ?x rdf:type ?j } GROUP BY ?r } . FILTER ( ?d = 1 ) }
[]