Simple Question (Direct)
Simple Question
Q4880802
P57
Q502895
USER
Which person served as the directed of Behind Green Lights ?
(Q4880802,P57,c(Q502895))
action filter_type
action find
entity Q4880802
relation P57
type Q502895
['Q4880802', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q4880802 property:P57 ?h . ?h rdf:type ontology:Q502895 }
Behind Green Lights
action filter_type
action find
entity Behind Green Lights
relation director
type common name
['Behind Green Lights', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Behind_Green_Lights property:director ?h . ?h rdf:type ontology:common_name }
[]
common name
Q377412
SYSTEM
Otto Brower
Q377412
(Q4880802,P57,c(Q502895))
action filter_type
action find
entity Q4880802
relation P57
type Q502895
[ANSWER] served as the directed of Behind Green Lights
['Q4880802', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q4880802 property:P57 ?h . ?h rdf:type ontology:Q502895 }
Otto Brower
Otto Brower served as the directed of Behind Green Lights
Otto Brower
action filter_type
action find
entity Behind Green Lights
relation director
type common name
['Behind Green Lights', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Behind_Green_Lights property:director ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4880802
P344
Q502895
USER
Which person is the cinematographer of Behind Green Lights ?
(Q4880802,P344,c(Q502895))
action filter_type
action find
entity Q4880802
relation P344
type Q502895
['Q4880802', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q4880802 property:P344 ?d . ?d rdf:type ontology:Q502895 }
Behind Green Lights
action filter_type
action find
entity Behind Green Lights
relation director of photography
type common name
['Behind Green Lights', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Behind_Green_Lights property:director_of_photography ?d . ?d rdf:type ontology:common_name }
[]
common name
Q345800
SYSTEM
Joseph MacDonald
Q345800
(Q4880802,P344,c(Q502895))
action filter_type
action find
entity Q4880802
relation P344
type Q502895
[ANSWER] is the cinematographer of Behind Green Lights
['Q4880802', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q4880802 property:P344 ?d . ?d rdf:type ontology:Q502895 }
Joseph MacDonald
Joseph MacDonald is the cinematographer of Behind Green Lights
Joseph MacDonald
action filter_type
action find
entity Behind Green Lights
relation director of photography
type common name
['Behind Green Lights', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Behind_Green_Lights property:director_of_photography ?d . ?d rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q345800 Q25506
P344
Q838948
USER
Does Flight from Ashiya have that person as the director of photography ?
(Q25506,P344,Q345800)
action is_in
entity Q345800
action find
entity Q25506
relation P344
['Q25506', 'P344', 'Q345800']
ASK WHERE { resource:Q25506 property:P344 resource:Q345800 }
Joseph MacDonald Flight from Ashiya
action is_in
entity Joseph MacDonald
action find
entity Flight from Ashiya
relation director of photography
['Flight from Ashiya', 'director of photography', 'Joseph MacDonald']
ASK WHERE { resource:Flight_from_Ashiya property:director_of_photography resource:Joseph_MacDonald }
[]
work of art
SYSTEM
YES
(Q25506,P344,Q345800)
action is_in
entity Q345800
action find
entity Q25506
relation P344
[ANSWER]
['Q25506', 'P344', 'Q345800']
ASK WHERE { resource:Q25506 property:P344 resource:Q345800 }
Yes
action is_in
entity Joseph MacDonald
action find
entity Flight from Ashiya
relation director of photography
['Flight from Ashiya', 'director of photography', 'Joseph MacDonald']
ASK WHERE { resource:Flight_from_Ashiya property:director_of_photography resource:Joseph_MacDonald }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q377412 Q12152
P509
Q2057971
USER
Did myocardial infarction cause the death of Otto Brower ?
(Q377412,P509,Q12152)
action is_in
entity Q12152
action find
entity Q377412
relation P509
['Q377412', 'P509', 'Q12152']
ASK WHERE { resource:Q377412 property:P509 resource:Q12152 }
Otto Brower myocardial infarction
action is_in
entity myocardial infarction
action find
entity Otto Brower
relation cause of death
['Otto Brower', 'cause of death', 'myocardial infarction']
ASK WHERE { resource:Otto_Brower property:cause_of_death resource:myocardial_infarction }
[]
health problem
SYSTEM
YES
(Q377412,P509,Q12152)
action is_in
entity Q12152
action find
entity Q377412
relation P509
[ANSWER]
['Q377412', 'P509', 'Q12152']
ASK WHERE { resource:Q377412 property:P509 resource:Q12152 }
Yes
action is_in
entity myocardial infarction
action find
entity Otto Brower
relation cause of death
['Otto Brower', 'cause of death', 'myocardial infarction']
ASK WHERE { resource:Otto_Brower property:cause_of_death resource:myocardial_infarction }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q552002
P361
Q838948 Q15619164 Q2031291
USER
Which works of art are approximately the same number of abstract beings and releases a component of as Ro.Go.Pa.G. ?
(c(Q15619164)|c(Q2031291),P361,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q15619164
action find_reverse_tuple_counts
relation P361
type Q838948
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q552002
relation P361
type Q15619164
type Q2031291
[[{'concept': 'Q15619164'}, {'concept': 'Q2031291'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) ?p WHERE { ?t rdf:type ?r . VALUES ( ?r ) { ( ontology:Q15619164 ) ( ontology:Q2031291 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { ?m property:P361 resource:Q552002 . { { ?m rdf:type ontology:Q2031291 } UNION { ?m rdf:type ontology:Q15619164 } } } } . FILTER ( ?q = ?s ) }
Ro.Go.Pa.G.
action approx
action union
action find_reverse_tuple_counts
relation part of
type work of art
type abstract being
action find_reverse_tuple_counts
relation part of
type work of art
type release
action count
action filter_multi_types
action find_reverse
entity Ro.Go.Pa.G.
relation part of
type abstract being
type release
[[{'concept': 'abstract being'}, {'concept': 'release'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) ?p WHERE { ?t rdf:type ?r . VALUES ( ?r ) { ( ontology:abstract_being ) ( ontology:release ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { ?m property:part_of resource:Ro.Go.Pa.G. . { { ?m rdf:type ontology:release } UNION { ?m rdf:type ontology:abstract_being } } } } . FILTER ( ?q = ?s ) }
[]
work of art abstract being release
Q205028 Q102438 Q15624215
SYSTEM
Iron Man 2, Harry Potter and the Philosopher's Stone, Lucy
Q1762957 Q5723375 Q3415280 Q4143086 Q127367 Q22260775 Q193066 Q15624215 Q206400 Q2364709 Q7719555 Q102438 Q10371896 Q6503493 Q3907523 Q3907489 Q29478 Q17275612 Q6675667 Q552002 Q19393199 Q10550583 Q934970 Q1209853 Q18609716 Q284184 Q16161848 Q215750 Q734834 Q4660040 Q495954 Q733065 Q747847 Q977372 Q161687 Q1534737 Q4656518 Q1411766 Q205028 Q1760893 Q753449 Q4135545 Q314003 Q4110177 Q1356770 Q3193421 Q16741153 Q332368 Q3983379 Q478748 Q1195466 Q21129836 Q21129837 Q2003287 Q1752478 Q945138 Q187483 Q6519361 Q874496 Q475476 Q103569 Q976149 Q3907478 Q1988321 Q18577910 Q3428050 Q3346699 Q971109 Q1360347 Q632753 Q489772 Q41567 Q7572454 Q3747490 Q1270166 Q3395799 Q7451782 Q463313 Q18217301 Q232009 Q309153 Q2905386 Q165325 Q2626332 Q15057808 Q22527805 Q203443 Q201022 Q213053 Q3907484 Q4680630 Q2089457 Q3907512 Q2661437 Q79218 Q1125687 Q20857440 Q283134 Q93184 Q24568939 Q16980242 Q1230318 Q378838 Q928019 Q152185 Q2405799 Q281465 Q3907505 Q164804 Q16156301 Q3992615 Q1297233 Q482994 Q3087894 Q21340348 Q7600677 Q2467518 Q10512738
(c(Q15619164)|c(Q2031291),P361,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q15619164
action find_reverse_tuple_counts
relation P361
type Q838948
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q552002
relation P361
type Q15619164
type Q2031291
[ANSWERS] are approximately the same number of abstract beings and releases a component of as Ro.Go.Pa.G.
[[{'concept': 'Q15619164'}, {'concept': 'Q2031291'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) ?p WHERE { ?t rdf:type ?r . VALUES ( ?r ) { ( ontology:Q15619164 ) ( ontology:Q2031291 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { ?m property:P361 resource:Q552002 . { { ?m rdf:type ontology:Q2031291 } UNION { ?m rdf:type ontology:Q15619164 } } } } . FILTER ( ?q = ?s ) }
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 Harry Potter and the Philosopher's Stone Sing, Baby, Sing 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 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 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 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 Inferno Hunnestad Monument Babes in Arms 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 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 Supergirl drawing Meditation 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 approximately the same number of abstract beings and releases a component of as Ro.Go.Pa.G.
Iron Man 2 Harry Potter and the Philosopher's Stone Lucy
action approx
action union
action find_reverse_tuple_counts
relation part of
type work of art
type abstract being
action find_reverse_tuple_counts
relation part of
type work of art
type release
action count
action filter_multi_types
action find_reverse
entity Ro.Go.Pa.G.
relation part of
type abstract being
type release
[[{'concept': 'abstract being'}, {'concept': 'release'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) ?p WHERE { ?t rdf:type ?r . VALUES ( ?r ) { ( ontology:abstract_being ) ( ontology:release ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { ?m property:part_of resource:Ro.Go.Pa.G. . { { ?m rdf:type ontology:release } UNION { ?m rdf:type ontology:abstract_being } } } } . FILTER ( ?q = ?s ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q3428050
P361
Q838948 Q15619164 Q2031291
USER
And also tell me about Christ with singing and music-making Angels?
(c(Q15619164)|c(Q2031291),P361,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q15619164
action find_reverse_tuple_counts
relation P361
type Q838948
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q3428050
relation P361
type Q15619164
type Q2031291
[[{'concept': 'Q15619164'}, {'concept': 'Q2031291'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) ?z WHERE { ?p rdf:type ?t . VALUES ( ?t ) { ( ontology:Q15619164 ) ( ontology:Q2031291 ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:P361 resource:Q3428050 . { { ?q rdf:type ontology:Q15619164 } UNION { ?q rdf:type ontology:Q2031291 } } } } . FILTER ( ?w = ?s ) }
Christ with singing and music-making Angels
action approx
action union
action find_reverse_tuple_counts
relation part of
type work of art
type abstract being
action find_reverse_tuple_counts
relation part of
type work of art
type release
action count
action filter_multi_types
action find_reverse
entity Christ with singing and music-making Angels
relation part of
type abstract being
type release
[[{'concept': 'abstract being'}, {'concept': 'release'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) ?z WHERE { ?p rdf:type ?t . VALUES ( ?t ) { ( ontology:abstract_being ) ( ontology:release ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:part_of resource:Christ_with_singing_and_music-making_Angels . { { ?q rdf:type ontology:abstract_being } UNION { ?q rdf:type ontology:release } } } } . FILTER ( ?w = ?s ) }
[]
work of art abstract being release
Q205028 Q102438 Q15624215
SYSTEM
Iron Man 2, Harry Potter and the Philosopher's Stone, Lucy
Q1762957 Q5723375 Q3415280 Q4143086 Q127367 Q22260775 Q193066 Q15624215 Q206400 Q2364709 Q7719555 Q102438 Q10371896 Q6503493 Q3907523 Q3907489 Q29478 Q17275612 Q6675667 Q552002 Q19393199 Q10550583 Q934970 Q1209853 Q18609716 Q284184 Q16161848 Q215750 Q734834 Q4660040 Q495954 Q733065 Q747847 Q977372 Q161687 Q1534737 Q4656518 Q1411766 Q205028 Q1760893 Q753449 Q4135545 Q314003 Q4110177 Q1356770 Q3193421 Q16741153 Q332368 Q3983379 Q478748 Q1195466 Q21129836 Q21129837 Q2003287 Q1752478 Q945138 Q187483 Q6519361 Q874496 Q475476 Q103569 Q976149 Q3907478 Q1988321 Q18577910 Q3428050 Q3346699 Q971109 Q1360347 Q632753 Q489772 Q41567 Q7572454 Q3747490 Q1270166 Q3395799 Q7451782 Q463313 Q18217301 Q232009 Q309153 Q2905386 Q165325 Q2626332 Q15057808 Q22527805 Q203443 Q201022 Q213053 Q3907484 Q4680630 Q2089457 Q3907512 Q2661437 Q79218 Q1125687 Q20857440 Q283134 Q93184 Q24568939 Q16980242 Q1230318 Q378838 Q928019 Q152185 Q2405799 Q281465 Q3907505 Q164804 Q16156301 Q3992615 Q1297233 Q482994 Q3087894 Q21340348 Q7600677 Q2467518 Q10512738
(c(Q15619164)|c(Q2031291),P361,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q15619164
action find_reverse_tuple_counts
relation P361
type Q838948
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q3428050
relation P361
type Q15619164
type Q2031291
[ANSWERS]
[[{'concept': 'Q15619164'}, {'concept': 'Q2031291'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) ?z WHERE { ?p rdf:type ?t . VALUES ( ?t ) { ( ontology:Q15619164 ) ( ontology:Q2031291 ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:P361 resource:Q3428050 . { { ?q rdf:type ontology:Q15619164 } UNION { ?q rdf:type ontology:Q2031291 } } } } . FILTER ( ?w = ?s ) }
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 Harry Potter and the Philosopher's Stone Sing, Baby, Sing 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 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 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 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 Inferno Hunnestad Monument Babes in Arms 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 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 Supergirl drawing Meditation 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 Lucy
action approx
action union
action find_reverse_tuple_counts
relation part of
type work of art
type abstract being
action find_reverse_tuple_counts
relation part of
type work of art
type release
action count
action filter_multi_types
action find_reverse
entity Christ with singing and music-making Angels
relation part of
type abstract being
type release
[[{'concept': 'abstract being'}, {'concept': 'release'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) ?z WHERE { ?p rdf:type ?t . VALUES ( ?t ) { ( ontology:abstract_being ) ( ontology:release ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:part_of resource:Christ_with_singing_and_music-making_Angels . { { ?q rdf:type ontology:abstract_being } UNION { ?q rdf:type ontology:release } } } } . FILTER ( ?w = ?s ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P1441
Q15619164
USER
How many abstract beings appear in that work of art ?
(c(Q15619164),P1441,Q15624215)
[{'concept': 'Q15619164'}, 'P1441', 'Q15624215']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1441 resource:Q27147401 . ?z rdf:type ontology:Q15619164 }
[{'concept': 'abstract being'}, 'present in work', 'Lucy']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:present_in_work resource:Lucy . ?z rdf:type ontology:abstract_being }
[]
abstract being
Quantitative|Count|Single entity type|Clarification
Q102438
SYSTEM
Did you mean Harry Potter and the Philosopher's Stone ?
(c(Q15619164),P1441,Q205028) (c(Q15619164),P1441,Q102438) (c(Q15619164),P1441,Q15624215)
[ANSWER]
[{'concept': 'Q15619164'}, 'P1441', 'Q205028'] [{'concept': 'Q15619164'}, 'P1441', 'Q102438'] [{'concept': 'Q15619164'}, 'P1441', 'Q15624215']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1441 resource:Q27147401 . ?z rdf:type ontology:Q15619164 }
Did you mean Harry Potter and the Philosopher's Stone ?
Harry Potter and the Philosopher's Stone
[{'concept': 'abstract being'}, 'present in work', 'Iron Man 2'] [{'concept': 'abstract being'}, 'present in work', "Harry Potter and the Philosopher's Stone"] [{'concept': 'abstract being'}, 'present in work', 'Lucy']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:present_in_work resource:Lucy . ?z rdf:type ontology:abstract_being }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Lucy. Could you tell me the answer for that?
(c(Q15619164),P1441,Q15624215)
Q15624215
[{'concept': 'Q15619164'}, 'P1441', 'Q15624215']
[{'concept': 'abstract being'}, 'present in work', 'Lucy']
[]
SYSTEM
19
Q17417440 Q17417442 Q17417443 Q17419658 Q17417438 Q17417436 Q17417431 Q17417430 Q17417433 Q17417432 Q17419649 Q17417428 Q17417427 Q17417425 Q17417423 Q17420617 Q17419858 Q17420051 Q17419952
(c(Q15619164),P1441,Q15624215)
[ANSWER]
[{'concept': 'Q15619164'}, 'P1441', 'Q15624215']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1441 resource:Q27147401 . ?z rdf:type ontology:Q15619164 }
Warehouse Man Driver Mahjong Room Man The Receptionist Business Man Plane Drug Addict Chinese Doctor Lucy’s Driver Airport Nurse Italian Mule Jii Taipei Surgeon Cop Daniel French Mule Cabin Manager Regent Hotel Concierge #2 Airport Doctor Cop Robert Rubik's Cube Boy Cop Sergeant
19
[{'concept': 'abstract being'}, 'present in work', 'Lucy']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:present_in_work resource:Lucy . ?z rdf:type ontology:abstract_being }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q205028
P1431
Q502895
USER
Who are the executive producers of Iron Man 2 ?
(Q205028,P1431,c(Q502895))
action filter_type
action find
entity Q205028
relation P1431
type Q502895
['Q205028', 'P1431', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q205028 property:P1431 ?z . ?z rdf:type ontology:Q502895 }
Iron Man 2
action filter_type
action find
entity Iron Man 2
relation executive producer
type common name
['Iron Man 2', 'executive producer', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Iron_Man_2 property:executive_producer ?z . ?z rdf:type ontology:common_name }
[]
common name
Q181900 Q295964 Q433157
SYSTEM
Stan Lee, Jon Favreau, Susan Downey
Q5237056 Q4706615 Q23890139 Q295964 Q433157 Q23409539 Q181900
(Q205028,P1431,c(Q502895))
action filter_type
action find
entity Q205028
relation P1431
type Q502895
The executive producers of Iron Man 2 are [ANSWERS]
['Q205028', 'P1431', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q205028 property:P1431 ?z . ?z rdf:type ontology:Q502895 }
David Maisel Alan Fine Denis L. Stewart Jon Favreau Susan Downey Louis D'Esposito Stan Lee
The executive producers of Iron Man 2 are Stan Lee, Jon Favreau and Susan Downey
Stan Lee Jon Favreau Susan Downey
action filter_type
action find
entity Iron Man 2
relation executive producer
type common name
['Iron Man 2', 'executive producer', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Iron_Man_2 property:executive_producer ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q813452
Q502895
USER
And how about Beautiful People?
(Q813452,P1431,c(Q502895))
action filter_type
action find
entity Q813452
relation P1431
type Q502895
['Q813452', 'P1431', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q813452 property:P1431 ?e . ?e rdf:type ontology:Q502895 }
Beautiful People
action filter_type
action find
entity Beautiful People
relation executive producer
type common name
['Beautiful People', 'executive producer', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Beautiful_People property:executive_producer ?e . ?e rdf:type ontology:common_name }
[]
common name
Q7153856
SYSTEM
Paul Stupin
Q7153856
(Q813452,P1431,c(Q502895))
action filter_type
action find
entity Q813452
relation P1431
type Q502895
[ANSWER]
['Q813452', 'P1431', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q813452 property:P1431 ?e . ?e rdf:type ontology:Q502895 }
Paul Stupin
Paul Stupin
action filter_type
action find
entity Beautiful People
relation executive producer
type common name
['Beautiful People', 'executive producer', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Beautiful_People property:executive_producer ?e . ?e rdf:type ontology:common_name }
[]