Simple Question (Direct)
Simple Question
Q3635106
P344
Q502895
USER
Who is appointed as the cinematographer of Ijaazat ?
(Q3635106,P344,c(Q502895))
action filter_type
action find
entity Q3635106
relation P344
type Q502895
['Q3635106', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q3635106 property:P344 ?h . ?h rdf:type ontology:Q502895 }
Ijaazat
action filter_type
action find
entity Ijaazat
relation director of photography
type common name
['Ijaazat', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Ijaazat property:director_of_photography ?h . ?h rdf:type ontology:common_name }
[]
common name
Q726195
SYSTEM
Ashok Mehta
Q726195
(Q3635106,P344,c(Q502895))
action filter_type
action find
entity Q3635106
relation P344
type Q502895
[ANSWER] is appointed as the cinematographer of Ijaazat
['Q3635106', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q3635106 property:P344 ?h . ?h rdf:type ontology:Q502895 }
Ashok Mehta
Ashok Mehta is appointed as the cinematographer of Ijaazat
Ashok Mehta
action filter_type
action find
entity Ijaazat
relation director of photography
type common name
['Ijaazat', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Ijaazat property:director_of_photography ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q726195
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q726195,P27,c(Q15617994))
action filter_type
action find
entity Q726195
relation P27
type Q15617994
['Q726195', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q726195 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Ashok Mehta
action filter_type
action find
entity Ashok Mehta
relation country of citizenship
type designation for an administrative territorial entity
['Ashok Mehta', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Ashok_Mehta property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q668
SYSTEM
India
Q668
(Q726195,P27,c(Q15617994))
action filter_type
action find
entity Q726195
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q726195', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q726195 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
India
The India is that person a civilian of
India
action filter_type
action find
entity Ashok Mehta
relation country of citizenship
type designation for an administrative territorial entity
['Ashok Mehta', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Ashok_Mehta property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q668 Q159 Q38
P530
Q15617994
USER
Does that administrative territory have tactful political relations with Russia and Italy ?
(Q668,P530,Q159) (Q668,P530,Q38)
action is_in
entity Q668
action intersection
action find_reverse
entity Q159
relation P530
action find_reverse
entity Q38
relation P530
['Q668', 'P530', 'Q159'] ['Q668', 'P530', 'Q38']
ASK WHERE { resource:Q668 property:P530 resource:Q38 . resource:Q668 property:P530 resource:Q159 }
India Russia Italy
action is_in
entity India
action intersection
action find_reverse
entity Russia
relation diplomatic relation
action find_reverse
entity Italy
relation diplomatic relation
['India', 'diplomatic relation', 'Russia'] ['India', 'diplomatic relation', 'Italy']
ASK WHERE { resource:India property:diplomatic_relation resource:Italy . resource:India property:diplomatic_relation resource:Russia }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q668,P530,Q159) (Q668,P530,Q38)
action is_in
entity Q668
action intersection
action find_reverse
entity Q159
relation P530
action find_reverse
entity Q38
relation P530
[ANSWER]
['Q668', 'P530', 'Q159'] ['Q668', 'P530', 'Q38']
ASK WHERE { resource:Q668 property:P530 resource:Q38 . resource:Q668 property:P530 resource:Q159 }
Yes
action is_in
entity India
action intersection
action find_reverse
entity Russia
relation diplomatic relation
action find_reverse
entity Italy
relation diplomatic relation
['India', 'diplomatic relation', 'Russia'] ['India', 'diplomatic relation', 'Italy']
ASK WHERE { resource:India property:diplomatic_relation resource:Italy . resource:India property:diplomatic_relation resource:Russia }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q668
P127
Q820655
USER
Which statute belongs to India ?
(c(Q820655),P127,Q668)
action filter_type
action find_reverse
entity Q668
relation P127
type Q820655
[{'concept': 'Q820655'}, 'P127', 'Q668']
SELECT DISTINCT ?o WHERE { ?o property:P127 resource:Q668 . ?o rdf:type ontology:Q820655 }
India
action filter_type
action find_reverse
entity India
relation owned by
type statute
[{'concept': 'statute'}, 'owned by', 'India']
SELECT DISTINCT ?o WHERE { ?o property:owned_by resource:India . ?o rdf:type ontology:statute }
[]
statute
Q20652607
SYSTEM
India-Bangladesh boundary treaty of 2015
Q20652607
(c(Q820655),P127,Q668)
action filter_type
action find_reverse
entity Q668
relation P127
type Q820655
[ANSWER] belongs to India
[{'concept': 'Q820655'}, 'P127', 'Q668']
SELECT DISTINCT ?o WHERE { ?o property:P127 resource:Q668 . ?o rdf:type ontology:Q820655 }
India-Bangladesh boundary treaty of 2015
India-Bangladesh boundary treaty of 2015 belongs to India
India-Bangladesh boundary treaty of 2015
action filter_type
action find_reverse
entity India
relation owned by
type statute
[{'concept': 'statute'}, 'owned by', 'India']
SELECT DISTINCT ?o WHERE { ?o property:owned_by resource:India . ?o rdf:type ontology:statute }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20652607
P793
Q1292279
USER
Which political border has that statute as a significant event ?
(c(Q1292279),P793,Q20652607)
action filter_type
action find_reverse
entity Q20652607
relation P793
type Q1292279
[{'concept': 'Q1292279'}, 'P793', 'Q20652607']
SELECT DISTINCT ?h WHERE { ?h property:P793 resource:Q20652607 . ?h rdf:type ontology:Q1292279 }
India-Bangladesh boundary treaty of 2015
action filter_type
action find_reverse
entity India-Bangladesh boundary treaty of 2015
relation significant event
type political border
[{'concept': 'political border'}, 'significant event', 'India-Bangladesh boundary treaty of 2015']
SELECT DISTINCT ?h WHERE { ?h property:significant_event resource:India-Bangladesh_boundary_treaty_of_2015 . ?h rdf:type ontology:political_border }
[]
political border
Q2399139
SYSTEM
Bangladesh–India border
Q2399139
(c(Q1292279),P793,Q20652607)
action filter_type
action find_reverse
entity Q20652607
relation P793
type Q1292279
[ANSWER] has that statute as a significant event
[{'concept': 'Q1292279'}, 'P793', 'Q20652607']
SELECT DISTINCT ?h WHERE { ?h property:P793 resource:Q20652607 . ?h rdf:type ontology:Q1292279 }
Bangladesh–India border
Bangladesh–India border has that statute as a significant event
Bangladesh–India border
action filter_type
action find_reverse
entity India-Bangladesh boundary treaty of 2015
relation significant event
type political border
[{'concept': 'political border'}, 'significant event', 'India-Bangladesh boundary treaty of 2015']
SELECT DISTINCT ?h WHERE { ?h property:significant_event resource:India-Bangladesh_boundary_treaty_of_2015 . ?h rdf:type ontology:political_border }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3635106
P161
Q502895
USER
How many people are in Ijaazat ?
(Q3635106,P161,c(Q502895))
action count
action filter_type
action find
entity Q3635106
relation P161
type Q502895
['Q3635106', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { resource:Q3635106 property:P161 ?i . ?i rdf:type ontology:Q502895 }
Ijaazat
action count
action filter_type
action find
entity Ijaazat
relation cast member
type common name
['Ijaazat', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { resource:Ijaazat property:cast_member ?i . ?i rdf:type ontology:common_name }
[]
common name
SYSTEM
3
Q4777879 Q465826 Q469945
(Q3635106,P161,c(Q502895))
action count
action filter_type
action find
entity Q3635106
relation P161
type Q502895
[ANSWER]
['Q3635106', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { resource:Q3635106 property:P161 ?i . ?i rdf:type ontology:Q502895 }
Anuradha Patel Rekha Naseeruddin Shah
3
action count
action filter_type
action find
entity Ijaazat
relation cast member
type common name
['Ijaazat', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { resource:Ijaazat property:cast_member ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3635106
P86
Q502895
USER
Who was that work of art composed by ?
action filter_type
action find
entity Q3635106
relation P86
type Q502895
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q3635106 property:P86 ?a }
Ijaazat
action filter_type
action find
entity Ijaazat
relation composer
type common name
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Ijaazat property:composer ?a }
[]
common name
Q3351160
SYSTEM
R. D. Burman
Q3351160
action filter_type
action find
entity Q3635106
relation P86
type Q502895
By that work of art was composed by [ANSWER]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q3635106 property:P86 ?a }
R. D. Burman
By that work of art was composed by R. D. Burman
R. D. Burman
action filter_type
action find
entity Ijaazat
relation composer
type common name
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Ijaazat property:composer ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3635106
P58
Q502895
USER
Who wrote the script for Ijaazat ?
(Q3635106,P58,c(Q502895))
action filter_type
action find
entity Q3635106
relation P58
type Q502895
['Q3635106', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q3635106 property:P58 ?q . ?q rdf:type ontology:Q502895 }
Ijaazat
action filter_type
action find
entity Ijaazat
relation screenwriter
type common name
['Ijaazat', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Ijaazat property:screenwriter ?q . ?q rdf:type ontology:common_name }
[]
common name
Q7631749
SYSTEM
Subodh Ghosh
Q7631749
(Q3635106,P58,c(Q502895))
action filter_type
action find
entity Q3635106
relation P58
type Q502895
[ANSWER] wrote the script for Ijaazat
['Q3635106', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q3635106 property:P58 ?q . ?q rdf:type ontology:Q502895 }
Subodh Ghosh
Subodh Ghosh wrote the script for Ijaazat
Subodh Ghosh
action filter_type
action find
entity Ijaazat
relation screenwriter
type common name
['Ijaazat', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Ijaazat property:screenwriter ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3635106
P57
Q502895
USER
Who directed that work of art ?
(Q7631749,P57,c(Q502895))
action filter_type
action find
entity Q3635106
relation P57
type Q502895
['Q7631749', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q3635106 property:P57 ?f . ?f rdf:type ontology:Q502895 }
Ijaazat
action filter_type
action find
entity Ijaazat
relation director
type common name
['Subodh Ghosh', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Ijaazat property:director ?f . ?f rdf:type ontology:common_name }
[]
common name
Q468339
SYSTEM
Gulzar
Q468339
(Q7631749,P57,c(Q502895))
action filter_type
action find
entity Q3635106
relation P57
type Q502895
[ANSWER] directed that work of art
['Q7631749', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q3635106 property:P57 ?f . ?f rdf:type ontology:Q502895 }
Gulzar
Gulzar directed that work of art
Gulzar
action filter_type
action find
entity Ijaazat
relation director
type common name
['Subodh Ghosh', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Ijaazat property:director ?f . ?f rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q468339 Q5593772
P1346
Q618779
USER
Was Grammy Award for Best Contemporary Folk Album that person decalred as a champion ?
(Q5593772,P1346,Q468339)
action is_in
entity Q5593772
action find
entity Q468339
relation P1346
['Q5593772', 'P1346', 'Q468339']
ASK WHERE { resource:Q468339 property:P1346 resource:Q5593772 }
Gulzar Grammy Award for Best Contemporary Folk Album
action is_in
entity Grammy Award for Best Contemporary Folk Album
action find
entity Gulzar
relation winner
['Grammy Award for Best Contemporary Folk Album', 'winner', 'Gulzar']
ASK WHERE { resource:Gulzar property:winner resource:Grammy_Award_for_Best_Contemporary_Folk_Album }
[]
award
SYSTEM
NO
(Q5593772,P1346,Q468339)
action is_in
entity Q5593772
action find
entity Q468339
relation P1346
[ANSWER]
['Q5593772', 'P1346', 'Q468339']
ASK WHERE { resource:Q468339 property:P1346 resource:Q5593772 }
No
action is_in
entity Grammy Award for Best Contemporary Folk Album
action find
entity Gulzar
relation winner
['Grammy Award for Best Contemporary Folk Album', 'winner', 'Gulzar']
ASK WHERE { resource:Gulzar property:winner resource:Grammy_Award_for_Best_Contemporary_Folk_Album }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3351160 Q38393
P26
Q502895
USER
Is Asha Bhosle the spouse of R. D. Burman ?
(Q3351160,P26,Q38393)
action is_in
entity Q38393
action find
entity Q3351160
relation P26
['Q3351160', 'P26', 'Q38393']
ASK WHERE { resource:Q3351160 property:P26 resource:Q38393 }
R. D. Burman Asha Bhosle
action is_in
entity Asha Bhosle
action find
entity R. D. Burman
relation spouse
['R. D. Burman', 'spouse', 'Asha Bhosle']
ASK WHERE { resource:R._D._Burman property:spouse resource:Asha_Bhosle }
[]
common name
SYSTEM
YES
(Q3351160,P26,Q38393)
action is_in
entity Q38393
action find
entity Q3351160
relation P26
[ANSWER]
['Q3351160', 'P26', 'Q38393']
ASK WHERE { resource:Q3351160 property:P26 resource:Q38393 }
Yes
action is_in
entity Asha Bhosle
action find
entity R. D. Burman
relation spouse
['R. D. Burman', 'spouse', 'Asha Bhosle']
ASK WHERE { resource:R._D._Burman property:spouse resource:Asha_Bhosle }
[]
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 atleast 1246 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1246
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?h >= 1246 ) }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1246
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?h >= 1246 ) }
[]
musical instrument common name
SYSTEM
6
Q46185 Q5994 Q8338 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1246
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?h >= 1246 ) }
bass guitar piano trumpet violin organ drum kit
6
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1246
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?h >= 1246 ) }
[]