Simple Question (Direct)
Simple Question
Q75569
P1040
Q502895
USER
Who is the editor of Oh! Sabella ?
(Q75569,P1040,c(Q502895))
action filter_type
action find
entity Q75569
relation P1040
type Q502895
['Q75569', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . resource:Q75569 property:P1040 ?e }
Oh! Sabella
action filter_type
action find
entity Oh! Sabella
relation film editor
type common name
['Oh! Sabella', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . resource:Oh!_Sabella property:film_editor ?e }
[]
common name
Q456251
SYSTEM
Mario Serandrei
Q456251
(Q75569,P1040,c(Q502895))
action filter_type
action find
entity Q75569
relation P1040
type Q502895
[ANSWER] ! the editor of Oh is
['Q75569', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . resource:Q75569 property:P1040 ?e }
Mario Serandrei
Mario Serandrei ! the editor of Oh is
Mario Serandrei
action filter_type
action find
entity Oh! Sabella
relation film editor
type common name
['Oh! Sabella', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . resource:Oh!_Sabella property:film_editor ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q75569
P57
Q502895
USER
Who was the director of that work of art ?
(Q456251,P57,c(Q502895))
action filter_type
action find
entity Q75569
relation P57
type Q502895
['Q456251', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q75569 property:P57 ?v }
Oh! Sabella
action filter_type
action find
entity Oh! Sabella
relation director
type common name
['Mario Serandrei', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Oh!_Sabella property:director ?v }
[]
common name
Q53034
SYSTEM
Dino Risi
Q53034
(Q456251,P57,c(Q502895))
action filter_type
action find
entity Q75569
relation P57
type Q502895
The director of that work of art was Mario [ANSWER]
['Q456251', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q75569 property:P57 ?v }
Dino Risi
The director of that work of art was Mario Dino Risi
Dino Risi
action filter_type
action find
entity Oh! Sabella
relation director
type common name
['Mario Serandrei', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Oh!_Sabella property:director ?v }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2064708 Q75569
P161
Q502895
USER
Which people are in Oh! Sabella or Danger – Love at Work ?
OR((Q75569,P161,c(Q502895)), (Q2064708,P161,c(Q502895)))
action filter_type
action union
action find
entity Q75569
relation P161
action find
entity Q2064708
relation P161
type Q502895
{'OR': [['Q75569', 'P161', {'concept': 'Q502895'}], ['Q2064708', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . { VALUES ( ?f ) { ( resource:Q75569 ) ( resource:Q2064708 ) } . ?f property:P161 ?l } }
Danger – Love at Work Oh! Sabella
action filter_type
action union
action find
entity Oh! Sabella
relation cast member
action find
entity Danger – Love at Work
relation cast member
type common name
{'OR': [['Oh! Sabella', 'cast member', {'concept': 'common name'}], ['Danger – Love at Work', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . { VALUES ( ?f ) { ( resource:Oh!_Sabella ) ( resource:Danger_–_Love_at_Work ) } . ?f property:cast_member ?l } }
[]
common name
Q3858222 Q3740370 Q3712733 Q391663 Q554689 Q388871 Q1056349 Q235289 Q697383 Q3764464
SYSTEM
Some of them are Mimo Billi, Fausto Guerzoni, Dolores Palumbo, Mary Boland, Peppino De Filippo, Mario Ambrosino, Paolo Stoppa, Ann Sothern, Renato Rascel, Gina Mascetti
Q3941623 Q554689 Q312878 Q3712733 Q3371485 Q696857 Q2121085 Q3773514 Q1330714 Q1056349 Q1801079 Q235289 Q697888 Q3764464 Q3858222 Q927057 Q239802 Q697383 Q391663 Q3740370 Q1292160 Q388871
OR((Q75569,P161,c(Q502895)), (Q2064708,P161,c(Q502895)))
action filter_type
action union
action find
entity Q75569
relation P161
action find
entity Q2064708
relation P161
type Q502895
[ANSWERS] are in Oh! Sabella or Danger – Love at Work
{'OR': [['Q75569', 'P161', {'concept': 'Q502895'}], ['Q2064708', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . { VALUES ( ?f ) { ( resource:Q75569 ) ( resource:Q2064708 ) } . ?f property:P161 ?l } }
Rossella Como Peppino De Filippo John Carradine Dolores Palumbo Paul Hurst Tina Pica Walter Catlett Gorella Gori Elisha Cook, Jr. Paolo Stoppa Nino Vingelli Ann Sothern Renato Salvatori Gina Mascetti Mimo Billi Jack Haley Sylva Koscina Renato Rascel Mary Boland Fausto Guerzoni Edward Everett Horton Mario Ambrosino
Mimo Billi, Fausto Guerzoni, Dolores Palumbo, Mary Boland, Peppino De Filippo, Mario Ambrosino, Paolo Stoppa, Ann Sothern, Renato Rascel and Gina Mascetti are in Oh! Sabella or Danger – Love at Work
Mimo Billi Fausto Guerzoni Dolores Palumbo Mary Boland Peppino De Filippo Mario Ambrosino Paolo Stoppa Ann Sothern Renato Rascel Gina Mascetti
action filter_type
action union
action find
entity Oh! Sabella
relation cast member
action find
entity Danger – Love at Work
relation cast member
type common name
{'OR': [['Oh! Sabella', 'cast member', {'concept': 'common name'}], ['Danger – Love at Work', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . { VALUES ( ?f ) { ( resource:Oh!_Sabella ) ( resource:Danger_–_Love_at_Work ) } . ?f property:cast_member ?l } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19725679 Q53034
P27
Q15617994
USER
Which administrative territories do Dino Risi or Faozan Rizal belong to ?
OR((Q53034,P27,c(Q15617994)), (Q19725679,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q53034
relation P27
action find
entity Q19725679
relation P27
type Q15617994
{'OR': [['Q53034', 'P27', {'concept': 'Q15617994'}], ['Q19725679', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . { { resource:Q53034 property:P27 ?k } UNION { resource:Q19725679 property:P27 ?k } } }
Faozan Rizal Dino Risi
action filter_type
action union
action find
entity Dino Risi
relation country of citizenship
action find
entity Faozan Rizal
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Dino Risi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Faozan Rizal', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Dino_Risi property:country_of_citizenship ?k } UNION { resource:Faozan_Rizal property:country_of_citizenship ?k } } }
[]
designation for an administrative territorial entity
Q38 Q252
SYSTEM
Italy, Indonesia
Q38 Q252
OR((Q53034,P27,c(Q15617994)), (Q19725679,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q53034
relation P27
action find
entity Q19725679
relation P27
type Q15617994
Dino Risi or Faozan Rizal belong to [ANSWERS]
{'OR': [['Q53034', 'P27', {'concept': 'Q15617994'}], ['Q19725679', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . { { resource:Q53034 property:P27 ?k } UNION { resource:Q19725679 property:P27 ?k } } }
Italy Indonesia
Dino Risi or Faozan Rizal belong to Italy and Indonesia
Italy Indonesia
action filter_type
action union
action find
entity Dino Risi
relation country of citizenship
action find
entity Faozan Rizal
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Dino Risi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Faozan Rizal', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Dino_Risi property:country_of_citizenship ?k } UNION { resource:Faozan_Rizal property:country_of_citizenship ?k } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q38 Q252
P17
Q15617994
USER
Which administrative territories are those ones located in ?
(Q38,P17,c(Q15617994)) (Q252,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q38', 'P17', {'concept': 'Q15617994'}] ['Q252', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?n ) { ( resource:Q38 ) ( resource:Q252 ) } . ?n property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Italy Indonesia
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Italy', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Indonesia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?n ) { ( resource:Italy ) ( resource:Indonesia ) } . ?n property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q252
SYSTEM
Italy, Indonesia
Q38 Q252
(Q38,P17,c(Q15617994)) (Q252,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those ones are located in [ANSWERS]
['Q38', 'P17', {'concept': 'Q15617994'}] ['Q252', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?n ) { ( resource:Q38 ) ( resource:Q252 ) } . ?n property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Italy Indonesia
Those ones are located in Italy and Indonesia
Italy Indonesia
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Italy', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Indonesia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?n ) { ( resource:Italy ) ( resource:Indonesia ) } . ?n property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q252
P463
Q43229
USER
What were that administrative territory a member of ?
(Q252,P463,c(Q43229))
action filter_type
action find
entity Q252
relation P463
type Q43229
['Q252', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?z WHERE { resource:Q252 property:P463 ?z . ?z rdf:type ontology:Q43229 }
Indonesia
action filter_type
action find
entity Indonesia
relation member of
type organization
['Indonesia', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?z WHERE { resource:Indonesia property:member_of ?z . ?z rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q38
SYSTEM
Did you mean Italy ?
Q38 Q252
(Q38,P463,c(Q43229)) (Q252,P463,c(Q43229))
[ANSWER]
['Q38', 'P463', {'concept': 'Q43229'}] ['Q252', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?z WHERE { resource:Q252 property:P463 ?z . ?z rdf:type ontology:Q43229 }
Italy Indonesia
Did you mean Italy ?
Italy
['Italy', 'member of', {'concept': 'organization'}] ['Indonesia', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?z WHERE { resource:Indonesia property:member_of ?z . ?z rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
No, I meant Indonesia. Could you tell me the answer for that?
(Q252,P463,c(Q43229))
Q252
['Q252', 'P463', {'concept': 'Q43229'}]
['Indonesia', 'member of', {'concept': 'organization'}]
[]
Q7825 Q191384 Q656801
SYSTEM
World Trade Organization, International Bank for Reconstruction and Development, International Finance Corporation
Q191384 Q899770 Q656801 Q7825 Q170481 Q827525
(Q252,P463,c(Q43229))
action filter_type
action find
entity Q252
relation P463
type Q43229
[ANSWERS] a member of
['Q252', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?z WHERE { resource:Q252 property:P463 ?z . ?z rdf:type ontology:Q43229 }
International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes International Finance Corporation World Trade Organization Asia-Pacific Economic Cooperation International Development Association
World Trade Organization, International Bank for Reconstruction and Development and International Finance Corporation a member of
World Trade Organization International Bank for Reconstruction and Development International Finance Corporation
action filter_type
action find
entity Indonesia
relation member of
type organization
['Indonesia', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?z WHERE { resource:Indonesia property:member_of ?z . ?z rdf:type ontology:organization }
[]