Simple Question (Direct)
Simple Question
Q5438078
P495
Q15617994
USER
Which administrative territory is the country of origin of Fauj Mein Mauj ?
(Q5438078,P495,c(Q15617994))
action filter_type
action find
entity Q5438078
relation P495
type Q15617994
['Q5438078', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q5438078 property:P495 ?f . ?f rdf:type ontology:Q15617994 }
Fauj Mein Mauj
action filter_type
action find
entity Fauj Mein Mauj
relation country of origin
type designation for an administrative territorial entity
['Fauj Mein Mauj', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Fauj_Mein_Mauj property:country_of_origin ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q668
SYSTEM
India
Q668
(Q5438078,P495,c(Q15617994))
action filter_type
action find
entity Q5438078
relation P495
type Q15617994
[ANSWER] is the country of origin of Fauj Mein Mauj
['Q5438078', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q5438078 property:P495 ?f . ?f rdf:type ontology:Q15617994 }
India
India is the country of origin of Fauj Mein Mauj
India
action filter_type
action find
entity Fauj Mein Mauj
relation country of origin
type designation for an administrative territorial entity
['Fauj Mein Mauj', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Fauj_Mein_Mauj property:country_of_origin ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5438078
P86
Q502895
USER
Who did the compostion for Fauj Mein Mauj ?
(Q5438078,P86,c(Q502895))
action filter_type
action find
entity Q5438078
relation P86
type Q502895
['Q5438078', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q5438078 property:P86 ?a }
Fauj Mein Mauj
action filter_type
action find
entity Fauj Mein Mauj
relation composer
type common name
['Fauj Mein Mauj', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Fauj_Mein_Mauj property:composer ?a }
[]
common name
Q3633978
SYSTEM
Pritam Chakraborty
Q3633978
(Q5438078,P86,c(Q502895))
action filter_type
action find
entity Q5438078
relation P86
type Q502895
[ANSWER] did the compostion for Fauj Mein Mauj
['Q5438078', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q5438078 property:P86 ?a }
Pritam Chakraborty
Pritam Chakraborty did the compostion for Fauj Mein Mauj
Pritam Chakraborty
action filter_type
action find
entity Fauj Mein Mauj
relation composer
type common name
['Fauj Mein Mauj', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Fauj_Mein_Mauj property:composer ?a }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3633978 Q7745183
P86
Q838948
USER
Is The Lady of Lyons composed by that person ?
(Q7745183,P86,Q3633978)
action is_in
entity Q7745183
action find
entity Q3633978
relation P86
['Q7745183', 'P86', 'Q3633978']
ASK WHERE { resource:Q3633978 property:P86 resource:Q7745183 }
Pritam Chakraborty The Lady of Lyons
action is_in
entity The Lady of Lyons
action find
entity Pritam Chakraborty
relation composer
['The Lady of Lyons', 'composer', 'Pritam Chakraborty']
ASK WHERE { resource:Pritam_Chakraborty property:composer resource:The_Lady_of_Lyons }
[]
work of art
SYSTEM
NO
(Q7745183,P86,Q3633978)
action is_in
entity Q7745183
action find
entity Q3633978
relation P86
[ANSWER]
['Q7745183', 'P86', 'Q3633978']
ASK WHERE { resource:Q3633978 property:P86 resource:Q7745183 }
No
action is_in
entity The Lady of Lyons
action find
entity Pritam Chakraborty
relation composer
['The Lady of Lyons', 'composer', 'Pritam Chakraborty']
ASK WHERE { resource:Pritam_Chakraborty property:composer resource:The_Lady_of_Lyons }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16987138 Q3633978
P69
Q3918
USER
Which universities are the alma mater of Pritam Chakraborty or William Matthew McCarter ?
OR((Q3633978,P69,c(Q3918)), (Q16987138,P69,c(Q3918)))
action filter_type
action union
action find
entity Q3633978
relation P69
action find
entity Q16987138
relation P69
type Q3918
{'OR': [['Q3633978', 'P69', {'concept': 'Q3918'}], ['Q16987138', 'P69', {'concept': 'Q3918'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q3633978 property:P69 ?p } UNION { resource:Q16987138 property:P69 ?p } } . ?p rdf:type ontology:Q3918 }
William Matthew McCarter Pritam Chakraborty
action filter_type
action union
action find
entity Pritam Chakraborty
relation educated at
action find
entity William Matthew McCarter
relation educated at
type university
{'OR': [['Pritam Chakraborty', 'educated at', {'concept': 'university'}], ['William Matthew McCarter', 'educated at', {'concept': 'university'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Pritam_Chakraborty property:educated_at ?p } UNION { resource:William_Matthew_McCarter property:educated_at ?p } } . ?p rdf:type ontology:university }
[]
university
Q49213 Q1145306
SYSTEM
University of Texas at Austin, University of Calcutta
Q49213 Q1145306
OR((Q3633978,P69,c(Q3918)), (Q16987138,P69,c(Q3918)))
action filter_type
action union
action find
entity Q3633978
relation P69
action find
entity Q16987138
relation P69
type Q3918
[ANSWERS] are the alma mater of Pritam Chakraborty or William Matthew McCarter
{'OR': [['Q3633978', 'P69', {'concept': 'Q3918'}], ['Q16987138', 'P69', {'concept': 'Q3918'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q3633978 property:P69 ?p } UNION { resource:Q16987138 property:P69 ?p } } . ?p rdf:type ontology:Q3918 }
University of Texas at Austin University of Calcutta
University of Texas at Austin and University of Calcutta are the alma mater of Pritam Chakraborty or William Matthew McCarter
University of Texas at Austin University of Calcutta
action filter_type
action union
action find
entity Pritam Chakraborty
relation educated at
action find
entity William Matthew McCarter
relation educated at
type university
{'OR': [['Pritam Chakraborty', 'educated at', {'concept': 'university'}], ['William Matthew McCarter', 'educated at', {'concept': 'university'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Pritam_Chakraborty property:educated_at ?p } UNION { resource:William_Matthew_McCarter property:educated_at ?p } } . ?p rdf:type ontology:university }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1145306
P159
Q56061
USER
Which administrative territory is the HQ of that university ?
(Q1145306,P159,c(Q56061))
action filter_type
action find
entity Q1145306
relation P159
type Q56061
['Q1145306', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q1145306 property:P159 ?f }
University of Calcutta
action filter_type
action find
entity University of Calcutta
relation headquarters location
type administrative territorial entity
['University of Calcutta', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:University_of_Calcutta property:headquarters_location ?f }
[]
administrative territorial entity
Clarification for simple ques.
Q1145306
SYSTEM
Did you mean University of Calcutta ?
Q49213 Q1145306
(Q49213,P159,c(Q56061)) (Q1145306,P159,c(Q56061))
[ANSWER]
['Q49213', 'P159', {'concept': 'Q56061'}] ['Q1145306', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q1145306 property:P159 ?f }
University of Texas at Austin University of Calcutta
Did you mean University of Calcutta ?
University of Calcutta
['University of Texas at Austin', 'headquarters location', {'concept': 'administrative territorial entity'}] ['University of Calcutta', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:University_of_Calcutta property:headquarters_location ?f }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1145306,P159,c(Q56061))
['Q1145306', 'P159', {'concept': 'Q56061'}]
['University of Calcutta', 'headquarters location', {'concept': 'administrative territorial entity'}]
[]
Q1348
SYSTEM
Kolkata
Q1348
(Q1145306,P159,c(Q56061))
action filter_type
action find
entity Q1145306
relation P159
type Q56061
[ANSWER] is the HQ of that university
['Q1145306', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q1145306 property:P159 ?f }
Kolkata
Kolkata is the HQ of that university
Kolkata
action filter_type
action find
entity University of Calcutta
relation headquarters location
type administrative territorial entity
['University of Calcutta', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:University_of_Calcutta property:headquarters_location ?f }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P1376
Q1048835 Q15617994
USER
How many political territories or administrative territories have that administrative territory as their county seat ?
(Q1348,P1376,c(Q1048835)) (Q1348,P1376,c(Q15617994)) (Q1348,P1376,c(Q1048835)) (Q1348,P1376,c(Q15617994))
action count
action union
action filter_type
action find
entity Q1348
relation P1376
type Q1048835
action filter_type
action find
entity Q1348
relation P1376
type Q15617994
['Q1348', 'P1376', {'concept': 'Q1048835'}] ['Q1348', 'P1376', {'concept': 'Q15617994'}] ['Q1348', 'P1376', {'concept': 'Q1048835'}] ['Q1348', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { resource:Q1348 property:P1376 ?k . ?k rdf:type ontology:Q1048835 } UNION { resource:Q1348 property:P1376 ?k . ?k rdf:type ontology:Q15617994 } }
action count
action union
action filter_type
action find
entity Kolkata
relation capital of
type political territorial entity
action filter_type
action find
entity Kolkata
relation capital of
type designation for an administrative territorial entity
['Kolkata', 'capital of', {'concept': 'political territorial entity'}] ['Kolkata', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Kolkata', 'capital of', {'concept': 'political territorial entity'}] ['Kolkata', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { resource:Kolkata property:capital_of ?k . ?k rdf:type ontology:political_territorial_entity } UNION { resource:Kolkata property:capital_of ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2
Q129286 Q2001966
(Q1348,P1376,c(Q1048835)) (Q1348,P1376,c(Q15617994)) (Q1348,P1376,c(Q1048835)) (Q1348,P1376,c(Q15617994))
action count
action union
action filter_type
action find
entity Q1348
relation P1376
type Q1048835
action filter_type
action find
entity Q1348
relation P1376
type Q15617994
[ANSWER]
['Q1348', 'P1376', {'concept': 'Q1048835'}] ['Q1348', 'P1376', {'concept': 'Q15617994'}] ['Q1348', 'P1376', {'concept': 'Q1048835'}] ['Q1348', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { resource:Q1348 property:P1376 ?k . ?k rdf:type ontology:Q1048835 } UNION { resource:Q1348 property:P1376 ?k . ?k rdf:type ontology:Q15617994 } }
British Raj Company rule in India
2
action count
action union
action filter_type
action find
entity Kolkata
relation capital of
type political territorial entity
action filter_type
action find
entity Kolkata
relation capital of
type designation for an administrative territorial entity
['Kolkata', 'capital of', {'concept': 'political territorial entity'}] ['Kolkata', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Kolkata', 'capital of', {'concept': 'political territorial entity'}] ['Kolkata', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { resource:Kolkata property:capital_of ?k . ?k rdf:type ontology:political_territorial_entity } UNION { resource:Kolkata property:capital_of ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1348
P840
Q838948
USER
Which works of art have their setting located at that administrative territory ?
action filter_type
action find_reverse
entity Q1348
relation P840
type Q838948
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q838948 . ?l property:P840 resource:Q1348 }
Kolkata
action filter_type
action find_reverse
entity Kolkata
relation narrative location
type work of art
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:work_of_art . ?l property:narrative_location resource:Kolkata }
[]
work of art
Q182218 Q1094828 Q252529
SYSTEM
The Avengers, Yuva, Black Narcissus
Q2103576 Q7694346 Q771754 Q6897539 Q6733098 Q3423458 Q716561 Q6815618 Q7288607 Q5350188 Q959267 Q5297221 Q3007766 Q7139421 Q7137140 Q5018913 Q5520783 Q5101954 Q3506295 Q177438 Q5018916 Q3423427 Q5266623 Q4902950 Q3025388 Q5256546 Q5711048 Q7719124 Q252529 Q4835034 Q640036 Q963574 Q3350636 Q5266626 Q717174 Q2036518 Q745334 Q18342565 Q639639 Q5654164 Q3025390 Q3025393 Q6344463 Q639420 Q250418 Q6343377 Q4848679 Q247854 Q1408688 Q5105577 Q7694291 Q5609140 Q1206661 Q4771044 Q7653820 Q5586830 Q5103535 Q2066234 Q4635712 Q4770901 Q4855028 Q639597 Q5018940 Q1637583 Q5018944 Q4454117 Q7898286 Q7063830 Q5101169 Q5347691 Q155844 Q5299245 Q4777902 Q219396 Q8178307 Q5350215 Q4746091 Q841019 Q7887009 Q182218 Q5236764 Q6690453 Q5099935 Q7499766 Q15043364 Q15043365 Q15043362 Q15043363 Q15043361 Q3419991 Q6057404 Q6094684 Q4950611 Q3423520 Q4779101 Q846889 Q15043353 Q15043352 Q4763954 Q15043357 Q15043356 Q15043355 Q4860680 Q279441 Q15043359 Q15043358 Q4857546 Q378921 Q5733401 Q7397076 Q7716517 Q467111 Q4879407 Q7916999 Q7139415 Q4788775 Q3348726 Q7678190 Q7396017 Q5712303 Q4668217 Q640662 Q1494865 Q4546830 Q5208742 Q7123273 Q2819998 Q7045625 Q4700331 Q6012158 Q7293108 Q622376 Q5708767 Q5350612 Q4445111 Q622382 Q7814418 Q5350198 Q1094828 Q1557308 Q4826295 Q5350190 Q7504837 Q390467 Q6728278 Q7137137 Q23089 Q7773224
action filter_type
action find_reverse
entity Q1348
relation P840
type Q838948
[ANSWERS] have their setting located at that administrative territory
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q838948 . ?l property:P840 resource:Q1348 }
City of Joy Teen Yaari Katha Devdas Mon Amour: Shesher Kobita Revisited Mahanagar@Kolkata Hazaar Chaurasi Ki Maa Kabuliwala Memories in March Ram Teri Ganga Maili Ek Din Achanak Parineeta Dooratwa India Song Paromitar Ek Din Parineeta Calcutta Gandu Chirodini Tumi Je Amar Dev.D Mahanagar Calcutta 71 Apne Paraye Devdas Bibar Devdas Dena Paona Hemanter Pakhi The Bong Connection Black Narcissus BBD Parash Pathar Shadows of Time Nagarik Devdas Jana Aranya Parineeta Paar Detective Byomkesh Bakshi Seemabaddha Harano Sur Devdas Devdas Kabuliwala Chiriyakhana Amar Prem Kaalpurush Baishe Srabon Devdas Kharij Chowringhee Teen Devian Grihajuddha Devdas Antareen Swapner Feriwala Gorosthaney Sabdhan Saptapadi Pyaasa 36 Chowringhee Lane Antaheen Bangali Babu Charulata Calcutta Mail Chokher Bali Calcutta News Devdas Uphaar Noukadubi Chinnamul Egaro Baharen Phir Bhi Aayengi Dosar Anuranan Kahaani 15 Park Avenue Ek Mutho Chabi Ami Shubhash Bolchi Sahib Bibi Aur Ghulam Unishe April The Avengers I Am Love Circus China Town Shob Charitro Kalponik Porichoi Salim Baba Neem Annapurna An Obsolete Altar Mistake Howrah Bridge Interview Iti Mrinalini Bow Barracks Forever Khamoshi Apanjan Devdas Bilat Ferat Ami, Yasin Ar Amar Madhubala Angshumaner Chhobi Kaal Jara Bristite Bhijechhilo Hawa Bodol Bari Theke Paliye Jukti Takko Aar Gappo Le Chakka Kaalbela Bapi Bari Jaa Raincoat Herbert Sacred Evil – A True Story The Bengali Night The Japanese Wife Bedroom Vasthuhara Paroma Arekti Premer Golpo Neel Akasher Neechey Takhan Teish Sabdhan Pancha Aashche Hemlock society Abohoman Pratidwandi Born into Brothels 10:10 Dahan Padatik Aadhavan Nobel Chor Akash Kusum In the Flesh: three lives in prostitution Ranjana Ami Ar Ashbona The World of Apu Hello Kolkata Ekti Tarar Khonje Subarnarekha Aparajito Tolly Lights Ek Je Aachhe Kanya Yuva The Namesake Autograph Ek Din Pratidin Shukno Lanka Agantuk Madly Bangalee Parineeta Do Bigha Zamin The Waiting City
The Avengers, Yuva and Black Narcissus have their setting located at that administrative territory
The Avengers Yuva Black Narcissus
action filter_type
action find_reverse
entity Kolkata
relation narrative location
type work of art
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:work_of_art . ?l property:narrative_location resource:Kolkata }
[]