Simple Question (Direct)
Simple Question
Q1427169
P57
Q502895
USER
Who was the director of Digimon Adventure ?
(Q1427169,P57,c(Q502895))
action filter_type
action find
entity Q1427169
relation P57
type Q502895
['Q1427169', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q1427169 property:P57 ?h . ?h rdf:type ontology:Q502895 }
Digimon Adventure
action filter_type
action find
entity Digimon Adventure
relation director
type common name
['Digimon Adventure', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Digimon_Adventure property:director ?h . ?h rdf:type ontology:common_name }
[]
common name
Q720771
SYSTEM
Mamoru Hosoda
Q720771
(Q1427169,P57,c(Q502895))
action filter_type
action find
entity Q1427169
relation P57
type Q502895
The director of Digimon Adventure was [ANSWER]
['Q1427169', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q1427169 property:P57 ?h . ?h rdf:type ontology:Q502895 }
Mamoru Hosoda
The director of Digimon Adventure was Mamoru Hosoda
Mamoru Hosoda
action filter_type
action find
entity Digimon Adventure
relation director
type common name
['Digimon Adventure', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Digimon_Adventure property:director ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1427169
P58
Q502895
USER
Which person wrote the script for that work of art ?
(Q720771,P58,c(Q502895))
action filter_type
action find
entity Q1427169
relation P58
type Q502895
['Q720771', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q1427169 property:P58 ?i . ?i rdf:type ontology:Q502895 }
Digimon Adventure
action filter_type
action find
entity Digimon Adventure
relation screenwriter
type common name
['Mamoru Hosoda', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Digimon_Adventure property:screenwriter ?i . ?i rdf:type ontology:common_name }
[]
common name
Q605013
SYSTEM
Reiko Yoshida
Q605013
(Q720771,P58,c(Q502895))
action filter_type
action find
entity Q1427169
relation P58
type Q502895
[ANSWER] wrote the script for that work of art
['Q720771', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q1427169 property:P58 ?i . ?i rdf:type ontology:Q502895 }
Reiko Yoshida
Reiko Yoshida wrote the script for that work of art
Reiko Yoshida
action filter_type
action find
entity Digimon Adventure
relation screenwriter
type common name
['Mamoru Hosoda', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Digimon_Adventure property:screenwriter ?i . ?i rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17416734 Q1427169
P161
Q502895
USER
Which people are in Digimon Adventure or Open Future ?
OR((Q1427169,P161,c(Q502895)), (Q17416734,P161,c(Q502895)))
action filter_type
action union
action find
entity Q1427169
relation P161
action find
entity Q17416734
relation P161
type Q502895
{'OR': [['Q1427169', 'P161', {'concept': 'Q502895'}], ['Q17416734', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?m WHERE { { ?i property:P161 ?m . VALUES ( ?i ) { ( resource:Q1427169 ) ( resource:Q17416734 ) } } . ?m rdf:type ontology:Q502895 }
Open Future Digimon Adventure
action filter_type
action union
action find
entity Digimon Adventure
relation cast member
action find
entity Open Future
relation cast member
type common name
{'OR': [['Digimon Adventure', 'cast member', {'concept': 'common name'}], ['Open Future', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?m WHERE { { ?i property:cast_member ?m . VALUES ( ?i ) { ( resource:Digimon_Adventure ) ( resource:Open_Future ) } } . ?m rdf:type ontology:common_name }
[]
common name
Q571148 Q774937 Q11979528 Q7793600 Q19460296 Q2408347 Q6279058
SYSTEM
Toshiko Fujita, Kae Araki, Julie Wiggen, Thomas Robsahm, Are Sjaastad, Yoshiko Sakakibara, Jorunn Kjellsby
Q571148 Q774937 Q11979528 Q7793600 Q19460296 Q2408347 Q6279058
OR((Q1427169,P161,c(Q502895)), (Q17416734,P161,c(Q502895)))
action filter_type
action union
action find
entity Q1427169
relation P161
action find
entity Q17416734
relation P161
type Q502895
[ANSWERS] are in Digimon Adventure or Open Future
{'OR': [['Q1427169', 'P161', {'concept': 'Q502895'}], ['Q17416734', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?m WHERE { { ?i property:P161 ?m . VALUES ( ?i ) { ( resource:Q1427169 ) ( resource:Q17416734 ) } } . ?m rdf:type ontology:Q502895 }
Toshiko Fujita Kae Araki Julie Wiggen Thomas Robsahm Are Sjaastad Yoshiko Sakakibara Jorunn Kjellsby
Toshiko Fujita, Kae Araki, Julie Wiggen, Thomas Robsahm, Are Sjaastad, Yoshiko Sakakibara and Jorunn Kjellsby are in Digimon Adventure or Open Future
Toshiko Fujita Kae Araki Julie Wiggen Thomas Robsahm Are Sjaastad Yoshiko Sakakibara Jorunn Kjellsby
action filter_type
action union
action find
entity Digimon Adventure
relation cast member
action find
entity Open Future
relation cast member
type common name
{'OR': [['Digimon Adventure', 'cast member', {'concept': 'common name'}], ['Open Future', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?m WHERE { { ?i property:cast_member ?m . VALUES ( ?i ) { ( resource:Digimon_Adventure ) ( resource:Open_Future ) } } . ?m rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by around 830 people ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 830
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?r ) WHERE { ?g rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 . ?h property:P1303 ?g } GROUP BY ?g } . FILTER ( ?r = 830 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 830
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?r ) WHERE { ?g rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name . ?h property:instrument ?g } GROUP BY ?g } . FILTER ( ?r = 830 ) }
[]
musical instrument common name
SYSTEM
63
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 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 830
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?r ) WHERE { ?g rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 . ?h property:P1303 ?g } GROUP BY ?g } . FILTER ( ?r = 830 ) }
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 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
63
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 830
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?r ) WHERE { ?g rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name . ?h property:instrument ?g } GROUP BY ?g } . FILTER ( ?r = 830 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q9024946
P169
Q502895 Q874405 Q7397
USER
How many people are the CEO of more number of social groups or software than Luis Bello ?
(c(Q874405)|c(Q7397),P169,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q874405
action find_reverse_tuple_counts
relation P169
type Q502895
type Q7397
action count
action filter_multi_types
action find_reverse
entity Q9024946
relation P169
type Q874405
type Q7397
[[{'concept': 'Q874405'}, {'concept': 'Q7397'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) ?a WHERE { VALUES ( ?i ) { ( ontology:Q874405 ) ( ontology:Q7397 ) } . ?r rdf:type ?i } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { ?y property:P169 resource:Q9024946 . { VALUES ( ?l ) { ( ontology:Q874405 ) ( ontology:Q7397 ) } . ?y rdf:type ?l } } } . FILTER ( ?w > ?c ) }
Luis Bello
action count
action greater
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type social group
action find_reverse_tuple_counts
relation chief executive officer
type common name
type software
action count
action filter_multi_types
action find_reverse
entity Luis Bello
relation chief executive officer
type social group
type software
[[{'concept': 'social group'}, {'concept': 'software'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) ?a WHERE { VALUES ( ?i ) { ( ontology:social_group ) ( ontology:software ) } . ?r rdf:type ?i } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { ?y property:chief_executive_officer resource:Luis_Bello . { VALUES ( ?l ) { ( ontology:social_group ) ( ontology:software ) } . ?y rdf:type ?l } } } . FILTER ( ?w > ?c ) }
[]
common name social group software
SYSTEM
28
Q21000395 Q15966868 Q1929047 Q4487 Q16236293 Q103473 Q16163305 Q347418 Q15293536 Q16876158 Q23048203 Q8051043 Q7688294 Q15064277 Q5704388 Q3185348 Q18344447 Q500976 Q26908223 Q7456439 Q23759747 Q4655570 Q4935260 Q96270 Q18091304 Q776008 Q17114394 Q19878836
(c(Q874405)|c(Q7397),P169,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q874405
action find_reverse_tuple_counts
relation P169
type Q502895
type Q7397
action count
action filter_multi_types
action find_reverse
entity Q9024946
relation P169
type Q874405
type Q7397
[ANSWER]
[[{'concept': 'Q874405'}, {'concept': 'Q7397'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) ?a WHERE { VALUES ( ?i ) { ( ontology:Q874405 ) ( ontology:Q7397 ) } . ?r rdf:type ?i } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { ?y property:P169 resource:Q9024946 . { VALUES ( ?l ) { ( ontology:Q874405 ) ( ontology:Q7397 ) } . ?y rdf:type ?l } } } . FILTER ( ?w > ?c ) }
Franz Borgias Mayer David Schraven Michael Rockenschaub Federico Gamboa William LeGate Georg August Zenker Albert Royo i Mariné Gabe Newell Martyn Harrow Ryan Merkley Youssef al-Raissouni Yechiel Eckstein Tatsumi Kimishima Andrew Wilson Helga Stephenson Joseph Mayer Michael Seifert Andreas Treichl Alireza Salehi Nejad Seth Berkley Alisa Miller Christine Loh Bobby Koch Richard Kund Victor Galasyuk Nasser Al-Khelaifi Randi S. Øgrey Colin Seery
28
action count
action greater
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type social group
action find_reverse_tuple_counts
relation chief executive officer
type common name
type software
action count
action filter_multi_types
action find_reverse
entity Luis Bello
relation chief executive officer
type social group
type software
[[{'concept': 'social group'}, {'concept': 'software'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) ?a WHERE { VALUES ( ?i ) { ( ontology:social_group ) ( ontology:software ) } . ?r rdf:type ?i } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { ?y property:chief_executive_officer resource:Luis_Bello . { VALUES ( ?l ) { ( ontology:social_group ) ( ontology:software ) } . ?y rdf:type ?l } } } . FILTER ( ?w > ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q449120
P169
Q502895 Q874405 Q7397
USER
And also tell me about Irene Rosenfeld?
(c(Q874405)|c(Q7397),P169,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q874405
action find_reverse_tuple_counts
relation P169
type Q502895
type Q7397
action count
action filter_multi_types
action find_reverse
entity Q449120
relation P169
type Q874405
type Q7397
[[{'concept': 'Q874405'}, {'concept': 'Q7397'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?i ) WHERE { { ?c property:P169 ?x . ?x rdf:type ontology:Q502895 . ?c rdf:type ontology:Q874405 } UNION { ?c property:P169 ?x . ?x rdf:type ontology:Q502895 . ?c rdf:type ontology:Q7397 } } GROUP BY ?x } . FILTER ( ?i > ?g ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:P169 resource:Q449120 . { { ?m rdf:type ontology:Q874405 } UNION { ?m rdf:type ontology:Q7397 } } } } }
Irene Rosenfeld
action count
action greater
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type social group
action find_reverse_tuple_counts
relation chief executive officer
type common name
type software
action count
action filter_multi_types
action find_reverse
entity Irene Rosenfeld
relation chief executive officer
type social group
type software
[[{'concept': 'social group'}, {'concept': 'software'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?i ) WHERE { { ?c property:chief_executive_officer ?x . ?x rdf:type ontology:common_name . ?c rdf:type ontology:social_group } UNION { ?c property:chief_executive_officer ?x . ?x rdf:type ontology:common_name . ?c rdf:type ontology:software } } GROUP BY ?x } . FILTER ( ?i > ?g ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:chief_executive_officer resource:Irene_Rosenfeld . { { ?m rdf:type ontology:social_group } UNION { ?m rdf:type ontology:software } } } } }
[]
common name social group software
SYSTEM
28
Q21000395 Q15966868 Q1929047 Q4487 Q16236293 Q103473 Q16163305 Q347418 Q15293536 Q16876158 Q23048203 Q8051043 Q7688294 Q15064277 Q5704388 Q3185348 Q18344447 Q500976 Q26908223 Q7456439 Q23759747 Q4655570 Q4935260 Q96270 Q18091304 Q776008 Q17114394 Q19878836
(c(Q874405)|c(Q7397),P169,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q874405
action find_reverse_tuple_counts
relation P169
type Q502895
type Q7397
action count
action filter_multi_types
action find_reverse
entity Q449120
relation P169
type Q874405
type Q7397
[ANSWER]
[[{'concept': 'Q874405'}, {'concept': 'Q7397'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?i ) WHERE { { ?c property:P169 ?x . ?x rdf:type ontology:Q502895 . ?c rdf:type ontology:Q874405 } UNION { ?c property:P169 ?x . ?x rdf:type ontology:Q502895 . ?c rdf:type ontology:Q7397 } } GROUP BY ?x } . FILTER ( ?i > ?g ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:P169 resource:Q449120 . { { ?m rdf:type ontology:Q874405 } UNION { ?m rdf:type ontology:Q7397 } } } } }
Franz Borgias Mayer David Schraven Michael Rockenschaub Federico Gamboa William LeGate Georg August Zenker Albert Royo i Mariné Gabe Newell Martyn Harrow Ryan Merkley Youssef al-Raissouni Yechiel Eckstein Tatsumi Kimishima Andrew Wilson Helga Stephenson Joseph Mayer Michael Seifert Andreas Treichl Alireza Salehi Nejad Seth Berkley Alisa Miller Christine Loh Bobby Koch Richard Kund Victor Galasyuk Nasser Al-Khelaifi Randi S. Øgrey Colin Seery
28
action count
action greater
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type social group
action find_reverse_tuple_counts
relation chief executive officer
type common name
type software
action count
action filter_multi_types
action find_reverse
entity Irene Rosenfeld
relation chief executive officer
type social group
type software
[[{'concept': 'social group'}, {'concept': 'software'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?i ) WHERE { { ?c property:chief_executive_officer ?x . ?x rdf:type ontology:common_name . ?c rdf:type ontology:social_group } UNION { ?c property:chief_executive_officer ?x . ?x rdf:type ontology:common_name . ?c rdf:type ontology:software } } GROUP BY ?x } . FILTER ( ?i > ?g ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:chief_executive_officer resource:Irene_Rosenfeld . { { ?m rdf:type ontology:social_group } UNION { ?m rdf:type ontology:software } } } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2473938 Q571148
P161
Q838948
USER
Which works of art have Toshiko Fujita or Ughetto Bertucci as actor ?
OR((c(Q838948),P161,Q571148), (c(Q838948),P161,Q2473938))
action filter_type
action union
action find_reverse
entity Q571148
relation P161
action find_reverse
entity Q2473938
relation P161
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q571148'], [{'concept': 'Q838948'}, 'P161', 'Q2473938']]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q838948 . { { ?r property:P161 resource:Q571148 } UNION { ?r property:P161 resource:Q2473938 } } }
Ughetto Bertucci Toshiko Fujita
action filter_type
action union
action find_reverse
entity Toshiko Fujita
relation cast member
action find_reverse
entity Ughetto Bertucci
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Toshiko Fujita'], [{'concept': 'work of art'}, 'cast member', 'Ughetto Bertucci']]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:work_of_art . { { ?r property:cast_member resource:Toshiko_Fujita } UNION { ?r property:cast_member resource:Ughetto_Bertucci } } }
[]
work of art
Q3283795 Q3996012 Q2357205 Q3677303 Q3824799 Q3285095 Q3794993 Q3992015 Q3620967 Q4003231
SYSTEM
Some of them are Totò al giro d'Italia, Totò, Fabrizi e i giovani d'oggi, Wicked City, Five Paupers in an Automobile, La vendetta di Aquila Nera, Totò cerca pace, Il padrone del vapore, Tizio, Caio, Sempronio, Appuntamento a Ischia, Last Love
Q7747505 Q3796173 Q1309659 Q3899400 Q3282522 Q3828670 Q3927059 Q3825005 Q3791157 Q3960431 Q3283914 Q3284414 Q3203846 Q3992015 Q1427169 Q3976457 Q3623837 Q1074846 Q3824799 Q3281632 Q3013253 Q3094536 Q3857811 Q3996012 Q3790756 Q3604157 Q972252 Q3835864 Q2357205 Q3620967 Q3605058 Q373806 Q287096 Q3794993 Q4009487 Q3677303 Q3284276 Q3744655 Q3283795 Q3285095 Q4003231
OR((c(Q838948),P161,Q571148), (c(Q838948),P161,Q2473938))
action filter_type
action union
action find_reverse
entity Q571148
relation P161
action find_reverse
entity Q2473938
relation P161
type Q838948
[ANSWERS] have Toshiko Fujita or Ughetto Bertucci as actor
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q571148'], [{'concept': 'Q838948'}, 'P161', 'Q2473938']]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q838948 . { { ?r property:P161 resource:Q571148 } UNION { ?r property:P161 resource:Q2473938 } } }
The Lion of Amalfi Il vedovo allegro Doraemon: Nobita and the Robot Kingdom Peppino, le modelle e chella là Signori si nasce Eighteen Year Olds Quanto sei bella Roma Life Begins Anew The Firemen of Viggiù Signorinella Totò Tarzan Toto the Third Man L'onorevole Angelina Tizio, Caio, Sempronio Digimon Adventure Sua Eccellenza si fermò a mangiare Arrivano i nostri Poveri ma belli La vendetta di Aquila Nera Two Nights with Cleopatra Dirty Pair: Affair of Nolandia Galaxy Express 999 Milano miliardaria Totò, Fabrizi e i giovani d'oggi The Two Orphans Accidents to the Taxes!! Sette ore di guai Hawk of the Nile Wicked City Appuntamento a Ischia Adam and Eve Una Bruna indiavolata Detective Conan: Countdown to Heaven Il padrone del vapore Vendetta... sarda Five Paupers in an Automobile Totò sceicco Fifa e arena Totò al giro d'Italia Totò cerca pace Last Love
Totò al giro d'Italia, Totò, Fabrizi e i giovani d'oggi, Wicked City, Five Paupers in an Automobile, La vendetta di Aquila Nera, Totò cerca pace, Il padrone del vapore, Tizio, Caio, Sempronio, Appuntamento a Ischia and Last Love have Toshiko Fujita or Ughetto Bertucci as actor
Totò al giro d'Italia Totò, Fabrizi e i giovani d'oggi Wicked City Five Paupers in an Automobile La vendetta di Aquila Nera Totò cerca pace Il padrone del vapore Tizio, Caio, Sempronio Appuntamento a Ischia Last Love
action filter_type
action union
action find_reverse
entity Toshiko Fujita
relation cast member
action find_reverse
entity Ughetto Bertucci
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Toshiko Fujita'], [{'concept': 'work of art'}, 'cast member', 'Ughetto Bertucci']]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:work_of_art . { { ?r property:cast_member resource:Toshiko_Fujita } UNION { ?r property:cast_member resource:Ughetto_Bertucci } } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P161
Q502895
USER
How many people are in that work of art ?
(Q3677303,P161,c(Q502895))
['Q3677303', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q3677303 property:Q3297652 ?z . ?z rdf:type ontology:Q502895 }
['Five Paupers in an Automobile', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Five_Paupers_in_an_Automobile property:cast_member ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q3677303
SYSTEM
Did you mean Five Paupers in an Automobile ?
(Q3283795,P161,c(Q502895)) (Q3996012,P161,c(Q502895)) (Q2357205,P161,c(Q502895)) (Q3677303,P161,c(Q502895)) (Q3824799,P161,c(Q502895)) (Q3285095,P161,c(Q502895)) (Q3794993,P161,c(Q502895)) (Q3992015,P161,c(Q502895)) (Q3620967,P161,c(Q502895)) (Q4003231,P161,c(Q502895))
[ANSWER]
['Q3283795', 'P161', {'concept': 'Q502895'}] ['Q3996012', 'P161', {'concept': 'Q502895'}] ['Q2357205', 'P161', {'concept': 'Q502895'}] ['Q3677303', 'P161', {'concept': 'Q502895'}] ['Q3824799', 'P161', {'concept': 'Q502895'}] ['Q3285095', 'P161', {'concept': 'Q502895'}] ['Q3794993', 'P161', {'concept': 'Q502895'}] ['Q3992015', 'P161', {'concept': 'Q502895'}] ['Q3620967', 'P161', {'concept': 'Q502895'}] ['Q4003231', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q3677303 property:Q3297652 ?z . ?z rdf:type ontology:Q502895 }
Did you mean Five Paupers in an Automobile ?
Five Paupers in an Automobile
["Totò al giro d'Italia", 'cast member', {'concept': 'common name'}] ["Totò, Fabrizi e i giovani d'oggi", 'cast member', {'concept': 'common name'}] ['Wicked City', 'cast member', {'concept': 'common name'}] ['Five Paupers in an Automobile', 'cast member', {'concept': 'common name'}] ['La vendetta di Aquila Nera', 'cast member', {'concept': 'common name'}] ['Totò cerca pace', 'cast member', {'concept': 'common name'}] ['Il padrone del vapore', 'cast member', {'concept': 'common name'}] ['Tizio, Caio, Sempronio', 'cast member', {'concept': 'common name'}] ['Appuntamento a Ischia', 'cast member', {'concept': 'common name'}] ['Last Love', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Five_Paupers_in_an_Automobile property:cast_member ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q3677303,P161,c(Q502895))
['Q3677303', 'P161', {'concept': 'Q502895'}]
['Five Paupers in an Automobile', 'cast member', {'concept': 'common name'}]
[]
SYSTEM
28
Q3870113 Q2473938 Q3611736 Q1243816 Q3608607 Q3848561 Q1054390 Q434574 Q332632 Q3769523 Q3839500 Q3788161 Q3840461 Q675949 Q950328 Q3804145 Q1247460 Q3764464 Q977975 Q55450 Q526044 Q554172 Q378674 Q3763468 Q3903756 Q3659795 Q555828 Q3726538
(Q3677303,P161,c(Q502895))
[ANSWER]
['Q3677303', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q3677303 property:Q3297652 ?z . ?z rdf:type ontology:Q502895 }
Nando Bruno Ughetto Bertucci Alida Cappellini Raimondo Vianello Alberto Talegalli Mario Feliciani Mario Pisu Isa Barzizza Eduardo De Filippo Giulio Calì Luigi Cimara Hélène Rémy Luisa Poselli Alberto Sorrentino Laura Carli Italia Marchesini Titina De Filippo Gina Mascetti Walter Chiari Aldo Fabrizi Silvana Jachino Mario Castellani Arnoldo Foà Gianni Cavalieri Pietro Carloni Carlo Romano Aldo Giuffrè Enzo Garinei
28
['Five Paupers in an Automobile', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Five_Paupers_in_an_Automobile property:cast_member ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P2079
Q2695280 Q838948
USER
How many technicss are used to fabricate around 1 work of art ?
(c(Q838948),P2079,c(Q2695280))
action count
action approx
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?w ) WHERE { ?c property:P2079 ?a . ?a rdf:type ontology:Q2695280 . ?c rdf:type ontology:Q838948 } GROUP BY ?a } . FILTER ( ?w = 1 ) }
action count
action approx
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?w ) WHERE { ?c property:fabrication_method ?a . ?a rdf:type ontology:technics . ?c rdf:type ontology:work_of_art } GROUP BY ?a } . FILTER ( ?w = 1 ) }
[]
technics work of art
SYSTEM
2
Q1334300 Q170593
(c(Q838948),P2079,c(Q2695280))
action count
action approx
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[ANSWER]
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?w ) WHERE { ?c property:P2079 ?a . ?a rdf:type ontology:Q2695280 . ?c rdf:type ontology:Q838948 } GROUP BY ?a } . FILTER ( ?w = 1 ) }
gilding collage
2
action count
action approx
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?w ) WHERE { ?c property:fabrication_method ?a . ?a rdf:type ontology:technics . ?c rdf:type ontology:work_of_art } GROUP BY ?a } . FILTER ( ?w = 1 ) }
[]