Simple Question (Direct)
Simple Question
Q21476571
P161
Q502895
USER
Which people starred in Miruthan ?
(Q21476571,P161,c(Q502895))
action filter_type
action find
entity Q21476571
relation P161
type Q502895
['Q21476571', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q21476571 property:P161 ?j . ?j rdf:type ontology:Q502895 }
Miruthan
action filter_type
action find
entity Miruthan
relation cast member
type common name
['Miruthan', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Miruthan property:cast_member ?j . ?j rdf:type ontology:common_name }
[]
common name
Q469886 Q6479880
SYSTEM
Jayam Ravi, Lakshmi Menon
Q469886 Q6479880
(Q21476571,P161,c(Q502895))
action filter_type
action find
entity Q21476571
relation P161
type Q502895
[ANSWERS] starred in Miruthan
['Q21476571', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q21476571 property:P161 ?j . ?j rdf:type ontology:Q502895 }
Jayam Ravi Lakshmi Menon
Jayam Ravi and Lakshmi Menon starred in Miruthan
Jayam Ravi Lakshmi Menon
action filter_type
action find
entity Miruthan
relation cast member
type common name
['Miruthan', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Miruthan property:cast_member ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q469886 Q6479880
P161
Q838948
USER
Which works of art stars Jayam Ravi and Lakshmi Menon as actor ?
(c(Q838948),P161,Q469886) (c(Q838948),P161,Q6479880)
action union
action filter_type
action find_reverse
entity Q469886
relation P161
type Q838948
action filter_type
action find_reverse
entity Q6479880
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q469886'] [{'concept': 'Q838948'}, 'P161', 'Q6479880']
SELECT DISTINCT ?x WHERE { { ?x property:P161 resource:Q6479880 . ?x rdf:type ontology:Q838948 } UNION { ?x property:P161 resource:Q469886 . ?x rdf:type ontology:Q838948 } }
Jayam Ravi Lakshmi Menon
action union
action filter_type
action find_reverse
entity Jayam Ravi
relation cast member
type work of art
action filter_type
action find_reverse
entity Lakshmi Menon
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Jayam Ravi'] [{'concept': 'work of art'}, 'cast member', 'Lakshmi Menon']
SELECT DISTINCT ?x WHERE { { ?x property:cast_member resource:Lakshmi_Menon . ?x rdf:type ontology:work_of_art } UNION { ?x property:cast_member resource:Jayam_Ravi . ?x rdf:type ontology:work_of_art } }
[]
work of art
Q3473354 Q3411563 Q3522114
SYSTEM
Santosh Subramaniam, Something Something... Unakkum Enakkum, Dhaam Dhoom
Q16254742 Q3522114 Q18352782 Q5250556 Q3449883 Q3473354 Q7784179 Q17073759 Q5207390 Q6798475 Q6167506 Q6712822 Q5377607 Q3473413 Q21476571 Q3411563 Q23925027 Q5988577 Q7283066 Q6443927 Q5380110 Q15720528 Q21476571
(c(Q838948),P161,Q469886) (c(Q838948),P161,Q6479880)
action union
action filter_type
action find_reverse
entity Q469886
relation P161
type Q838948
action filter_type
action find_reverse
entity Q6479880
relation P161
type Q838948
[ANSWERS] star Jayam Ravi and Lakshmi Menon as actor
[{'concept': 'Q838948'}, 'P161', 'Q469886'] [{'concept': 'Q838948'}, 'P161', 'Q6479880']
SELECT DISTINCT ?x WHERE { { ?x property:P161 resource:Q6479880 . ?x rdf:type ontology:Q838948 } UNION { ?x property:P161 resource:Q469886 . ?x rdf:type ontology:Q838948 } }
Thani Oruvan Dhaam Dhoom Appa Takkaru Deepavali Ameerin Aadhi Baghavan Santosh Subramaniam Thillalangadi Romeo Juliet Daas Mazhai Jayam M. Kumaran S/O Mahalakshmi Engeyum Kadhal Peranmai Miruthan Something Something... Unakkum Enakkum Bogan Idhaya Thirudan Raghuvinte Swantham Raziya Kumki Ente Jigarthanda Miruthan
Santosh Subramaniam, Something Something... Unakkum Enakkum and Dhaam Dhoom star Jayam Ravi and Lakshmi Menon as actor
Santosh Subramaniam Something Something... Unakkum Enakkum Dhaam Dhoom
action union
action filter_type
action find_reverse
entity Jayam Ravi
relation cast member
type work of art
action filter_type
action find_reverse
entity Lakshmi Menon
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Jayam Ravi'] [{'concept': 'work of art'}, 'cast member', 'Lakshmi Menon']
SELECT DISTINCT ?x WHERE { { ?x property:cast_member resource:Lakshmi_Menon . ?x rdf:type ontology:work_of_art } UNION { ?x property:cast_member resource:Jayam_Ravi . ?x rdf:type ontology:work_of_art } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3473354 Q3411563 Q3522114
P161
Q502895
USER
Which people were casted in Santosh Subramaniam, Something Something... Unakkum Enakkum and Dhaam Dhoom ?
(Q3473354,P161,c(Q502895)) (Q3411563,P161,c(Q502895)) (Q3522114,P161,c(Q502895))
action union
action filter_type
action find
entity Q3473354
relation P161
type Q502895
action filter_type
action find
entity Q3411563
relation P161
type Q502895
action filter_type
action find
entity Q3522114
relation P161
type Q502895
['Q3473354', 'P161', {'concept': 'Q502895'}] ['Q3411563', 'P161', {'concept': 'Q502895'}] ['Q3522114', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { ?y property:P161 ?t . VALUES ( ?y ) { ( resource:Q3411563 ) ( resource:Q3473354 ) } }
Santosh Subramaniam Something Something... Unakkum Enakkum Dhaam Dhoom
action union
action filter_type
action find
entity Santosh Subramaniam
relation cast member
type common name
action filter_type
action find
entity Something Something... Unakkum Enakkum
relation cast member
type common name
action filter_type
action find
entity Dhaam Dhoom
relation cast member
type common name
['Santosh Subramaniam', 'cast member', {'concept': 'common name'}] ['Something Something... Unakkum Enakkum', 'cast member', {'concept': 'common name'}] ['Dhaam Dhoom', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { ?y property:cast_member ?t . VALUES ( ?y ) { ( resource:Something_Something..._Unakkum_Enakkum ) ( resource:Santosh_Subramaniam ) } }
[]
common name
Q1322453 Q3537602 Q63730
SYSTEM
Prakash Raj, K. Bhagyaraj, Genelia D'Souza Deshmukh
Q1322453 Q7429093 Q6378915 Q469886 Q6414856 Q3536800 Q63730 Q46683 Q3527770 Q277336 Q3522712 Q2460693 Q2748513 Q277665 Q3537602 Q469886 Q7695202 Q6750277 Q46683 Q277336 Q469886
(Q3473354,P161,c(Q502895)) (Q3411563,P161,c(Q502895)) (Q3522114,P161,c(Q502895))
action union
action filter_type
action find
entity Q3473354
relation P161
type Q502895
action filter_type
action find
entity Q3411563
relation P161
type Q502895
action filter_type
action find
entity Q3522114
relation P161
type Q502895
[ANSWERS] were casted in Santosh Subramaniam, Something Something... Unakkum Enakkum and Dhaam Dhoom
['Q3473354', 'P161', {'concept': 'Q502895'}] ['Q3411563', 'P161', {'concept': 'Q502895'}] ['Q3522114', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { ?y property:P161 ?t . VALUES ( ?y ) { ( resource:Q3411563 ) ( resource:Q3473354 ) } }
Prakash Raj Sayaji Shinde Kausalya Jayam Ravi Kirat Bhattal Vijayakumar Genelia D'Souza Deshmukh N. Santhanam Sadagoppan Ramesh Geetha Richa Pallod Cochin Haneefa Trisha Krishnan Prabhu Ganesan K. Bhagyaraj Jayam Ravi Tejashree Manivannan N. Santhanam Geetha Jayam Ravi
Prakash Raj, K. Bhagyaraj and Genelia D'Souza Deshmukh were casted in Santosh Subramaniam, Something Something... Unakkum Enakkum and Dhaam Dhoom
Prakash Raj K. Bhagyaraj Genelia D'Souza Deshmukh
action union
action filter_type
action find
entity Santosh Subramaniam
relation cast member
type common name
action filter_type
action find
entity Something Something... Unakkum Enakkum
relation cast member
type common name
action filter_type
action find
entity Dhaam Dhoom
relation cast member
type common name
['Santosh Subramaniam', 'cast member', {'concept': 'common name'}] ['Something Something... Unakkum Enakkum', 'cast member', {'concept': 'common name'}] ['Dhaam Dhoom', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { ?y property:cast_member ?t . VALUES ( ?y ) { ( resource:Something_Something..._Unakkum_Enakkum ) ( resource:Santosh_Subramaniam ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1322453
P58
Q838948
USER
Which works of art did that person do the screenwriting for ?
(c(Q838948),P58,Q1322453)
action filter_type
action find_reverse
entity Q1322453
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q1322453']
SELECT DISTINCT ?m WHERE { ?m property:P58 resource:Q1322453 . ?m rdf:type ontology:Q838948 }
Prakash Raj
action filter_type
action find_reverse
entity Prakash Raj
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Prakash Raj']
SELECT DISTINCT ?m WHERE { ?m property:screenwriter resource:Prakash_Raj . ?m rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q3537602
SYSTEM
Did you mean K. Bhagyaraj ?
Q1322453 Q3537602 Q63730
(c(Q838948),P58,Q1322453) (c(Q838948),P58,Q3537602) (c(Q838948),P58,Q63730)
[ANSWER]
[{'concept': 'Q838948'}, 'P58', 'Q1322453'] [{'concept': 'Q838948'}, 'P58', 'Q3537602'] [{'concept': 'Q838948'}, 'P58', 'Q63730']
SELECT DISTINCT ?m WHERE { ?m property:P58 resource:Q1322453 . ?m rdf:type ontology:Q838948 }
Prakash Raj K. Bhagyaraj Genelia D'Souza Deshmukh
Did you mean K. Bhagyaraj ?
K. Bhagyaraj
[{'concept': 'work of art'}, 'screenwriter', 'Prakash Raj'] [{'concept': 'work of art'}, 'screenwriter', 'K. Bhagyaraj'] [{'concept': 'work of art'}, 'screenwriter', "Genelia D'Souza Deshmukh"]
SELECT DISTINCT ?m WHERE { ?m property:screenwriter resource:Prakash_Raj . ?m rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
No, I meant Prakash Raj. Could you tell me the answer for that?
(c(Q838948),P58,Q1322453)
Q1322453
[{'concept': 'Q838948'}, 'P58', 'Q1322453']
[{'concept': 'work of art'}, 'screenwriter', 'Prakash Raj']
[]
Q3187923 Q12080483
SYSTEM
Judaai, Seethamma Vakitlo Sirimalle Chettu
Q3187923 Q12080483
(c(Q838948),P58,Q1322453)
action filter_type
action find_reverse
entity Q1322453
relation P58
type Q838948
[ANSWERS] that person did the screenwriting for
[{'concept': 'Q838948'}, 'P58', 'Q1322453']
SELECT DISTINCT ?m WHERE { ?m property:P58 resource:Q1322453 . ?m rdf:type ontology:Q838948 }
Judaai Seethamma Vakitlo Sirimalle Chettu
Judaai and Seethamma Vakitlo Sirimalle Chettu that person did the screenwriting for
Judaai Seethamma Vakitlo Sirimalle Chettu
action filter_type
action find_reverse
entity Prakash Raj
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Prakash Raj']
SELECT DISTINCT ?m WHERE { ?m property:screenwriter resource:Prakash_Raj . ?m rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1322453 Q191114
P161
Q838948
USER
How many works of art do Prakash Raj and Sita star in ?
(c(Q838948),P161,Q1322453) (c(Q838948),P161,Q191114)
action count
action intersection
action filter_type
action find_reverse
entity Q1322453
relation P161
type Q838948
action filter_type
action find_reverse
entity Q191114
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q1322453'] [{'concept': 'Q838948'}, 'P161', 'Q191114']
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:P161 resource:Q1322453 . ?x rdf:type ontology:Q838948 . ?x property:P161 resource:Q191114 . ?x rdf:type ontology:Q838948 }
Prakash Raj Sita
action count
action intersection
action filter_type
action find_reverse
entity Prakash Raj
relation cast member
type work of art
action filter_type
action find_reverse
entity Sita
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Prakash Raj'] [{'concept': 'work of art'}, 'cast member', 'Sita']
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:cast_member resource:Prakash_Raj . ?x rdf:type ontology:work_of_art . ?x property:cast_member resource:Sita . ?x rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
2
Q6363843 Q12985995
(c(Q838948),P161,Q1322453) (c(Q838948),P161,Q191114)
action count
action intersection
action filter_type
action find_reverse
entity Q1322453
relation P161
type Q838948
action filter_type
action find_reverse
entity Q191114
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q1322453'] [{'concept': 'Q838948'}, 'P161', 'Q191114']
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:P161 resource:Q1322453 . ?x rdf:type ontology:Q838948 . ?x property:P161 resource:Q191114 . ?x rdf:type ontology:Q838948 }
Kanna Parijatham
2
action count
action intersection
action filter_type
action find_reverse
entity Prakash Raj
relation cast member
type work of art
action filter_type
action find_reverse
entity Sita
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Prakash Raj'] [{'concept': 'work of art'}, 'cast member', 'Sita']
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:cast_member resource:Prakash_Raj . ?x rdf:type ontology:work_of_art . ?x property:cast_member resource:Sita . ?x rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1322453 Q2818628
P166
Q618779
USER
How many awards were won by Prakash Raj or 8th Infantry Regiment ?
(Q1322453,P166,c(Q618779)) (Q2818628,P166,c(Q618779))
action count
action union
action filter_type
action find
entity Q1322453
relation P166
type Q618779
action filter_type
action find
entity Q2818628
relation P166
type Q618779
['Q1322453', 'P166', {'concept': 'Q618779'}] ['Q2818628', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { ?o property:P166 ?m . VALUES ( ?o ) { ( resource:Q1322453 ) ( resource:Q2818628 ) } }
Prakash Raj 8th Infantry Regiment
action count
action union
action filter_type
action find
entity Prakash Raj
relation award received
type award
action filter_type
action find
entity 8th Infantry Regiment
relation award received
type award
['Prakash Raj', 'award received', {'concept': 'award'}] ['8th Infantry Regiment', 'award received', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { ?o property:award_received ?m . VALUES ( ?o ) { ( resource:Prakash_Raj ) ( resource:8th_Infantry_Regiment ) } }
[]
award
SYSTEM
2
Q2547676 Q2727598
(Q1322453,P166,c(Q618779)) (Q2818628,P166,c(Q618779))
action count
action union
action filter_type
action find
entity Q1322453
relation P166
type Q618779
action filter_type
action find
entity Q2818628
relation P166
type Q618779
[ANSWER]
['Q1322453', 'P166', {'concept': 'Q618779'}] ['Q2818628', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { ?o property:P166 ?m . VALUES ( ?o ) { ( resource:Q1322453 ) ( resource:Q2818628 ) } }
Croix de guerre 1939–1945 Croix de guerre 1914–1918
2
action count
action union
action filter_type
action find
entity Prakash Raj
relation award received
type award
action filter_type
action find
entity 8th Infantry Regiment
relation award received
type award
['Prakash Raj', 'award received', {'concept': 'award'}] ['8th Infantry Regiment', 'award received', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { ?o property:award_received ?m . VALUES ( ?o ) { ( resource:Prakash_Raj ) ( resource:8th_Infantry_Regiment ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1322453
P106
Q28640
USER
What do Prakash Raj do for a living ?
(Q1322453,P106,c(Q28640))
action filter_type
action find
entity Q1322453
relation P106
type Q28640
['Q1322453', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?z WHERE { resource:Q1322453 property:P106 ?z . ?z rdf:type ontology:Q28640 }
Prakash Raj
action filter_type
action find
entity Prakash Raj
relation occupation
type profession
['Prakash Raj', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?z WHERE { resource:Prakash_Raj property:occupation ?z . ?z rdf:type ontology:profession }
[]
profession
Q2526255 Q3282637
SYSTEM
film director, film producer
Q2526255 Q3282637
(Q1322453,P106,c(Q28640))
action filter_type
action find
entity Q1322453
relation P106
type Q28640
Prakash Raj do for a living for [ANSWERS]
['Q1322453', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?z WHERE { resource:Q1322453 property:P106 ?z . ?z rdf:type ontology:Q28640 }
film director film producer
Prakash Raj do for a living for film director and film producer
film director film producer
action filter_type
action find
entity Prakash Raj
relation occupation
type profession
['Prakash Raj', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?z WHERE { resource:Prakash_Raj property:occupation ?z . ?z rdf:type ontology:profession }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1322453
P26
Q502895
USER
Which people are the spouses of Prakash Raj ?
(Q1322453,P26,c(Q502895))
action filter_type
action find
entity Q1322453
relation P26
type Q502895
['Q1322453', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q1322453 property:P26 ?t . ?t rdf:type ontology:Q502895 }
Prakash Raj
action filter_type
action find
entity Prakash Raj
relation spouse
type common name
['Prakash Raj', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Prakash_Raj property:spouse ?t . ?t rdf:type ontology:common_name }
[]
common name
Q18648967 Q17581511
SYSTEM
Lalitha Kumari, Pony Verma
Q18648967 Q17581511
(Q1322453,P26,c(Q502895))
action filter_type
action find
entity Q1322453
relation P26
type Q502895
[ANSWERS] are the spouses of Prakash Raj
['Q1322453', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q1322453 property:P26 ?t . ?t rdf:type ontology:Q502895 }
Lalitha Kumari Pony Verma
Lalitha Kumari and Pony Verma are the spouses of Prakash Raj
Lalitha Kumari Pony Verma
action filter_type
action find
entity Prakash Raj
relation spouse
type common name
['Prakash Raj', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Prakash_Raj property:spouse ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q18648967 Q17581511
P26
Q502895
USER
Which people are married to Lalitha Kumari and Pony Verma ?
(c(Q502895),P26,Q18648967) (c(Q502895),P26,Q17581511)
action union
action filter_type
action find
entity Q18648967
relation P26
type Q502895
action filter_type
action find
entity Q17581511
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q18648967'] [{'concept': 'Q502895'}, 'P26', 'Q17581511']
SELECT DISTINCT ?r WHERE { { resource:Q18648967 property:P26 ?r . ?r rdf:type ontology:Q502895 } UNION { resource:Q17581511 property:P26 ?r . ?r rdf:type ontology:Q502895 } }
Lalitha Kumari Pony Verma
action union
action filter_type
action find
entity Lalitha Kumari
relation spouse
type common name
action filter_type
action find
entity Pony Verma
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Lalitha Kumari'] [{'concept': 'common name'}, 'spouse', 'Pony Verma']
SELECT DISTINCT ?r WHERE { { resource:Lalitha_Kumari property:spouse ?r . ?r rdf:type ontology:common_name } UNION { resource:Pony_Verma property:spouse ?r . ?r rdf:type ontology:common_name } }
[]
common name
Q1322453
SYSTEM
Prakash Raj
Q1322453
(c(Q502895),P26,Q18648967) (c(Q502895),P26,Q17581511)
action union
action filter_type
action find
entity Q18648967
relation P26
type Q502895
action filter_type
action find
entity Q17581511
relation P26
type Q502895
[ANSWER] is married to Lalitha Kumari and Pony Verma
[{'concept': 'Q502895'}, 'P26', 'Q18648967'] [{'concept': 'Q502895'}, 'P26', 'Q17581511']
SELECT DISTINCT ?r WHERE { { resource:Q18648967 property:P26 ?r . ?r rdf:type ontology:Q502895 } UNION { resource:Q17581511 property:P26 ?r . ?r rdf:type ontology:Q502895 } }
Prakash Raj
Prakash Raj is married to Lalitha Kumari and Pony Verma
Prakash Raj
action union
action filter_type
action find
entity Lalitha Kumari
relation spouse
type common name
action filter_type
action find
entity Pony Verma
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Lalitha Kumari'] [{'concept': 'common name'}, 'spouse', 'Pony Verma']
SELECT DISTINCT ?r WHERE { { resource:Lalitha_Kumari property:spouse ?r . ?r rdf:type ontology:common_name } UNION { resource:Pony_Verma property:spouse ?r . ?r rdf:type ontology:common_name } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1322453
P162
Q838948
USER
Which works of art have been produced by that person ?
(c(Q838948),P162,Q1322453)
action filter_type
action find_reverse
entity Q1322453
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q1322453']
SELECT DISTINCT ?x WHERE { ?x property:P162 resource:Q1322453 . ?x rdf:type ontology:Q838948 }
Prakash Raj
action filter_type
action find_reverse
entity Prakash Raj
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Prakash Raj']
SELECT DISTINCT ?x WHERE { ?x property:producer resource:Prakash_Raj . ?x rdf:type ontology:work_of_art }
[]
work of art
Q6927966 Q7882022 Q7207808
SYSTEM
Mozhi, Un Samayal Arayil, Poi
Q5588391 Q4667488 Q7207808 Q6927966 Q6361142 Q26963051 Q5269471 Q7156673 Q3424424 Q6033945 Q7919178 Q7882022 Q7262445
(c(Q838948),P162,Q1322453)
action filter_type
action find_reverse
entity Q1322453
relation P162
type Q838948
[ANSWERS] have been produced by that person
[{'concept': 'Q838948'}, 'P162', 'Q1322453']
SELECT DISTINCT ?x WHERE { ?x property:P162 resource:Q1322453 . ?x rdf:type ontology:Q838948 }
Gouravam Abhiyum Naanum Poi Mozhi Kanda Naal Mudhal Idolle Ramayana Dhaya Payanam Azhagiya Theeye Inidhu Inidhu Velli Thirai Un Samayal Arayil Puttakkana Highway
Mozhi, Un Samayal Arayil and Poi have been produced by that person
Mozhi Un Samayal Arayil Poi
action filter_type
action find_reverse
entity Prakash Raj
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Prakash Raj']
SELECT DISTINCT ?x WHERE { ?x property:producer resource:Prakash_Raj . ?x rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P355
Q28640 Q4830453 Q43229
USER
Which professions are the subordinates of approximately 2 business enterprises or organizations ?
(c(Q4830453)|c(Q43229),P355,c(Q28640))
action approx
action union
action find_reverse_tuple_counts
relation P355
type Q28640
type Q4830453
action find_reverse_tuple_counts
relation P355
type Q28640
type Q43229
value 2
[[{'concept': 'Q4830453'}, {'concept': 'Q43229'}], 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?g WHERE { { ?i property:P355 ?g . ?i rdf:type ontology:Q4830453 . ?g rdf:type ontology:Q28640 } UNION { ?i property:P355 ?g . ?g rdf:type ontology:Q28640 . ?i rdf:type ontology:Q43229 } } GROUP BY ?g } . FILTER ( ?y = 2 ) }
action approx
action union
action find_reverse_tuple_counts
relation subsidiary
type profession
type business enterprise
action find_reverse_tuple_counts
relation subsidiary
type profession
type organization
value 2
[[{'concept': 'business enterprise'}, {'concept': 'organization'}], 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?g WHERE { { ?i property:subsidiary ?g . ?i rdf:type ontology:business_enterprise . ?g rdf:type ontology:profession } UNION { ?i property:subsidiary ?g . ?g rdf:type ontology:profession . ?i rdf:type ontology:organization } } GROUP BY ?g } . FILTER ( ?y = 2 ) }
[]
profession business enterprise organization
Q800120 Q959672
SYSTEM
Humongous, Daybreak Game Company
Q800120 Q959672
(c(Q4830453)|c(Q43229),P355,c(Q28640))
action approx
action union
action find_reverse_tuple_counts
relation P355
type Q28640
type Q4830453
action find_reverse_tuple_counts
relation P355
type Q28640
type Q43229
value 2
[ANSWERS] are the subordinates of approximately 2 business enterprises or organizations
[[{'concept': 'Q4830453'}, {'concept': 'Q43229'}], 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?g WHERE { { ?i property:P355 ?g . ?i rdf:type ontology:Q4830453 . ?g rdf:type ontology:Q28640 } UNION { ?i property:P355 ?g . ?g rdf:type ontology:Q28640 . ?i rdf:type ontology:Q43229 } } GROUP BY ?g } . FILTER ( ?y = 2 ) }
Humongous Daybreak Game Company
Humongous and Daybreak Game Company are the subordinates of approximately 2 business enterprises or organizations
Humongous Daybreak Game Company
action approx
action union
action find_reverse_tuple_counts
relation subsidiary
type profession
type business enterprise
action find_reverse_tuple_counts
relation subsidiary
type profession
type organization
value 2
[[{'concept': 'business enterprise'}, {'concept': 'organization'}], 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?g WHERE { { ?i property:subsidiary ?g . ?i rdf:type ontology:business_enterprise . ?g rdf:type ontology:profession } UNION { ?i property:subsidiary ?g . ?g rdf:type ontology:profession . ?i rdf:type ontology:organization } } GROUP BY ?g } . FILTER ( ?y = 2 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q308889
P355
Q4830453 Q28640
USER
How many business enterprises are greater number of professions the parent company of than Cessna ?
(c(Q28640),P355,c(Q4830453))
action count
action greater
action find_reverse_tuple_counts
relation P355
type Q4830453
type Q28640
action count
action filter_type
action find
entity Q308889
relation P355
type Q4830453
[{'concept': 'Q28640'}, 'P355', {'concept': 'Q4830453'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?p ) WHERE { ?j property:P355 ?l . ?l rdf:type ontology:Q4830453 . ?j rdf:type ontology:Q28640 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { ?k rdf:type ontology:Q4830453 . resource:Q308889 property:P355 ?k } } . FILTER ( ?p > ?x ) }
Cessna
action count
action greater
action find_reverse_tuple_counts
relation subsidiary
type business enterprise
type profession
action count
action filter_type
action find
entity Cessna
relation subsidiary
type business enterprise
[{'concept': 'profession'}, 'subsidiary', {'concept': 'business enterprise'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?p ) WHERE { ?j property:subsidiary ?l . ?l rdf:type ontology:business_enterprise . ?j rdf:type ontology:profession } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { ?k rdf:type ontology:business_enterprise . resource:Cessna property:subsidiary ?k } } . FILTER ( ?p > ?x ) }
[]
business enterprise profession
SYSTEM
2
Q94912 Q3547645
(c(Q28640),P355,c(Q4830453))
action count
action greater
action find_reverse_tuple_counts
relation P355
type Q4830453
type Q28640
action count
action filter_type
action find
entity Q308889
relation P355
type Q4830453
[ANSWER]
[{'concept': 'Q28640'}, 'P355', {'concept': 'Q4830453'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?p ) WHERE { ?j property:P355 ?l . ?l rdf:type ontology:Q4830453 . ?j rdf:type ontology:Q28640 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { ?k rdf:type ontology:Q4830453 . resource:Q308889 property:P355 ?k } } . FILTER ( ?p > ?x ) }
Rockstar Games Ubisoft Annecy
2
action count
action greater
action find_reverse_tuple_counts
relation subsidiary
type business enterprise
type profession
action count
action filter_type
action find
entity Cessna
relation subsidiary
type business enterprise
[{'concept': 'profession'}, 'subsidiary', {'concept': 'business enterprise'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?p ) WHERE { ?j property:subsidiary ?l . ?l rdf:type ontology:business_enterprise . ?j rdf:type ontology:profession } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { ?k rdf:type ontology:business_enterprise . resource:Cessna property:subsidiary ?k } } . FILTER ( ?p > ?x ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q800120
P749
Q43229
USER
What are the parent organizations of Humongous ?
(Q800120,P749,c(Q43229))
action filter_type
action find
entity Q800120
relation P749
type Q43229
['Q800120', 'P749', {'concept': 'Q43229'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q43229 . resource:Q800120 property:P749 ?x }
Humongous
action filter_type
action find
entity Humongous
relation parent organization
type organization
['Humongous', 'parent organization', {'concept': 'organization'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:organization . resource:Humongous property:parent_organization ?x }
[]
organization
Q930354 Q7819139
SYSTEM
GT Interactive Software, Tommo Inc.
Q930354 Q7819139
(Q800120,P749,c(Q43229))
action filter_type
action find
entity Q800120
relation P749
type Q43229
The parent organizations of Humongous are [ANSWERS]
['Q800120', 'P749', {'concept': 'Q43229'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q43229 . resource:Q800120 property:P749 ?x }
GT Interactive Software Tommo Inc.
The parent organizations of Humongous are GT Interactive Software and Tommo Inc.
GT Interactive Software Tommo Inc.
action filter_type
action find
entity Humongous
relation parent organization
type organization
['Humongous', 'parent organization', {'concept': 'organization'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:organization . resource:Humongous property:parent_organization ?x }
[]