Simple Question (Direct)
Simple Question
Q1169559
P161
Q502895
USER
Which people are in A Difficult Life ?
(Q1169559,P161,c(Q502895))
action filter_type
action find
entity Q1169559
relation P161
type Q502895
['Q1169559', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q1169559 property:P161 ?a . ?a rdf:type ontology:Q502895 }
A Difficult Life
action filter_type
action find
entity A Difficult Life
relation cast member
type common name
['A Difficult Life', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:A_Difficult_Life property:cast_member ?a . ?a rdf:type ontology:common_name }
[]
common name
Q55452 Q53005 Q106919
SYSTEM
Vittorio Gassman, Alessandro Blasetti, Silvana Mangano
Q50003 Q106919 Q555117 Q432751 Q53005 Q289020 Q3932804 Q433903 Q3832557 Q3751587 Q1343372 Q2590462 Q3619408 Q55452 Q75579 Q1163802
(Q1169559,P161,c(Q502895))
action filter_type
action find
entity Q1169559
relation P161
type Q502895
[ANSWERS] are in A Difficult Life
['Q1169559', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q1169559 property:P161 ?a . ?a rdf:type ontology:Q502895 }
Alberto Sordi Silvana Mangano Franco Fabrizi Loredana Nusciak Alessandro Blasetti Lea Massari Renato Tagliani Claudio Gora Lina Volonghi Franco Scandurra Ennio Balbo Mino Doro Antonio Centa Vittorio Gassman Edith Peters Daniele Vargas
Vittorio Gassman, Alessandro Blasetti and Silvana Mangano are in A Difficult Life
Vittorio Gassman Alessandro Blasetti Silvana Mangano
action filter_type
action find
entity A Difficult Life
relation cast member
type common name
['A Difficult Life', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:A_Difficult_Life property:cast_member ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1169559
P57
Q502895
USER
Who directed that work of art ?
(Q55452,P57,c(Q502895)) (Q53005,P57,c(Q502895)) (Q106919,P57,c(Q502895))
action filter_type
action find
entity Q1169559
relation P57
type Q502895
['Q55452', 'P57', {'concept': 'Q502895'}] ['Q53005', 'P57', {'concept': 'Q502895'}] ['Q106919', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q1169559 property:P57 ?s . ?s rdf:type ontology:Q502895 }
A Difficult Life
action filter_type
action find
entity A Difficult Life
relation director
type common name
['Vittorio Gassman', 'director', {'concept': 'common name'}] ['Alessandro Blasetti', 'director', {'concept': 'common name'}] ['Silvana Mangano', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:A_Difficult_Life property:director ?s . ?s rdf:type ontology:common_name }
[]
common name
Q53034
SYSTEM
Dino Risi
Q53034
(Q55452,P57,c(Q502895)) (Q53005,P57,c(Q502895)) (Q106919,P57,c(Q502895))
action filter_type
action find
entity Q1169559
relation P57
type Q502895
[ANSWER] directed that work of art
['Q55452', 'P57', {'concept': 'Q502895'}] ['Q53005', 'P57', {'concept': 'Q502895'}] ['Q106919', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q1169559 property:P57 ?s . ?s rdf:type ontology:Q502895 }
Dino Risi
Dino Risi directed that work of art
Dino Risi
action filter_type
action find
entity A Difficult Life
relation director
type common name
['Vittorio Gassman', 'director', {'concept': 'common name'}] ['Alessandro Blasetti', 'director', {'concept': 'common name'}] ['Silvana Mangano', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:A_Difficult_Life property:director ?s . ?s rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q53034 Q315145
P27
Q15617994
USER
How many administrative territories are Dino Risi or Styrum a civilian of ?
(Q53034,P27,c(Q15617994)) (Q315145,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q53034
relation P27
type Q15617994
action filter_type
action find
entity Q315145
relation P27
type Q15617994
['Q53034', 'P27', {'concept': 'Q15617994'}] ['Q315145', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { resource:Q315145 property:P27 ?x . ?x rdf:type ontology:Q15617994 } UNION { ?x rdf:type ontology:Q15617994 . resource:Q53034 property:P27 ?x } }
Dino Risi Styrum
action count
action union
action filter_type
action find
entity Dino Risi
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Styrum
relation country of citizenship
type designation for an administrative territorial entity
['Dino Risi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Styrum', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { resource:Styrum property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Dino_Risi property:country_of_citizenship ?x } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q31 Q38
(Q53034,P27,c(Q15617994)) (Q315145,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q53034
relation P27
type Q15617994
action filter_type
action find
entity Q315145
relation P27
type Q15617994
[ANSWER]
['Q53034', 'P27', {'concept': 'Q15617994'}] ['Q315145', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { resource:Q315145 property:P27 ?x . ?x rdf:type ontology:Q15617994 } UNION { ?x rdf:type ontology:Q15617994 . resource:Q53034 property:P27 ?x } }
Belgium Italy
2
action count
action union
action filter_type
action find
entity Dino Risi
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Styrum
relation country of citizenship
type designation for an administrative territorial entity
['Dino Risi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Styrum', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { resource:Styrum property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Dino_Risi property:country_of_citizenship ?x } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q1169559
P530 P840
Q15617994
USER
Which administrative territories are the narrative locations of A Difficult Life and have diplomatic relationships with United States of America ?
AND((Q1169559,P840,c(Q15617994)), (Q30,P530,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1169559
relation P840
action find
entity Q30
relation P530
type Q15617994
{'AND': [['Q1169559', 'P840', {'concept': 'Q15617994'}], ['Q30', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { resource:Q30 property:P530 ?j . resource:Q1169559 property:P840 ?j . ?j rdf:type ontology:Q15617994 }
United States of America A Difficult Life
action filter_type
action intersection
action find
entity A Difficult Life
relation narrative location
action find
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [['A Difficult Life', 'narrative location', {'concept': 'designation for an administrative territorial entity'}], ['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { resource:United_States_of_America property:diplomatic_relation ?j . resource:A_Difficult_Life property:narrative_location ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
AND((Q1169559,P840,c(Q15617994)), (Q30,P530,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1169559
relation P840
action find
entity Q30
relation P530
type Q15617994
[ANSWER] is the narrative locations of A Difficult Life and have diplomatic relationships with United States of America
{'AND': [['Q1169559', 'P840', {'concept': 'Q15617994'}], ['Q30', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { resource:Q30 property:P530 ?j . resource:Q1169559 property:P840 ?j . ?j rdf:type ontology:Q15617994 }
Italy
Italy is the narrative locations of A Difficult Life and have diplomatic relationships with United States of America
Italy
action filter_type
action intersection
action find
entity A Difficult Life
relation narrative location
action find
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [['A Difficult Life', 'narrative location', {'concept': 'designation for an administrative territorial entity'}], ['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { resource:United_States_of_America property:diplomatic_relation ?j . resource:A_Difficult_Life property:narrative_location ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q38 Q53034
P58 P495
Q838948
USER
Which works of art did Dino Risi do the screenwriting for and are Italy a country of origin of ?
AND((c(Q838948),P58,Q53034), (c(Q838948),P495,Q38))
action filter_type
action intersection
action find_reverse
entity Q53034
relation P58
action find_reverse
entity Q38
relation P495
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P58', 'Q53034'], [{'concept': 'Q838948'}, 'P495', 'Q38']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q838948 . ?l property:P58 resource:Q53034 . ?l property:P495 resource:Q38 }
Italy Dino Risi
action filter_type
action intersection
action find_reverse
entity Dino Risi
relation screenwriter
action find_reverse
entity Italy
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'screenwriter', 'Dino Risi'], [{'concept': 'work of art'}, 'country of origin', 'Italy']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:work_of_art . ?l property:screenwriter resource:Dino_Risi . ?l property:country_of_origin resource:Italy }
[]
work of art
Q1143085 Q1136505 Q3577076 Q1655330 Q3204080 Q1108721 Q729980 Q1088880 Q3231959 Q1093630
SYSTEM
Some of them are Pane, amore e..., Madman at War, Anima persa, I mostri, Un amore a Roma, The Sign of Venus, Dear Father, I'm Photogenic, Sesso e volentieri, Belle ma povere
Q931580 Q1787498 Q128504 Q1108721 Q152709 Q3541135 Q3819615 Q729980 Q3547086 Q1088880 Q3554148 Q3577076 Q3231959 Q977274 Q1093630 Q1655330 Q1093636 Q75569 Q1074846 Q1143085 Q1214860 Q1161497 Q3565627 Q644964 Q928739 Q3996035 Q3555524 Q1136505 Q1080924 Q3204080 Q3921872 Q3984265 Q1410993 Q3793537 Q3148555 Q1163902 Q3877768 Q18401
AND((c(Q838948),P58,Q53034), (c(Q838948),P495,Q38))
action filter_type
action intersection
action find_reverse
entity Q53034
relation P58
action find_reverse
entity Q38
relation P495
type Q838948
Dino Risi did the screenwriting for and are Italy a country of origin of which [ANSWERS]
{'AND': [[{'concept': 'Q838948'}, 'P58', 'Q53034'], [{'concept': 'Q838948'}, 'P495', 'Q38']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q838948 . ?l property:P58 resource:Q53034 . ?l property:P495 resource:Q38 }
The Thursday The Easy Life Scent of a Woman The Sign of Venus Fantasma d'amore Poveri milionari L'ombrellone Dear Father Anna of Brooklyn I'm Photogenic Tolgo il disturbo Anima persa Sesso e volentieri Dirty Weekend Belle ma povere I mostri The Career of a Chambermaid Oh! Sabella Poveri ma belli Pane, amore e... The Monte Carlo Story Le bon roi Dagobert Giovani e belli Operazione San Gennaro La stanza del vescovo Toto and the King of Rome Venezia, la luna e tu Madman at War Anna Un amore a Roma Primo amore Teresa Il Gaucho Il commissario Lo Gatto Il vedovo Vacanze col gangster Noi donne siamo fatte così Love in the City
Dino Risi did the screenwriting for and are Italy a country of origin of which Pane, amore e..., Madman at War, Anima persa, I mostri, Un amore a Roma, The Sign of Venus, Dear Father, I'm Photogenic, Sesso e volentieri and Belle ma povere
Pane, amore e... Madman at War Anima persa I mostri Un amore a Roma The Sign of Venus Dear Father I'm Photogenic Sesso e volentieri Belle ma povere
action filter_type
action intersection
action find_reverse
entity Dino Risi
relation screenwriter
action find_reverse
entity Italy
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'screenwriter', 'Dino Risi'], [{'concept': 'work of art'}, 'country of origin', 'Italy']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:work_of_art . ?l property:screenwriter resource:Dino_Risi . ?l property:country_of_origin resource:Italy }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q16669059 Q3577076
P495
Q15617994
USER
Which administrative territories are the origin of Anima persa and Not My Type ?
AND((Q3577076,P495,c(Q15617994)), (Q16669059,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q3577076
relation P495
action find
entity Q16669059
relation P495
type Q15617994
{'AND': [['Q3577076', 'P495', {'concept': 'Q15617994'}], ['Q16669059', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { resource:Q3577076 property:P495 ?j . resource:Q16669059 property:P495 ?j . ?j rdf:type ontology:Q15617994 }
Not My Type Anima persa
action filter_type
action intersection
action find
entity Anima persa
relation country of origin
action find
entity Not My Type
relation country of origin
type designation for an administrative territorial entity
{'AND': [['Anima persa', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Not My Type', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { resource:Anima_persa property:country_of_origin ?j . resource:Not_My_Type property:country_of_origin ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
AND((Q3577076,P495,c(Q15617994)), (Q16669059,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q3577076
relation P495
action find
entity Q16669059
relation P495
type Q15617994
[ANSWER] is the origin of Anima persa and Not My Type
{'AND': [['Q3577076', 'P495', {'concept': 'Q15617994'}], ['Q16669059', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { resource:Q3577076 property:P495 ?j . resource:Q16669059 property:P495 ?j . ?j rdf:type ontology:Q15617994 }
France
France is the origin of Anima persa and Not My Type
France
action filter_type
action intersection
action find
entity Anima persa
relation country of origin
action find
entity Not My Type
relation country of origin
type designation for an administrative territorial entity
{'AND': [['Anima persa', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Not My Type', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { resource:Anima_persa property:country_of_origin ?j . resource:Not_My_Type property:country_of_origin ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q142 Q26269088 Q155
P530
Q15617994
USER
Does France have ambassadorial relations with Whakatāne District and Brazil ?
(Q142,P530,Q26269088) (Q142,P530,Q155)
action is_in
entity Q142
action intersection
action find_reverse
entity Q26269088
relation P530
action find_reverse
entity Q155
relation P530
['Q142', 'P530', 'Q26269088'] ['Q142', 'P530', 'Q155']
ASK WHERE { resource:Q142 property:P530 resource:Q26269088 . resource:Q142 property:P530 resource:Q155 }
France Whakatāne District Brazil
action is_in
entity France
action intersection
action find_reverse
entity Whakatāne District
relation diplomatic relation
action find_reverse
entity Brazil
relation diplomatic relation
['France', 'diplomatic relation', 'Whakatāne District'] ['France', 'diplomatic relation', 'Brazil']
ASK WHERE { resource:France property:diplomatic_relation resource:Whakatāne_District . resource:France property:diplomatic_relation resource:Brazil }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q142,P530,Q26269088) (Q142,P530,Q155)
action is_in
entity Q142
action intersection
action find_reverse
entity Q26269088
relation P530
action find_reverse
entity Q155
relation P530
[ANSWER]
['Q142', 'P530', 'Q26269088'] ['Q142', 'P530', 'Q155']
ASK WHERE { resource:Q142 property:P530 resource:Q26269088 . resource:Q142 property:P530 resource:Q155 }
NO and YES respectively
action is_in
entity France
action intersection
action find_reverse
entity Whakatāne District
relation diplomatic relation
action find_reverse
entity Brazil
relation diplomatic relation
['France', 'diplomatic relation', 'Whakatāne District'] ['France', 'diplomatic relation', 'Brazil']
ASK WHERE { resource:France property:diplomatic_relation resource:Whakatāne_District . resource:France property:diplomatic_relation resource:Brazil }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1143085
P344
Q502895
USER
Which person serves as the director of photography for Pane, amore e... ?
(Q1143085,P344,c(Q502895))
action filter_type
action find
entity Q1143085
relation P344
type Q502895
['Q1143085', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . resource:Q1143085 property:P344 ?x }
Pane, amore e...
action filter_type
action find
entity Pane, amore e...
relation director of photography
type common name
['Pane, amore e...', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . resource:Pane,_amore_e... property:director_of_photography ?x }
[]
common name
Q1347338
SYSTEM
Giuseppe Rotunno
Q1347338
(Q1143085,P344,c(Q502895))
action filter_type
action find
entity Q1143085
relation P344
type Q502895
[ANSWER] serves as the director of photography for Pane, amore e...
['Q1143085', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . resource:Q1143085 property:P344 ?x }
Giuseppe Rotunno
Giuseppe Rotunno serves as the director of photography for Pane, amore e...
Giuseppe Rotunno
action filter_type
action find
entity Pane, amore e...
relation director of photography
type common name
['Pane, amore e...', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . resource:Pane,_amore_e... property:director_of_photography ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1347338
P1411
Q4220917
USER
Which film award did that person receive ?
(Q1347338,P1411,c(Q4220917))
action filter_type
action find
entity Q1347338
relation P1411
type Q4220917
['Q1347338', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?r WHERE { resource:Q1347338 property:P1411 ?r . ?r rdf:type ontology:Q4220917 }
Giuseppe Rotunno
action filter_type
action find
entity Giuseppe Rotunno
relation nominated for
type film award
['Giuseppe Rotunno', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?r WHERE { resource:Giuseppe_Rotunno property:nominated_for ?r . ?r rdf:type ontology:film_award }
[]
film award
Q131520
SYSTEM
Academy Award for Best Cinematography
Q131520
(Q1347338,P1411,c(Q4220917))
action filter_type
action find
entity Q1347338
relation P1411
type Q4220917
That person received the [ANSWER]
['Q1347338', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?r WHERE { resource:Q1347338 property:P1411 ?r . ?r rdf:type ontology:Q4220917 }
Academy Award for Best Cinematography
That person received the Academy Award for Best Cinematography
Academy Award for Best Cinematography
action filter_type
action find
entity Giuseppe Rotunno
relation nominated for
type film award
['Giuseppe Rotunno', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?r WHERE { resource:Giuseppe_Rotunno property:nominated_for ?r . ?r rdf:type ontology:film_award }
[]