Simple Question (Direct)
Simple Question
Q3925033
P57
Q502895
USER
Who was the director of Psycosissimo ?
(Q3925033,P57,c(Q502895))
action filter_type
action find
entity Q3925033
relation P57
type Q502895
['Q3925033', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q3925033 property:P57 ?i . ?i rdf:type ontology:Q502895 }
Psycosissimo
action filter_type
action find
entity Psycosissimo
relation director
type common name
['Psycosissimo', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Psycosissimo property:director ?i . ?i rdf:type ontology:common_name }
[]
common name
Q53052
SYSTEM
Stefano Vanzina
Q53052
(Q3925033,P57,c(Q502895))
action filter_type
action find
entity Q3925033
relation P57
type Q502895
The director of Psycosissimo was also [ANSWER]
['Q3925033', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q3925033 property:P57 ?i . ?i rdf:type ontology:Q502895 }
Stefano Vanzina
The director of Psycosissimo was also Stefano Vanzina
Stefano Vanzina
action filter_type
action find
entity Psycosissimo
relation director
type common name
['Psycosissimo', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Psycosissimo property:director ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3925033
P2554
Q502895
USER
Who created the production designs of that work of art ?
(Q53052,P2554,c(Q502895))
action filter_type
action find
entity Q3925033
relation P2554
type Q502895
['Q53052', 'P2554', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q3925033 property:P2554 ?o . ?o rdf:type ontology:Q502895 }
Psycosissimo
action filter_type
action find
entity Psycosissimo
relation production designer
type common name
['Stefano Vanzina', 'production designer', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Psycosissimo property:production_designer ?o . ?o rdf:type ontology:common_name }
[]
common name
Q3804889
SYSTEM
Ivo Battelli
Q3804889
(Q53052,P2554,c(Q502895))
action filter_type
action find
entity Q3925033
relation P2554
type Q502895
[ANSWER] created the production designs of that work of art
['Q53052', 'P2554', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q3925033 property:P2554 ?o . ?o rdf:type ontology:Q502895 }
Ivo Battelli
Ivo Battelli created the production designs of that work of art
Ivo Battelli
action filter_type
action find
entity Psycosissimo
relation production designer
type common name
['Stefano Vanzina', 'production designer', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Psycosissimo property:production_designer ?o . ?o rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6029561 Q3804889
P27
Q15617994
USER
Which administrative territories are Ivo Battelli or Derviş Günday an inhabitant of ?
OR((Q3804889,P27,c(Q15617994)), (Q6029561,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3804889
relation P27
action find
entity Q6029561
relation P27
type Q15617994
{'OR': [['Q3804889', 'P27', {'concept': 'Q15617994'}], ['Q6029561', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?w ) { ( resource:Q3804889 ) ( resource:Q6029561 ) } . ?w property:P27 ?x } . ?x rdf:type ontology:Q15617994 }
Derviş Günday Ivo Battelli
action filter_type
action union
action find
entity Ivo Battelli
relation country of citizenship
action find
entity Derviş Günday
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ivo Battelli', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Derviş Günday', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?w ) { ( resource:Ivo_Battelli ) ( resource:Derviş_Günday ) } . ?w property:country_of_citizenship ?x } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q43
SYSTEM
Italy, Turkey
Q38 Q43
OR((Q3804889,P27,c(Q15617994)), (Q6029561,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3804889
relation P27
action find
entity Q6029561
relation P27
type Q15617994
[ANSWERS] are Ivo Battelli or Derviş Günday an inhabitant of
{'OR': [['Q3804889', 'P27', {'concept': 'Q15617994'}], ['Q6029561', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?w ) { ( resource:Q3804889 ) ( resource:Q6029561 ) } . ?w property:P27 ?x } . ?x rdf:type ontology:Q15617994 }
Italy Turkey
Italy and Turkey are Ivo Battelli or Derviş Günday an inhabitant of
Italy Turkey
action filter_type
action union
action find
entity Ivo Battelli
relation country of citizenship
action find
entity Derviş Günday
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ivo Battelli', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Derviş Günday', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?w ) { ( resource:Ivo_Battelli ) ( resource:Derviş_Günday ) } . ?w property:country_of_citizenship ?x } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1307030
P495
Q838948
USER
Are those administrative territories a country of origin of Yor, the Hunter from the Future ?
(Q1307030,P495,Q38) (Q1307030,P495,Q43)
action is_in
entity prev_answer
action find
entity Q1307030
relation P495
['Q1307030', 'P495', 'Q38'] ['Q1307030', 'P495', 'Q43']
ASK WHERE { resource:Q1307030 property:P495 ?o . VALUES ( ?o ) { ( resource:Q38 ) ( resource:Q43 ) } }
Yor, the Hunter from the Future
action is_in
entity prev_answer
action find
entity Yor, the Hunter from the Future
relation country of origin
['Yor, the Hunter from the Future', 'country of origin', 'Italy'] ['Yor, the Hunter from the Future', 'country of origin', 'Turkey']
ASK WHERE { resource:Yor,_the_Hunter_from_the_Future property:country_of_origin ?o . VALUES ( ?o ) { ( resource:Italy ) ( resource:Turkey ) } }
[]
work of art
SYSTEM
YES
(Q1307030,P495,Q38) (Q1307030,P495,Q43)
action is_in
entity prev_answer
action find
entity Q1307030
relation P495
[ANSWER]
['Q1307030', 'P495', 'Q38'] ['Q1307030', 'P495', 'Q43']
ASK WHERE { resource:Q1307030 property:P495 ?o . VALUES ( ?o ) { ( resource:Q38 ) ( resource:Q43 ) } }
Yes
action is_in
entity prev_answer
action find
entity Yor, the Hunter from the Future
relation country of origin
['Yor, the Hunter from the Future', 'country of origin', 'Italy'] ['Yor, the Hunter from the Future', 'country of origin', 'Turkey']
ASK WHERE { resource:Yor,_the_Hunter_from_the_Future property:country_of_origin ?o . VALUES ( ?o ) { ( resource:Italy ) ( resource:Turkey ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q43 Q16 Q408
P530
Q1048835
USER
Does Turkey have diplomatic relations with Canada and Australia ?
(Q43,P530,Q16) (Q43,P530,Q408)
action is_in
entity Q43
action intersection
action find_reverse
entity Q16
relation P530
action find_reverse
entity Q408
relation P530
['Q43', 'P530', 'Q16'] ['Q43', 'P530', 'Q408']
ASK WHERE { resource:Q43 property:P530 resource:Q408 . resource:Q43 property:P530 resource:Q16 }
Turkey Canada Australia
action is_in
entity Turkey
action intersection
action find_reverse
entity Canada
relation diplomatic relation
action find_reverse
entity Australia
relation diplomatic relation
['Turkey', 'diplomatic relation', 'Canada'] ['Turkey', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Turkey property:diplomatic_relation resource:Australia . resource:Turkey property:diplomatic_relation resource:Canada }
[]
political territorial entity
SYSTEM
YES
(Q43,P530,Q16) (Q43,P530,Q408)
action is_in
entity Q43
action intersection
action find_reverse
entity Q16
relation P530
action find_reverse
entity Q408
relation P530
[ANSWER]
['Q43', 'P530', 'Q16'] ['Q43', 'P530', 'Q408']
ASK WHERE { resource:Q43 property:P530 resource:Q408 . resource:Q43 property:P530 resource:Q16 }
Yes
action is_in
entity Turkey
action intersection
action find_reverse
entity Canada
relation diplomatic relation
action find_reverse
entity Australia
relation diplomatic relation
['Turkey', 'diplomatic relation', 'Canada'] ['Turkey', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Turkey property:diplomatic_relation resource:Australia . resource:Turkey property:diplomatic_relation resource:Canada }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q157443 Q53052
P136 P58
Q838948
USER
Which works of art have Stefano Vanzina as screenwriter and have comedy film as genre ?
AND((c(Q838948),P58,Q53052), (c(Q838948),P136,Q157443))
action filter_type
action intersection
action find_reverse
entity Q53052
relation P58
action find_reverse
entity Q157443
relation P136
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P58', 'Q53052'], [{'concept': 'Q838948'}, 'P136', 'Q157443']]}
SELECT DISTINCT ?v WHERE { ?v property:P58 resource:Q53052 . ?v property:P136 resource:Q157443 . ?v rdf:type ontology:Q838948 }
comedy film Stefano Vanzina
action filter_type
action intersection
action find_reverse
entity Stefano Vanzina
relation screenwriter
action find_reverse
entity comedy film
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'screenwriter', 'Stefano Vanzina'], [{'concept': 'work of art'}, 'genre', 'comedy film']]}
SELECT DISTINCT ?v WHERE { ?v property:screenwriter resource:Stefano_Vanzina . ?v property:genre resource:comedy_film . ?v rdf:type ontology:work_of_art }
[]
work of art
Q3844603 Q3214170 Q3731109 Q3790756 Q2257063 Q1980837 Q3744523 Q3204910 Q587854 Q3636076
SYSTEM
Some of them are Mani di fata, La patata bollente, We Were Seven Widows, The Two Orphans, Cops and Robbers, Totò cerca casa, Fico d'India, The Archangel, Flatfoot in Egypt, Basta guardarla
Q3281271 Q3282749 Q1980837 Q3778304 Q3929344 Q3828955 Q3790756 Q1058517 Q2257063 Q3204910 Q3731109 Q2250429 Q3926998 Q4000760 Q3744523 Q3214170 Q3927237 Q3485897 Q3636076 Q2261883 Q3236455 Q1304301 Q3819271 Q587854 Q3844603 Q596199 Q3744655 Q3283795 Q3236186 Q1532458
AND((c(Q838948),P58,Q53052), (c(Q838948),P136,Q157443))
action filter_type
action intersection
action find_reverse
entity Q53052
relation P58
action find_reverse
entity Q157443
relation P136
type Q838948
[ANSWERS] have Stefano Vanzina as screenwriter and have comedy film as genre
{'AND': [[{'concept': 'Q838948'}, 'P58', 'Q53052'], [{'concept': 'Q838948'}, 'P136', 'Q157443']]}
SELECT DISTINCT ?v WHERE { ?v property:P58 resource:Q53052 . ?v property:P136 resource:Q157443 . ?v rdf:type ontology:Q838948 }
Totò nella luna Letto a tre piazze Totò cerca casa Maid Ragazze da marito Pleasant Nights The Two Orphans A Dog's Life Cops and Robbers The Archangel We Were Seven Widows I Tartassati Quando la coppia scoppia Tutta la città canta Fico d'India La patata bollente In High Places Her Favourite Husband Basta guardarla Caprice Italian Style Uncle Was a Vampire Un americano a Roma L'inafferrabile 12 Flatfoot in Egypt Mani di fata Banana Joe Fifa e arena Totò al giro d'Italia Nero's Weekend L'uomo, la bestia e la virtù
Mani di fata, La patata bollente, We Were Seven Widows, The Two Orphans, Cops and Robbers, Totò cerca casa, Fico d'India, The Archangel, Flatfoot in Egypt and Basta guardarla have Stefano Vanzina as screenwriter and have comedy film as genre
Mani di fata La patata bollente We Were Seven Widows The Two Orphans Cops and Robbers Totò cerca casa Fico d'India The Archangel Flatfoot in Egypt Basta guardarla
action filter_type
action intersection
action find_reverse
entity Stefano Vanzina
relation screenwriter
action find_reverse
entity comedy film
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'screenwriter', 'Stefano Vanzina'], [{'concept': 'work of art'}, 'genre', 'comedy film']]}
SELECT DISTINCT ?v WHERE { ?v property:screenwriter resource:Stefano_Vanzina . ?v property:genre resource:comedy_film . ?v rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q489971 Q3844603
P58
Q502895
USER
Which people served as the screenwriter for Mani di fata or Untold Scandal ?
OR((Q3844603,P58,c(Q502895)), (Q489971,P58,c(Q502895)))
action filter_type
action union
action find
entity Q3844603
relation P58
action find
entity Q489971
relation P58
type Q502895
{'OR': [['Q3844603', 'P58', {'concept': 'Q502895'}], ['Q489971', 'P58', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q3844603 property:P58 ?f } UNION { resource:Q489971 property:P58 ?f } } . ?f rdf:type ontology:Q502895 }
Untold Scandal Mani di fata
action filter_type
action union
action find
entity Mani di fata
relation screenwriter
action find
entity Untold Scandal
relation screenwriter
type common name
{'OR': [['Mani di fata', 'screenwriter', {'concept': 'common name'}], ['Untold Scandal', 'screenwriter', {'concept': 'common name'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Mani_di_fata property:screenwriter ?f } UNION { resource:Untold_Scandal property:screenwriter ?f } } . ?f rdf:type ontology:common_name }
[]
common name
Q53052 Q212476 Q1009050 Q3726090 Q12612485
SYSTEM
Stefano Vanzina, Pierre Choderlos de Laclos, Renato Pozzetto, Enrico Vanzina, Je-yong Lee
Q53052 Q212476 Q1009050 Q3726090 Q12612485
OR((Q3844603,P58,c(Q502895)), (Q489971,P58,c(Q502895)))
action filter_type
action union
action find
entity Q3844603
relation P58
action find
entity Q489971
relation P58
type Q502895
[ANSWERS] served as the screenwriter for Mani di fata or Untold Scandal
{'OR': [['Q3844603', 'P58', {'concept': 'Q502895'}], ['Q489971', 'P58', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q3844603 property:P58 ?f } UNION { resource:Q489971 property:P58 ?f } } . ?f rdf:type ontology:Q502895 }
Stefano Vanzina Pierre Choderlos de Laclos Renato Pozzetto Enrico Vanzina Je-yong Lee
Stefano Vanzina, Pierre Choderlos de Laclos, Renato Pozzetto, Enrico Vanzina and Je-yong Lee served as the screenwriter for Mani di fata or Untold Scandal
Stefano Vanzina Pierre Choderlos de Laclos Renato Pozzetto Enrico Vanzina Je-yong Lee
action filter_type
action union
action find
entity Mani di fata
relation screenwriter
action find
entity Untold Scandal
relation screenwriter
type common name
{'OR': [['Mani di fata', 'screenwriter', {'concept': 'common name'}], ['Untold Scandal', 'screenwriter', {'concept': 'common name'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Mani_di_fata property:screenwriter ?f } UNION { resource:Untold_Scandal property:screenwriter ?f } } . ?f rdf:type ontology:common_name }
[]