Simple Question (Direct)
Simple Question
Q3039250
P495
Q15617994
USER
Which administrative territory is the origin of Dream Lover ?
(Q3039250,P495,c(Q15617994))
action filter_type
action find
entity Q3039250
relation P495
type Q15617994
['Q3039250', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q3039250 property:P495 ?g . ?g rdf:type ontology:Q15617994 }
Dream Lover
action filter_type
action find
entity Dream Lover
relation country of origin
type designation for an administrative territorial entity
['Dream Lover', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Dream_Lover property:country_of_origin ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q3039250,P495,c(Q15617994))
action filter_type
action find
entity Q3039250
relation P495
type Q15617994
[ANSWER] is the origin of Dream Lover
['Q3039250', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q3039250 property:P495 ?g . ?g rdf:type ontology:Q15617994 }
United States of America
United States of America is the origin of Dream Lover
United States of America
action filter_type
action find
entity Dream Lover
relation country of origin
type designation for an administrative territorial entity
['Dream Lover', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Dream_Lover property:country_of_origin ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3039250
P161
Q502895
USER
Which people starred in Dream Lover ?
(Q3039250,P161,c(Q502895))
action filter_type
action find
entity Q3039250
relation P161
type Q502895
['Q3039250', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q3039250 property:P161 ?n . ?n rdf:type ontology:Q502895 }
Dream Lover
action filter_type
action find
entity Dream Lover
relation cast member
type common name
['Dream Lover', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Dream_Lover property:cast_member ?n . ?n rdf:type ontology:common_name }
[]
common name
Q2027352 Q203205 Q449616
SYSTEM
John McMartin, Jon Polito, Gayle Hunnicutt
Q2027352 Q2524503 Q3372421 Q441452 Q203205 Q449616
(Q3039250,P161,c(Q502895))
action filter_type
action find
entity Q3039250
relation P161
type Q502895
[ANSWERS] starred in Dream Lover
['Q3039250', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q3039250 property:P161 ?n . ?n rdf:type ontology:Q502895 }
John McMartin Paul Shenar Paul West Kristy McNichol Jon Polito Gayle Hunnicutt
John McMartin, Jon Polito and Gayle Hunnicutt starred in Dream Lover
John McMartin Jon Polito Gayle Hunnicutt
action filter_type
action find
entity Dream Lover
relation cast member
type common name
['Dream Lover', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Dream_Lover property:cast_member ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7630407
Q502895
USER
And how about Su e giù?
(Q7630407,P161,c(Q502895))
action filter_type
action find
entity Q7630407
relation P161
type Q502895
['Q7630407', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q7630407 property:P161 ?b . ?b rdf:type ontology:Q502895 }
Su e giù
action filter_type
action find
entity Su e giù
relation cast member
type common name
['Su e giù', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Su_e_giù property:cast_member ?b . ?b rdf:type ontology:common_name }
[]
common name
Q1042427 Q539115 Q1044903
SYSTEM
Alida Chelli, Enrico Maria Salerno, Paolo Ferrari
Q3266561 Q438926 Q1042427 Q1041527 Q3839775 Q446526 Q539115 Q1044903 Q293117 Q3288259 Q2087634 Q1163802 Q1553484 Q1439893
(Q7630407,P161,c(Q502895))
action filter_type
action find
entity Q7630407
relation P161
type Q502895
[ANSWERS]
['Q7630407', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q7630407 property:P161 ?b . ?b rdf:type ontology:Q502895 }
Luigi Vannucchi Eleonora Rossi Drago Alida Chelli Lando Buzzanca Luigi Leoni Antonella Lualdi Enrico Maria Salerno Paolo Ferrari Maria Grazia Buccella Marc Michel Béatrice Altariba Daniele Vargas Guido Alberti Mino Guerrini
Alida Chelli Enrico Maria Salerno Paolo Ferrari
action filter_type
action find
entity Su e giù
relation cast member
type common name
['Su e giù', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Su_e_giù property:cast_member ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7630407
P364
Q34770
USER
Which language was used originally for the creation of that work of art ?
(Q1042427,P364,c(Q34770)) (Q539115,P364,c(Q34770)) (Q1044903,P364,c(Q34770))
action filter_type
action find
entity Q7630407
relation P364
type Q34770
['Q1042427', 'P364', {'concept': 'Q34770'}] ['Q539115', 'P364', {'concept': 'Q34770'}] ['Q1044903', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q34770 . resource:Q7630407 property:P364 ?k }
Su e giù
action filter_type
action find
entity Su e giù
relation original language of work
type language
['Alida Chelli', 'original language of work', {'concept': 'language'}] ['Enrico Maria Salerno', 'original language of work', {'concept': 'language'}] ['Paolo Ferrari', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:language . resource:Su_e_giù property:original_language_of_work ?k }
[]
language
Q652
SYSTEM
Italian
Q652
(Q1042427,P364,c(Q34770)) (Q539115,P364,c(Q34770)) (Q1044903,P364,c(Q34770))
action filter_type
action find
entity Q7630407
relation P364
type Q34770
[ANSWER] was used originally for the creation of that work of art
['Q1042427', 'P364', {'concept': 'Q34770'}] ['Q539115', 'P364', {'concept': 'Q34770'}] ['Q1044903', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q34770 . resource:Q7630407 property:P364 ?k }
Italian
Italian was used originally for the creation of that work of art
Italian
action filter_type
action find
entity Su e giù
relation original language of work
type language
['Alida Chelli', 'original language of work', {'concept': 'language'}] ['Enrico Maria Salerno', 'original language of work', {'concept': 'language'}] ['Paolo Ferrari', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:language . resource:Su_e_giù property:original_language_of_work ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7630407
P86
Q502895
USER
Who wrote the music for that work of art ?
(Q652,P86,c(Q502895))
action filter_type
action find
entity Q7630407
relation P86
type Q502895
['Q652', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q7630407 property:P86 ?p . ?p rdf:type ontology:Q502895 }
Su e giù
action filter_type
action find
entity Su e giù
relation composer
type common name
['Italian', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Su_e_giù property:composer ?p . ?p rdf:type ontology:common_name }
[]
common name
Q1227531
SYSTEM
Marcello Giombini
Q1227531
(Q652,P86,c(Q502895))
action filter_type
action find
entity Q7630407
relation P86
type Q502895
[ANSWER] wrote the music for that work of art
['Q652', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q7630407 property:P86 ?p . ?p rdf:type ontology:Q502895 }
Marcello Giombini
Marcello Giombini wrote the music for that work of art
Marcello Giombini
action filter_type
action find
entity Su e giù
relation composer
type common name
['Italian', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Su_e_giù property:composer ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7630407
P57
Q502895
USER
Who was that work of art directed by ?
(Q1227531,P57,c(Q502895))
action filter_type
action find
entity Q7630407
relation P57
type Q502895
['Q1227531', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q7630407 property:P57 ?q . ?q rdf:type ontology:Q502895 }
Su e giù
action filter_type
action find
entity Su e giù
relation director
type common name
['Marcello Giombini', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Su_e_giù property:director ?q . ?q rdf:type ontology:common_name }
[]
common name
Q1439893
SYSTEM
Mino Guerrini
Q1439893
(Q1227531,P57,c(Q502895))
action filter_type
action find
entity Q7630407
relation P57
type Q502895
[ANSWER] that work of art directed was by
['Q1227531', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q7630407 property:P57 ?q . ?q rdf:type ontology:Q502895 }
Mino Guerrini
Mino Guerrini that work of art directed was by
Mino Guerrini
action filter_type
action find
entity Su e giù
relation director
type common name
['Marcello Giombini', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Su_e_giù property:director ?q . ?q rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1439893 Q167528
P27
Q15617994
USER
Is Heringen the native country of Mino Guerrini ?
(Q1439893,P27,Q167528)
action is_in
entity Q167528
action find
entity Q1439893
relation P27
['Q1439893', 'P27', 'Q167528']
ASK WHERE { resource:Q1439893 property:P27 resource:Q167528 }
Mino Guerrini Heringen
action is_in
entity Heringen
action find
entity Mino Guerrini
relation country of citizenship
['Mino Guerrini', 'country of citizenship', 'Heringen']
ASK WHERE { resource:Mino_Guerrini property:country_of_citizenship resource:Heringen }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1439893,P27,Q167528)
action is_in
entity Q167528
action find
entity Q1439893
relation P27
[ANSWER]
['Q1439893', 'P27', 'Q167528']
ASK WHERE { resource:Q1439893 property:P27 resource:Q167528 }
No
action is_in
entity Heringen
action find
entity Mino Guerrini
relation country of citizenship
['Mino Guerrini', 'country of citizenship', 'Heringen']
ASK WHERE { resource:Mino_Guerrini property:country_of_citizenship resource:Heringen }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1439893
P106
Q12737077 Q28640
USER
How many occupations and professions do Mino Guerrini do for a living ?
(Q1439893,P106,c(Q12737077)) (Q1439893,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q1439893
relation P106
type Q12737077
action filter_type
action find
entity Q1439893
relation P106
type Q28640
['Q1439893', 'P106', {'concept': 'Q12737077'}] ['Q1439893', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { { resource:Q1439893 property:P106 ?c . ?c rdf:type ontology:Q12737077 } UNION { resource:Q1439893 property:P106 ?c . ?c rdf:type ontology:Q28640 } }
Mino Guerrini
action count
action union
action filter_type
action find
entity Mino Guerrini
relation occupation
type occupation
action filter_type
action find
entity Mino Guerrini
relation occupation
type profession
['Mino Guerrini', 'occupation', {'concept': 'occupation'}] ['Mino Guerrini', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { { resource:Mino_Guerrini property:occupation ?c . ?c rdf:type ontology:occupation } UNION { resource:Mino_Guerrini property:occupation ?c . ?c rdf:type ontology:profession } }
[]
occupation profession
SYSTEM
2 occupations and 3 professions
Q1028181 Q7042855 Q2526255 Q33999 Q28389
(Q1439893,P106,c(Q12737077)) (Q1439893,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q1439893
relation P106
type Q12737077
action filter_type
action find
entity Q1439893
relation P106
type Q28640
[ANSWER]
['Q1439893', 'P106', {'concept': 'Q12737077'}] ['Q1439893', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { { resource:Q1439893 property:P106 ?c . ?c rdf:type ontology:Q12737077 } UNION { resource:Q1439893 property:P106 ?c . ?c rdf:type ontology:Q28640 } }
painter film editor film director actor screenwriter
2 occupations and 3 professions
action count
action union
action filter_type
action find
entity Mino Guerrini
relation occupation
type occupation
action filter_type
action find
entity Mino Guerrini
relation occupation
type profession
['Mino Guerrini', 'occupation', {'concept': 'occupation'}] ['Mino Guerrini', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { { resource:Mino_Guerrini property:occupation ?c . ?c rdf:type ontology:occupation } UNION { resource:Mino_Guerrini property:occupation ?c . ?c rdf:type ontology:profession } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1439893
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
action filter_type
action find
entity Q1439893
relation P19
type Q56061
SELECT DISTINCT ?c WHERE { resource:Q1439893 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Mino Guerrini
action filter_type
action find
entity Mino Guerrini
relation place of birth
type administrative territorial entity
SELECT DISTINCT ?c WHERE { resource:Mino_Guerrini property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
action filter_type
action find
entity Q1439893
relation P19
type Q56061
[ANSWER] is the birthplace of that person
SELECT DISTINCT ?c WHERE { resource:Q1439893 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Rome
Rome is the birthplace of that person
Rome
action filter_type
action find
entity Mino Guerrini
relation place of birth
type administrative territorial entity
SELECT DISTINCT ?c WHERE { resource:Mino_Guerrini property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q441294 Q1042427
P20
Q56061
USER
Which administrative territories did the demise of Alida Chelli and Altiero Spinelli occur ?
AND((Q1042427,P20,c(Q56061)), (Q441294,P20,c(Q56061)))
action filter_type
action intersection
action find
entity Q1042427
relation P20
action find
entity Q441294
relation P20
type Q56061
{'AND': [['Q1042427', 'P20', {'concept': 'Q56061'}], ['Q441294', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { resource:Q1042427 property:P20 ?v . resource:Q441294 property:P20 ?v . ?v rdf:type ontology:Q56061 }
Altiero Spinelli Alida Chelli
action filter_type
action intersection
action find
entity Alida Chelli
relation place of death
action find
entity Altiero Spinelli
relation place of death
type administrative territorial entity
{'AND': [['Alida Chelli', 'place of death', {'concept': 'administrative territorial entity'}], ['Altiero Spinelli', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { resource:Alida_Chelli property:place_of_death ?v . resource:Altiero_Spinelli property:place_of_death ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
AND((Q1042427,P20,c(Q56061)), (Q441294,P20,c(Q56061)))
action filter_type
action intersection
action find
entity Q1042427
relation P20
action find
entity Q441294
relation P20
type Q56061
The demise of Alida Chelli and Altiero Spinelli occurred in [ANSWER]
{'AND': [['Q1042427', 'P20', {'concept': 'Q56061'}], ['Q441294', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { resource:Q1042427 property:P20 ?v . resource:Q441294 property:P20 ?v . ?v rdf:type ontology:Q56061 }
Rome
The demise of Alida Chelli and Altiero Spinelli occurred in Rome
Rome
action filter_type
action intersection
action find
entity Alida Chelli
relation place of death
action find
entity Altiero Spinelli
relation place of death
type administrative territorial entity
{'AND': [['Alida Chelli', 'place of death', {'concept': 'administrative territorial entity'}], ['Altiero Spinelli', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { resource:Alida_Chelli property:place_of_death ?v . resource:Altiero_Spinelli property:place_of_death ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q220 Q3766379
P937
Q502895
USER
Do Giovanni Alliata Di Montereale have that administrative territory as their work location ?
(Q3766379,P937,Q220)
action is_in
entity Q220
action find
entity Q3766379
relation P937
['Q3766379', 'P937', 'Q220']
ASK WHERE { resource:Q3766379 property:P937 resource:Q220 }
Rome Giovanni Alliata Di Montereale
action is_in
entity Rome
action find
entity Giovanni Alliata Di Montereale
relation work location
['Giovanni Alliata Di Montereale', 'work location', 'Rome']
ASK WHERE { resource:Giovanni_Alliata_Di_Montereale property:work_location resource:Rome }
[]
common name
SYSTEM
YES
(Q3766379,P937,Q220)
action is_in
entity Q220
action find
entity Q3766379
relation P937
[ANSWER]
['Q3766379', 'P937', 'Q220']
ASK WHERE { resource:Q3766379 property:P937 resource:Q220 }
Yes
action is_in
entity Rome
action find
entity Giovanni Alliata Di Montereale
relation work location
['Giovanni Alliata Di Montereale', 'work location', 'Rome']
ASK WHERE { resource:Giovanni_Alliata_Di_Montereale property:work_location resource:Rome }
[]