Simple Question (Direct)
Simple Question
Q4540701
P495
Q15617994
USER
What is the country of origin of Cantata ?
(Q4540701,P495,c(Q15617994))
action filter_type
action find
entity Q4540701
relation P495
type Q15617994
['Q4540701', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q4540701 property:P495 ?q . ?q rdf:type ontology:Q15617994 }
Cantata
action filter_type
action find
entity Cantata
relation country of origin
type designation for an administrative territorial entity
['Cantata', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Cantata property:country_of_origin ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
(Q4540701,P495,c(Q15617994))
action filter_type
action find
entity Q4540701
relation P495
type Q15617994
The country of origin of Cantata is in [ANSWER]
['Q4540701', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q4540701 property:P495 ?q . ?q rdf:type ontology:Q15617994 }
Hungary
The country of origin of Cantata is in Hungary
Hungary
action filter_type
action find
entity Cantata
relation country of origin
type designation for an administrative territorial entity
['Cantata', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Cantata property:country_of_origin ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4540701
P58
Q502895
USER
Which person wrote the script for that work of art ?
(Q28,P58,c(Q502895))
action filter_type
action find
entity Q4540701
relation P58
type Q502895
['Q28', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q4540701 property:P58 ?h . ?h rdf:type ontology:Q502895 }
Cantata
action filter_type
action find
entity Cantata
relation screenwriter
type common name
['Hungary', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Cantata property:screenwriter ?h . ?h rdf:type ontology:common_name }
[]
common name
Q259240
SYSTEM
Miklós Jancsó
Q259240
(Q28,P58,c(Q502895))
action filter_type
action find
entity Q4540701
relation P58
type Q502895
[ANSWER] wrote the script for that work of art
['Q28', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q4540701 property:P58 ?h . ?h rdf:type ontology:Q502895 }
Miklós Jancsó
Miklós Jancsó wrote the script for that work of art
Miklós Jancsó
action filter_type
action find
entity Cantata
relation screenwriter
type common name
['Hungary', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Cantata property:screenwriter ?h . ?h rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q259240 Q15163334
P57
Q838948
USER
Did that person direct Alphonse Bertillon's tomb ?
(Q15163334,P57,Q259240)
action is_in
entity Q15163334
action find
entity Q259240
relation P57
['Q15163334', 'P57', 'Q259240']
ASK WHERE { resource:Q259240 property:P57 resource:Q15163334 }
Miklós Jancsó Alphonse Bertillon's tomb
action is_in
entity Alphonse Bertillon's tomb
action find
entity Miklós Jancsó
relation director
["Alphonse Bertillon's tomb", 'director', 'Miklós Jancsó']
ASK WHERE { resource:Miklós_Jancsó property:director resource:Alphonse_Bertillon's_tomb }
[]
work of art
SYSTEM
NO
(Q15163334,P57,Q259240)
action is_in
entity Q15163334
action find
entity Q259240
relation P57
[ANSWER]
['Q15163334', 'P57', 'Q259240']
ASK WHERE { resource:Q259240 property:P57 resource:Q15163334 }
No
action is_in
entity Alphonse Bertillon's tomb
action find
entity Miklós Jancsó
relation director
["Alphonse Bertillon's tomb", 'director', 'Miklós Jancsó']
ASK WHERE { resource:Miklós_Jancsó property:director resource:Alphonse_Bertillon's_tomb }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q4540701 Q26215739
P86
Q502895
USER
Did Frederick Cawley, 3rd Baron Cawley write the music for Cantata ?
(Q4540701,P86,Q26215739)
action is_in
entity Q26215739
action find
entity Q4540701
relation P86
['Q4540701', 'P86', 'Q26215739']
ASK WHERE { resource:Q4540701 property:P86 resource:Q26215739 }
Cantata Frederick Cawley, 3rd Baron Cawley
action is_in
entity Frederick Cawley, 3rd Baron Cawley
action find
entity Cantata
relation composer
['Cantata', 'composer', 'Frederick Cawley, 3rd Baron Cawley']
ASK WHERE { resource:Cantata property:composer resource:Frederick_Cawley,_3rd_Baron_Cawley }
[]
common name
SYSTEM
NO
(Q4540701,P86,Q26215739)
action is_in
entity Q26215739
action find
entity Q4540701
relation P86
[ANSWER]
['Q4540701', 'P86', 'Q26215739']
ASK WHERE { resource:Q4540701 property:P86 resource:Q26215739 }
No
action is_in
entity Frederick Cawley, 3rd Baron Cawley
action find
entity Cantata
relation composer
['Cantata', 'composer', 'Frederick Cawley, 3rd Baron Cawley']
ASK WHERE { resource:Cantata property:composer resource:Frederick_Cawley,_3rd_Baron_Cawley }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q259240
P26
Q502895
USER
Which people are the life partner of Miklós Jancsó ?
(c(Q502895),P26,Q259240)
action filter_type
action find
entity Q259240
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q259240']
SELECT DISTINCT ?y WHERE { resource:Q259240 property:P26 ?y . ?y rdf:type ontology:Q502895 }
Miklós Jancsó
action filter_type
action find
entity Miklós Jancsó
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Miklós Jancsó']
SELECT DISTINCT ?y WHERE { resource:Miklós_Jancsó property:spouse ?y . ?y rdf:type ontology:common_name }
[]
common name
Q257427 Q15263031
SYSTEM
Márta Mészáros, Zsuzsa Csákány
Q257427 Q15263031
(c(Q502895),P26,Q259240)
action filter_type
action find
entity Q259240
relation P26
type Q502895
[ANSWERS] are the life partner of Miklós Jancsó
[{'concept': 'Q502895'}, 'P26', 'Q259240']
SELECT DISTINCT ?y WHERE { resource:Q259240 property:P26 ?y . ?y rdf:type ontology:Q502895 }
Márta Mészáros Zsuzsa Csákány
Márta Mészáros and Zsuzsa Csákány are the life partner of Miklós Jancsó
Márta Mészáros Zsuzsa Csákány
action filter_type
action find
entity Miklós Jancsó
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Miklós Jancsó']
SELECT DISTINCT ?y WHERE { resource:Miklós_Jancsó property:spouse ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15263031
P25
Q502895
USER
Which female person was the parent of Zsuzsa Csákány ?
(Q15263031,P25,c(Q502895))
action filter_type
action find
entity Q15263031
relation P25
type Q502895
['Q15263031', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q15263031 property:P25 ?p . ?p rdf:type ontology:Q502895 }
Zsuzsa Csákány
action filter_type
action find
entity Zsuzsa Csákány
relation mother
type common name
['Zsuzsa Csákány', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Zsuzsa_Csákány property:mother ?p . ?p rdf:type ontology:common_name }
[]
common name
Q875231
SYSTEM
Márta Csákány
Q875231
(Q15263031,P25,c(Q502895))
action filter_type
action find
entity Q15263031
relation P25
type Q502895
[ANSWER] was the parent of Zsuzsa Csákány
['Q15263031', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q15263031 property:P25 ?p . ?p rdf:type ontology:Q502895 }
Márta Csákány
Márta Csákány was the parent of Zsuzsa Csákány
Márta Csákány
action filter_type
action find
entity Zsuzsa Csákány
relation mother
type common name
['Zsuzsa Csákány', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Zsuzsa_Csákány property:mother ?p . ?p rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3541135 Q15263031
P25 P161
Q502895
USER
Which people were the mother of Zsuzsa Csákány or were casted in Poveri milionari ?
OR((Q15263031,P25,c(Q502895)), (Q3541135,P161,c(Q502895)))
action filter_type
action union
action find
entity Q15263031
relation P25
action find
entity Q3541135
relation P161
type Q502895
{'OR': [['Q15263031', 'P25', {'concept': 'Q502895'}], ['Q3541135', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q15263031 property:P25 ?d } UNION { resource:Q3541135 property:P161 ?d } } . ?d rdf:type ontology:Q502895 }
Poveri milionari Zsuzsa Csákány
action filter_type
action union
action find
entity Zsuzsa Csákány
relation mother
action find
entity Poveri milionari
relation cast member
type common name
{'OR': [['Zsuzsa Csákány', 'mother', {'concept': 'common name'}], ['Poveri milionari', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Zsuzsa_Csákány property:mother ?d } UNION { resource:Poveri_milionari property:cast_member ?d } } . ?d rdf:type ontology:common_name }
[]
common name
Q3764285 Q553941 Q433515 Q1249102 Q875231 Q2123731 Q697888 Q433856 Q239802 Q476080
SYSTEM
Gildo Bocci, Memmo Carotenuto, Alessandra Panaro, Roberto Rey, Márta Csákány, Fred Buscaglione, Renato Salvatori, Maurizio Arena, Sylva Koscina, Lorella De Luca
Q3764285 Q553941 Q433515 Q1249102 Q875231 Q2123731 Q697888 Q433856 Q239802 Q476080
OR((Q15263031,P25,c(Q502895)), (Q3541135,P161,c(Q502895)))
action filter_type
action union
action find
entity Q15263031
relation P25
action find
entity Q3541135
relation P161
type Q502895
[ANSWERS] were the mother of Zsuzsa Csákány or were casted in Poveri milionari
{'OR': [['Q15263031', 'P25', {'concept': 'Q502895'}], ['Q3541135', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q15263031 property:P25 ?d } UNION { resource:Q3541135 property:P161 ?d } } . ?d rdf:type ontology:Q502895 }
Gildo Bocci Memmo Carotenuto Alessandra Panaro Roberto Rey Márta Csákány Fred Buscaglione Renato Salvatori Maurizio Arena Sylva Koscina Lorella De Luca
Gildo Bocci, Memmo Carotenuto, Alessandra Panaro, Roberto Rey, Márta Csákány, Fred Buscaglione, Renato Salvatori, Maurizio Arena, Sylva Koscina and Lorella De Luca were the mother of Zsuzsa Csákány or were casted in Poveri milionari
Gildo Bocci Memmo Carotenuto Alessandra Panaro Roberto Rey Márta Csákány Fred Buscaglione Renato Salvatori Maurizio Arena Sylva Koscina Lorella De Luca
action filter_type
action union
action find
entity Zsuzsa Csákány
relation mother
action find
entity Poveri milionari
relation cast member
type common name
{'OR': [['Zsuzsa Csákány', 'mother', {'concept': 'common name'}], ['Poveri milionari', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Zsuzsa_Csákány property:mother ?d } UNION { resource:Poveri_milionari property:cast_member ?d } } . ?d rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P161
Q838948
USER
How many works of art do that person star in ?
(c(Q838948),P161,Q3764285)
[{'concept': 'Q838948'}, 'P161', 'Q3764285']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3297652 resource:Q3764285 . ?z rdf:type ontology:Q838948 }
[{'concept': 'work of art'}, 'cast member', 'Gildo Bocci']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:cast_member resource:Gildo_Bocci . ?z rdf:type ontology:work_of_art }
[]
work of art
Quantitative|Count|Single entity type|Clarification
Q553941
SYSTEM
Did you mean Memmo Carotenuto ?
(c(Q838948),P161,Q3764285) (c(Q838948),P161,Q553941) (c(Q838948),P161,Q433515) (c(Q838948),P161,Q1249102) (c(Q838948),P161,Q875231) (c(Q838948),P161,Q2123731) (c(Q838948),P161,Q697888) (c(Q838948),P161,Q433856) (c(Q838948),P161,Q239802) (c(Q838948),P161,Q476080)
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q3764285'] [{'concept': 'Q838948'}, 'P161', 'Q553941'] [{'concept': 'Q838948'}, 'P161', 'Q433515'] [{'concept': 'Q838948'}, 'P161', 'Q1249102'] [{'concept': 'Q838948'}, 'P161', 'Q875231'] [{'concept': 'Q838948'}, 'P161', 'Q2123731'] [{'concept': 'Q838948'}, 'P161', 'Q697888'] [{'concept': 'Q838948'}, 'P161', 'Q433856'] [{'concept': 'Q838948'}, 'P161', 'Q239802'] [{'concept': 'Q838948'}, 'P161', 'Q476080']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3297652 resource:Q3764285 . ?z rdf:type ontology:Q838948 }
Did you mean Memmo Carotenuto ?
Memmo Carotenuto
[{'concept': 'work of art'}, 'cast member', 'Gildo Bocci'] [{'concept': 'work of art'}, 'cast member', 'Memmo Carotenuto'] [{'concept': 'work of art'}, 'cast member', 'Alessandra Panaro'] [{'concept': 'work of art'}, 'cast member', 'Roberto Rey'] [{'concept': 'work of art'}, 'cast member', 'Márta Csákány'] [{'concept': 'work of art'}, 'cast member', 'Fred Buscaglione'] [{'concept': 'work of art'}, 'cast member', 'Renato Salvatori'] [{'concept': 'work of art'}, 'cast member', 'Maurizio Arena'] [{'concept': 'work of art'}, 'cast member', 'Sylva Koscina'] [{'concept': 'work of art'}, 'cast member', 'Lorella De Luca']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:cast_member resource:Gildo_Bocci . ?z rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Gildo Bocci. Could you tell me the answer for that?
(c(Q838948),P161,Q3764285)
Q3764285
[{'concept': 'Q838948'}, 'P161', 'Q3764285']
[{'concept': 'work of art'}, 'cast member', 'Gildo Bocci']
[]
SYSTEM
27
Q4025307 Q972252 Q1074846 Q367980 Q3821415 Q3983332 Q3821721 Q3959984 Q1656029 Q3821927 Q3280884 Q5996627 Q1634966 Q3795499 Q3619892 Q21646034 Q1620572 Q3618034 Q3786030 Q3846583 Q4010856 Q1093630 Q1093088 Q3541135 Q3824727 Q3941641 Q3714178
(c(Q838948),P161,Q3764285)
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q3764285']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3297652 resource:Q3764285 . ?z rdf:type ontology:Q838948 }
Tuppe tuppe Sette ore di guai Poveri ma belli 47 morto che parla Sleeping Beauty Tempo di villeggiatura The Jester's Supper Are We Men or Corporals? O.K. Nerone Queen of Babylon The Band of Honest Men Il Romanzo della mia vita Four Steps in the Clouds The King's Jester Antonio Meucci After Casanova's Fashion Everybody's Woman Easy Years I've Lost My Husband! Marco Visconti Via delle Cinque Lune Belle ma povere Days of Love Poveri milionari La valle del diavolo Rossini Dora Nelson
27
[{'concept': 'work of art'}, 'cast member', 'Gildo Bocci']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:cast_member resource:Gildo_Bocci . ?z rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3764285
P19
Q56061
USER
How many administrative territories are the birthplace of Gildo Bocci ?
(Q3764285,P19,c(Q56061))
action count
action filter_type
action find
entity Q3764285
relation P19
type Q56061
['Q3764285', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { ?k rdf:type ontology:Q56061 . resource:Q3764285 property:P19 ?k }
Gildo Bocci
action count
action filter_type
action find
entity Gildo Bocci
relation place of birth
type administrative territorial entity
['Gildo Bocci', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Gildo_Bocci property:place_of_birth ?k }
[]
administrative territorial entity
SYSTEM
1
Q220
(Q3764285,P19,c(Q56061))
action count
action filter_type
action find
entity Q3764285
relation P19
type Q56061
[ANSWER]
['Q3764285', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { ?k rdf:type ontology:Q56061 . resource:Q3764285 property:P19 ?k }
Rome
1
action count
action filter_type
action find
entity Gildo Bocci
relation place of birth
type administrative territorial entity
['Gildo Bocci', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Gildo_Bocci property:place_of_birth ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3764285
P106
Q12737077
USER
What does that person do for a living ?
action filter_type
action find
entity Q3764285
relation P106
type Q12737077
SELECT DISTINCT ?e WHERE { resource:Q3764285 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Gildo Bocci
action filter_type
action find
entity Gildo Bocci
relation occupation
type occupation
SELECT DISTINCT ?e WHERE { resource:Gildo_Bocci property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q33999
SYSTEM
actor
Q33999
action filter_type
action find
entity Q3764285
relation P106
type Q12737077
That person does an [ANSWER] for a living
SELECT DISTINCT ?e WHERE { resource:Q3764285 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
actor
That person does an actor for a living
actor
action filter_type
action find
entity Gildo Bocci
relation occupation
type occupation
SELECT DISTINCT ?e WHERE { resource:Gildo_Bocci property:occupation ?e . ?e rdf:type ontology:occupation }
[]