Simple Question (Direct)
Simple Question
Q24211347
P495
Q15617994
USER
What is the country of origin of Sabaash Naidu ?
(Q24211347,P495,c(Q15617994))
action filter_type
action find
entity Q24211347
relation P495
type Q15617994
['Q24211347', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q24211347 property:P495 ?k . ?k rdf:type ontology:Q15617994 }
Sabaash Naidu
action filter_type
action find
entity Sabaash Naidu
relation country of origin
type designation for an administrative territorial entity
['Sabaash Naidu', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Sabaash_Naidu property:country_of_origin ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q668
SYSTEM
India
Q668
(Q24211347,P495,c(Q15617994))
action filter_type
action find
entity Q24211347
relation P495
type Q15617994
The country of origin of Sabaash Naidu is from [ANSWER]
['Q24211347', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q24211347 property:P495 ?k . ?k rdf:type ontology:Q15617994 }
India
The country of origin of Sabaash Naidu is from India
India
action filter_type
action find
entity Sabaash Naidu
relation country of origin
type designation for an administrative territorial entity
['Sabaash Naidu', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Sabaash_Naidu property:country_of_origin ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q24211347
P161
Q502895
USER
Which person was casted in Sabaash Naidu ?
(Q24211347,P161,c(Q502895))
action filter_type
action find
entity Q24211347
relation P161
type Q502895
['Q24211347', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q24211347 property:P161 ?b }
Sabaash Naidu
action filter_type
action find
entity Sabaash Naidu
relation cast member
type common name
['Sabaash Naidu', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Sabaash_Naidu property:cast_member ?b }
[]
common name
Q381477
SYSTEM
Kamal Haasan
Q381477
(Q24211347,P161,c(Q502895))
action filter_type
action find
entity Q24211347
relation P161
type Q502895
[ANSWER] was casted in Sabaash Naidu
['Q24211347', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q24211347 property:P161 ?b }
Kamal Haasan
Kamal Haasan was casted in Sabaash Naidu
Kamal Haasan
action filter_type
action find
entity Sabaash Naidu
relation cast member
type common name
['Sabaash Naidu', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Sabaash_Naidu property:cast_member ?b }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q82579
Q502895
USER
And what about Pokémon 4Ever?
(Q82579,P161,c(Q502895))
action filter_type
action find
entity Q82579
relation P161
type Q502895
['Q82579', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q82579 property:P161 ?v . ?v rdf:type ontology:Q502895 }
Pokémon 4Ever
action filter_type
action find
entity Pokémon 4Ever
relation cast member
type common name
['Pokémon 4Ever', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Pokémon_4Ever property:cast_member ?v . ?v rdf:type ontology:common_name }
[]
common name
Q266670 Q2204039 Q228512
SYSTEM
Megumi Hayashibara, Takashi Fujii, Mayumi Iizuka
Q1196972 Q2468115 Q1193042 Q7820341 Q1349299 Q233380 Q719326 Q725392 Q1325348 Q2204039 Q228512 Q1142547 Q266670 Q6455137 Q333194 Q1351041 Q49578 Q1370797 Q2462216 Q1342880 Q943714 Q284401 Q3800820
(Q82579,P161,c(Q502895))
action filter_type
action find
entity Q82579
relation P161
type Q502895
[ANSWERS]
['Q82579', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q82579 property:P161 ?v . ?v rdf:type ontology:Q502895 }
Yūji Ueda Mami Koyama Mika Kanai Tomoyuki Kōno Hisao Egawa Ikue Ōtani Shin-ichiro Miki Katsuyuki Konishi Ryōka Yuzuki Takashi Fujii Mayumi Iizuka Satomi Kōrogi Megumi Hayashibara Kōichi Sakaguchi Kōichi Yamadera Unshō Ishizuka Yumi Tōma Keiko Toda Kazuko Sugiyama Anne Suzuki Rica Matsumoto Tomokazu Seki Inuko Inuyama
Megumi Hayashibara Takashi Fujii Mayumi Iizuka
action filter_type
action find
entity Pokémon 4Ever
relation cast member
type common name
['Pokémon 4Ever', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Pokémon_4Ever property:cast_member ?v . ?v rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q8050230 Q82579
P495
Q15617994
USER
Which administrative territories are the countries of origin of Pokémon 4Ever or Yathra ?
OR((Q82579,P495,c(Q15617994)), (Q8050230,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q82579
relation P495
action find
entity Q8050230
relation P495
type Q15617994
{'OR': [['Q82579', 'P495', {'concept': 'Q15617994'}], ['Q8050230', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q8050230 property:P495 ?m } UNION { resource:Q82579 property:P495 ?m } } . ?m rdf:type ontology:Q15617994 }
Yathra Pokémon 4Ever
action filter_type
action union
action find
entity Pokémon 4Ever
relation country of origin
action find
entity Yathra
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Pokémon 4Ever', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Yathra', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Yathra property:country_of_origin ?m } UNION { resource:Pokémon_4Ever property:country_of_origin ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q668
SYSTEM
Japan, India
Q17 Q668
OR((Q82579,P495,c(Q15617994)), (Q8050230,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q82579
relation P495
action find
entity Q8050230
relation P495
type Q15617994
[ANSWERS] are the countries of origin of Pokémon 4Ever or Yathra
{'OR': [['Q82579', 'P495', {'concept': 'Q15617994'}], ['Q8050230', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q8050230 property:P495 ?m } UNION { resource:Q82579 property:P495 ?m } } . ?m rdf:type ontology:Q15617994 }
Japan India
Japan and India are the countries of origin of Pokémon 4Ever or Yathra
Japan India
action filter_type
action union
action find
entity Pokémon 4Ever
relation country of origin
action find
entity Yathra
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Pokémon 4Ever', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Yathra', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Yathra property:country_of_origin ?m } UNION { resource:Pokémon_4Ever property:country_of_origin ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q17 Q668
P463
Q43229
USER
Which organizations were those administrative territories a member of ?
(Q17,P463,c(Q43229)) (Q668,P463,c(Q43229))
action filter_type
action find
entity prev_answer
relation P463
type Q43229
['Q17', 'P463', {'concept': 'Q43229'}] ['Q668', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q43229 . VALUES ( ?b ) { ( resource:Q17 ) ( resource:Q668 ) } . ?b property:P463 ?l }
Japan India
action filter_type
action find
entity prev_answer
relation member of
type organization
['Japan', 'member of', {'concept': 'organization'}] ['India', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:organization . VALUES ( ?b ) { ( resource:Japan ) ( resource:India ) } . ?b property:member_of ?l }
[]
organization
Q7825 Q7825 Q41550
SYSTEM
World Trade Organization for 1st, 2nd, Organisation for Economic Co-operation and Development for 3rd
Q340195 Q191384 Q899770 Q41550 Q656801 Q7825 Q170481 Q827525 Q340195 Q191384 Q656801 Q7825 Q827525 Q243630
(Q17,P463,c(Q43229)) (Q668,P463,c(Q43229))
action filter_type
action find
entity prev_answer
relation P463
type Q43229
[ANSWERS]
['Q17', 'P463', {'concept': 'Q43229'}] ['Q668', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q43229 . VALUES ( ?b ) { ( resource:Q17 ) ( resource:Q668 ) } . ?b property:P463 ?l }
African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Organisation for Economic Co-operation and Development International Finance Corporation World Trade Organization Asia-Pacific Economic Cooperation International Development Association African Development Bank International Bank for Reconstruction and Development International Finance Corporation World Trade Organization International Development Association BRICS
World Trade Organization, World Trade Organization and Organisation for Economic Co-operation and Development were those administrative territories a member of
World Trade Organization World Trade Organization Organisation for Economic Co-operation and Development
action filter_type
action find
entity prev_answer
relation member of
type organization
['Japan', 'member of', {'concept': 'organization'}] ['India', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:organization . VALUES ( ?b ) { ( resource:Japan ) ( resource:India ) } . ?b property:member_of ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7825
P276
Q811430
USER
Which construction is the location of World Trade Organization ?
(Q7825,P276,c(Q811430))
action filter_type
action find
entity Q7825
relation P276
type Q811430
['Q7825', 'P276', {'concept': 'Q811430'}]
SELECT DISTINCT ?i WHERE { resource:Q7825 property:P276 ?i . ?i rdf:type ontology:Q811430 }
World Trade Organization
action filter_type
action find
entity World Trade Organization
relation location
type construction
['World Trade Organization', 'location', {'concept': 'construction'}]
SELECT DISTINCT ?i WHERE { resource:World_Trade_Organization property:location ?i . ?i rdf:type ontology:construction }
[]
construction
Q2944897
SYSTEM
Centre William Rappard
Q2944897
(Q7825,P276,c(Q811430))
action filter_type
action find
entity Q7825
relation P276
type Q811430
[ANSWER] is the location of World Trade Organization
['Q7825', 'P276', {'concept': 'Q811430'}]
SELECT DISTINCT ?i WHERE { resource:Q7825 property:P276 ?i . ?i rdf:type ontology:Q811430 }
Centre William Rappard
Centre William Rappard is the location of World Trade Organization
Centre William Rappard
action filter_type
action find
entity World Trade Organization
relation location
type construction
['World Trade Organization', 'location', {'concept': 'construction'}]
SELECT DISTINCT ?i WHERE { resource:World_Trade_Organization property:location ?i . ?i rdf:type ontology:construction }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21141739
Q811430
USER
And how about Monument to Victor Emmanuel II?
(Q21141739,P276,c(Q811430))
action filter_type
action find
entity Q21141739
relation P276
type Q811430
['Q21141739', 'P276', {'concept': 'Q811430'}]
SELECT DISTINCT ?l WHERE { resource:Q21141739 property:P276 ?l . ?l rdf:type ontology:Q811430 }
Monument to Victor Emmanuel II
action filter_type
action find
entity Monument to Victor Emmanuel II
relation location
type construction
['Monument to Victor Emmanuel II', 'location', {'concept': 'construction'}]
SELECT DISTINCT ?l WHERE { resource:Monument_to_Victor_Emmanuel_II property:location ?l . ?l rdf:type ontology:construction }
[]
construction
Q11001
SYSTEM
Riva degli Schiavoni
Q11001
(Q21141739,P276,c(Q811430))
action filter_type
action find
entity Q21141739
relation P276
type Q811430
[ANSWER]
['Q21141739', 'P276', {'concept': 'Q811430'}]
SELECT DISTINCT ?l WHERE { resource:Q21141739 property:P276 ?l . ?l rdf:type ontology:Q811430 }
Riva degli Schiavoni
Riva degli Schiavoni
action filter_type
action find
entity Monument to Victor Emmanuel II
relation location
type construction
['Monument to Victor Emmanuel II', 'location', {'concept': 'construction'}]
SELECT DISTINCT ?l WHERE { resource:Monument_to_Victor_Emmanuel_II property:location ?l . ?l rdf:type ontology:construction }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q11001 Q38
P17
Q15617994
USER
Is that construction a part of Italy ?
(Q11001,P17,Q38)
action is_in
entity Q38
action find
entity Q11001
relation P17
['Q11001', 'P17', 'Q38']
ASK WHERE { resource:Q11001 property:P17 resource:Q38 }
Riva degli Schiavoni Italy
action is_in
entity Italy
action find
entity Riva degli Schiavoni
relation country
['Riva degli Schiavoni', 'country', 'Italy']
ASK WHERE { resource:Riva_degli_Schiavoni property:country resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q11001,P17,Q38)
action is_in
entity Q38
action find
entity Q11001
relation P17
[ANSWER]
['Q11001', 'P17', 'Q38']
ASK WHERE { resource:Q11001 property:P17 resource:Q38 }
Yes
action is_in
entity Italy
action find
entity Riva degli Schiavoni
relation country
['Riva degli Schiavoni', 'country', 'Italy']
ASK WHERE { resource:Riva_degli_Schiavoni property:country resource:Italy }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q24211347 Q381477
P57
Q502895
USER
Was Kamal Haasan the director of Sabaash Naidu ?
(Q24211347,P57,Q381477)
action is_in
entity Q381477
action find
entity Q24211347
relation P57
['Q24211347', 'P57', 'Q381477']
ASK WHERE { resource:Q24211347 property:P57 resource:Q381477 }
Sabaash Naidu Kamal Haasan
action is_in
entity Kamal Haasan
action find
entity Sabaash Naidu
relation director
['Sabaash Naidu', 'director', 'Kamal Haasan']
ASK WHERE { resource:Sabaash_Naidu property:director resource:Kamal_Haasan }
[]
common name
SYSTEM
YES
(Q24211347,P57,Q381477)
action is_in
entity Q381477
action find
entity Q24211347
relation P57
[ANSWER]
['Q24211347', 'P57', 'Q381477']
ASK WHERE { resource:Q24211347 property:P57 resource:Q381477 }
Yes
action is_in
entity Kamal Haasan
action find
entity Sabaash Naidu
relation director
['Sabaash Naidu', 'director', 'Kamal Haasan']
ASK WHERE { resource:Sabaash_Naidu property:director resource:Kamal_Haasan }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q24806866 Q24211347
P57
Q502895
USER
Which people directed Sabaash Naidu or Kaththi Sandai ?
OR((Q24211347,P57,c(Q502895)), (Q24806866,P57,c(Q502895)))
action filter_type
action union
action find
entity Q24211347
relation P57
action find
entity Q24806866
relation P57
type Q502895
{'OR': [['Q24211347', 'P57', {'concept': 'Q502895'}], ['Q24806866', 'P57', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q24211347 property:P57 ?e } UNION { resource:Q24806866 property:P57 ?e } } . ?e rdf:type ontology:Q502895 }
Kaththi Sandai Sabaash Naidu
action filter_type
action union
action find
entity Sabaash Naidu
relation director
action find
entity Kaththi Sandai
relation director
type common name
{'OR': [['Sabaash Naidu', 'director', {'concept': 'common name'}], ['Kaththi Sandai', 'director', {'concept': 'common name'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Sabaash_Naidu property:director ?e } UNION { resource:Kaththi_Sandai property:director ?e } } . ?e rdf:type ontology:common_name }
[]
common name
Q381477 Q7645322
SYSTEM
Kamal Haasan, Suraj
Q381477 Q7645322
OR((Q24211347,P57,c(Q502895)), (Q24806866,P57,c(Q502895)))
action filter_type
action union
action find
entity Q24211347
relation P57
action find
entity Q24806866
relation P57
type Q502895
[ANSWERS] directed Sabaash Naidu or Kaththi Sandai
{'OR': [['Q24211347', 'P57', {'concept': 'Q502895'}], ['Q24806866', 'P57', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q24211347 property:P57 ?e } UNION { resource:Q24806866 property:P57 ?e } } . ?e rdf:type ontology:Q502895 }
Kamal Haasan Suraj
Kamal Haasan and Suraj directed Sabaash Naidu or Kaththi Sandai
Kamal Haasan Suraj
action filter_type
action union
action find
entity Sabaash Naidu
relation director
action find
entity Kaththi Sandai
relation director
type common name
{'OR': [['Sabaash Naidu', 'director', {'concept': 'common name'}], ['Kaththi Sandai', 'director', {'concept': 'common name'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Sabaash_Naidu property:director ?e } UNION { resource:Kaththi_Sandai property:director ?e } } . ?e rdf:type ontology:common_name }
[]