Simple Question (Direct)
Simple Question
Q372692
P69
Q3914
USER
Which school is the alma mater of Adrian Brunel ?
(Q372692,P69,c(Q3914))
action filter_type
action find
entity Q372692
relation P69
type Q3914
['Q372692', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?h WHERE { resource:Q372692 property:P69 ?h . ?h rdf:type ontology:Q3914 }
Adrian Brunel
action filter_type
action find
entity Adrian Brunel
relation educated at
type school
['Adrian Brunel', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?h WHERE { resource:Adrian_Brunel property:educated_at ?h . ?h rdf:type ontology:school }
[]
school
Q1247373
SYSTEM
Harrow School
Q1247373
(Q372692,P69,c(Q3914))
action filter_type
action find
entity Q372692
relation P69
type Q3914
[ANSWER] is the alma mater of Adrian Brunel
['Q372692', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?h WHERE { resource:Q372692 property:P69 ?h . ?h rdf:type ontology:Q3914 }
Harrow School
Harrow School is the alma mater of Adrian Brunel
Harrow School
action filter_type
action find
entity Adrian Brunel
relation educated at
type school
['Adrian Brunel', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?h WHERE { resource:Adrian_Brunel property:educated_at ?h . ?h rdf:type ontology:school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1247373
P915
Q838948
USER
Which works of art were filmed at that school ?
(c(Q838948),P915,Q1247373)
action filter_type
action find_reverse
entity Q1247373
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q1247373']
SELECT DISTINCT ?m WHERE { ?m property:P915 resource:Q1247373 . ?m rdf:type ontology:Q838948 }
Harrow School
action filter_type
action find_reverse
entity Harrow School
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Harrow School']
SELECT DISTINCT ?m WHERE { ?m property:filming_location resource:Harrow_School . ?m rdf:type ontology:work_of_art }
[]
work of art
Q102438 Q15079318
SYSTEM
Harry Potter and the Philosopher's Stone, The Theory of Everything
Q102438 Q15079318
(c(Q838948),P915,Q1247373)
action filter_type
action find_reverse
entity Q1247373
relation P915
type Q838948
[ANSWERS] were filmed at that school
[{'concept': 'Q838948'}, 'P915', 'Q1247373']
SELECT DISTINCT ?m WHERE { ?m property:P915 resource:Q1247373 . ?m rdf:type ontology:Q838948 }
Harry Potter and the Philosopher's Stone The Theory of Everything
Harry Potter and the Philosopher's Stone and The Theory of Everything were filmed at that school
Harry Potter and the Philosopher's Stone The Theory of Everything
action filter_type
action find_reverse
entity Harrow School
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Harrow School']
SELECT DISTINCT ?m WHERE { ?m property:filming_location resource:Harrow_School . ?m rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7699260 Q15079318
P162
Q502895
USER
Which people are the creators of The Theory of Everything or Ten Minutes to Live ?
OR((Q15079318,P162,c(Q502895)), (Q7699260,P162,c(Q502895)))
action filter_type
action union
action find
entity Q15079318
relation P162
action find
entity Q7699260
relation P162
type Q502895
{'OR': [['Q15079318', 'P162', {'concept': 'Q502895'}], ['Q7699260', 'P162', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q15079318 property:P162 ?d } UNION { resource:Q7699260 property:P162 ?d } } . ?d rdf:type ontology:Q502895 }
Ten Minutes to Live The Theory of Everything
action filter_type
action union
action find
entity The Theory of Everything
relation producer
action find
entity Ten Minutes to Live
relation producer
type common name
{'OR': [['The Theory of Everything', 'producer', {'concept': 'common name'}], ['Ten Minutes to Live', 'producer', {'concept': 'common name'}]]}
SELECT DISTINCT ?d WHERE { { { resource:The_Theory_of_Everything property:producer ?d } UNION { resource:Ten_Minutes_to_Live property:producer ?d } } . ?d rdf:type ontology:common_name }
[]
common name
Q573610 Q1473065 Q1351291 Q1354247
SYSTEM
Anthony McCarten, Tim Bevan, Eric Fellner, Oscar Micheaux
Q573610 Q1473065 Q1351291 Q1354247
OR((Q15079318,P162,c(Q502895)), (Q7699260,P162,c(Q502895)))
action filter_type
action union
action find
entity Q15079318
relation P162
action find
entity Q7699260
relation P162
type Q502895
[ANSWERS] are the creators of The Theory of Everything or Ten Minutes to Live
{'OR': [['Q15079318', 'P162', {'concept': 'Q502895'}], ['Q7699260', 'P162', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q15079318 property:P162 ?d } UNION { resource:Q7699260 property:P162 ?d } } . ?d rdf:type ontology:Q502895 }
Anthony McCarten Tim Bevan Eric Fellner Oscar Micheaux
Anthony McCarten, Tim Bevan, Eric Fellner and Oscar Micheaux are the creators of The Theory of Everything or Ten Minutes to Live
Anthony McCarten Tim Bevan Eric Fellner Oscar Micheaux
action filter_type
action union
action find
entity The Theory of Everything
relation producer
action find
entity Ten Minutes to Live
relation producer
type common name
{'OR': [['The Theory of Everything', 'producer', {'concept': 'common name'}], ['Ten Minutes to Live', 'producer', {'concept': 'common name'}]]}
SELECT DISTINCT ?d WHERE { { { resource:The_Theory_of_Everything property:producer ?d } UNION { resource:Ten_Minutes_to_Live property:producer ?d } } . ?d rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q7699260 Q209745
P162
Q502895
USER
How many people produced Ten Minutes to Live or Eurovision Song Contest 1975 ?
(Q7699260,P162,c(Q502895)) (Q209745,P162,c(Q502895))
action count
action union
action filter_type
action find
entity Q7699260
relation P162
type Q502895
action filter_type
action find
entity Q209745
relation P162
type Q502895
['Q7699260', 'P162', {'concept': 'Q502895'}] ['Q209745', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { VALUES ( ?k ) { ( resource:Q7699260 ) ( resource:Q209745 ) } . ?k property:P162 ?m }
Ten Minutes to Live Eurovision Song Contest 1975
action count
action union
action filter_type
action find
entity Ten Minutes to Live
relation producer
type common name
action filter_type
action find
entity Eurovision Song Contest 1975
relation producer
type common name
['Ten Minutes to Live', 'producer', {'concept': 'common name'}] ['Eurovision Song Contest 1975', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { VALUES ( ?k ) { ( resource:Ten_Minutes_to_Live ) ( resource:Eurovision_Song_Contest_1975 ) } . ?k property:producer ?m }
[]
common name
SYSTEM
2
Q5576231 Q1354247
(Q7699260,P162,c(Q502895)) (Q209745,P162,c(Q502895))
action count
action union
action filter_type
action find
entity Q7699260
relation P162
type Q502895
action filter_type
action find
entity Q209745
relation P162
type Q502895
[ANSWER]
['Q7699260', 'P162', {'concept': 'Q502895'}] ['Q209745', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { VALUES ( ?k ) { ( resource:Q7699260 ) ( resource:Q209745 ) } . ?k property:P162 ?m }
Bo Billtén Oscar Micheaux
2
action count
action union
action filter_type
action find
entity Ten Minutes to Live
relation producer
type common name
action filter_type
action find
entity Eurovision Song Contest 1975
relation producer
type common name
['Ten Minutes to Live', 'producer', {'concept': 'common name'}] ['Eurovision Song Contest 1975', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { VALUES ( ?k ) { ( resource:Ten_Minutes_to_Live ) ( resource:Eurovision_Song_Contest_1975 ) } . ?k property:producer ?m }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can around 1575 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1575
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?v ) WHERE { ?c property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?v = 1575 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1575
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?v ) WHERE { ?c property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?v = 1575 ) }
[]
musical instrument common name
SYSTEM
8
Q80284 Q46185 Q80019 Q8338 Q8371 Q1444 Q128309 Q1343007
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1575
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?v ) WHERE { ?c property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?v = 1575 ) }
viola bass guitar double bass trumpet cello organ drum kit electronic keyboard
8
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1575
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?v ) WHERE { ?c property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?v = 1575 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q722461 Q1354247
P57
Q838948
USER
Which works of art have Oscar Micheaux or Tomás Gutiérrez Alea as their director ?
OR((c(Q838948),P57,Q1354247), (c(Q838948),P57,Q722461))
action filter_type
action union
action find_reverse
entity Q1354247
relation P57
action find_reverse
entity Q722461
relation P57
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P57', 'Q1354247'], [{'concept': 'Q838948'}, 'P57', 'Q722461']]}
SELECT DISTINCT ?g WHERE { { { ?g property:P57 resource:Q1354247 } UNION { ?g property:P57 resource:Q722461 } } . ?g rdf:type ontology:Q838948 }
Tomás Gutiérrez Alea Oscar Micheaux
action filter_type
action union
action find_reverse
entity Oscar Micheaux
relation director
action find_reverse
entity Tomás Gutiérrez Alea
relation director
type work of art
{'OR': [[{'concept': 'work of art'}, 'director', 'Oscar Micheaux'], [{'concept': 'work of art'}, 'director', 'Tomás Gutiérrez Alea']]}
SELECT DISTINCT ?g WHERE { { { ?g property:director resource:Oscar_Micheaux } UNION { ?g property:director resource:Tomás_Gutiérrez_Alea } } . ?g rdf:type ontology:work_of_art }
[]
work of art
Q7918671 Q6937747 Q3522048 Q5753867 Q16088725 Q7620058 Q3549279 Q2645467 Q7717386 Q7772811
SYSTEM
Some of them are Veiled Aristocrats, Murder in Harlem, The Notorious Elinor Lee, Letters from the Park, Easy Street, Stories of the Revolution, Underworld, Memories of Underdevelopment, The Betrayal, The Virgin of the Seminole
Q7746083 Q2659989 Q7773190 Q7772811 Q2645467 Q3549279 Q6937747 Q7882747 Q5244315 Q7918671 Q12124578 Q925448 Q16647653 Q7658495 Q6466264 Q7717386 Q3269424 Q7620058 Q7699260 Q154742 Q3522048 Q16088725 Q5753867 Q7992680 Q5981203 Q7736556
OR((c(Q838948),P57,Q1354247), (c(Q838948),P57,Q722461))
action filter_type
action union
action find_reverse
entity Q1354247
relation P57
action find_reverse
entity Q722461
relation P57
type Q838948
[ANSWERS] have Oscar Micheaux or Tomás Gutiérrez Alea as their director
{'OR': [[{'concept': 'Q838948'}, 'P57', 'Q1354247'], [{'concept': 'Q838948'}, 'P57', 'Q722461']]}
SELECT DISTINCT ?g WHERE { { { ?g property:P57 resource:Q1354247 } UNION { ?g property:P57 resource:Q722461 } } . ?g rdf:type ontology:Q838948 }
The Last Supper Guantanamera The Wages of Sin The Virgin of the Seminole Memories of Underdevelopment Underworld Murder in Harlem Uncle Jasper's Will De Cierta Manera Veiled Aristocrats God's Step Children Strawberry and Chocolate Up to a Certain Point Swing! La muerte de un burócrata The Betrayal Lying Lips Stories of the Revolution Ten Minutes to Live The Twelve Chairs The Notorious Elinor Lee Easy Street Letters from the Park When Men Betray The Survivors The Girl from Chicago
Veiled Aristocrats, Murder in Harlem, The Notorious Elinor Lee, Letters from the Park, Easy Street, Stories of the Revolution, Underworld, Memories of Underdevelopment, The Betrayal and The Virgin of the Seminole have Oscar Micheaux or Tomás Gutiérrez Alea as their director
Veiled Aristocrats Murder in Harlem The Notorious Elinor Lee Letters from the Park Easy Street Stories of the Revolution Underworld Memories of Underdevelopment The Betrayal The Virgin of the Seminole
action filter_type
action union
action find_reverse
entity Oscar Micheaux
relation director
action find_reverse
entity Tomás Gutiérrez Alea
relation director
type work of art
{'OR': [[{'concept': 'work of art'}, 'director', 'Oscar Micheaux'], [{'concept': 'work of art'}, 'director', 'Tomás Gutiérrez Alea']]}
SELECT DISTINCT ?g WHERE { { { ?g property:director resource:Oscar_Micheaux } UNION { ?g property:director resource:Tomás_Gutiérrez_Alea } } . ?g rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q7918671 Q6937747 Q3522048 Q5753867 Q16088725 Q7620058 Q3549279 Q2645467 Q7717386 Q7772811
P57
Q502895
USER
Which people served as the directed of those works of art ?
(Q7918671,P57,c(Q502895)) (Q6937747,P57,c(Q502895)) (Q3522048,P57,c(Q502895)) (Q5753867,P57,c(Q502895)) (Q16088725,P57,c(Q502895)) (Q7620058,P57,c(Q502895)) (Q3549279,P57,c(Q502895)) (Q2645467,P57,c(Q502895)) (Q7717386,P57,c(Q502895)) (Q7772811,P57,c(Q502895))
action filter_type
action find
entity prev_answer
relation P57
type Q502895
['Q7918671', 'P57', {'concept': 'Q502895'}] ['Q6937747', 'P57', {'concept': 'Q502895'}] ['Q3522048', 'P57', {'concept': 'Q502895'}] ['Q5753867', 'P57', {'concept': 'Q502895'}] ['Q16088725', 'P57', {'concept': 'Q502895'}] ['Q7620058', 'P57', {'concept': 'Q502895'}] ['Q3549279', 'P57', {'concept': 'Q502895'}] ['Q2645467', 'P57', {'concept': 'Q502895'}] ['Q7717386', 'P57', {'concept': 'Q502895'}] ['Q7772811', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?e property:P57 ?r . VALUES ( ?e ) { ( resource:Q7746083 ) ( resource:Q2659989 ) ( resource:Q7773190 ) } . ?r rdf:type ontology:Q502895 }
Veiled Aristocrats Murder in Harlem The Notorious Elinor Lee Letters from the Park Easy Street Stories of the Revolution Underworld Memories of Underdevelopment The Betrayal The Virgin of the Seminole
action filter_type
action find
entity prev_answer
relation director
type common name
['Veiled Aristocrats', 'director', {'concept': 'common name'}] ['Murder in Harlem', 'director', {'concept': 'common name'}] ['The Notorious Elinor Lee', 'director', {'concept': 'common name'}] ['Letters from the Park', 'director', {'concept': 'common name'}] ['Easy Street', 'director', {'concept': 'common name'}] ['Stories of the Revolution', 'director', {'concept': 'common name'}] ['Underworld', 'director', {'concept': 'common name'}] ['Memories of Underdevelopment', 'director', {'concept': 'common name'}] ['The Betrayal', 'director', {'concept': 'common name'}] ['The Virgin of the Seminole', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?e property:director ?r . VALUES ( ?e ) { ( resource:The_Last_Supper ) ( resource:Guantanamera ) ( resource:The_Wages_of_Sin ) } . ?r rdf:type ontology:common_name }
[]
common name
Q162530 Q1354247 Q1354247
SYSTEM
Clarence Williams for 1st, Oscar Micheaux for 2nd, 3rd
Q1354247 Q162530 Q1354247 Q1354247 Q722461 Q1354247 Q722461 Q1354247 Q722461 Q1354247 Q1354247
(Q7918671,P57,c(Q502895)) (Q6937747,P57,c(Q502895)) (Q3522048,P57,c(Q502895)) (Q5753867,P57,c(Q502895)) (Q16088725,P57,c(Q502895)) (Q7620058,P57,c(Q502895)) (Q3549279,P57,c(Q502895)) (Q2645467,P57,c(Q502895)) (Q7717386,P57,c(Q502895)) (Q7772811,P57,c(Q502895))
action filter_type
action find
entity prev_answer
relation P57
type Q502895
[ANSWERS]
['Q7918671', 'P57', {'concept': 'Q502895'}] ['Q6937747', 'P57', {'concept': 'Q502895'}] ['Q3522048', 'P57', {'concept': 'Q502895'}] ['Q5753867', 'P57', {'concept': 'Q502895'}] ['Q16088725', 'P57', {'concept': 'Q502895'}] ['Q7620058', 'P57', {'concept': 'Q502895'}] ['Q3549279', 'P57', {'concept': 'Q502895'}] ['Q2645467', 'P57', {'concept': 'Q502895'}] ['Q7717386', 'P57', {'concept': 'Q502895'}] ['Q7772811', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?e property:P57 ?r . VALUES ( ?e ) { ( resource:Q7746083 ) ( resource:Q2659989 ) ( resource:Q7773190 ) } . ?r rdf:type ontology:Q502895 }
Oscar Micheaux Clarence Williams Oscar Micheaux Oscar Micheaux Tomás Gutiérrez Alea Oscar Micheaux Tomás Gutiérrez Alea Oscar Micheaux Tomás Gutiérrez Alea Oscar Micheaux Oscar Micheaux
Clarence Williams, Oscar Micheaux and Oscar Micheaux served as the directed of those works of art
Clarence Williams Oscar Micheaux Oscar Micheaux
action filter_type
action find
entity prev_answer
relation director
type common name
['Veiled Aristocrats', 'director', {'concept': 'common name'}] ['Murder in Harlem', 'director', {'concept': 'common name'}] ['The Notorious Elinor Lee', 'director', {'concept': 'common name'}] ['Letters from the Park', 'director', {'concept': 'common name'}] ['Easy Street', 'director', {'concept': 'common name'}] ['Stories of the Revolution', 'director', {'concept': 'common name'}] ['Underworld', 'director', {'concept': 'common name'}] ['Memories of Underdevelopment', 'director', {'concept': 'common name'}] ['The Betrayal', 'director', {'concept': 'common name'}] ['The Virgin of the Seminole', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?e property:director ?r . VALUES ( ?e ) { ( resource:The_Last_Supper ) ( resource:Guantanamera ) ( resource:The_Wages_of_Sin ) } . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1699413
P58
Q838948
USER
Which works of art did John Briley do the screenwriting for ?
(c(Q838948),P58,Q1699413)
action filter_type
action find_reverse
entity Q1699413
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q1699413']
SELECT DISTINCT ?m WHERE { ?m property:P58 resource:Q1699413 . ?m rdf:type ontology:Q838948 }
John Briley
action filter_type
action find_reverse
entity John Briley
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'John Briley']
SELECT DISTINCT ?m WHERE { ?m property:screenwriter resource:John_Briley . ?m rdf:type ontology:work_of_art }
[]
work of art
Q202211 Q962363 Q780197
SYSTEM
Gandhi, Cry Freedom, Christopher Columbus: The Discovery
Q780197 Q2338318 Q962363 Q1572696 Q3425632 Q883500 Q202211 Q1343120 Q358347 Q938727 Q3292334
(c(Q838948),P58,Q1699413)
action filter_type
action find_reverse
entity Q1699413
relation P58
type Q838948
John Briley did the screenwriting for Maha [ANSWERS]
[{'concept': 'Q838948'}, 'P58', 'Q1699413']
SELECT DISTINCT ?m WHERE { ?m property:P58 resource:Q1699413 . ?m rdf:type ontology:Q838948 }
Christopher Columbus: The Discovery Tai-Pan Cry Freedom Pope Joan Children of the Damned That Lucky Touch Gandhi Enigma Eagle's Wing The Medusa Touch Marie
John Briley did the screenwriting for Maha Gandhi, Cry Freedom and Christopher Columbus: The Discovery
Gandhi Cry Freedom Christopher Columbus: The Discovery
action filter_type
action find_reverse
entity John Briley
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'John Briley']
SELECT DISTINCT ?m WHERE { ?m property:screenwriter resource:John_Briley . ?m rdf:type ontology:work_of_art }
[]