Simple Question (Direct)
Simple Question
Q20649895
P495
Q15617994
USER
Where did The Pulque Tavern originate ?
(Q20649895,P495,c(Q15617994))
action filter_type
action find
entity Q20649895
relation P495
type Q15617994
['Q20649895', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q20649895 property:P495 ?h }
The Pulque Tavern
action filter_type
action find
entity The Pulque Tavern
relation country of origin
type designation for an administrative territorial entity
['The Pulque Tavern', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:The_Pulque_Tavern property:country_of_origin ?h }
[]
designation for an administrative territorial entity
Q96
SYSTEM
Mexico
Q96
(Q20649895,P495,c(Q15617994))
action filter_type
action find
entity Q20649895
relation P495
type Q15617994
The Pulque Tavern originated de [ANSWER]
['Q20649895', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q20649895 property:P495 ?h }
Mexico
The Pulque Tavern originated de Mexico
Mexico
action filter_type
action find
entity The Pulque Tavern
relation country of origin
type designation for an administrative territorial entity
['The Pulque Tavern', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:The_Pulque_Tavern property:country_of_origin ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20649895
P364
Q34770
USER
Which language was used originally for the creation of The Pulque Tavern ?
(Q20649895,P364,c(Q34770))
action filter_type
action find
entity Q20649895
relation P364
type Q34770
['Q20649895', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q20649895 property:P364 ?e . ?e rdf:type ontology:Q34770 }
The Pulque Tavern
action filter_type
action find
entity The Pulque Tavern
relation original language of work
type language
['The Pulque Tavern', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:The_Pulque_Tavern property:original_language_of_work ?e . ?e rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q20649895,P364,c(Q34770))
action filter_type
action find
entity Q20649895
relation P364
type Q34770
[ANSWER] was used originally for the creation of The Pulque Tavern
['Q20649895', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q20649895 property:P364 ?e . ?e rdf:type ontology:Q34770 }
Spanish
Spanish was used originally for the creation of The Pulque Tavern
Spanish
action filter_type
action find
entity The Pulque Tavern
relation original language of work
type language
['The Pulque Tavern', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:The_Pulque_Tavern property:original_language_of_work ?e . ?e rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20649895
P161
Q502895
USER
Who were casted in The Pulque Tavern ?
(Q20649895,P161,c(Q502895))
action filter_type
action find
entity Q20649895
relation P161
type Q502895
['Q20649895', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q20649895 property:P161 ?o . ?o rdf:type ontology:Q502895 }
The Pulque Tavern
action filter_type
action find
entity The Pulque Tavern
relation cast member
type common name
['The Pulque Tavern', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:The_Pulque_Tavern property:cast_member ?o . ?o rdf:type ontology:common_name }
[]
common name
Q4105723 Q2466549 Q858636
SYSTEM
Isela Vega, Jorge Rivero, Carmen Salinas
Q3544588 Q2466549 Q858636 Q3549001 Q950722 Q4105723 Q6453705
(Q20649895,P161,c(Q502895))
action filter_type
action find
entity Q20649895
relation P161
type Q502895
[ANSWERS] were casted in The Pulque Tavern
['Q20649895', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q20649895 property:P161 ?o . ?o rdf:type ontology:Q502895 }
Sasha Montenegro Jorge Rivero Carmen Salinas Manuel "El Flaco" Ibáñez Luis de Alba Isela Vega Jorge Mondragón
Isela Vega, Jorge Rivero and Carmen Salinas were casted in The Pulque Tavern
Isela Vega Jorge Rivero Carmen Salinas
action filter_type
action find
entity The Pulque Tavern
relation cast member
type common name
['The Pulque Tavern', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:The_Pulque_Tavern property:cast_member ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3015372
Q502895
USER
And also tell me about The White Diamond?
(Q3015372,P161,c(Q502895))
action filter_type
action find
entity Q3015372
relation P161
type Q502895
['Q3015372', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q3015372 property:P161 ?f . ?f rdf:type ontology:Q502895 }
The White Diamond
action filter_type
action find
entity The White Diamond
relation cast member
type common name
['The White Diamond', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:The_White_Diamond property:cast_member ?f . ?f rdf:type ontology:common_name }
[]
common name
Q44131
SYSTEM
Werner Herzog
Q44131
(Q3015372,P161,c(Q502895))
action filter_type
action find
entity Q3015372
relation P161
type Q502895
[ANSWER]
['Q3015372', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q3015372 property:P161 ?f . ?f rdf:type ontology:Q502895 }
Werner Herzog
Werner Herzog
action filter_type
action find
entity The White Diamond
relation cast member
type common name
['The White Diamond', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:The_White_Diamond property:cast_member ?f . ?f rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q44131 Q183 Q1048867
P27
Q1048835
USER
Is that person a civilian of Germany and Rebollar ?
(Q44131,P27,Q183) (Q44131,P27,Q1048867)
action is_in
entity Q44131
action intersection
action find_reverse
entity Q183
relation P27
action find_reverse
entity Q1048867
relation P27
['Q44131', 'P27', 'Q183'] ['Q44131', 'P27', 'Q1048867']
ASK WHERE { resource:Q44131 property:P27 resource:Q1048867 . resource:Q44131 property:P27 resource:Q183 }
Werner Herzog Germany Rebollar
action is_in
entity Werner Herzog
action intersection
action find_reverse
entity Germany
relation country of citizenship
action find_reverse
entity Rebollar
relation country of citizenship
['Werner Herzog', 'country of citizenship', 'Germany'] ['Werner Herzog', 'country of citizenship', 'Rebollar']
ASK WHERE { resource:Werner_Herzog property:country_of_citizenship resource:Rebollar . resource:Werner_Herzog property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q44131,P27,Q183) (Q44131,P27,Q1048867)
action is_in
entity Q44131
action intersection
action find_reverse
entity Q183
relation P27
action find_reverse
entity Q1048867
relation P27
[ANSWER]
['Q44131', 'P27', 'Q183'] ['Q44131', 'P27', 'Q1048867']
ASK WHERE { resource:Q44131 property:P27 resource:Q1048867 . resource:Q44131 property:P27 resource:Q183 }
YES and NO respectively
action is_in
entity Werner Herzog
action intersection
action find_reverse
entity Germany
relation country of citizenship
action find_reverse
entity Rebollar
relation country of citizenship
['Werner Herzog', 'country of citizenship', 'Germany'] ['Werner Herzog', 'country of citizenship', 'Rebollar']
ASK WHERE { resource:Werner_Herzog property:country_of_citizenship resource:Rebollar . resource:Werner_Herzog property:country_of_citizenship resource:Germany }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q32342 Q2466549
P161
Q838948
USER
Which works of art have Jorge Rivero or Sonali Bendre as actor ?
OR((c(Q838948),P161,Q2466549), (c(Q838948),P161,Q32342))
action filter_type
action union
action find_reverse
entity Q2466549
relation P161
action find_reverse
entity Q32342
relation P161
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q2466549'], [{'concept': 'Q838948'}, 'P161', 'Q32342']]}
SELECT DISTINCT ?k WHERE { { { ?k property:P161 resource:Q2466549 } UNION { ?k property:P161 resource:Q32342 } } . ?k rdf:type ontology:Q838948 }
Sonali Bendre Jorge Rivero
action filter_type
action union
action find_reverse
entity Jorge Rivero
relation cast member
action find_reverse
entity Sonali Bendre
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Jorge Rivero'], [{'concept': 'work of art'}, 'cast member', 'Sonali Bendre']]}
SELECT DISTINCT ?k WHERE { { { ?k property:cast_member resource:Jorge_Rivero } UNION { ?k property:cast_member resource:Sonali_Bendre } } . ?k rdf:type ontology:work_of_art }
[]
work of art
Q13637926 Q1126595 Q1170787 Q1335471 Q20649688 Q20814454 Q4900722 Q4780031 Q18019782 Q20649895
SYSTEM
Some of them are Indra, Conquest, Soldier Blue, Sarfarosh, Midnight Dolls, Beatriz, Bhai, Apne Dam Par, Bellas de noche, The Pulque Tavern
Q5352484 Q4661166 Q6956607 Q5276831 Q6203144 Q7265830 Q5644089 Q7685628 Q20814454 Q4854991 Q1059378 Q20649688 Q6750638 Q20814823 Q673437 Q4761904 Q1342796 Q20649461 Q1170787 Q1121918 Q7262827 Q4750868 Q5981314 Q15648008 Q7091872 Q4780031 Q13637926 Q1163010 Q1636437 Q1335471 Q7242893 Q5516306 Q20649895 Q20977907 Q1126595 Q18019782 Q7730623 Q891821 Q663834 Q5941865 Q1807936 Q7678424 Q6466192 Q6345435 Q2964510 Q2998758 Q507490 Q6382842 Q7239771 Q3764560 Q7421007 Q4900722 Q3635506 Q281687 Q4023742
OR((c(Q838948),P161,Q2466549), (c(Q838948),P161,Q32342))
action filter_type
action union
action find_reverse
entity Q2466549
relation P161
action find_reverse
entity Q32342
relation P161
type Q838948
[ANSWERS] have Jorge Rivero or Sonali Bendre as actor
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q2466549'], [{'concept': 'Q838948'}, 'P161', 'Q32342']]}
SELECT DISTINCT ?k WHERE { { { ?k property:P161 resource:Q2466549 } UNION { ?k property:P161 resource:Q32342 } } . ?k rdf:type ontology:Q838948 }
El pecado de Adán y Eva Aag Naaraaz Diljale Jis Desh Mein Ganga Rehta Hain Qahar Hamara Dil Aapke Paas Hai Tarazu Beatriz Love Ke Liye Kuch Bhi Karega Chal Mere Bhai Midnight Dolls Manmadhudu The Loving Ones Rio Lobo Angaaray English Babu Desi Mem Carnival Nights Soldier Blue Duplicate Pyaar Kiya Nahin Jaatha Anahat The Last Hard Men Escuadrón Once Upon Ay Time In Mumbai Dobaara! Apne Dam Par Indra Lajja Hum Saath-Saath Hain: We Stand United Sarfarosh Priest of Love Gaddaar The Pulque Tavern Black Angel Conquest Bellas de noche The Don Bombay Tera Mera Saath Rahen Humse Badhkar Kaun Hit Man Takkar La hermana dinamita Kadhalar Dhinam Chori Chori Werewolf Kal Ho Naa Ho Keemat – They Are Back Preethse Murari Sapoot Bhai Major Saab Rakshak Zakhm
Indra, Conquest, Soldier Blue, Sarfarosh, Midnight Dolls, Beatriz, Bhai, Apne Dam Par, Bellas de noche and The Pulque Tavern have Jorge Rivero or Sonali Bendre as actor
Indra Conquest Soldier Blue Sarfarosh Midnight Dolls Beatriz Bhai Apne Dam Par Bellas de noche The Pulque Tavern
action filter_type
action union
action find_reverse
entity Jorge Rivero
relation cast member
action find_reverse
entity Sonali Bendre
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Jorge Rivero'], [{'concept': 'work of art'}, 'cast member', 'Sonali Bendre']]}
SELECT DISTINCT ?k WHERE { { { ?k property:cast_member resource:Jorge_Rivero } UNION { ?k property:cast_member resource:Sonali_Bendre } } . ?k rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q733564 Q2466549
P19
Q56061
USER
Which administrative territories were Jorge Rivero or Rudi Vata born ?
OR((Q2466549,P19,c(Q56061)), (Q733564,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2466549
relation P19
action find
entity Q733564
relation P19
type Q56061
{'OR': [['Q2466549', 'P19', {'concept': 'Q56061'}], ['Q733564', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . { { resource:Q2466549 property:P19 ?p } UNION { resource:Q733564 property:P19 ?p } } }
Rudi Vata Jorge Rivero
action filter_type
action union
action find
entity Jorge Rivero
relation place of birth
action find
entity Rudi Vata
relation place of birth
type administrative territorial entity
{'OR': [['Jorge Rivero', 'place of birth', {'concept': 'administrative territorial entity'}], ['Rudi Vata', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . { { resource:Jorge_Rivero property:place_of_birth ?p } UNION { resource:Rudi_Vata property:place_of_birth ?p } } }
[]
administrative territorial entity
Q131638 Q1489
SYSTEM
Shkodër, Mexico City
Q131638 Q1489
OR((Q2466549,P19,c(Q56061)), (Q733564,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2466549
relation P19
action find
entity Q733564
relation P19
type Q56061
Jorge Rivero or Rudi Vata were born in [ANSWERS]
{'OR': [['Q2466549', 'P19', {'concept': 'Q56061'}], ['Q733564', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . { { resource:Q2466549 property:P19 ?p } UNION { resource:Q733564 property:P19 ?p } } }
Shkodër Mexico City
Jorge Rivero or Rudi Vata were born in Shkodër and Mexico City
Shkodër Mexico City
action filter_type
action union
action find
entity Jorge Rivero
relation place of birth
action find
entity Rudi Vata
relation place of birth
type administrative territorial entity
{'OR': [['Jorge Rivero', 'place of birth', {'concept': 'administrative territorial entity'}], ['Rudi Vata', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . { { resource:Jorge_Rivero property:place_of_birth ?p } UNION { resource:Rudi_Vata property:place_of_birth ?p } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1170787
P344
Q502895
USER
Who is the cinematographer of Soldier Blue ?
(Q1170787,P344,c(Q502895))
action filter_type
action find
entity Q1170787
relation P344
type Q502895
['Q1170787', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q1170787 property:P344 ?r }
Soldier Blue
action filter_type
action find
entity Soldier Blue
relation director of photography
type common name
['Soldier Blue', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Soldier_Blue property:director_of_photography ?r }
[]
common name
Q15263275
SYSTEM
Robert B. Hauser
Q15263275
(Q1170787,P344,c(Q502895))
action filter_type
action find
entity Q1170787
relation P344
type Q502895
The cinematographer of Soldier Blue is the [ANSWER]
['Q1170787', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q1170787 property:P344 ?r }
Robert B. Hauser
The cinematographer of Soldier Blue is the Robert B. Hauser
Robert B. Hauser
action filter_type
action find
entity Soldier Blue
relation director of photography
type common name
['Soldier Blue', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Soldier_Blue property:director_of_photography ?r }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q15263275 Q1170787
P344
Q838948
USER
Is Soldier Blue that person assigned to as the director of photography ?
(Q1170787,P344,Q15263275)
action is_in
entity Q15263275
action find
entity Q1170787
relation P344
['Q1170787', 'P344', 'Q15263275']
ASK WHERE { resource:Q1170787 property:P344 resource:Q15263275 }
Robert B. Hauser Soldier Blue
action is_in
entity Robert B. Hauser
action find
entity Soldier Blue
relation director of photography
['Soldier Blue', 'director of photography', 'Robert B. Hauser']
ASK WHERE { resource:Soldier_Blue property:director_of_photography resource:Robert_B._Hauser }
[]
work of art
SYSTEM
YES
(Q1170787,P344,Q15263275)
action is_in
entity Q15263275
action find
entity Q1170787
relation P344
[ANSWER]
['Q1170787', 'P344', 'Q15263275']
ASK WHERE { resource:Q1170787 property:P344 resource:Q15263275 }
Yes
action is_in
entity Robert B. Hauser
action find
entity Soldier Blue
relation director of photography
['Soldier Blue', 'director of photography', 'Robert B. Hauser']
ASK WHERE { resource:Soldier_Blue property:director_of_photography resource:Robert_B._Hauser }
[]