Simple Question (Direct)
Simple Question
Q3233936
P86
Q502895
USER
Who did the compostion for The Rebel Rousers ?
(Q3233936,P86,c(Q502895))
action filter_type
action find
entity Q3233936
relation P86
type Q502895
['Q3233936', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q3233936 property:P86 ?c . ?c rdf:type ontology:Q502895 }
The Rebel Rousers
action filter_type
action find
entity The Rebel Rousers
relation composer
type common name
['The Rebel Rousers', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:The_Rebel_Rousers property:composer ?c . ?c rdf:type ontology:common_name }
[]
common name
Q3568798
SYSTEM
William Loose
Q3568798
(Q3233936,P86,c(Q502895))
action filter_type
action find
entity Q3233936
relation P86
type Q502895
[ANSWER] did the compostion for The Rebel Rousers
['Q3233936', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q3233936 property:P86 ?c . ?c rdf:type ontology:Q502895 }
William Loose
William Loose did the compostion for The Rebel Rousers
William Loose
action filter_type
action find
entity The Rebel Rousers
relation composer
type common name
['The Rebel Rousers', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:The_Rebel_Rousers property:composer ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3233936
P161
Q502895
USER
Which people are in The Rebel Rousers ?
(Q3233936,P161,c(Q502895))
action filter_type
action find
entity Q3233936
relation P161
type Q502895
['Q3233936', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q3233936 property:P161 ?g . ?g rdf:type ontology:Q502895 }
The Rebel Rousers
action filter_type
action find
entity The Rebel Rousers
relation cast member
type common name
['The Rebel Rousers', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:The_Rebel_Rousers property:cast_member ?g . ?g rdf:type ontology:common_name }
[]
common name
Q39792 Q357001 Q234080
SYSTEM
Jack Nicholson, Bruce Dern, Diane Ladd
Q357001 Q39792 Q234080 Q493340 Q649237 Q314290
(Q3233936,P161,c(Q502895))
action filter_type
action find
entity Q3233936
relation P161
type Q502895
[ANSWERS] are in The Rebel Rousers
['Q3233936', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q3233936 property:P161 ?g . ?g rdf:type ontology:Q502895 }
Bruce Dern Jack Nicholson Diane Ladd Cameron Mitchell Philip Carey Harry Dean Stanton
Jack Nicholson, Bruce Dern and Diane Ladd are in The Rebel Rousers
Jack Nicholson Bruce Dern Diane Ladd
action filter_type
action find
entity The Rebel Rousers
relation cast member
type common name
['The Rebel Rousers', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:The_Rebel_Rousers property:cast_member ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3233936
P344
Q502895
USER
Who is the director of photography for The Rebel Rousers ?
(Q3233936,P344,c(Q502895))
action filter_type
action find
entity Q3233936
relation P344
type Q502895
['Q3233936', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q3233936 property:P344 ?b . ?b rdf:type ontology:Q502895 }
The Rebel Rousers
action filter_type
action find
entity The Rebel Rousers
relation director of photography
type common name
['The Rebel Rousers', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:The_Rebel_Rousers property:director_of_photography ?b . ?b rdf:type ontology:common_name }
[]
common name
Q498696
SYSTEM
László Kovács
Q498696
(Q3233936,P344,c(Q502895))
action filter_type
action find
entity Q3233936
relation P344
type Q502895
The director of photography for The Rebel Rousers is director [ANSWER]
['Q3233936', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q3233936 property:P344 ?b . ?b rdf:type ontology:Q502895 }
László Kovács
The director of photography for The Rebel Rousers is director László Kovács
László Kovács
action filter_type
action find
entity The Rebel Rousers
relation director of photography
type common name
['The Rebel Rousers', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:The_Rebel_Rousers property:director_of_photography ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1018729
Q502895
USER
And what about The Chinese Feast?
(Q1018729,P344,c(Q502895))
action filter_type
action find
entity Q1018729
relation P344
type Q502895
['Q1018729', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q1018729 property:P344 ?m . ?m rdf:type ontology:Q502895 }
The Chinese Feast
action filter_type
action find
entity The Chinese Feast
relation director of photography
type common name
['The Chinese Feast', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:The_Chinese_Feast property:director_of_photography ?m . ?m rdf:type ontology:common_name }
[]
common name
Q180029
SYSTEM
Peter Pau
Q180029
(Q1018729,P344,c(Q502895))
action filter_type
action find
entity Q1018729
relation P344
type Q502895
[ANSWER]
['Q1018729', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q1018729 property:P344 ?m . ?m rdf:type ontology:Q502895 }
Peter Pau
Peter Pau
action filter_type
action find
entity The Chinese Feast
relation director of photography
type common name
['The Chinese Feast', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:The_Chinese_Feast property:director_of_photography ?m . ?m rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P344
Q838948
USER
How many works of art are that person assigned to as the cinematographer ?
(c(Q838948),P344,Q180029)
action count
action filter_type
action find_reverse
entity Q180029
relation P344
type Q838948
[{'concept': 'Q838948'}, 'P344', 'Q180029']
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:P344 resource:Q180029 . ?z rdf:type ontology:Q838948 }
action count
action filter_type
action find_reverse
entity Peter Pau
relation director of photography
type work of art
[{'concept': 'work of art'}, 'director of photography', 'Peter Pau']
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:director_of_photography resource:Peter_Pau . ?z rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
26
Q6136147 Q1089303 Q861813 Q273978 Q361937 Q611370 Q3227510 Q3233113 Q4430810 Q3498973 Q542532 Q484987 Q629847 Q1194987 Q775390 Q1018729 Q1021977 Q430521 Q987752 Q868745 Q1251504 Q942603 Q1042145 Q269326 Q837058 Q176568
(c(Q838948),P344,Q180029)
action count
action filter_type
action find_reverse
entity Q180029
relation P344
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P344', 'Q180029']
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:P344 resource:Q180029 . ?z rdf:type ontology:Q838948 }
Metade Fumaca Bride of Chucky The Eagle Shooting Heroes Crouching Tiger, Hidden Dragon Anna Magdalena The Promise The Touch Warriors of Virtue Saviour of the Soul The Legend of Wisley The Sorcerer and the White Snake Dracula 2000 God of Gamblers Fight and Love with a Terracotta Warrior Tricky Brains The Chinese Feast Naked Killer Shoot 'Em Up The Bride with White Hair Confucius Double Team The Swordsman Perhaps Love The Killer To Be Number One The Forbidden Kingdom
26
action count
action filter_type
action find_reverse
entity Peter Pau
relation director of photography
type work of art
[{'concept': 'work of art'}, 'director of photography', 'Peter Pau']
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:director_of_photography resource:Peter_Pau . ?z rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P825
Q502895 Q44539 Q207628
USER
How many people are around 8 temples or musical compositions dedicated to ?
(c(Q44539)|c(Q207628),P825,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P825
type Q502895
type Q207628
value 8
[[{'concept': 'Q44539'}, {'concept': 'Q207628'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?l ) AS ?y ) WHERE { VALUES ( ?m ) { ( ontology:Q44539 ) ( ontology:Q207628 ) } . ?l rdf:type ?m } GROUP BY ?z } . FILTER ( ?y = 8 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type temple
action find_reverse_tuple_counts
relation dedicated to
type common name
type musical composition
value 8
[[{'concept': 'temple'}, {'concept': 'musical composition'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?l ) AS ?y ) WHERE { VALUES ( ?m ) { ( ontology:temple ) ( ontology:musical_composition ) } . ?l rdf:type ?m } GROUP BY ?z } . FILTER ( ?y = 8 ) }
[]
common name temple musical composition
SYSTEM
6
Q2639031 Q43399 Q66005 Q133704 Q40662 Q331697
(c(Q44539)|c(Q207628),P825,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P825
type Q502895
type Q207628
value 8
[ANSWER]
[[{'concept': 'Q44539'}, {'concept': 'Q207628'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?l ) AS ?y ) WHERE { VALUES ( ?m ) { ( ontology:Q44539 ) ( ontology:Q207628 ) } . ?l rdf:type ?m } GROUP BY ?z } . FILTER ( ?y = 8 ) }
Illtud Andrew Margrave Christian Ludwig of Brandenburg-Schwedt Martin of Tours John the Baptist Saint David
6
action count
action approx
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type temple
action find_reverse_tuple_counts
relation dedicated to
type common name
type musical composition
value 8
[[{'concept': 'temple'}, {'concept': 'musical composition'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?l ) AS ?y ) WHERE { VALUES ( ?m ) { ( ontology:temple ) ( ontology:musical_composition ) } . ?l rdf:type ?m } GROUP BY ?z } . FILTER ( ?y = 8 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by approximately 1267 people ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1267
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?y ) WHERE { ?m property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?i } . FILTER ( ?y = 1267 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1267
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?y ) WHERE { ?m property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?i } . FILTER ( ?y = 1267 ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1267
[ANSWERS] are played by approximately 1267 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?y ) WHERE { ?m property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?i } . FILTER ( ?y = 1267 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano are played by approximately 1267 people
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1267
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?y ) WHERE { ?m property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?i } . FILTER ( ?y = 1267 ) }
[]