Simple Question (Direct)
Simple Question
Q17017175
P162
Q502895
USER
Who is the creator of Kadamai Kanniyam Kattupaadu ?
(Q17017175,P162,c(Q502895))
action filter_type
action find
entity Q17017175
relation P162
type Q502895
['Q17017175', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q17017175 property:P162 ?e . ?e rdf:type ontology:Q502895 }
Kadamai Kanniyam Kattupaadu
action filter_type
action find
entity Kadamai Kanniyam Kattupaadu
relation producer
type common name
['Kadamai Kanniyam Kattupaadu', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Kadamai_Kanniyam_Kattupaadu property:producer ?e . ?e rdf:type ontology:common_name }
[]
common name
Q381477
SYSTEM
Kamal Haasan
Q381477
(Q17017175,P162,c(Q502895))
action filter_type
action find
entity Q17017175
relation P162
type Q502895
The creator of Kadamai Kanniyam Kattupaadu is for [ANSWER]
['Q17017175', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q17017175 property:P162 ?e . ?e rdf:type ontology:Q502895 }
Kamal Haasan
The creator of Kadamai Kanniyam Kattupaadu is for Kamal Haasan
Kamal Haasan
action filter_type
action find
entity Kadamai Kanniyam Kattupaadu
relation producer
type common name
['Kadamai Kanniyam Kattupaadu', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Kadamai_Kanniyam_Kattupaadu property:producer ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q381477
P112
Q43229
USER
Which organization was founded by that person ?
(c(Q43229),P112,Q381477)
action filter_type
action find_reverse
entity Q381477
relation P112
type Q43229
[{'concept': 'Q43229'}, 'P112', 'Q381477']
SELECT DISTINCT ?r WHERE { ?r property:P112 resource:Q381477 . ?r rdf:type ontology:Q43229 }
Kamal Haasan
action filter_type
action find_reverse
entity Kamal Haasan
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Kamal Haasan']
SELECT DISTINCT ?r WHERE { ?r property:founder resource:Kamal_Haasan . ?r rdf:type ontology:organization }
[]
organization
Q7278390
SYSTEM
Raaj Kamal Films International
Q7278390
(c(Q43229),P112,Q381477)
action filter_type
action find_reverse
entity Q381477
relation P112
type Q43229
[ANSWER] was founded by that person
[{'concept': 'Q43229'}, 'P112', 'Q381477']
SELECT DISTINCT ?r WHERE { ?r property:P112 resource:Q381477 . ?r rdf:type ontology:Q43229 }
Raaj Kamal Films International
Raaj Kamal Films International was founded by that person
Raaj Kamal Films International
action filter_type
action find_reverse
entity Kamal Haasan
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Kamal Haasan']
SELECT DISTINCT ?r WHERE { ?r property:founder resource:Kamal_Haasan . ?r rdf:type ontology:organization }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P272
Q43229 Q201658
USER
Which organizations were the producer of more number of film genres than that organization ?
(c(Q201658),P272,c(Q43229))
action greater
action find_reverse_tuple_counts
relation P272
type Q43229
type Q201658
action count
action filter_type
action find
entity Q7278390
relation P272
type Q43229
[{'concept': 'Q201658'}, 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:P272 ?m . ?m rdf:type ontology:Q43229 . ?p rdf:type ontology:Q201658 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { resource:Q7278390 property:P272 ?x . ?x rdf:type ontology:Q43229 } } . FILTER ( ?d > ?h ) }
action greater
action find_reverse_tuple_counts
relation production company
type organization
type film genre
action count
action filter_type
action find
entity Raaj Kamal Films International
relation production company
type organization
[{'concept': 'film genre'}, 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:production_company ?m . ?m rdf:type ontology:organization . ?p rdf:type ontology:film_genre } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { resource:Raaj_Kamal_Films_International property:production_company ?x . ?x rdf:type ontology:organization } } . FILTER ( ?d > ?h ) }
[]
organization film genre
Q9531 Q248 Q515869
SYSTEM
BBC, Intel, Lions Gate Entertainment
Q1414304 Q6428422 Q3066286 Q785697 Q179922 Q515869 Q5324239 Q622668 Q4739359 Q5311479 Q2819232 Q83389 Q883799 Q248 Q542767 Q3521465 Q5448912 Q650331 Q4824388 Q5448895 Q1188938 Q689021 Q1152369 Q2701539 Q1783801 Q828545 Q501070 Q9531 Q4646764 Q1188361 Q1740372 Q533547 Q2756503 Q5433479
(c(Q201658),P272,c(Q43229))
action greater
action find_reverse_tuple_counts
relation P272
type Q43229
type Q201658
action count
action filter_type
action find
entity Q7278390
relation P272
type Q43229
[ANSWERS] were the producer of more number of film genres than that organization
[{'concept': 'Q201658'}, 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:P272 ?m . ?m rdf:type ontology:Q43229 . ?p rdf:type ontology:Q201658 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { resource:Q7278390 property:P272 ?x . ?x rdf:type ontology:Q43229 } } . FILTER ( ?d > ?h ) }
Film Booking Offices of America Kommunenes Filmcentral Famous Studios Shogakukan Goldwyn Pictures Lions Gate Entertainment ESPN Films Village Roadshow Pictures Amalgamated Pictures Duck Studios AKOM Turkish Radio and Television Corporation Blender Foundation Intel Christian Dior S.A. The Kennedy/Marshall Company Film Australia Metro Pictures Australian Life Biograph Company FilmNation Entertainment Silver Pictures Selig Polyscope Company Section Eight Productions DePatie-Freleng Enterprises Sony Pictures Imageworks SeaWorld Parks & Entertainment Channel 4 BBC @radical.media Warner Home Video Keystone Studios Pacific Data Images Gaumont-British Picture Corporation Famous Players Film Company
BBC, Intel and Lions Gate Entertainment were the producer of more number of film genres than that organization
BBC Intel Lions Gate Entertainment
action greater
action find_reverse_tuple_counts
relation production company
type organization
type film genre
action count
action filter_type
action find
entity Raaj Kamal Films International
relation production company
type organization
[{'concept': 'film genre'}, 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:production_company ?m . ?m rdf:type ontology:organization . ?p rdf:type ontology:film_genre } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { resource:Raaj_Kamal_Films_International property:production_company ?x . ?x rdf:type ontology:organization } } . FILTER ( ?d > ?h ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q9531 Q1062280
P108
Q502895
USER
How many people are working for BBC and Channel 5 ?
(c(Q502895),P108,Q9531) (c(Q502895),P108,Q1062280)
action count
action intersection
action filter_type
action find_reverse
entity Q9531
relation P108
type Q502895
action filter_type
action find_reverse
entity Q1062280
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q9531'] [{'concept': 'Q502895'}, 'P108', 'Q1062280']
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:P108 resource:Q1062280 . ?f rdf:type ontology:Q502895 . ?f property:P108 resource:Q9531 . ?f rdf:type ontology:Q502895 }
BBC Channel 5
action count
action intersection
action filter_type
action find_reverse
entity BBC
relation employer
type common name
action filter_type
action find_reverse
entity Channel 5
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'BBC'] [{'concept': 'common name'}, 'employer', 'Channel 5']
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:employer resource:Channel_5 . ?f rdf:type ontology:common_name . ?f property:employer resource:BBC . ?f rdf:type ontology:common_name }
[]
common name
SYSTEM
4
Q1723844 Q5373001 Q10837 Q4717636
(c(Q502895),P108,Q9531) (c(Q502895),P108,Q1062280)
action count
action intersection
action filter_type
action find_reverse
entity Q9531
relation P108
type Q502895
action filter_type
action find_reverse
entity Q1062280
relation P108
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P108', 'Q9531'] [{'concept': 'Q502895'}, 'P108', 'Q1062280']
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:P108 resource:Q1062280 . ?f rdf:type ontology:Q502895 . ?f property:P108 resource:Q9531 . ?f rdf:type ontology:Q502895 }
Vicki Butler-Henderson Emma Willis Gabby Logan Alex Polizzi
4
action count
action intersection
action filter_type
action find_reverse
entity BBC
relation employer
type common name
action filter_type
action find_reverse
entity Channel 5
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'BBC'] [{'concept': 'common name'}, 'employer', 'Channel 5']
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:employer resource:Channel_5 . ?f rdf:type ontology:common_name . ?f property:employer resource:BBC . ?f rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q381477
P57
Q838948 Q11424
USER
How many works of art or films are Kamal Haasan a director of ?
(c(Q838948),P57,Q381477) (c(Q11424),P57,Q381477)
action count
action union
action filter_type
action find_reverse
entity Q381477
relation P57
type Q838948
action filter_type
action find_reverse
entity Q381477
relation P57
type Q11424
[{'concept': 'Q838948'}, 'P57', 'Q381477'] [{'concept': 'Q11424'}, 'P57', 'Q381477']
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { { ?n property:P57 resource:Q381477 . ?n rdf:type ontology:Q11424 } UNION { ?n property:P57 resource:Q381477 . ?n rdf:type ontology:Q838948 } }
Kamal Haasan
action count
action union
action filter_type
action find_reverse
entity Kamal Haasan
relation director
type work of art
action filter_type
action find_reverse
entity Kamal Haasan
relation director
type film
[{'concept': 'work of art'}, 'director', 'Kamal Haasan'] [{'concept': 'film'}, 'director', 'Kamal Haasan']
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { { ?n property:director resource:Kamal_Haasan . ?n rdf:type ontology:film } UNION { ?n property:director resource:Kamal_Haasan . ?n rdf:type ontology:work_of_art } }
[]
work of art film
SYSTEM
8
Q760266 Q6777901 Q5066084 Q24211347 Q3424339 Q3572804 Q15051674 Q3536743
(c(Q838948),P57,Q381477) (c(Q11424),P57,Q381477)
action count
action union
action filter_type
action find_reverse
entity Q381477
relation P57
type Q838948
action filter_type
action find_reverse
entity Q381477
relation P57
type Q11424
[ANSWER]
[{'concept': 'Q838948'}, 'P57', 'Q381477'] [{'concept': 'Q11424'}, 'P57', 'Q381477']
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { { ?n property:P57 resource:Q381477 . ?n rdf:type ontology:Q11424 } UNION { ?n property:P57 resource:Q381477 . ?n rdf:type ontology:Q838948 } }
Hey Ram Marudhanayagam Chachi 420 Sabaash Naidu Virumaandi Vishwaroopam Vishwaroopam II Thevar Magan
8
action count
action union
action filter_type
action find_reverse
entity Kamal Haasan
relation director
type work of art
action filter_type
action find_reverse
entity Kamal Haasan
relation director
type film
[{'concept': 'work of art'}, 'director', 'Kamal Haasan'] [{'concept': 'film'}, 'director', 'Kamal Haasan']
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { { ?n property:director resource:Kamal_Haasan . ?n rdf:type ontology:film } UNION { ?n property:director resource:Kamal_Haasan . ?n rdf:type ontology:work_of_art } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q381477
P1346
Q618779
USER
Where was that person decalred as a champion ?
action filter_type
action find_reverse
entity Q381477
relation P1346
type Q618779
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q618779 . ?n property:P1346 resource:Q381477 }
Kamal Haasan
action filter_type
action find_reverse
entity Kamal Haasan
relation winner
type award
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:award . ?n property:winner resource:Kamal_Haasan }
[]
award
Q2603352
SYSTEM
Zee Cine Award for Best Actor in a Comic Role
Q2603352
action filter_type
action find_reverse
entity Q381477
relation P1346
type Q618779
[ANSWER] that person was decalred as a champion
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q618779 . ?n property:P1346 resource:Q381477 }
Zee Cine Award for Best Actor in a Comic Role
Zee Cine Award for Best Actor in a Comic Role that person was decalred as a champion
Zee Cine Award for Best Actor in a Comic Role
action filter_type
action find_reverse
entity Kamal Haasan
relation winner
type award
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:award . ?n property:winner resource:Kamal_Haasan }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2603352 Q16724965
P1411
Q838948
USER
Was Stone Woman a nomination for that award ?
(Q16724965,P1411,Q2603352)
action is_in
entity Q16724965
action find
entity Q2603352
relation P1411
['Q16724965', 'P1411', 'Q2603352']
ASK WHERE { resource:Q2603352 property:P1411 resource:Q16724965 }
Zee Cine Award for Best Actor in a Comic Role Stone Woman
action is_in
entity Stone Woman
action find
entity Zee Cine Award for Best Actor in a Comic Role
relation nominated for
['Stone Woman', 'nominated for', 'Zee Cine Award for Best Actor in a Comic Role']
ASK WHERE { resource:Zee_Cine_Award_for_Best_Actor_in_a_Comic_Role property:nominated_for resource:Stone_Woman }
[]
work of art
SYSTEM
NO
(Q16724965,P1411,Q2603352)
action is_in
entity Q16724965
action find
entity Q2603352
relation P1411
[ANSWER]
['Q16724965', 'P1411', 'Q2603352']
ASK WHERE { resource:Q2603352 property:P1411 resource:Q16724965 }
No
action is_in
entity Stone Woman
action find
entity Zee Cine Award for Best Actor in a Comic Role
relation nominated for
['Stone Woman', 'nominated for', 'Zee Cine Award for Best Actor in a Comic Role']
ASK WHERE { resource:Zee_Cine_Award_for_Best_Actor_in_a_Comic_Role property:nominated_for resource:Stone_Woman }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P750
Q43229 Q201658 Q838948
USER
Which organizations serves as the distributor of max number of film genres and works of art ?
(c(Q201658)|c(Q838948),P750,c(Q43229))
action argmax
action union
action find_reverse_tuple_counts
relation P750
type Q43229
type Q201658
action find_reverse_tuple_counts
relation P750
type Q43229
type Q838948
[[{'concept': 'Q201658'}, {'concept': 'Q838948'}], 'P750', {'concept': 'Q43229'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?y = ?w ) . { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?y ) WHERE { VALUES ( ?n ) { ( ontology:Q201658 ) ( ontology:Q838948 ) } . ?k rdf:type ?n } GROUP BY ?e } . { SELECT DISTINCT ( MAX ( ?t ) AS ?w ) { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?t ) WHERE { ?b rdf:type ?p . VALUES ( ?p ) { ( ontology:Q201658 ) ( ontology:Q838948 ) } } GROUP BY ?c } } }
action argmax
action union
action find_reverse_tuple_counts
relation distributor
type organization
type film genre
action find_reverse_tuple_counts
relation distributor
type organization
type work of art
[[{'concept': 'film genre'}, {'concept': 'work of art'}], 'distributor', {'concept': 'organization'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?y = ?w ) . { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?y ) WHERE { VALUES ( ?n ) { ( ontology:film_genre ) ( ontology:work_of_art ) } . ?k rdf:type ?n } GROUP BY ?e } . { SELECT DISTINCT ( MAX ( ?t ) AS ?w ) { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?t ) WHERE { ?b rdf:type ?p . VALUES ( ?p ) { ( ontology:film_genre ) ( ontology:work_of_art ) } } GROUP BY ?c } } }
[]
organization film genre work of art
Q1323594
SYSTEM
Walt Disney Studios Motion Pictures
Q1323594
(c(Q201658)|c(Q838948),P750,c(Q43229))
action argmax
action union
action find_reverse_tuple_counts
relation P750
type Q43229
type Q201658
action find_reverse_tuple_counts
relation P750
type Q43229
type Q838948
[ANSWER] serves as the distributor of max number of film genres and works of art
[[{'concept': 'Q201658'}, {'concept': 'Q838948'}], 'P750', {'concept': 'Q43229'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?y = ?w ) . { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?y ) WHERE { VALUES ( ?n ) { ( ontology:Q201658 ) ( ontology:Q838948 ) } . ?k rdf:type ?n } GROUP BY ?e } . { SELECT DISTINCT ( MAX ( ?t ) AS ?w ) { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?t ) WHERE { ?b rdf:type ?p . VALUES ( ?p ) { ( ontology:Q201658 ) ( ontology:Q838948 ) } } GROUP BY ?c } } }
Walt Disney Studios Motion Pictures
Walt Disney Studios Motion Pictures serves as the distributor of max number of film genres and works of art
Walt Disney Studios Motion Pictures
action argmax
action union
action find_reverse_tuple_counts
relation distributor
type organization
type film genre
action find_reverse_tuple_counts
relation distributor
type organization
type work of art
[[{'concept': 'film genre'}, {'concept': 'work of art'}], 'distributor', {'concept': 'organization'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?y = ?w ) . { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?y ) WHERE { VALUES ( ?n ) { ( ontology:film_genre ) ( ontology:work_of_art ) } . ?k rdf:type ?n } GROUP BY ?e } . { SELECT DISTINCT ( MAX ( ?t ) AS ?w ) { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?t ) WHERE { ?b rdf:type ?p . VALUES ( ?p ) { ( ontology:film_genre ) ( ontology:work_of_art ) } } GROUP BY ?c } } }
[]