Simple Question (Direct)
Simple Question
Q7710202
P161
Q502895
USER
Who starred in Thandavam ?
(Q7710202,P161,c(Q502895))
action filter_type
action find
entity Q7710202
relation P161
type Q502895
['Q7710202', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q7710202 property:P161 ?d }
Thandavam
action filter_type
action find
entity Thandavam
relation cast member
type common name
['Thandavam', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:Thandavam property:cast_member ?d }
[]
common name
Q2050534 Q12072044 Q3530961
SYSTEM
Mohanlal, Nedumudi Venu, Saikumar
Q6751173 Q6414820 Q2050534 Q6122089 Q12072044 Q3530961
(Q7710202,P161,c(Q502895))
action filter_type
action find
entity Q7710202
relation P161
type Q502895
[ANSWERS] starred in Thandavam
['Q7710202', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q7710202 property:P161 ?d }
Manoj K. Jayan Kiran Rathod Mohanlal Jagadish Nedumudi Venu Saikumar
Mohanlal, Nedumudi Venu and Saikumar starred in Thandavam
Mohanlal Nedumudi Venu Saikumar
action filter_type
action find
entity Thandavam
relation cast member
type common name
['Thandavam', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:Thandavam property:cast_member ?d }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2050534 Q12072044 Q3530961
P19
Q56061
USER
Which administrative territories were Mohanlal, Nedumudi Venu and Saikumar born in ?
(Q2050534,P19,c(Q56061)) (Q12072044,P19,c(Q56061)) (Q3530961,P19,c(Q56061))
action union
action filter_type
action find
entity Q2050534
relation P19
type Q56061
action filter_type
action find
entity Q12072044
relation P19
type Q56061
action filter_type
action find
entity Q3530961
relation P19
type Q56061
['Q2050534', 'P19', {'concept': 'Q56061'}] ['Q12072044', 'P19', {'concept': 'Q56061'}] ['Q3530961', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?d ) { ( resource:Q12072044 ) ( resource:Q2050534 ) } . ?d property:P19 ?n }
Mohanlal Nedumudi Venu Saikumar
action union
action filter_type
action find
entity Mohanlal
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Nedumudi Venu
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Saikumar
relation place of birth
type administrative territorial entity
['Mohanlal', 'place of birth', {'concept': 'administrative territorial entity'}] ['Nedumudi Venu', 'place of birth', {'concept': 'administrative territorial entity'}] ['Saikumar', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?d ) { ( resource:Nedumudi_Venu ) ( resource:Mohanlal ) } . ?d property:place_of_birth ?n }
[]
administrative territorial entity
Q5353461 Q585026 Q719744
SYSTEM
Elanthoor, Alappuzha, Kottarakkara
Q5353461 Q585026 Q719744
(Q2050534,P19,c(Q56061)) (Q12072044,P19,c(Q56061)) (Q3530961,P19,c(Q56061))
action union
action filter_type
action find
entity Q2050534
relation P19
type Q56061
action filter_type
action find
entity Q12072044
relation P19
type Q56061
action filter_type
action find
entity Q3530961
relation P19
type Q56061
[ANSWERS] were Mohanlal, Nedumudi Venu and Saikumar born in
['Q2050534', 'P19', {'concept': 'Q56061'}] ['Q12072044', 'P19', {'concept': 'Q56061'}] ['Q3530961', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?d ) { ( resource:Q12072044 ) ( resource:Q2050534 ) } . ?d property:P19 ?n }
Elanthoor Alappuzha Kottarakkara
Elanthoor, Alappuzha and Kottarakkara were Mohanlal, Nedumudi Venu and Saikumar born in
Elanthoor Alappuzha Kottarakkara
action union
action filter_type
action find
entity Mohanlal
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Nedumudi Venu
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Saikumar
relation place of birth
type administrative territorial entity
['Mohanlal', 'place of birth', {'concept': 'administrative territorial entity'}] ['Nedumudi Venu', 'place of birth', {'concept': 'administrative territorial entity'}] ['Saikumar', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?d ) { ( resource:Nedumudi_Venu ) ( resource:Mohanlal ) } . ?d property:place_of_birth ?n }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5353461 Q585026 Q719744
P17
Q15617994
USER
Which administrative territories are Elanthoor, Alappuzha and Kottarakkara situated in ?
(Q5353461,P17,c(Q15617994)) (Q585026,P17,c(Q15617994)) (Q719744,P17,c(Q15617994))
action union
action filter_type
action find
entity Q5353461
relation P17
type Q15617994
action filter_type
action find
entity Q585026
relation P17
type Q15617994
action filter_type
action find
entity Q719744
relation P17
type Q15617994
['Q5353461', 'P17', {'concept': 'Q15617994'}] ['Q585026', 'P17', {'concept': 'Q15617994'}] ['Q719744', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { resource:Q5353461 property:P17 ?n . ?n rdf:type ontology:Q15617994 } UNION { resource:Q585026 property:P17 ?n . ?n rdf:type ontology:Q15617994 } }
Elanthoor Alappuzha Kottarakkara
action union
action filter_type
action find
entity Elanthoor
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Alappuzha
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Kottarakkara
relation country
type designation for an administrative territorial entity
['Elanthoor', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Alappuzha', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Kottarakkara', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { resource:Elanthoor property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Alappuzha property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q668 Q668 Q668
SYSTEM
India
Q668 Q668 Q668
(Q5353461,P17,c(Q15617994)) (Q585026,P17,c(Q15617994)) (Q719744,P17,c(Q15617994))
action union
action filter_type
action find
entity Q5353461
relation P17
type Q15617994
action filter_type
action find
entity Q585026
relation P17
type Q15617994
action filter_type
action find
entity Q719744
relation P17
type Q15617994
Elanthoor , Alappuzha and Kottarakkara are situated in [ANSWER], [ANSWER] and [ANSWER]
['Q5353461', 'P17', {'concept': 'Q15617994'}] ['Q585026', 'P17', {'concept': 'Q15617994'}] ['Q719744', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { resource:Q5353461 property:P17 ?n . ?n rdf:type ontology:Q15617994 } UNION { resource:Q585026 property:P17 ?n . ?n rdf:type ontology:Q15617994 } }
India India India
Elanthoor , Alappuzha and Kottarakkara are situated in India, India and India
India India India
action union
action filter_type
action find
entity Elanthoor
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Alappuzha
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Kottarakkara
relation country
type designation for an administrative territorial entity
['Elanthoor', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Alappuzha', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Kottarakkara', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { resource:Elanthoor property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Alappuzha property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2050534
P27
Q15617994
USER
Which administrative territory is Mohanlal an inhabitant of ?
(Q2050534,P27,c(Q15617994))
action filter_type
action find
entity Q2050534
relation P27
type Q15617994
['Q2050534', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q2050534 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Mohanlal
action filter_type
action find
entity Mohanlal
relation country of citizenship
type designation for an administrative territorial entity
['Mohanlal', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Mohanlal property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q668
SYSTEM
India
Q668
(Q2050534,P27,c(Q15617994))
action filter_type
action find
entity Q2050534
relation P27
type Q15617994
[ANSWER] is Mohanlal an inhabitant of
['Q2050534', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q2050534 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
India
India is Mohanlal an inhabitant of
India
action filter_type
action find
entity Mohanlal
relation country of citizenship
type designation for an administrative territorial entity
['Mohanlal', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Mohanlal property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q668 Q917 Q837
P47
Q15617994
USER
Does that administrative territory have an adjacent border with Bhutan and Nepal ?
(Q668,P47,Q917) (Q668,P47,Q837)
action is_in
entity Q668
action intersection
action find_reverse
entity Q917
relation P47
action find_reverse
entity Q837
relation P47
['Q668', 'P47', 'Q917'] ['Q668', 'P47', 'Q837']
ASK WHERE { resource:Q668 property:P47 resource:Q917 . resource:Q668 property:P47 resource:Q837 }
India Bhutan Nepal
action is_in
entity India
action intersection
action find_reverse
entity Bhutan
relation shares border with
action find_reverse
entity Nepal
relation shares border with
['India', 'shares border with', 'Bhutan'] ['India', 'shares border with', 'Nepal']
ASK WHERE { resource:India property:shares_border_with resource:Bhutan . resource:India property:shares_border_with resource:Nepal }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q668,P47,Q917) (Q668,P47,Q837)
action is_in
entity Q668
action intersection
action find_reverse
entity Q917
relation P47
action find_reverse
entity Q837
relation P47
[ANSWER]
['Q668', 'P47', 'Q917'] ['Q668', 'P47', 'Q837']
ASK WHERE { resource:Q668 property:P47 resource:Q917 . resource:Q668 property:P47 resource:Q837 }
Yes
action is_in
entity India
action intersection
action find_reverse
entity Bhutan
relation shares border with
action find_reverse
entity Nepal
relation shares border with
['India', 'shares border with', 'Bhutan'] ['India', 'shares border with', 'Nepal']
ASK WHERE { resource:India property:shares_border_with resource:Bhutan . resource:India property:shares_border_with resource:Nepal }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2050534 Q2480330
P1412
Q34770
USER
Does Mohanlal speak in Oligosynthetic language ?
(Q2050534,P1412,Q2480330)
action is_in
entity Q2480330
action find
entity Q2050534
relation P1412
['Q2050534', 'P1412', 'Q2480330']
ASK WHERE { resource:Q2050534 property:P1412 resource:Q2480330 }
Mohanlal Oligosynthetic language
action is_in
entity Oligosynthetic language
action find
entity Mohanlal
relation languages spoken, written or signed
['Mohanlal', 'languages spoken, written or signed', 'Oligosynthetic language']
ASK WHERE { resource:Mohanlal property:languages_spoken,_written_or_signed resource:Oligosynthetic_language }
[]
language
SYSTEM
NO
(Q2050534,P1412,Q2480330)
action is_in
entity Q2480330
action find
entity Q2050534
relation P1412
[ANSWER]
['Q2050534', 'P1412', 'Q2480330']
ASK WHERE { resource:Q2050534 property:P1412 resource:Q2480330 }
No
action is_in
entity Oligosynthetic language
action find
entity Mohanlal
relation languages spoken, written or signed
['Mohanlal', 'languages spoken, written or signed', 'Oligosynthetic language']
ASK WHERE { resource:Mohanlal property:languages_spoken,_written_or_signed resource:Oligosynthetic_language }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q585026 Q631610 Q928959
P1376
Q13220204
USER
Is Alappuzha the county seat for Laâyoune Province and Alappuzha district ?
(Q585026,P1376,Q631610) (Q585026,P1376,Q928959)
action is_in
entity Q585026
action intersection
action find_reverse
entity Q631610
relation P1376
action find_reverse
entity Q928959
relation P1376
['Q585026', 'P1376', 'Q631610'] ['Q585026', 'P1376', 'Q928959']
ASK WHERE { resource:Q585026 property:P1376 resource:Q631610 . resource:Q585026 property:P1376 resource:Q928959 }
Alappuzha Laâyoune Province Alappuzha district
action is_in
entity Alappuzha
action intersection
action find_reverse
entity Laâyoune Province
relation capital of
action find_reverse
entity Alappuzha district
relation capital of
['Alappuzha', 'capital of', 'Laâyoune Province'] ['Alappuzha', 'capital of', 'Alappuzha district']
ASK WHERE { resource:Alappuzha property:capital_of resource:Laâyoune_Province . resource:Alappuzha property:capital_of resource:Alappuzha_district }
[]
second-level administrative country subdivision
SYSTEM
NO and YES respectively
(Q585026,P1376,Q631610) (Q585026,P1376,Q928959)
action is_in
entity Q585026
action intersection
action find_reverse
entity Q631610
relation P1376
action find_reverse
entity Q928959
relation P1376
[ANSWER]
['Q585026', 'P1376', 'Q631610'] ['Q585026', 'P1376', 'Q928959']
ASK WHERE { resource:Q585026 property:P1376 resource:Q631610 . resource:Q585026 property:P1376 resource:Q928959 }
NO and YES respectively
action is_in
entity Alappuzha
action intersection
action find_reverse
entity Laâyoune Province
relation capital of
action find_reverse
entity Alappuzha district
relation capital of
['Alappuzha', 'capital of', 'Laâyoune Province'] ['Alappuzha', 'capital of', 'Alappuzha district']
ASK WHERE { resource:Alappuzha property:capital_of resource:Laâyoune_Province . resource:Alappuzha property:capital_of resource:Alappuzha_district }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q668
P1001
Q192350
USER
Which ministries have jurisdiction over India ?
(c(Q192350),P1001,Q668)
action filter_type
action find_reverse
entity Q668
relation P1001
type Q192350
[{'concept': 'Q192350'}, 'P1001', 'Q668']
SELECT DISTINCT ?a WHERE { ?a property:P1001 resource:Q668 . ?a rdf:type ontology:Q192350 }
India
action filter_type
action find_reverse
entity India
relation applies to jurisdiction
type ministry
[{'concept': 'ministry'}, 'applies to jurisdiction', 'India']
SELECT DISTINCT ?a WHERE { ?a property:applies_to_jurisdiction resource:India . ?a rdf:type ontology:ministry }
[]
ministry
Q3624238 Q2641653 Q2641068
SYSTEM
Ministry of Communications and Information Technology, Ministry of Defence, Ministry of Finance
Q3624238 Q2641653 Q2641068 Q7032562 Q3634069 Q6867517
(c(Q192350),P1001,Q668)
action filter_type
action find_reverse
entity Q668
relation P1001
type Q192350
[ANSWERS] have jurisdiction over India
[{'concept': 'Q192350'}, 'P1001', 'Q668']
SELECT DISTINCT ?a WHERE { ?a property:P1001 resource:Q668 . ?a rdf:type ontology:Q192350 }
Ministry of Communications and Information Technology Ministry of Defence Ministry of Finance Ministry of Law and Justice Ministry of Agriculture of India Ministry of Rural Development
Ministry of Communications and Information Technology, Ministry of Defence and Ministry of Finance have jurisdiction over India
Ministry of Communications and Information Technology Ministry of Defence Ministry of Finance
action filter_type
action find_reverse
entity India
relation applies to jurisdiction
type ministry
[{'concept': 'ministry'}, 'applies to jurisdiction', 'India']
SELECT DISTINCT ?a WHERE { ?a property:applies_to_jurisdiction resource:India . ?a rdf:type ontology:ministry }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2641653
P159
Q811430
USER
Where is the headquarter of that ministry located ?
(Q2641653,P159,c(Q811430))
action filter_type
action find
entity Q2641653
relation P159
type Q811430
['Q2641653', 'P159', {'concept': 'Q811430'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q811430 . resource:Q2641653 property:P159 ?i }
Ministry of Defence
action filter_type
action find
entity Ministry of Defence
relation headquarters location
type construction
['Ministry of Defence', 'headquarters location', {'concept': 'construction'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:construction . resource:Ministry_of_Defence property:headquarters_location ?i }
[]
construction
Clarification for simple ques.
Q2641653
SYSTEM
Did you mean Ministry of Defence ?
Q3624238 Q2641653 Q2641068
(Q3624238,P159,c(Q811430)) (Q2641653,P159,c(Q811430)) (Q2641068,P159,c(Q811430))
[ANSWER]
['Q3624238', 'P159', {'concept': 'Q811430'}] ['Q2641653', 'P159', {'concept': 'Q811430'}] ['Q2641068', 'P159', {'concept': 'Q811430'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q811430 . resource:Q2641653 property:P159 ?i }
Ministry of Communications and Information Technology Ministry of Defence Ministry of Finance
Did you mean Ministry of Defence ?
Ministry of Defence
['Ministry of Communications and Information Technology', 'headquarters location', {'concept': 'construction'}] ['Ministry of Defence', 'headquarters location', {'concept': 'construction'}] ['Ministry of Finance', 'headquarters location', {'concept': 'construction'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:construction . resource:Ministry_of_Defence property:headquarters_location ?i }
[]
Simple Question (Coreferenced)
USER
Yes
(Q2641653,P159,c(Q811430))
['Q2641653', 'P159', {'concept': 'Q811430'}]
['Ministry of Defence', 'headquarters location', {'concept': 'construction'}]
[]
Q15275798
SYSTEM
Secretariat Building
Q15275798
(Q2641653,P159,c(Q811430))
action filter_type
action find
entity Q2641653
relation P159
type Q811430
The headquarter of that ministry is located in [ANSWER]
['Q2641653', 'P159', {'concept': 'Q811430'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q811430 . resource:Q2641653 property:P159 ?i }
Secretariat Building
The headquarter of that ministry is located in Secretariat Building
Secretariat Building
action filter_type
action find
entity Ministry of Defence
relation headquarters location
type construction
['Ministry of Defence', 'headquarters location', {'concept': 'construction'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:construction . resource:Ministry_of_Defence property:headquarters_location ?i }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q15275798 Q505237 Q1800238
P17
Q15617994
USER
Is that construction present in Dammbach and Lagedi ?
(Q15275798,P17,Q505237) (Q15275798,P17,Q1800238)
action is_in
entity Q15275798
action intersection
action find_reverse
entity Q505237
relation P17
action find_reverse
entity Q1800238
relation P17
['Q15275798', 'P17', 'Q505237'] ['Q15275798', 'P17', 'Q1800238']
ASK WHERE { resource:Q15275798 property:P17 resource:Q505237 . resource:Q15275798 property:P17 resource:Q1800238 }
Secretariat Building Dammbach Lagedi
action is_in
entity Secretariat Building
action intersection
action find_reverse
entity Dammbach
relation country
action find_reverse
entity Lagedi
relation country
['Secretariat Building', 'country', 'Dammbach'] ['Secretariat Building', 'country', 'Lagedi']
ASK WHERE { resource:Secretariat_Building property:country resource:Dammbach . resource:Secretariat_Building property:country resource:Lagedi }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q15275798,P17,Q505237) (Q15275798,P17,Q1800238)
action is_in
entity Q15275798
action intersection
action find_reverse
entity Q505237
relation P17
action find_reverse
entity Q1800238
relation P17
[ANSWER]
['Q15275798', 'P17', 'Q505237'] ['Q15275798', 'P17', 'Q1800238']
ASK WHERE { resource:Q15275798 property:P17 resource:Q505237 . resource:Q15275798 property:P17 resource:Q1800238 }
No
action is_in
entity Secretariat Building
action intersection
action find_reverse
entity Dammbach
relation country
action find_reverse
entity Lagedi
relation country
['Secretariat Building', 'country', 'Dammbach'] ['Secretariat Building', 'country', 'Lagedi']
ASK WHERE { resource:Secretariat_Building property:country resource:Dammbach . resource:Secretariat_Building property:country resource:Lagedi }
[]