Simple Question (Direct)
Simple Question
Q5185521
P162
Q502895
USER
Who is the creator of Criminal ?
(Q5185521,P162,c(Q502895))
action filter_type
action find
entity Q5185521
relation P162
type Q502895
['Q5185521', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . resource:Q5185521 property:P162 ?x }
Criminal
action filter_type
action find
entity Criminal
relation producer
type common name
['Criminal', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . resource:Criminal property:producer ?x }
[]
common name
Q6323966
SYSTEM
K. S. Rama Rao
Q6323966
(Q5185521,P162,c(Q502895))
action filter_type
action find
entity Q5185521
relation P162
type Q502895
The creator of Criminal is [ANSWER]
['Q5185521', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . resource:Q5185521 property:P162 ?x }
K. S. Rama Rao
The creator of Criminal is K. S. Rama Rao
K. S. Rama Rao
action filter_type
action find
entity Criminal
relation producer
type common name
['Criminal', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . resource:Criminal property:producer ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5185521
P344
Q502895
USER
Which person serves as the director of photography for Criminal ?
(Q5185521,P344,c(Q502895))
action filter_type
action find
entity Q5185521
relation P344
type Q502895
['Q5185521', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q5185521 property:P344 ?v . ?v rdf:type ontology:Q502895 }
Criminal
action filter_type
action find
entity Criminal
relation director of photography
type common name
['Criminal', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Criminal property:director_of_photography ?v . ?v rdf:type ontology:common_name }
[]
common name
Q7387497
SYSTEM
S. Gopal Reddy
Q7387497
(Q5185521,P344,c(Q502895))
action filter_type
action find
entity Q5185521
relation P344
type Q502895
[ANSWER] serves as the director of photography for Criminal
['Q5185521', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q5185521 property:P344 ?v . ?v rdf:type ontology:Q502895 }
S. Gopal Reddy
S. Gopal Reddy serves as the director of photography for Criminal
S. Gopal Reddy
action filter_type
action find
entity Criminal
relation director of photography
type common name
['Criminal', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Criminal property:director_of_photography ?v . ?v rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q816793
P1303
Q34379 Q502895
USER
How many musical instruments do lesser number of people know to play than Bendir ?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q816793
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?w ) WHERE { ?m rdf:type ontology:Q502895 . ?v rdf:type ontology:Q34379 . ?m property:P1303 ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { ?c rdf:type ontology:Q502895 . ?c property:P1303 resource:Q816793 } } . FILTER ( ?w < ?u ) }
Bendir
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Bendir
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?w ) WHERE { ?m rdf:type ontology:common_name . ?v rdf:type ontology:musical_instrument . ?m property:instrument ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { ?c rdf:type ontology:common_name . ?c property:instrument resource:Bendir } } . FILTER ( ?w < ?u ) }
[]
musical instrument common name
SYSTEM
3
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q816793
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?w ) WHERE { ?m rdf:type ontology:Q502895 . ?v rdf:type ontology:Q34379 . ?m property:P1303 ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { ?c rdf:type ontology:Q502895 . ?c property:P1303 resource:Q816793 } } . FILTER ( ?w < ?u ) }
spoon cajón wind instrument
3
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Bendir
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?w ) WHERE { ?m rdf:type ontology:common_name . ?v rdf:type ontology:musical_instrument . ?m property:instrument ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { ?c rdf:type ontology:common_name . ?c property:instrument resource:Bendir } } . FILTER ( ?w < ?u ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7387497
P58
Q838948
USER
Which work of art has S. Gopal Reddy as screenwriter ?
(c(Q838948),P58,Q7387497)
action filter_type
action find_reverse
entity Q7387497
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q7387497']
SELECT DISTINCT ?z WHERE { ?z property:P58 resource:Q7387497 . ?z rdf:type ontology:Q838948 }
S. Gopal Reddy
action filter_type
action find_reverse
entity S. Gopal Reddy
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'S. Gopal Reddy']
SELECT DISTINCT ?z WHERE { ?z property:screenwriter resource:S._Gopal_Reddy . ?z rdf:type ontology:work_of_art }
[]
work of art
Q16251990
SYSTEM
Naa Autograph
Q16251990
(c(Q838948),P58,Q7387497)
action filter_type
action find_reverse
entity Q7387497
relation P58
type Q838948
[ANSWER] has S. Gopal Reddy as screenwriter
[{'concept': 'Q838948'}, 'P58', 'Q7387497']
SELECT DISTINCT ?z WHERE { ?z property:P58 resource:Q7387497 . ?z rdf:type ontology:Q838948 }
Naa Autograph
Naa Autograph has S. Gopal Reddy as screenwriter
Naa Autograph
action filter_type
action find_reverse
entity S. Gopal Reddy
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'S. Gopal Reddy']
SELECT DISTINCT ?z WHERE { ?z property:screenwriter resource:S._Gopal_Reddy . ?z rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16251990
P86
Q502895
USER
Who wrote the music for that work of art ?
(Q16251990,P86,c(Q502895))
action filter_type
action find
entity Q16251990
relation P86
type Q502895
['Q16251990', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q16251990 property:P86 ?n }
Naa Autograph
action filter_type
action find
entity Naa Autograph
relation composer
type common name
['Naa Autograph', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Naa_Autograph property:composer ?n }
[]
common name
Q3765059
SYSTEM
M. M. Keeravani
Q3765059
(Q16251990,P86,c(Q502895))
action filter_type
action find
entity Q16251990
relation P86
type Q502895
M. Keeravani wrote the music for that work of art
['Q16251990', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q16251990 property:P86 ?n }
M. M. Keeravani
M. Keeravani wrote the music for that work of art
M. M. Keeravani
action filter_type
action find
entity Naa Autograph
relation composer
type common name
['Naa Autograph', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Naa_Autograph property:composer ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16251990
P57
Q502895
USER
Who was the director of Naa Autograph ?
(Q16251990,P57,c(Q502895))
action filter_type
action find
entity Q16251990
relation P57
type Q502895
['Q16251990', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q16251990 property:P57 ?j . ?j rdf:type ontology:Q502895 }
Naa Autograph
action filter_type
action find
entity Naa Autograph
relation director
type common name
['Naa Autograph', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Naa_Autograph property:director ?j . ?j rdf:type ontology:common_name }
[]
common name
Q7387497
SYSTEM
S. Gopal Reddy
Q7387497
(Q16251990,P57,c(Q502895))
action filter_type
action find
entity Q16251990
relation P57
type Q502895
The director of Naa Autograph was [ANSWER]
['Q16251990', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q16251990 property:P57 ?j . ?j rdf:type ontology:Q502895 }
S. Gopal Reddy
The director of Naa Autograph was S. Gopal Reddy
S. Gopal Reddy
action filter_type
action find
entity Naa Autograph
relation director
type common name
['Naa Autograph', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Naa_Autograph property:director ?j . ?j rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q7387497 Q599361 Q15382
P19
Q13220204
USER
Was S. Gopal Reddy born at Topoľčany District and Krishna district ?
(Q7387497,P19,Q599361) (Q7387497,P19,Q15382)
action is_in
entity Q7387497
action intersection
action find_reverse
entity Q599361
relation P19
action find_reverse
entity Q15382
relation P19
['Q7387497', 'P19', 'Q599361'] ['Q7387497', 'P19', 'Q15382']
ASK WHERE { resource:Q7387497 property:P19 resource:Q599361 . resource:Q7387497 property:P19 resource:Q15382 }
S. Gopal Reddy Topoľčany District Krishna district
action is_in
entity S. Gopal Reddy
action intersection
action find_reverse
entity Topoľčany District
relation place of birth
action find_reverse
entity Krishna district
relation place of birth
['S. Gopal Reddy', 'place of birth', 'Topoľčany District'] ['S. Gopal Reddy', 'place of birth', 'Krishna district']
ASK WHERE { resource:S._Gopal_Reddy property:place_of_birth resource:Topoľčany_District . resource:S._Gopal_Reddy property:place_of_birth resource:Krishna_district }
[]
second-level administrative country subdivision
SYSTEM
NO and YES respectively
(Q7387497,P19,Q599361) (Q7387497,P19,Q15382)
action is_in
entity Q7387497
action intersection
action find_reverse
entity Q599361
relation P19
action find_reverse
entity Q15382
relation P19
[ANSWER]
['Q7387497', 'P19', 'Q599361'] ['Q7387497', 'P19', 'Q15382']
ASK WHERE { resource:Q7387497 property:P19 resource:Q599361 . resource:Q7387497 property:P19 resource:Q15382 }
NO and YES respectively
action is_in
entity S. Gopal Reddy
action intersection
action find_reverse
entity Topoľčany District
relation place of birth
action find_reverse
entity Krishna district
relation place of birth
['S. Gopal Reddy', 'place of birth', 'Topoľčany District'] ['S. Gopal Reddy', 'place of birth', 'Krishna district']
ASK WHERE { resource:S._Gopal_Reddy property:place_of_birth resource:Topoľčany_District . resource:S._Gopal_Reddy property:place_of_birth resource:Krishna_district }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments do around 2901 people know to play ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2901
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { FILTER ( ?k = 2901 ) . { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:P1303 ?f . ?f rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?f } }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2901
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { FILTER ( ?k = 2901 ) . { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:instrument ?f . ?f rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?f } }
[]
musical instrument common name
SYSTEM
3
Q8338 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2901
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { FILTER ( ?k = 2901 ) . { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:P1303 ?f . ?f rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?f } }
trumpet organ drum kit
3
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2901
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { FILTER ( ?k = 2901 ) . { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:instrument ?f . ?f rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?f } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2660670
P1303
Q34379 Q502895
USER
How many musical instruments can lesser number of people perform with than Irish bouzouki ?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q2660670
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?u ) WHERE { ?d rdf:type ontology:Q502895 . ?a rdf:type ontology:Q34379 . ?d property:P1303 ?a } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { ?q property:P1303 resource:Q2660670 . ?q rdf:type ontology:Q502895 } } . FILTER ( ?u < ?i ) }
Irish bouzouki
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Irish bouzouki
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?u ) WHERE { ?d rdf:type ontology:common_name . ?a rdf:type ontology:musical_instrument . ?d property:instrument ?a } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { ?q property:instrument resource:Irish_bouzouki . ?q rdf:type ontology:common_name } } . FILTER ( ?u < ?i ) }
[]
musical instrument common name
SYSTEM
3
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q2660670
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?u ) WHERE { ?d rdf:type ontology:Q502895 . ?a rdf:type ontology:Q34379 . ?d property:P1303 ?a } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { ?q property:P1303 resource:Q2660670 . ?q rdf:type ontology:Q502895 } } . FILTER ( ?u < ?i ) }
spoon cajón wind instrument
3
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Irish bouzouki
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?u ) WHERE { ?d rdf:type ontology:common_name . ?a rdf:type ontology:musical_instrument . ?d property:instrument ?a } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { ?q property:instrument resource:Irish_bouzouki . ?q rdf:type ontology:common_name } } . FILTER ( ?u < ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q178933
P1303
Q34379 Q502895
USER
And how about Hardanger fiddle?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q178933
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?u ) WHERE { ?p property:P1303 ?w . ?p rdf:type ontology:Q502895 . ?w rdf:type ontology:Q34379 } GROUP BY ?w } . FILTER ( ?u < ?m ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { ?c property:P1303 resource:Q178933 . ?c rdf:type ontology:Q502895 } } }
Hardanger fiddle
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Hardanger fiddle
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?u ) WHERE { ?p property:instrument ?w . ?p rdf:type ontology:common_name . ?w rdf:type ontology:musical_instrument } GROUP BY ?w } . FILTER ( ?u < ?m ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { ?c property:instrument resource:Hardanger_fiddle . ?c rdf:type ontology:common_name } } }
[]
musical instrument common name
SYSTEM
3
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q178933
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?u ) WHERE { ?p property:P1303 ?w . ?p rdf:type ontology:Q502895 . ?w rdf:type ontology:Q34379 } GROUP BY ?w } . FILTER ( ?u < ?m ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { ?c property:P1303 resource:Q178933 . ?c rdf:type ontology:Q502895 } } }
spoon cajón wind instrument
3
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Hardanger fiddle
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?u ) WHERE { ?p property:instrument ?w . ?p rdf:type ontology:common_name . ?w rdf:type ontology:musical_instrument } GROUP BY ?w } . FILTER ( ?u < ?m ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { ?c property:instrument resource:Hardanger_fiddle . ?c rdf:type ontology:common_name } } }
[]