Simple Question (Direct)
Simple Question
Q947359
P58
Q502895
USER
Which person wrote the script for Il vostro super agente Flit ?
(Q947359,P58,c(Q502895))
action filter_type
action find
entity Q947359
relation P58
type Q502895
['Q947359', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . resource:Q947359 property:P58 ?x }
Il vostro super agente Flit
action filter_type
action find
entity Il vostro super agente Flit
relation screenwriter
type common name
['Il vostro super agente Flit', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . resource:Il_vostro_super_agente_Flit property:screenwriter ?x }
[]
common name
Q993165
SYSTEM
Bruno Corbucci
Q993165
(Q947359,P58,c(Q502895))
action filter_type
action find
entity Q947359
relation P58
type Q502895
[ANSWER] wrote the script for Il vostro super agente Flit
['Q947359', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . resource:Q947359 property:P58 ?x }
Bruno Corbucci
Bruno Corbucci wrote the script for Il vostro super agente Flit
Bruno Corbucci
action filter_type
action find
entity Il vostro super agente Flit
relation screenwriter
type common name
['Il vostro super agente Flit', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . resource:Il_vostro_super_agente_Flit property:screenwriter ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q993165
P57
Q838948
USER
Which works of art are that person a director of ?
(c(Q838948),P57,Q993165)
action filter_type
action find_reverse
entity Q993165
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q993165']
SELECT DISTINCT ?c WHERE { ?c property:P57 resource:Q993165 . ?c rdf:type ontology:Q838948 }
Bruno Corbucci
action filter_type
action find_reverse
entity Bruno Corbucci
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Bruno Corbucci']
SELECT DISTINCT ?c WHERE { ?c property:director resource:Bruno_Corbucci . ?c rdf:type ontology:work_of_art }
[]
work of art
Q3927788 Q2908285 Q3705068
SYSTEM
Questo pazzo, pazzo mondo della canzone, Boccaccio, Delitto in Formula Uno
Q3705068 Q3705044 Q3793945 Q3801198 Q4006015 Q3855332 Q593088 Q3277251 Q2690260 Q678035 Q3795345 Q1659485 Q2690230 Q3276773 Q3821698 Q942657 Q3541142 Q3606464 Q3806747 Q558927 Q607133 Q116187 Q3927788 Q3802323 Q3967351 Q3935203 Q3796074 Q3898768 Q2908285 Q3276749 Q3935870 Q383605
(c(Q838948),P57,Q993165)
action filter_type
action find_reverse
entity Q993165
relation P57
type Q838948
[ANSWERS] are that person a director of
[{'concept': 'Q838948'}, 'P57', 'Q993165']
SELECT DISTINCT ?c WHERE { ?c property:P57 resource:Q993165 . ?c rdf:type ontology:Q838948 }
Delitto in Formula Uno Delitto a Porta Romana Il ficcanaso Io non spezzo... rompo Uno contro l'altro Messalina, Messalina Assassinio sul Tevere Squadra antigangsters Squadra antimafia The Cop in Blue Jeans The Mighty Anselmo and His Squire The Longest Hunt Squadra antifurto Delitto al ristorante cinese The Haunted House Miami Supercops The Three Musketeers of the West The Finzi Detective Agency James Tont operazione U.N.O. Superfantagenio James Tont operazione D.U.E. Thieves and Robbers Questo pazzo, pazzo mondo della canzone Isabella Squadra antitruffa Riderà! Il trafficone Peggio per me... meglio per te Boccaccio Delitto al Blue Gay Rimini Rimini - Un anno dopo Delitto sull'autostrada
Questo pazzo, pazzo mondo della canzone, Boccaccio and Delitto in Formula Uno are that person a director of
Questo pazzo, pazzo mondo della canzone Boccaccio Delitto in Formula Uno
action filter_type
action find_reverse
entity Bruno Corbucci
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Bruno Corbucci']
SELECT DISTINCT ?c WHERE { ?c property:director resource:Bruno_Corbucci . ?c rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1445
Q838948 Q386724
USER
Which works are recounted in approximately 5 works of art ?
(c(Q386724),P1445,c(Q838948))
action approx
action find_tuple_counts
relation P1445
type Q386724
type Q838948
value 5
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?z = 5 ) . { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?z ) WHERE { ?i rdf:type ontology:Q386724 . ?r rdf:type ontology:Q838948 . ?i property:P1445 ?r } GROUP BY ?i } }
action approx
action find_tuple_counts
relation fictional universe described in
type work
type work of art
value 5
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?z = 5 ) . { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?z ) WHERE { ?i rdf:type ontology:work . ?r rdf:type ontology:work_of_art . ?i property:fictional_universe_described_in ?r } GROUP BY ?i } }
[]
work of art work
Q384426
SYSTEM
Pirates of the Caribbean
Q384426
(c(Q386724),P1445,c(Q838948))
action approx
action find_tuple_counts
relation P1445
type Q386724
type Q838948
value 5
[ANSWER] is recounted in approximately 5 works of art
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?z = 5 ) . { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?z ) WHERE { ?i rdf:type ontology:Q386724 . ?r rdf:type ontology:Q838948 . ?i property:P1445 ?r } GROUP BY ?i } }
Pirates of the Caribbean
Pirates of the Caribbean is recounted in approximately 5 works of art
Pirates of the Caribbean
action approx
action find_tuple_counts
relation fictional universe described in
type work
type work of art
value 5
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?z = 5 ) . { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?z ) WHERE { ?i rdf:type ontology:work . ?r rdf:type ontology:work_of_art . ?i property:fictional_universe_described_in ?r } GROUP BY ?i } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q384426 Q194318
P361
Q36649
USER
Is Pirates of the Caribbean a part of that work ?
(Q194318,P361,Q384426)
action is_in
entity Q384426
action find
entity Q194318
relation P361
['Q194318', 'P361', 'Q384426']
ASK WHERE { resource:Q194318 property:P361 resource:Q384426 }
Pirates of the Caribbean Pirates of the Caribbean
action is_in
entity Pirates of the Caribbean
action find
entity Pirates of the Caribbean
relation part of
['Pirates of the Caribbean', 'part of', 'Pirates of the Caribbean']
ASK WHERE { resource:Pirates_of_the_Caribbean property:part_of resource:Pirates_of_the_Caribbean }
[]
visual arts
SYSTEM
YES
(Q194318,P361,Q384426)
action is_in
entity Q384426
action find
entity Q194318
relation P361
[ANSWER]
['Q194318', 'P361', 'Q384426']
ASK WHERE { resource:Q194318 property:P361 resource:Q384426 }
Yes
action is_in
entity Pirates of the Caribbean
action find
entity Pirates of the Caribbean
relation part of
['Pirates of the Caribbean', 'part of', 'Pirates of the Caribbean']
ASK WHERE { resource:Pirates_of_the_Caribbean property:part_of resource:Pirates_of_the_Caribbean }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q3705068 Q886707
P136
Q1792379
USER
How many art genres can be considered as category for Delitto in Formula Uno or Blutoper ?
(Q3705068,P136,c(Q1792379)) (Q886707,P136,c(Q1792379))
action count
action union
action filter_type
action find
entity Q3705068
relation P136
type Q1792379
action filter_type
action find
entity Q886707
relation P136
type Q1792379
['Q3705068', 'P136', {'concept': 'Q1792379'}] ['Q886707', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { resource:Q3705068 property:P136 ?i . ?i rdf:type ontology:Q1792379 } UNION { resource:Q886707 property:P136 ?i . ?i rdf:type ontology:Q1792379 } }
Delitto in Formula Uno Blutoper
action count
action union
action filter_type
action find
entity Delitto in Formula Uno
relation genre
type art genre
action filter_type
action find
entity Blutoper
relation genre
type art genre
['Delitto in Formula Uno', 'genre', {'concept': 'art genre'}] ['Blutoper', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { resource:Delitto_in_Formula_Uno property:genre ?i . ?i rdf:type ontology:art_genre } UNION { resource:Blutoper property:genre ?i . ?i rdf:type ontology:art_genre } }
[]
art genre
SYSTEM
2
Q208505 Q157443
(Q3705068,P136,c(Q1792379)) (Q886707,P136,c(Q1792379))
action count
action union
action filter_type
action find
entity Q3705068
relation P136
type Q1792379
action filter_type
action find
entity Q886707
relation P136
type Q1792379
[ANSWER]
['Q3705068', 'P136', {'concept': 'Q1792379'}] ['Q886707', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { resource:Q3705068 property:P136 ?i . ?i rdf:type ontology:Q1792379 } UNION { resource:Q886707 property:P136 ?i . ?i rdf:type ontology:Q1792379 } }
crime novel comedy film
2
action count
action union
action filter_type
action find
entity Delitto in Formula Uno
relation genre
type art genre
action filter_type
action find
entity Blutoper
relation genre
type art genre
['Delitto in Formula Uno', 'genre', {'concept': 'art genre'}] ['Blutoper', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { resource:Delitto_in_Formula_Uno property:genre ?i . ?i rdf:type ontology:art_genre } UNION { resource:Blutoper property:genre ?i . ?i rdf:type ontology:art_genre } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1445
Q1001378 Q386724
USER
How many cinematic techniques sketch the fictional universe of exactly 1 work ?
(c(Q386724),P1445,c(Q1001378))
action count
action equal
action find_reverse_tuple_counts
relation P1445
type Q1001378
type Q386724
value 1
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q1001378'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?y ) WHERE { ?l rdf:type ontology:Q1001378 . ?m rdf:type ontology:Q386724 . ?m property:P1445 ?l } GROUP BY ?l } . FILTER ( ?y = 1 ) }
action count
action equal
action find_reverse_tuple_counts
relation fictional universe described in
type cinematic technique
type work
value 1
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'cinematic technique'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?y ) WHERE { ?l rdf:type ontology:cinematic_technique . ?m rdf:type ontology:work . ?m property:fictional_universe_described_in ?l } GROUP BY ?l } . FILTER ( ?y = 1 ) }
[]
cinematic technique work
SYSTEM
7
Q486588 Q485983 Q483815 Q817003 Q324262 Q208131 Q817261
(c(Q386724),P1445,c(Q1001378))
action count
action equal
action find_reverse_tuple_counts
relation P1445
type Q1001378
type Q386724
value 1
[ANSWER]
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q1001378'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?y ) WHERE { ?l rdf:type ontology:Q1001378 . ?m rdf:type ontology:Q386724 . ?m property:P1445 ?l } GROUP BY ?l } . FILTER ( ?y = 1 ) }
Shrek the Third Shrek 2 Shrek Aladdin and the King of Thieves Puss in Boots Shrek Forever After The Return of Jafar
7
action count
action equal
action find_reverse_tuple_counts
relation fictional universe described in
type cinematic technique
type work
value 1
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'cinematic technique'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?y ) WHERE { ?l rdf:type ontology:cinematic_technique . ?m rdf:type ontology:work . ?m property:fictional_universe_described_in ?l } GROUP BY ?l } . FILTER ( ?y = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3705068
P161
Q502895
USER
How many people starred in Delitto in Formula Uno ?
(Q3705068,P161,c(Q502895))
action count
action filter_type
action find
entity Q3705068
relation P161
type Q502895
['Q3705068', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { resource:Q3705068 property:P161 ?z . ?z rdf:type ontology:Q502895 }
Delitto in Formula Uno
action count
action filter_type
action find
entity Delitto in Formula Uno
relation cast member
type common name
['Delitto in Formula Uno', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { resource:Delitto_in_Formula_Uno property:cast_member ?z . ?z rdf:type ontology:common_name }
[]
common name
SYSTEM
22
Q3881667 Q3802235 Q3956097 Q3876322 Q1450781 Q77456 Q3888684 Q3830246 Q1541570 Q993165 Q3641985 Q3609301 Q432638 Q3852589 Q3726538 Q3845626 Q3802208 Q3848537 Q3831999 Q1343356 Q3808446 Q293117
(Q3705068,P161,c(Q502895))
action count
action filter_type
action find
entity Q3705068
relation P161
type Q502895
[ANSWER]
['Q3705068', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { resource:Q3705068 property:P161 ?z . ?z rdf:type ontology:Q502895 }
Olimpia Di Nardo Isabel Russinova Sergio Di Pinto Nicola Pistoia Massimo Vanni Dagmar Lassander Paco Fabrini Leo Gavero Pino Colizzi Bruno Corbucci Bombolo Aldo Ralli Tomás Milián Maurizio Fabbri Enzo Garinei Marcello Martana Isaac George Mario Donatone Licinia Lentini Ennio Antonelli Jimmy il Fenomeno Maria Grazia Buccella
22
action count
action filter_type
action find
entity Delitto in Formula Uno
relation cast member
type common name
['Delitto in Formula Uno', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { resource:Delitto_in_Formula_Uno property:cast_member ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q6937772
P161
Q502895
USER
And how about Murder in the Private Car?
(Q6937772,P161,c(Q502895))
action count
action filter_type
action find
entity Q6937772
relation P161
type Q502895
['Q6937772', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { resource:Q6937772 property:P161 ?h . ?h rdf:type ontology:Q502895 }
Murder in the Private Car
action count
action filter_type
action find
entity Murder in the Private Car
relation cast member
type common name
['Murder in the Private Car', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { resource:Murder_in_the_Private_Car property:cast_member ?h . ?h rdf:type ontology:common_name }
[]
common name
SYSTEM
3
Q266473 Q718786 Q934722
(Q6937772,P161,c(Q502895))
action count
action filter_type
action find
entity Q6937772
relation P161
type Q502895
[ANSWER]
['Q6937772', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { resource:Q6937772 property:P161 ?h . ?h rdf:type ontology:Q502895 }
Una Merkel Mary Carlisle Charles Ruggles
3
action count
action filter_type
action find
entity Murder in the Private Car
relation cast member
type common name
['Murder in the Private Car', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { resource:Murder_in_the_Private_Car property:cast_member ?h . ?h rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q4443456
Q502895
USER
And also tell me about Fear?
(Q4443456,P161,c(Q502895))
action count
action filter_type
action find
entity Q4443456
relation P161
type Q502895
['Q4443456', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { resource:Q4443456 property:P161 ?k . ?k rdf:type ontology:Q502895 }
Fear
action count
action filter_type
action find
entity Fear
relation cast member
type common name
['Fear', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { resource:Fear property:cast_member ?k . ?k rdf:type ontology:common_name }
[]
common name
SYSTEM
1
(Q4443456,P161,c(Q502895))
action count
action filter_type
action find
entity Q4443456
relation P161
type Q502895
[ANSWER]
['Q4443456', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { resource:Q4443456 property:P161 ?k . ?k rdf:type ontology:Q502895 }
1
action count
action filter_type
action find
entity Fear
relation cast member
type common name
['Fear', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { resource:Fear property:cast_member ?k . ?k rdf:type ontology:common_name }
[]