Simple Question (Direct)
Simple Question
Q2975734
P170
Q502895
USER
Which person is credited with creation of Keyser Söze ?
(Q2975734,P170,c(Q502895))
action filter_type
action find
entity Q2975734
relation P170
type Q502895
['Q2975734', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q2975734 property:P170 ?a . ?a rdf:type ontology:Q502895 }
Keyser Söze
action filter_type
action find
entity Keyser Söze
relation creator
type common name
['Keyser Söze', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Keyser_Söze property:creator ?a . ?a rdf:type ontology:common_name }
[]
common name
Q337658
SYSTEM
Christopher McQuarrie
Q337658
(Q2975734,P170,c(Q502895))
action filter_type
action find
entity Q2975734
relation P170
type Q502895
[ANSWER] is credited with creation of Keyser Söze
['Q2975734', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q2975734 property:P170 ?a . ?a rdf:type ontology:Q502895 }
Christopher McQuarrie
Christopher McQuarrie is credited with creation of Keyser Söze
Christopher McQuarrie
action filter_type
action find
entity Keyser Söze
relation creator
type common name
['Keyser Söze', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Keyser_Söze property:creator ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2975734
P175
Q502895
USER
What was presented by Keyser Söze ?
(Q2975734,P175,c(Q502895))
action filter_type
action find
entity Q2975734
relation P175
type Q502895
['Q2975734', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q2975734 property:P175 ?m . ?m rdf:type ontology:Q502895 }
Keyser Söze
action filter_type
action find
entity Keyser Söze
relation performer
type common name
['Keyser Söze', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Keyser_Söze property:performer ?m . ?m rdf:type ontology:common_name }
[]
common name
Q25144
SYSTEM
Kevin Spacey
Q25144
(Q2975734,P175,c(Q502895))
action filter_type
action find
entity Q2975734
relation P175
type Q502895
The [ANSWER] was presented by Keyser Söze
['Q2975734', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q2975734 property:P175 ?m . ?m rdf:type ontology:Q502895 }
Kevin Spacey
The Kevin Spacey was presented by Keyser Söze
Kevin Spacey
action filter_type
action find
entity Keyser Söze
relation performer
type common name
['Keyser Söze', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Keyser_Söze property:performer ?m . ?m rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q246283
P725
Q502895 Q1001378
USER
How many cinematic techniques did around the same number of people dub for as Frozen ?
(c(Q1001378),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q246283
relation P725
type Q1001378
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?c ) WHERE { ?m rdf:type ontology:Q1001378 . ?p rdf:type ontology:Q502895 . ?m property:P725 ?p } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { ?t rdf:type ontology:Q1001378 . resource:Q246283 property:P725 ?t } } . FILTER ( ?c = ?a ) }
Frozen
action count
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Frozen
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?c ) WHERE { ?m rdf:type ontology:cinematic_technique . ?p rdf:type ontology:common_name . ?m property:voice_actor ?p } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { ?t rdf:type ontology:cinematic_technique . resource:Frozen property:voice_actor ?t } } . FILTER ( ?c = ?a ) }
[]
common name cinematic technique
SYSTEM
42
Q656998 Q6505964 Q120367 Q2388260 Q21079862 Q1093555 Q15270742 Q27229786 Q562140 Q6144664 Q221679 Q392530 Q192212 Q23647031 Q182153 Q15728879 Q2388653 Q246283 Q908816 Q244434 Q3623997 Q4096274 Q18647981 Q655133 Q2615381 Q191803 Q170035 Q2613318 Q171048 Q223217 Q6739642 Q15709928 Q14545073 Q467678 Q15140309 Q656396 Q187266 Q15975680 Q4243413 Q104905 Q329603 Q633053
(c(Q1001378),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q246283
relation P725
type Q1001378
[ANSWER]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?c ) WHERE { ?m rdf:type ontology:Q1001378 . ?p rdf:type ontology:Q502895 . ?m property:P725 ?p } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { ?t rdf:type ontology:Q1001378 . resource:Q246283 property:P725 ?t } } . FILTER ( ?c = ?a ) }
Garfield's Pet Force Rudolph the Red-Nosed Reindeer: The Movie Shark Tale The Humpbacked Horse Cars 3 Swan Lake Adventures of Mowgli The Animated Adventures of Tom Sawyer Yobi, the Five Tailed Fox Inside Out Meet the Robinsons Treasure Planet Cars 2 Batman: The Killing Joke Cars My Little Pony: Equestria Girls 2 – Rainbow Rocks Tom Sawyer Frozen The Secret of Kells Lady and the Tramp II: Scamp's Adventure FernGully 2: The Magical Rescue The Bremen Town Musicians Moana Treasure Island Korgoth of Barbaria The Lion King II: Simba's Pride Ratatouille Garfield's Fun Fest Toy Story The Lion King 1½ Making Stars Tríd an Stoirm 1912 film The Little Mermaid II: Return to the Sea Emil & Ida i Lönneberga Mickey's Magical Christmas: Snowed in at the House of Mouse Toy Story 2 Tamako Love Story Ku! Kin-dza-dza WALL•E Laura's Star Surf's Up
42
action count
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Frozen
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?c ) WHERE { ?m rdf:type ontology:cinematic_technique . ?p rdf:type ontology:common_name . ?m property:voice_actor ?p } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { ?t rdf:type ontology:cinematic_technique . resource:Frozen property:voice_actor ?t } } . FILTER ( ?c = ?a ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q221679
P725
Q502895 Q1001378
USER
And also tell me about Meet the Robinsons?
(c(Q1001378),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q221679
relation P725
type Q1001378
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?i ) WHERE { ?p property:P725 ?r . ?p rdf:type ontology:Q1001378 . ?r rdf:type ontology:Q502895 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Q221679 property:P725 ?o . ?o rdf:type ontology:Q1001378 } } . FILTER ( ?i = ?v ) }
Meet the Robinsons
action count
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Meet the Robinsons
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?i ) WHERE { ?p property:voice_actor ?r . ?p rdf:type ontology:cinematic_technique . ?r rdf:type ontology:common_name } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Meet_the_Robinsons property:voice_actor ?o . ?o rdf:type ontology:cinematic_technique } } . FILTER ( ?i = ?v ) }
[]
common name cinematic technique
SYSTEM
41
Q656998 Q6505964 Q120367 Q2388260 Q21079862 Q1093555 Q15270742 Q27229786 Q562140 Q6144664 Q221679 Q392530 Q192212 Q23647031 Q182153 Q15728879 Q246283 Q908816 Q244434 Q3623997 Q4096274 Q18647981 Q655133 Q2615381 Q191803 Q170035 Q2613318 Q171048 Q223217 Q6739642 Q15709928 Q14545073 Q467678 Q15140309 Q656396 Q187266 Q15975680 Q4243413 Q104905 Q329603 Q633053
(c(Q1001378),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q221679
relation P725
type Q1001378
[ANSWER]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?i ) WHERE { ?p property:P725 ?r . ?p rdf:type ontology:Q1001378 . ?r rdf:type ontology:Q502895 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Q221679 property:P725 ?o . ?o rdf:type ontology:Q1001378 } } . FILTER ( ?i = ?v ) }
Garfield's Pet Force Rudolph the Red-Nosed Reindeer: The Movie Shark Tale The Humpbacked Horse Cars 3 Swan Lake Adventures of Mowgli The Animated Adventures of Tom Sawyer Yobi, the Five Tailed Fox Inside Out Meet the Robinsons Treasure Planet Cars 2 Batman: The Killing Joke Cars My Little Pony: Equestria Girls 2 – Rainbow Rocks Frozen The Secret of Kells Lady and the Tramp II: Scamp's Adventure FernGully 2: The Magical Rescue The Bremen Town Musicians Moana Treasure Island Korgoth of Barbaria The Lion King II: Simba's Pride Ratatouille Garfield's Fun Fest Toy Story The Lion King 1½ Making Stars Tríd an Stoirm 1912 film The Little Mermaid II: Return to the Sea Emil & Ida i Lönneberga Mickey's Magical Christmas: Snowed in at the House of Mouse Toy Story 2 Tamako Love Story Ku! Kin-dza-dza WALL•E Laura's Star Surf's Up
41
action count
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Meet the Robinsons
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?i ) WHERE { ?p property:voice_actor ?r . ?p rdf:type ontology:cinematic_technique . ?r rdf:type ontology:common_name } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Meet_the_Robinsons property:voice_actor ?o . ?o rdf:type ontology:cinematic_technique } } . FILTER ( ?i = ?v ) }
[]
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 1367 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1367
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?x = 1367 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1367
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?x = 1367 ) }
[]
musical instrument common name
SYSTEM
64
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 count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1367
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?x = 1367 ) }
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
64
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1367
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?x = 1367 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q25144
P58
Q838948
USER
Which work of art is Kevin Spacey a screenwriter of ?
(c(Q838948),P58,Q25144)
action filter_type
action find_reverse
entity Q25144
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q25144']
SELECT DISTINCT ?m WHERE { ?m property:P58 resource:Q25144 . ?m rdf:type ontology:Q838948 }
Kevin Spacey
action filter_type
action find_reverse
entity Kevin Spacey
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Kevin Spacey']
SELECT DISTINCT ?m WHERE { ?m property:screenwriter resource:Kevin_Spacey . ?m rdf:type ontology:work_of_art }
[]
work of art
Q162458
SYSTEM
Beyond the Sea
Q162458
(c(Q838948),P58,Q25144)
action filter_type
action find_reverse
entity Q25144
relation P58
type Q838948
[ANSWER] is Kevin Spacey a screenwriter of
[{'concept': 'Q838948'}, 'P58', 'Q25144']
SELECT DISTINCT ?m WHERE { ?m property:P58 resource:Q25144 . ?m rdf:type ontology:Q838948 }
Beyond the Sea
Beyond the Sea is Kevin Spacey a screenwriter of
Beyond the Sea
action filter_type
action find_reverse
entity Kevin Spacey
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Kevin Spacey']
SELECT DISTINCT ?m WHERE { ?m property:screenwriter resource:Kevin_Spacey . ?m rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q25144
P1346
Q4220917
USER
Which film awards were won by Kevin Spacey ?
(c(Q4220917),P1346,Q25144)
action filter_type
action find_reverse
entity Q25144
relation P1346
type Q4220917
[{'concept': 'Q4220917'}, 'P1346', 'Q25144']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q4220917 . ?a property:P1346 resource:Q25144 }
Kevin Spacey
action filter_type
action find_reverse
entity Kevin Spacey
relation winner
type film award
[{'concept': 'film award'}, 'winner', 'Kevin Spacey']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:film_award . ?a property:winner resource:Kevin_Spacey }
[]
film award
Q106291 Q1071903 Q175235
SYSTEM
Academy Award for Best Supporting Actor, Chicago Film Critics Association Award for Best Actor, Chicago Film Critics Association Award for Best Supporting Actor
Q1071903 Q3827269 Q1062026 Q175235 Q106291 Q838482 Q1075361
(c(Q4220917),P1346,Q25144)
action filter_type
action find_reverse
entity Q25144
relation P1346
type Q4220917
[ANSWERS] were won by Kevin Spacey
[{'concept': 'Q4220917'}, 'P1346', 'Q25144']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q4220917 . ?a property:P1346 resource:Q25144 }
Chicago Film Critics Association Award for Best Actor Las Vegas Film Critics Society Award for Best Actor MTV Movie Award for Best Villain Chicago Film Critics Association Award for Best Supporting Actor Academy Award for Best Supporting Actor Chlotrudis Award for Best Actor Chlotrudis Award for Best Supporting Actor
Academy Award for Best Supporting Actor, Chicago Film Critics Association Award for Best Actor and Chicago Film Critics Association Award for Best Supporting Actor were won by Kevin Spacey
Academy Award for Best Supporting Actor Chicago Film Critics Association Award for Best Actor Chicago Film Critics Association Award for Best Supporting Actor
action filter_type
action find_reverse
entity Kevin Spacey
relation winner
type film award
[{'concept': 'film award'}, 'winner', 'Kevin Spacey']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:film_award . ?a property:winner resource:Kevin_Spacey }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1071903
P166
Q502895
USER
Which person won that film award ?
(c(Q502895),P166,Q1071903)
action filter_type
action find_reverse
entity Q1071903
relation P166
type Q502895
[{'concept': 'Q502895'}, 'P166', 'Q1071903']
SELECT DISTINCT ?w WHERE { ?w property:P166 resource:Q1071903 . ?w rdf:type ontology:Q502895 }
Chicago Film Critics Association Award for Best Actor
action filter_type
action find_reverse
entity Chicago Film Critics Association Award for Best Actor
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Chicago Film Critics Association Award for Best Actor']
SELECT DISTINCT ?w WHERE { ?w property:award_received resource:Chicago_Film_Critics_Association_Award_for_Best_Actor . ?w rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1071903
SYSTEM
Did you mean Chicago Film Critics Association Award for Best Actor ?
Q106291 Q1071903 Q175235
(c(Q502895),P166,Q106291) (c(Q502895),P166,Q1071903) (c(Q502895),P166,Q175235)
[ANSWER]
[{'concept': 'Q502895'}, 'P166', 'Q106291'] [{'concept': 'Q502895'}, 'P166', 'Q1071903'] [{'concept': 'Q502895'}, 'P166', 'Q175235']
SELECT DISTINCT ?w WHERE { ?w property:P166 resource:Q1071903 . ?w rdf:type ontology:Q502895 }
Academy Award for Best Supporting Actor Chicago Film Critics Association Award for Best Actor Chicago Film Critics Association Award for Best Supporting Actor
Did you mean Chicago Film Critics Association Award for Best Actor ?
Chicago Film Critics Association Award for Best Actor
[{'concept': 'common name'}, 'award received', 'Academy Award for Best Supporting Actor'] [{'concept': 'common name'}, 'award received', 'Chicago Film Critics Association Award for Best Actor'] [{'concept': 'common name'}, 'award received', 'Chicago Film Critics Association Award for Best Supporting Actor']
SELECT DISTINCT ?w WHERE { ?w property:award_received resource:Chicago_Film_Critics_Association_Award_for_Best_Actor . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P166,Q1071903)
[{'concept': 'Q502895'}, 'P166', 'Q1071903']
[{'concept': 'common name'}, 'award received', 'Chicago Film Critics Association Award for Best Actor']
[]
Q23365
SYSTEM
Jeremy Renner
Q23365
(c(Q502895),P166,Q1071903)
action filter_type
action find_reverse
entity Q1071903
relation P166
type Q502895
[ANSWER] won that film award
[{'concept': 'Q502895'}, 'P166', 'Q1071903']
SELECT DISTINCT ?w WHERE { ?w property:P166 resource:Q1071903 . ?w rdf:type ontology:Q502895 }
Jeremy Renner
Jeremy Renner won that film award
Jeremy Renner
action filter_type
action find_reverse
entity Chicago Film Critics Association Award for Best Actor
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Chicago Film Critics Association Award for Best Actor']
SELECT DISTINCT ?w WHERE { ?w property:award_received resource:Chicago_Film_Critics_Association_Award_for_Best_Actor . ?w rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q23365 Q25136406
P161
Q838948
USER
Does The Desperate Mission have that person in its star cast ?
(Q25136406,P161,Q23365)
action is_in
entity Q25136406
action find
entity Q23365
relation P161
['Q25136406', 'P161', 'Q23365']
ASK WHERE { resource:Q23365 property:P161 resource:Q25136406 }
Jeremy Renner The Desperate Mission
action is_in
entity The Desperate Mission
action find
entity Jeremy Renner
relation cast member
['The Desperate Mission', 'cast member', 'Jeremy Renner']
ASK WHERE { resource:Jeremy_Renner property:cast_member resource:The_Desperate_Mission }
[]
work of art
SYSTEM
NO
(Q25136406,P161,Q23365)
action is_in
entity Q25136406
action find
entity Q23365
relation P161
[ANSWER]
['Q25136406', 'P161', 'Q23365']
ASK WHERE { resource:Q23365 property:P161 resource:Q25136406 }
No
action is_in
entity The Desperate Mission
action find
entity Jeremy Renner
relation cast member
['The Desperate Mission', 'cast member', 'Jeremy Renner']
ASK WHERE { resource:Jeremy_Renner property:cast_member resource:The_Desperate_Mission }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q23365
P161
Q838948 Q15416
USER
How many works of art or television programs stars Jeremy Renner as actor ?
(c(Q838948),P161,Q23365) (c(Q15416),P161,Q23365)
action count
action union
action filter_type
action find_reverse
entity Q23365
relation P161
type Q838948
action filter_type
action find_reverse
entity Q23365
relation P161
type Q15416
[{'concept': 'Q838948'}, 'P161', 'Q23365'] [{'concept': 'Q15416'}, 'P161', 'Q23365']
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { ?j property:P161 resource:Q23365 . ?j rdf:type ontology:Q15416 } UNION { ?j rdf:type ontology:Q838948 . ?j property:P161 resource:Q23365 } }
Jeremy Renner
action count
action union
action filter_type
action find_reverse
entity Jeremy Renner
relation cast member
type work of art
action filter_type
action find_reverse
entity Jeremy Renner
relation cast member
type television program
[{'concept': 'work of art'}, 'cast member', 'Jeremy Renner'] [{'concept': 'television program'}, 'cast member', 'Jeremy Renner']
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { ?j property:cast_member resource:Jeremy_Renner . ?j rdf:type ontology:television_program } UNION { ?j rdf:type ontology:work_of_art . ?j property:cast_member resource:Jeremy_Renner } }
[]
work of art television program
SYSTEM
32
Q982786 Q494048 Q498287 Q725539 Q628154 Q1139660 Q182218 Q14523264 Q678775 Q9013673 Q217020 Q18407657 Q1139491 Q725423 Q3341412 Q17548046 Q1030954 Q16254265 Q300461 Q183066 Q221102 Q604821 Q6991897 Q14171368 Q23780914 Q17480384 Q1157491 Q23781155 Q1319963 Q25339940 Q388950 Q20382729
(c(Q838948),P161,Q23365) (c(Q15416),P161,Q23365)
action count
action union
action filter_type
action find_reverse
entity Q23365
relation P161
type Q838948
action filter_type
action find_reverse
entity Q23365
relation P161
type Q15416
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q23365'] [{'concept': 'Q15416'}, 'P161', 'Q23365']
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { ?j property:P161 resource:Q23365 . ?j rdf:type ontology:Q15416 } UNION { ?j rdf:type ontology:Q838948 . ?j property:P161 resource:Q23365 } }
The Oaks The Bourne Legacy Hansel and Gretel: Witch Hunters The Town Mission: Impossible – Ghost Protocol The Unusuals The Avengers Kill the Messenger S.W.A.T. American Hustle Thor Captain America: Civil War 12 and Holding North Country The Immigrant Mission: Impossible – Rogue Nation The Net Ingenious A Little Trip to Heaven The Hurt Locker 28 Weeks Later National Lampoon's Senior Trip Neo Ned Avengers: Age of Ultron Avengers: Infinity War Take Dahmer Untitled Avengers Movie The Heart Is Deceitful Above All Things Wind River The Assassination of Jesse James by the Coward Robert Ford Arrival
32
action count
action union
action filter_type
action find_reverse
entity Jeremy Renner
relation cast member
type work of art
action filter_type
action find_reverse
entity Jeremy Renner
relation cast member
type television program
[{'concept': 'work of art'}, 'cast member', 'Jeremy Renner'] [{'concept': 'television program'}, 'cast member', 'Jeremy Renner']
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { ?j property:cast_member resource:Jeremy_Renner . ?j rdf:type ontology:television_program } UNION { ?j rdf:type ontology:work_of_art . ?j property:cast_member resource:Jeremy_Renner } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15961987
USER
Which television genres did atmost 12 people dub for ?
(c(Q15961987),P725,c(Q502895))
action atmost
action find_tuple_counts
relation P725
type Q15961987
type Q502895
value 12
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?q ) WHERE { ?m property:P725 ?j . ?m rdf:type ontology:Q15961987 . ?j rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?q <= 12 ) }
action atmost
action find_tuple_counts
relation voice actor
type television genre
type common name
value 12
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?q ) WHERE { ?m property:voice_actor ?j . ?m rdf:type ontology:television_genre . ?j rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?q <= 12 ) }
[]
common name television genre
Q886 Q11572 Q53093
SYSTEM
The Simpsons, Avatar: The Last Airbender, Adventure Time
Q11572 Q24034511 Q11296848 Q7615342 Q3235151 Q576501 Q847219 Q53093 Q753848 Q5415 Q886 Q917543 Q2750339
(c(Q15961987),P725,c(Q502895))
action atmost
action find_tuple_counts
relation P725
type Q15961987
type Q502895
value 12
Atmost 12 people dubbed [ANSWERS]
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?q ) WHERE { ?m property:P725 ?j . ?m rdf:type ontology:Q15961987 . ?j rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?q <= 12 ) }
Avatar: The Last Airbender Voltron: Legendary Defender Kiteretsu Daihyakka Steven Universe VeggieTales Garfield and Friends Pururun! Shizuku-chan Adventure Time TaleSpin My Little Pony: Friendship Is Magic The Simpsons The Garfield Show Hellsing Ultimate
Atmost 12 people dubbed The Simpsons, Avatar: The Last Airbender and Adventure Time
The Simpsons Avatar: The Last Airbender Adventure Time
action atmost
action find_tuple_counts
relation voice actor
type television genre
type common name
value 12
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?q ) WHERE { ?m property:voice_actor ?j . ?m rdf:type ontology:television_genre . ?j rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?q <= 12 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q886
P1441
Q15619164
USER
Which abstract beings are present in The Simpsons ?
(c(Q15619164),P1441,Q886)
action filter_type
action find_reverse
entity Q886
relation P1441
type Q15619164
[{'concept': 'Q15619164'}, 'P1441', 'Q886']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15619164 . ?w property:P1441 resource:Q886 }
The Simpsons
action filter_type
action find_reverse
entity The Simpsons
relation present in work
type abstract being
[{'concept': 'abstract being'}, 'present in work', 'The Simpsons']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:abstract_being . ?w property:present_in_work resource:The_Simpsons }
[]
abstract being
Q5480 Q2151996 Q3089090
SYSTEM
Bart Simpson, Constance Harm, Clancy Bouvier
Q2151996 Q3053993 Q3108438 Q10316406 Q4994754 Q4168941 Q10270134 Q10370072 Q3239553 Q9604409 Q21832540 Q2387030 Q2465877 Q3039304 Q3089090 Q3291641 Q15238565 Q9655559 Q9660671 Q10312666 Q2750469 Q1995293 Q10305237 Q3009493 Q2196932 Q1789068 Q3878133 Q3593750 Q9657430 Q15233213 Q3487032 Q10265853 Q3489275 Q10393385 Q2728306 Q10319877 Q12326494 Q3573197 Q10261380 Q15241683 Q1425114 Q10271973 Q10381019 Q2600673 Q10364020 Q5480 Q10296300 Q15241741 Q2982572 Q10295071 Q2467848 Q10319945 Q10270917
(c(Q15619164),P1441,Q886)
action filter_type
action find_reverse
entity Q886
relation P1441
type Q15619164
[ANSWERS] are present in The Simpsons
[{'concept': 'Q15619164'}, 'P1441', 'Q886']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15619164 . ?w property:P1441 resource:Q886 }
Constance Harm Elizabeth Hoover Gladys Bouvier Larry Burns Blinky Lunchlady Doris Eddie Ms. Albright Flanders family Allison Taylor Stuart Gil Gunderson Bumblebee Man Drederick Tatum Clancy Bouvier Squeaky Voiced Teen Manjula Nahasapeemapetilon Bernice Hibbert Capital City Goofball Jub Jub Jacqueline Bouvier Rainier Wolfcastle Janey Powell Cyrus Simpson Spider Pig Abbie Simpson Frank Grimes Üter Zörker Bill Simpson Frank Grimes Junior Cecil Terwilliger Dewey Largo Poochie Wendell Borton Jasper Beardly Lou McBain Yuma Hickman Crazy Cat Lady Sanjay Nahasapeemapetilon Santa's Little Helper Daphne Burns Rich Texan Duffman Roger Meyer Bart Simpson Rex Banner Artie Ziff Colin Herman Hermann Radioactive Man Lurleen Lumpkin Edwina
Bart Simpson, Constance Harm and Clancy Bouvier are present in The Simpsons
Bart Simpson Constance Harm Clancy Bouvier
action filter_type
action find_reverse
entity The Simpsons
relation present in work
type abstract being
[{'concept': 'abstract being'}, 'present in work', 'The Simpsons']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:abstract_being . ?w property:present_in_work resource:The_Simpsons }
[]