Simple Question (Direct)
Simple Question
Q734509
P20
Q515
USER
Which city is the place of death of Jayaprakash Narayan ?
(Q734509,P20,c(Q515))
action filter_type
action find
entity Q734509
relation P20
type Q515
['Q734509', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?r WHERE { resource:Q734509 property:P20 ?r . ?r rdf:type ontology:Q515 }
Jayaprakash Narayan
action filter_type
action find
entity Jayaprakash Narayan
relation place of death
type city
['Jayaprakash Narayan', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?r WHERE { resource:Jayaprakash_Narayan property:place_of_death ?r . ?r rdf:type ontology:city }
[]
city
Q80484
SYSTEM
Patna
Q80484
(Q734509,P20,c(Q515))
action filter_type
action find
entity Q734509
relation P20
type Q515
[ANSWER] is the place of death of Jayaprakash Narayan
['Q734509', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?r WHERE { resource:Q734509 property:P20 ?r . ?r rdf:type ontology:Q515 }
Patna
Patna is the place of death of Jayaprakash Narayan
Patna
action filter_type
action find
entity Jayaprakash Narayan
relation place of death
type city
['Jayaprakash Narayan', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?r WHERE { resource:Jayaprakash_Narayan property:place_of_death ?r . ?r rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q734509
P26
Q502895
USER
Who is married to that one ?
(c(Q502895),P26,Q80484)
action filter_type
action find
entity Q734509
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q80484']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q734509 property:P26 ?s }
Jayaprakash Narayan
action filter_type
action find
entity Jayaprakash Narayan
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Patna']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Jayaprakash_Narayan property:spouse ?s }
[]
common name
Q7237243
SYSTEM
Prabhavati Devi
Q7237243
(c(Q502895),P26,Q80484)
action filter_type
action find
entity Q734509
relation P26
type Q502895
[ANSWER] is married to that one
[{'concept': 'Q502895'}, 'P26', 'Q80484']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q734509 property:P26 ?s }
Prabhavati Devi
Prabhavati Devi is married to that one
Prabhavati Devi
action filter_type
action find
entity Jayaprakash Narayan
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Patna']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Jayaprakash_Narayan property:spouse ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7237243
P21
Q290
USER
Which sex does that person have ?
(Q7237243,P21,c(Q290))
action filter_type
action find
entity Q7237243
relation P21
type Q290
['Q7237243', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q7237243 property:P21 ?b . ?b rdf:type ontology:Q290 }
Prabhavati Devi
action filter_type
action find
entity Prabhavati Devi
relation gender
type sex
['Prabhavati Devi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Prabhavati_Devi property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q7237243,P21,c(Q290))
action filter_type
action find
entity Q7237243
relation P21
type Q290
That person has a [ANSWER]
['Q7237243', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q7237243 property:P21 ?b . ?b rdf:type ontology:Q290 }
female
That person has a female
female
action filter_type
action find
entity Prabhavati Devi
relation gender
type sex
['Prabhavati Devi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Prabhavati_Devi property:gender ?b . ?b rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q80484
P19
Q502895
USER
How many people were born at Patna ?
(c(Q502895),P19,Q80484)
action count
action filter_type
action find_reverse
entity Q80484
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q80484']
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { ?n property:P19 resource:Q80484 . ?n rdf:type ontology:Q502895 }
Patna
action count
action filter_type
action find_reverse
entity Patna
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Patna']
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { ?n property:place_of_birth resource:Patna . ?n rdf:type ontology:common_name }
[]
common name
SYSTEM
85
Q7879076 Q5250548 Q7493263 Q7286245 Q6414796 Q11359 Q10296530 Q16222392 Q16013821 Q14317045 Q8049657 Q21279194 Q7932403 Q16222550 Q16015078 Q19665829 Q3634892 Q7635226 Q7686140 Q7283596 Q17141500 Q4900748 Q4056654 Q19893103 Q288528 Q1898849 Q4734299 Q464185 Q312967 Q2723759 Q5094848 Q7876969 Q6706095 Q4667355 Q5520844 Q1606711 Q4777888 Q7876972 Q380210 Q4777898 Q7631269 Q7503523 Q7418358 Q7914984 Q7238891 Q3535247 Q3595198 Q7237392 Q15648611 Q5276817 Q6344020 Q7660312 Q3630922 Q2220525 Q4740212 Q7288501 Q7418438 Q8589 Q7295459 Q7499375 Q6987749 Q16106092 Q19665879 Q2355593 Q7418491 Q7686261 Q15057444 Q2866567 Q3532582 Q17386287 Q27069143 Q3631714 Q3595242 Q525760 Q188541 Q23772396 Q4805785 Q7293100 Q7645333 Q17495709 Q20900419 Q32452 Q2604943 Q16193764 Q7561676
(c(Q502895),P19,Q80484)
action count
action filter_type
action find_reverse
entity Q80484
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q80484']
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { ?n property:P19 resource:Q80484 . ?n rdf:type ontology:Q502895 }
Ulka Gupta Deepali Kishore Shekhar Suman Rajiv Ranjan Singh Kiran Ahluwalia Aryabhata Sushant Singh Rajput Pariva Pranati Bhabatosh Datta Tejashwi Yadav Yaseen Anwer Ranjit Roy Chaudhury Vineet Kumar Nidhi Yasha Khawaja Reazuddin Atash Gopal Prasad Sinha Rajiv Pratap Rudy Suhasini Mulay Tariq Anwar Rahul Kanwal Siddhant Vats Bhai Jiwan Singh Anil Agarwal Manish Tiwari Shyam Nandan Prasad Mishra Tejendra Khanna Alok Kumar Mehta Daler Mehndi Guru Gobind Singh Yashwant Sinha Chhavi Pandey Uday Sahay Luv Sinha Abhayanand Ganesh Prasad Singh Henry Evans Maude Anurag Anand Uday Singh Sake Dean Mahomed Anurag Sinha Subhav Sinha Shree Shankar Sharan Sanjay Mishra Vanita Srivastava Pravrajika Shraddhaprana Neetu Chandra Adhyayan Suman Pradeep Dubey Nikita Singh Dilip Sinha Kabeer Kaushik Syed Ata Ullah Shah Bukhari Ravi Shankar Prasad Sandeep Das Amardeep Jha Ram Kripal Yadav Sanjay Jaiswal Ashoka Ratan Rajput Shivendra Singh Dungarpur Neha Sargam Shyama Singh Narendra Prasad Abdul-Qādir Bēdil Sanjaya Lall Tarkeshwari Sinha Rohini Bhate Ashoka Prasad Anand Kumar Sunny M.R. Sharad Kumar Mika Singh Shatrughan Sinha Upamanyu Chatterjee Chandragupta Maurya Saanand Verma Ashok Sekhar Ganguly Ranjan Prasad Yadav Suraj Singh Mirza Faizan Chittabhushan Dasgupta Roshan Seth Bali Ram Bhagat Jagat Prakash Nadda Soni Singh
85
action count
action filter_type
action find_reverse
entity Patna
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Patna']
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { ?n property:place_of_birth resource:Patna . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q80484
P19
Q502895
USER
How many people were born at Patna ?
(c(Q502895),P19,Q80484)
action count
action filter_type
action find_reverse
entity Q80484
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q80484']
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u property:P19 resource:Q80484 . ?u rdf:type ontology:Q502895 }
Patna
action count
action filter_type
action find_reverse
entity Patna
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Patna']
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u property:place_of_birth resource:Patna . ?u rdf:type ontology:common_name }
[]
common name
SYSTEM
85
Q7879076 Q5250548 Q7493263 Q7286245 Q6414796 Q11359 Q10296530 Q16222392 Q16013821 Q14317045 Q8049657 Q21279194 Q7932403 Q16222550 Q16015078 Q19665829 Q3634892 Q7635226 Q7686140 Q7283596 Q17141500 Q4900748 Q4056654 Q19893103 Q288528 Q1898849 Q4734299 Q464185 Q312967 Q2723759 Q5094848 Q7876969 Q6706095 Q4667355 Q5520844 Q1606711 Q4777888 Q7876972 Q380210 Q4777898 Q7631269 Q7503523 Q7418358 Q7914984 Q7238891 Q3535247 Q3595198 Q7237392 Q15648611 Q5276817 Q6344020 Q7660312 Q3630922 Q2220525 Q4740212 Q7288501 Q7418438 Q8589 Q7295459 Q7499375 Q6987749 Q16106092 Q19665879 Q2355593 Q7418491 Q7686261 Q15057444 Q2866567 Q3532582 Q17386287 Q27069143 Q3631714 Q3595242 Q525760 Q188541 Q23772396 Q4805785 Q7293100 Q7645333 Q17495709 Q20900419 Q32452 Q2604943 Q16193764 Q7561676
(c(Q502895),P19,Q80484)
action count
action filter_type
action find_reverse
entity Q80484
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q80484']
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u property:P19 resource:Q80484 . ?u rdf:type ontology:Q502895 }
Ulka Gupta Deepali Kishore Shekhar Suman Rajiv Ranjan Singh Kiran Ahluwalia Aryabhata Sushant Singh Rajput Pariva Pranati Bhabatosh Datta Tejashwi Yadav Yaseen Anwer Ranjit Roy Chaudhury Vineet Kumar Nidhi Yasha Khawaja Reazuddin Atash Gopal Prasad Sinha Rajiv Pratap Rudy Suhasini Mulay Tariq Anwar Rahul Kanwal Siddhant Vats Bhai Jiwan Singh Anil Agarwal Manish Tiwari Shyam Nandan Prasad Mishra Tejendra Khanna Alok Kumar Mehta Daler Mehndi Guru Gobind Singh Yashwant Sinha Chhavi Pandey Uday Sahay Luv Sinha Abhayanand Ganesh Prasad Singh Henry Evans Maude Anurag Anand Uday Singh Sake Dean Mahomed Anurag Sinha Subhav Sinha Shree Shankar Sharan Sanjay Mishra Vanita Srivastava Pravrajika Shraddhaprana Neetu Chandra Adhyayan Suman Pradeep Dubey Nikita Singh Dilip Sinha Kabeer Kaushik Syed Ata Ullah Shah Bukhari Ravi Shankar Prasad Sandeep Das Amardeep Jha Ram Kripal Yadav Sanjay Jaiswal Ashoka Ratan Rajput Shivendra Singh Dungarpur Neha Sargam Shyama Singh Narendra Prasad Abdul-Qādir Bēdil Sanjaya Lall Tarkeshwari Sinha Rohini Bhate Ashoka Prasad Anand Kumar Sunny M.R. Sharad Kumar Mika Singh Shatrughan Sinha Upamanyu Chatterjee Chandragupta Maurya Saanand Verma Ashok Sekhar Ganguly Ranjan Prasad Yadav Suraj Singh Mirza Faizan Chittabhushan Dasgupta Roshan Seth Bali Ram Bhagat Jagat Prakash Nadda Soni Singh
85
action count
action filter_type
action find_reverse
entity Patna
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Patna']
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u property:place_of_birth resource:Patna . ?u rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q320950
P36
Q515 Q486972 Q515
USER
Which cities are called the capital of more number of human settlements or cities than Trutnov ?
(c(Q486972)|c(Q515),P36,c(Q515))
action greater
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q486972
action find_reverse_tuple_counts
relation P36
type Q515
type Q515
action count
action filter_multi_types
action find_reverse
entity Q320950
relation P36
type Q486972
type Q515
[[{'concept': 'Q486972'}, {'concept': 'Q515'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) ?c WHERE { { ?t property:P36 ?c . ?c rdf:type ontology:Q515 . ?t rdf:type ontology:Q486972 } UNION { ?t property:P36 ?c . ?c rdf:type ontology:Q515 . ?t rdf:type ontology:Q515 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { ?w property:P36 resource:Q320950 . { { ?w rdf:type ontology:Q486972 } UNION { ?w rdf:type ontology:Q515 } } } } . FILTER ( ?a > ?n ) }
Trutnov
action greater
action union
action find_reverse_tuple_counts
relation capital
type city
type human settlement
action find_reverse_tuple_counts
relation capital
type city
type city
action count
action filter_multi_types
action find_reverse
entity Trutnov
relation capital
type human settlement
type city
[[{'concept': 'human settlement'}, {'concept': 'city'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) ?c WHERE { { ?t property:capital ?c . ?c rdf:type ontology:city . ?t rdf:type ontology:human_settlement } UNION { ?t property:capital ?c . ?c rdf:type ontology:city . ?t rdf:type ontology:city } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { ?w property:capital resource:Trutnov . { { ?w rdf:type ontology:human_settlement } UNION { ?w rdf:type ontology:city } } } } . FILTER ( ?a > ?n ) }
[]
city human settlement city
Q25475 Q1410 Q52564
SYSTEM
Batumi, Gibraltar, Maloe Verevo
Q1410 Q52564 Q42750 Q25475
(c(Q486972)|c(Q515),P36,c(Q515))
action greater
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q486972
action find_reverse_tuple_counts
relation P36
type Q515
type Q515
action count
action filter_multi_types
action find_reverse
entity Q320950
relation P36
type Q486972
type Q515
[ANSWERS] are called the capital of more number of human settlements or cities than Trutnov
[[{'concept': 'Q486972'}, {'concept': 'Q515'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) ?c WHERE { { ?t property:P36 ?c . ?c rdf:type ontology:Q515 . ?t rdf:type ontology:Q486972 } UNION { ?t property:P36 ?c . ?c rdf:type ontology:Q515 . ?t rdf:type ontology:Q515 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { ?w property:P36 resource:Q320950 . { { ?w rdf:type ontology:Q486972 } UNION { ?w rdf:type ontology:Q515 } } } } . FILTER ( ?a > ?n ) }
Gibraltar Maloe Verevo Vojskovitsy Batumi
Batumi, Gibraltar and Maloe Verevo are called the capital of more number of human settlements or cities than Trutnov
Batumi Gibraltar Maloe Verevo
action greater
action union
action find_reverse_tuple_counts
relation capital
type city
type human settlement
action find_reverse_tuple_counts
relation capital
type city
type city
action count
action filter_multi_types
action find_reverse
entity Trutnov
relation capital
type human settlement
type city
[[{'concept': 'human settlement'}, {'concept': 'city'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) ?c WHERE { { ?t property:capital ?c . ?c rdf:type ontology:city . ?t rdf:type ontology:human_settlement } UNION { ?t property:capital ?c . ?c rdf:type ontology:city . ?t rdf:type ontology:city } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { ?w property:capital resource:Trutnov . { { ?w rdf:type ontology:human_settlement } UNION { ?w rdf:type ontology:city } } } } . FILTER ( ?a > ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q220445
P36
Q515 Q486972 Q515
USER
And what about Kuching?
(c(Q486972)|c(Q515),P36,c(Q515))
action greater
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q486972
action find_reverse_tuple_counts
relation P36
type Q515
type Q515
action count
action filter_multi_types
action find_reverse
entity Q220445
relation P36
type Q486972
type Q515
[[{'concept': 'Q486972'}, {'concept': 'Q515'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?i WHERE { ?b rdf:type ?u . VALUES ( ?u ) { ( ontology:Q515 ) ( ontology:Q486972 ) } } GROUP BY ?i } . FILTER ( ?y > ?k ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { { VALUES ( ?x ) { ( ontology:Q486972 ) ( ontology:Q515 ) } . ?q rdf:type ?x } . ?q property:P36 resource:Q220445 } } }
Kuching
action greater
action union
action find_reverse_tuple_counts
relation capital
type city
type human settlement
action find_reverse_tuple_counts
relation capital
type city
type city
action count
action filter_multi_types
action find_reverse
entity Kuching
relation capital
type human settlement
type city
[[{'concept': 'human settlement'}, {'concept': 'city'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?i WHERE { ?b rdf:type ?u . VALUES ( ?u ) { ( ontology:city ) ( ontology:human_settlement ) } } GROUP BY ?i } . FILTER ( ?y > ?k ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { { VALUES ( ?x ) { ( ontology:human_settlement ) ( ontology:city ) } . ?q rdf:type ?x } . ?q property:capital resource:Kuching } } }
[]
city human settlement city
Q25475 Q1410 Q52564
SYSTEM
Batumi, Gibraltar, Maloe Verevo
Q1410 Q52564 Q42750 Q25475
(c(Q486972)|c(Q515),P36,c(Q515))
action greater
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q486972
action find_reverse_tuple_counts
relation P36
type Q515
type Q515
action count
action filter_multi_types
action find_reverse
entity Q220445
relation P36
type Q486972
type Q515
[ANSWERS]
[[{'concept': 'Q486972'}, {'concept': 'Q515'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?i WHERE { ?b rdf:type ?u . VALUES ( ?u ) { ( ontology:Q515 ) ( ontology:Q486972 ) } } GROUP BY ?i } . FILTER ( ?y > ?k ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { { VALUES ( ?x ) { ( ontology:Q486972 ) ( ontology:Q515 ) } . ?q rdf:type ?x } . ?q property:P36 resource:Q220445 } } }
Gibraltar Maloe Verevo Vojskovitsy Batumi
Batumi Gibraltar Maloe Verevo
action greater
action union
action find_reverse_tuple_counts
relation capital
type city
type human settlement
action find_reverse_tuple_counts
relation capital
type city
type city
action count
action filter_multi_types
action find_reverse
entity Kuching
relation capital
type human settlement
type city
[[{'concept': 'human settlement'}, {'concept': 'city'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?i WHERE { ?b rdf:type ?u . VALUES ( ?u ) { ( ontology:city ) ( ontology:human_settlement ) } } GROUP BY ?i } . FILTER ( ?y > ?k ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { { VALUES ( ?x ) { ( ontology:human_settlement ) ( ontology:city ) } . ?q rdf:type ?x } . ?q property:capital resource:Kuching } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q734509
P102
Q7210356
USER
Which political organization is Jayaprakash Narayan a member of ?
(Q734509,P102,c(Q7210356))
action filter_type
action find
entity Q734509
relation P102
type Q7210356
['Q734509', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { resource:Q734509 property:P102 ?v . ?v rdf:type ontology:Q7210356 }
Jayaprakash Narayan
action filter_type
action find
entity Jayaprakash Narayan
relation member of political party
type political organization
['Jayaprakash Narayan', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { resource:Jayaprakash_Narayan property:member_of_political_party ?v . ?v rdf:type ontology:political_organization }
[]
political organization
Q10225
SYSTEM
Indian National Congress
Q10225
(Q734509,P102,c(Q7210356))
action filter_type
action find
entity Q734509
relation P102
type Q7210356
Of [ANSWER] is Jayaprakash Narayan a member of
['Q734509', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { resource:Q734509 property:P102 ?v . ?v rdf:type ontology:Q7210356 }
Indian National Congress
Of Indian National Congress is Jayaprakash Narayan a member of
Indian National Congress
action filter_type
action find
entity Jayaprakash Narayan
relation member of political party
type political organization
['Jayaprakash Narayan', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { resource:Jayaprakash_Narayan property:member_of_political_party ?v . ?v rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q10225 Q6951765
P102
Q502895
USER
Does N. Ramachandra Reddy belong to the political party that one ?
(Q6951765,P102,Q10225)
action is_in
entity Q10225
action find
entity Q6951765
relation P102
['Q6951765', 'P102', 'Q10225']
ASK WHERE { resource:Q6951765 property:P102 resource:Q10225 }
Indian National Congress N. Ramachandra Reddy
action is_in
entity Indian National Congress
action find
entity N. Ramachandra Reddy
relation member of political party
['N. Ramachandra Reddy', 'member of political party', 'Indian National Congress']
ASK WHERE { resource:N._Ramachandra_Reddy property:member_of_political_party resource:Indian_National_Congress }
[]
common name
SYSTEM
YES
(Q6951765,P102,Q10225)
action is_in
entity Q10225
action find
entity Q6951765
relation P102
[ANSWER]
['Q6951765', 'P102', 'Q10225']
ASK WHERE { resource:Q6951765 property:P102 resource:Q10225 }
Yes
action is_in
entity Indian National Congress
action find
entity N. Ramachandra Reddy
relation member of political party
['N. Ramachandra Reddy', 'member of political party', 'Indian National Congress']
ASK WHERE { resource:N._Ramachandra_Reddy property:member_of_political_party resource:Indian_National_Congress }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q279
P47
Q15617994
USER
Which administrative territories have a shared border with Modena ?
(Q279,P47,c(Q15617994))
action filter_type
action find
entity Q279
relation P47
type Q15617994
['Q279', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q279 property:P47 ?m . ?m rdf:type ontology:Q15617994 }
Modena
action filter_type
action find
entity Modena
relation shares border with
type designation for an administrative territorial entity
['Modena', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Modena property:shares_border_with ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q100055 Q100041 Q100043
SYSTEM
Formigine, Carpi, Castelfranco Emilia
Q111150 Q100041 Q111275 Q100043 Q100044 Q100080 Q100055 Q100108 Q100109 Q100092 Q100038 Q100039
(Q279,P47,c(Q15617994))
action filter_type
action find
entity Q279
relation P47
type Q15617994
[ANSWERS] have a shared border with Modena
['Q279', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q279 property:P47 ?m . ?m rdf:type ontology:Q15617994 }
Casalgrande Carpi Rubiera Castelfranco Emilia Castelnuovo Rangone Nonantola Formigine Soliera Spilamberto San Cesario sul Panaro Bomporto Campogalliano
Formigine, Carpi and Castelfranco Emilia have a shared border with Modena
Formigine Carpi Castelfranco Emilia
action filter_type
action find
entity Modena
relation shares border with
type designation for an administrative territorial entity
['Modena', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Modena property:shares_border_with ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q80484
P21 P20
Q502895
USER
Which people died in Patna and are a male ?
AND((c(Q502895),P20,Q80484), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q80484
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q80484'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?u WHERE { ?u property:P20 resource:Q80484 . ?u property:P21 resource:Q6581097 . ?u rdf:type ontology:Q502895 }
male Patna
action filter_type
action intersection
action find_reverse
entity Patna
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Patna'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?u WHERE { ?u property:place_of_death resource:Patna . ?u property:gender resource:male . ?u rdf:type ontology:common_name }
[]
common name
Q7288606 Q1068309 Q6726422 Q6733042 Q4806139 Q118617 Q5266867 Q18926949 Q16008796 Q197736
SYSTEM
Some of them are Ram Sundar Das, Chaturanan Mishra, Madan Prasad Jaiswal, Mahamaya Prasad Sinha, Ashutosh Mukherjee, Anastasius Hartmann, Devendranath Sharma, Shailendra Nath Shrivastava, Badri Narain Sinha, Rajendra Prasad
Q7288606 Q7709412 Q6726422 Q23038255 Q734509 Q1068309 Q8589 Q16008796 Q4673551 Q7399427 Q816866 Q7426954 Q5266867 Q6122156 Q5224163 Q118617 Q16019283 Q6733042 Q18926949 Q197736 Q4806139 Q4777746 Q7289463
AND((c(Q502895),P20,Q80484), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q80484
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] died in Patna and are a male
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q80484'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?u WHERE { ?u property:P20 resource:Q80484 . ?u property:P21 resource:Q6581097 . ?u rdf:type ontology:Q502895 }
Ram Sundar Das Thakur Jugal Kishore Sinha Madan Prasad Jaiswal Chandrasekhar Singh Jayaprakash Narayan Chaturanan Mishra Ashoka Badri Narain Sinha Acharya Shivpujan Sahay Sahajanand Saraswati Benedict John Osta Satyendra Narayan Sinha Devendranath Sharma Jagannath Sarkar Daroga Prasad Rai Anastasius Hartmann Wahab Ashrafi Mahamaya Prasad Sinha Shailendra Nath Shrivastava Rajendra Prasad Ashutosh Mukherjee Anugrah Narayan Sinha Rameshwar Prasad Sinha
Ram Sundar Das, Chaturanan Mishra, Madan Prasad Jaiswal, Mahamaya Prasad Sinha, Ashutosh Mukherjee, Anastasius Hartmann, Devendranath Sharma, Shailendra Nath Shrivastava, Badri Narain Sinha and Rajendra Prasad died in Patna and are a male
Ram Sundar Das Chaturanan Mishra Madan Prasad Jaiswal Mahamaya Prasad Sinha Ashutosh Mukherjee Anastasius Hartmann Devendranath Sharma Shailendra Nath Shrivastava Badri Narain Sinha Rajendra Prasad
action filter_type
action intersection
action find_reverse
entity Patna
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Patna'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?u WHERE { ?u property:place_of_death resource:Patna . ?u property:gender resource:male . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q7288606 Q1068309 Q6726422 Q6733042 Q4806139 Q118617 Q5266867 Q18926949 Q16008796 Q197736
P21
Q290
USER
Which sexes do Ram Sundar Das, Chaturanan Mishra, Madan Prasad Jaiswal, Mahamaya Prasad Sinha, Ashutosh Mukherjee, Anastasius Hartmann, Devendranath Sharma, Shailendra Nath Shrivastava, Badri Narain Sinha and Rajendra Prasad have ?
(Q7288606,P21,c(Q290)) (Q1068309,P21,c(Q290)) (Q6726422,P21,c(Q290)) (Q6733042,P21,c(Q290)) (Q4806139,P21,c(Q290)) (Q118617,P21,c(Q290)) (Q5266867,P21,c(Q290)) (Q18926949,P21,c(Q290)) (Q16008796,P21,c(Q290)) (Q197736,P21,c(Q290))
action union
action filter_type
action find
entity Q7288606
relation P21
type Q290
action filter_type
action find
entity Q1068309
relation P21
type Q290
action filter_type
action find
entity Q6726422
relation P21
type Q290
action filter_type
action find
entity Q6733042
relation P21
type Q290
action filter_type
action find
entity Q4806139
relation P21
type Q290
action filter_type
action find
entity Q118617
relation P21
type Q290
action filter_type
action find
entity Q5266867
relation P21
type Q290
action filter_type
action find
entity Q18926949
relation P21
type Q290
action filter_type
action find
entity Q16008796
relation P21
type Q290
action filter_type
action find
entity Q197736
relation P21
type Q290
['Q7288606', 'P21', {'concept': 'Q290'}] ['Q1068309', 'P21', {'concept': 'Q290'}] ['Q6726422', 'P21', {'concept': 'Q290'}] ['Q6733042', 'P21', {'concept': 'Q290'}] ['Q4806139', 'P21', {'concept': 'Q290'}] ['Q118617', 'P21', {'concept': 'Q290'}] ['Q5266867', 'P21', {'concept': 'Q290'}] ['Q18926949', 'P21', {'concept': 'Q290'}] ['Q16008796', 'P21', {'concept': 'Q290'}] ['Q197736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?n ) { ( resource:Q7288606 ) ( resource:Q1068309 ) } . ?n property:P21 ?k }
Ram Sundar Das Chaturanan Mishra Madan Prasad Jaiswal Mahamaya Prasad Sinha Ashutosh Mukherjee Anastasius Hartmann Devendranath Sharma Shailendra Nath Shrivastava Badri Narain Sinha Rajendra Prasad
action union
action filter_type
action find
entity Ram Sundar Das
relation gender
type sex
action filter_type
action find
entity Chaturanan Mishra
relation gender
type sex
action filter_type
action find
entity Madan Prasad Jaiswal
relation gender
type sex
action filter_type
action find
entity Mahamaya Prasad Sinha
relation gender
type sex
action filter_type
action find
entity Ashutosh Mukherjee
relation gender
type sex
action filter_type
action find
entity Anastasius Hartmann
relation gender
type sex
action filter_type
action find
entity Devendranath Sharma
relation gender
type sex
action filter_type
action find
entity Shailendra Nath Shrivastava
relation gender
type sex
action filter_type
action find
entity Badri Narain Sinha
relation gender
type sex
action filter_type
action find
entity Rajendra Prasad
relation gender
type sex
['Ram Sundar Das', 'gender', {'concept': 'sex'}] ['Chaturanan Mishra', 'gender', {'concept': 'sex'}] ['Madan Prasad Jaiswal', 'gender', {'concept': 'sex'}] ['Mahamaya Prasad Sinha', 'gender', {'concept': 'sex'}] ['Ashutosh Mukherjee', 'gender', {'concept': 'sex'}] ['Anastasius Hartmann', 'gender', {'concept': 'sex'}] ['Devendranath Sharma', 'gender', {'concept': 'sex'}] ['Shailendra Nath Shrivastava', 'gender', {'concept': 'sex'}] ['Badri Narain Sinha', 'gender', {'concept': 'sex'}] ['Rajendra Prasad', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?n ) { ( resource:Ram_Sundar_Das ) ( resource:Chaturanan_Mishra ) } . ?n property:gender ?k }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097
(Q7288606,P21,c(Q290)) (Q1068309,P21,c(Q290)) (Q6726422,P21,c(Q290)) (Q6733042,P21,c(Q290)) (Q4806139,P21,c(Q290)) (Q118617,P21,c(Q290)) (Q5266867,P21,c(Q290)) (Q18926949,P21,c(Q290)) (Q16008796,P21,c(Q290)) (Q197736,P21,c(Q290))
action union
action filter_type
action find
entity Q7288606
relation P21
type Q290
action filter_type
action find
entity Q1068309
relation P21
type Q290
action filter_type
action find
entity Q6726422
relation P21
type Q290
action filter_type
action find
entity Q6733042
relation P21
type Q290
action filter_type
action find
entity Q4806139
relation P21
type Q290
action filter_type
action find
entity Q118617
relation P21
type Q290
action filter_type
action find
entity Q5266867
relation P21
type Q290
action filter_type
action find
entity Q18926949
relation P21
type Q290
action filter_type
action find
entity Q16008796
relation P21
type Q290
action filter_type
action find
entity Q197736
relation P21
type Q290
Ram Sundar Das , Chaturanan Mishra , Madan Prasad Jaiswal , Mahamaya Prasad Sinha , Ashutosh Mukherjee , Anastasius Hartmann , Devendranath Sharma , Shailendra Nath Shrivastava Badri Narain Sinha and Rajendra Prasad have , in [ANSWER], [ANSWER] and [ANSWER]
['Q7288606', 'P21', {'concept': 'Q290'}] ['Q1068309', 'P21', {'concept': 'Q290'}] ['Q6726422', 'P21', {'concept': 'Q290'}] ['Q6733042', 'P21', {'concept': 'Q290'}] ['Q4806139', 'P21', {'concept': 'Q290'}] ['Q118617', 'P21', {'concept': 'Q290'}] ['Q5266867', 'P21', {'concept': 'Q290'}] ['Q18926949', 'P21', {'concept': 'Q290'}] ['Q16008796', 'P21', {'concept': 'Q290'}] ['Q197736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?n ) { ( resource:Q7288606 ) ( resource:Q1068309 ) } . ?n property:P21 ?k }
male male male male male male male male male male
Ram Sundar Das , Chaturanan Mishra , Madan Prasad Jaiswal , Mahamaya Prasad Sinha , Ashutosh Mukherjee , Anastasius Hartmann , Devendranath Sharma , Shailendra Nath Shrivastava Badri Narain Sinha and Rajendra Prasad have , in male, male and male
male male male
action union
action filter_type
action find
entity Ram Sundar Das
relation gender
type sex
action filter_type
action find
entity Chaturanan Mishra
relation gender
type sex
action filter_type
action find
entity Madan Prasad Jaiswal
relation gender
type sex
action filter_type
action find
entity Mahamaya Prasad Sinha
relation gender
type sex
action filter_type
action find
entity Ashutosh Mukherjee
relation gender
type sex
action filter_type
action find
entity Anastasius Hartmann
relation gender
type sex
action filter_type
action find
entity Devendranath Sharma
relation gender
type sex
action filter_type
action find
entity Shailendra Nath Shrivastava
relation gender
type sex
action filter_type
action find
entity Badri Narain Sinha
relation gender
type sex
action filter_type
action find
entity Rajendra Prasad
relation gender
type sex
['Ram Sundar Das', 'gender', {'concept': 'sex'}] ['Chaturanan Mishra', 'gender', {'concept': 'sex'}] ['Madan Prasad Jaiswal', 'gender', {'concept': 'sex'}] ['Mahamaya Prasad Sinha', 'gender', {'concept': 'sex'}] ['Ashutosh Mukherjee', 'gender', {'concept': 'sex'}] ['Anastasius Hartmann', 'gender', {'concept': 'sex'}] ['Devendranath Sharma', 'gender', {'concept': 'sex'}] ['Shailendra Nath Shrivastava', 'gender', {'concept': 'sex'}] ['Badri Narain Sinha', 'gender', {'concept': 'sex'}] ['Rajendra Prasad', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?n ) { ( resource:Ram_Sundar_Das ) ( resource:Chaturanan_Mishra ) } . ?n property:gender ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q100041
P138
Q17444909
USER
Which astronomical object type is the eponym of Carpi ?
(c(Q17444909),P138,Q100041)
action filter_type
action find_reverse
entity Q100041
relation P138
type Q17444909
[{'concept': 'Q17444909'}, 'P138', 'Q100041']
SELECT DISTINCT ?j WHERE { ?j property:P138 resource:Q100041 . ?j rdf:type ontology:Q17444909 }
Carpi
action filter_type
action find_reverse
entity Carpi
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Carpi']
SELECT DISTINCT ?j WHERE { ?j property:named_after resource:Carpi . ?j rdf:type ontology:astronomical_object_type }
[]
astronomical object type
Q2610580
SYSTEM
66207 Carpi
Q2610580
(c(Q17444909),P138,Q100041)
action filter_type
action find_reverse
entity Q100041
relation P138
type Q17444909
[ANSWER] is the eponym of Carpi
[{'concept': 'Q17444909'}, 'P138', 'Q100041']
SELECT DISTINCT ?j WHERE { ?j property:P138 resource:Q100041 . ?j rdf:type ontology:Q17444909 }
66207 Carpi
66207 Carpi is the eponym of Carpi
66207 Carpi
action filter_type
action find_reverse
entity Carpi
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Carpi']
SELECT DISTINCT ?j WHERE { ?j property:named_after resource:Carpi . ?j rdf:type ontology:astronomical_object_type }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10225
P127
Q732577
USER
Which publication is owned by Indian National Congress ?
(c(Q732577),P127,Q10225)
action filter_type
action find_reverse
entity Q10225
relation P127
type Q732577
[{'concept': 'Q732577'}, 'P127', 'Q10225']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q732577 . ?g property:P127 resource:Q10225 }
Indian National Congress
action filter_type
action find_reverse
entity Indian National Congress
relation owned by
type publication
[{'concept': 'publication'}, 'owned by', 'Indian National Congress']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:publication . ?g property:owned_by resource:Indian_National_Congress }
[]
publication
Q12436127
SYSTEM
The National Herald
Q12436127
(c(Q732577),P127,Q10225)
action filter_type
action find_reverse
entity Q10225
relation P127
type Q732577
Is [ANSWER] is owned by Indian National Congress
[{'concept': 'Q732577'}, 'P127', 'Q10225']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q732577 . ?g property:P127 resource:Q10225 }
The National Herald
Is The National Herald is owned by Indian National Congress
The National Herald
action filter_type
action find_reverse
entity Indian National Congress
relation owned by
type publication
[{'concept': 'publication'}, 'owned by', 'Indian National Congress']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:publication . ?g property:owned_by resource:Indian_National_Congress }
[]