Simple Question (Direct)
Simple Question
Q17484501
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Samruay Chaiyong ?
(Q17484501,P27,c(Q15617994))
action filter_type
action find
entity Q17484501
relation P27
type Q15617994
['Q17484501', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q17484501 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Samruay Chaiyong
action filter_type
action find
entity Samruay Chaiyong
relation country of citizenship
type designation for an administrative territorial entity
['Samruay Chaiyong', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Samruay_Chaiyong property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q869
SYSTEM
Thailand
Q869
(Q17484501,P27,c(Q15617994))
action filter_type
action find
entity Q17484501
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Samruay Chaiyong
['Q17484501', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q17484501 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Thailand
Thailand is the country of citizenship of Samruay Chaiyong
Thailand
action filter_type
action find
entity Samruay Chaiyong
relation country of citizenship
type designation for an administrative territorial entity
['Samruay Chaiyong', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Samruay_Chaiyong property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q869
P530
Q1048835
USER
Who have a diplomatic relationship with that administrative territory ?
(Q869,P530,c(Q1048835))
action filter_type
action find
entity Q869
relation P530
type Q1048835
['Q869', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q869 property:P530 ?n . ?n rdf:type ontology:Q1048835 }
Thailand
action filter_type
action find
entity Thailand
relation diplomatic relation
type political territorial entity
['Thailand', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Thailand property:diplomatic_relation ?n . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q183
SYSTEM
Australia, Germany
Q408 Q183
(Q869,P530,c(Q1048835))
action filter_type
action find
entity Q869
relation P530
type Q1048835
[ANSWERS] have a diplomatic relationship with that administrative territory
['Q869', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q869 property:P530 ?n . ?n rdf:type ontology:Q1048835 }
Australia Germany
Australia and Germany have a diplomatic relationship with that administrative territory
Australia Germany
action filter_type
action find
entity Thailand
relation diplomatic relation
type political territorial entity
['Thailand', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Thailand property:diplomatic_relation ?n . ?n rdf:type ontology:political_territorial_entity }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P1427
Q1048835 Q878123 Q22348500
USER
Which political territories do greater number of racings or cycling race classes start than that political territory ?
(c(Q878123)|c(Q22348500),P1427,c(Q1048835))
[[{'concept': 'Q878123'}, {'concept': 'Q22348500'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P1427 ?y } UNION { ?x property:P1427 ?y } } . ?z rdf:type ontology:Q878123 . ?y rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q22348500 }
[[{'concept': 'racing'}, {'concept': 'cycling race class defined by the International Cycling Union'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:start_point ?y } UNION { ?x property:start_point ?y } } . ?z rdf:type ontology:racing . ?y rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union }
[]
political territorial entity racing cycling race class defined by the International Cycling Union
Comparative|More/Less|Mult. entity type|Clarification
Q408
SYSTEM
Did you mean Australia ?
(c(Q878123)|c(Q22348500),P1427,c(Q1048835))
[ANSWER]
[[{'concept': 'Q878123'}, {'concept': 'Q22348500'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P1427 ?y } UNION { ?x property:P1427 ?y } } . ?z rdf:type ontology:Q878123 . ?y rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q22348500 }
Did you mean Australia ?
Australia
[[{'concept': 'racing'}, {'concept': 'cycling race class defined by the International Cycling Union'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:start_point ?y } UNION { ?x property:start_point ?y } } . ?z rdf:type ontology:racing . ?y rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union }
[]
Comparative Reasoning (All)
USER
No, I meant Germany. Could you tell me the answer for that?
(c(Q878123)|c(Q22348500),P1427,c(Q1048835))
Q183
[[{'concept': 'Q878123'}, {'concept': 'Q22348500'}], 'P1427', {'concept': 'Q1048835'}]
[[{'concept': 'racing'}, {'concept': 'cycling race class defined by the International Cycling Union'}], 'start point', {'concept': 'political territorial entity'}]
[]
Q639412 Q77433 Q825883
SYSTEM
Tarazona, Leganés, Valls
Q1556707 Q937763 Q1628353 Q301437 Q1628379 Q536682 Q1765676 Q1442183 Q1766072 Q642046 Q1625868 Q956524 Q488555 Q1375842 Q739495 Q832991 Q474080 Q15486 Q499184 Q1629539 Q1621191 Q668016 Q490638 Q12540 Q77433 Q601112 Q1374736 Q533277 Q743741 Q484552 Q636467 Q648921 Q564773 Q13614 Q639412 Q825883 Q1771143 Q987453
(c(Q878123)|c(Q22348500),P1427,c(Q1048835))
[ANSWERS] do greater number of racings or cycling race classes start than that political territory
[[{'concept': 'Q878123'}, {'concept': 'Q22348500'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P1427 ?y } UNION { ?x property:P1427 ?y } } . ?z rdf:type ontology:Q878123 . ?y rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q22348500 }
Vila Nova de Cacela Graus Sasamón Priego de Córdoba Mairena del Alcor Belorado Torredelcampo Sober Santo Domingo de Silos Calahorra Alcañices Maella Baeza Ortigueira Vilanova de Arousa Sóller Amorebieta-Etxano Bagà Roquetas de Mar Salvaterra de Miño A Estrada Iurreta Almendralejo Calella Leganés Pollença Lalín Almonaster la Real Felanitx Algeciras Benicàssim Etxebarria Alhendín Banyoles Tarazona Valls Carboneras de Guadazaón San Javier
Tarazona, Leganés and Valls do greater number of racings or cycling race classes start than that political territory
Tarazona Leganés Valls
[[{'concept': 'racing'}, {'concept': 'cycling race class defined by the International Cycling Union'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:start_point ?y } UNION { ?x property:start_point ?y } } . ?z rdf:type ontology:racing . ?y rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P190
Q56061
USER
How many administrative territories are the sister cities of that political territory ?
(Q77433,P190,c(Q56061))
['Q77433', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q77433 property:P190 ?z . ?z rdf:type ontology:Q56061 }
['Leganés', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Leganés property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q825883
SYSTEM
Did you mean Valls ?
(Q639412,P190,c(Q56061)) (Q77433,P190,c(Q56061)) (Q825883,P190,c(Q56061))
[ANSWER]
['Q639412', 'P190', {'concept': 'Q56061'}] ['Q77433', 'P190', {'concept': 'Q56061'}] ['Q825883', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q77433 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Did you mean Valls ?
Valls
['Tarazona', 'sister city', {'concept': 'administrative territorial entity'}] ['Leganés', 'sister city', {'concept': 'administrative territorial entity'}] ['Valls', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Leganés property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Leganés. Could you tell me the answer for that?
(Q77433,P190,c(Q56061))
Q77433
['Q77433', 'P190', {'concept': 'Q56061'}]
['Leganés', 'sister city', {'concept': 'administrative territorial entity'}]
[]
SYSTEM
5
Q1010954 Q1356850 Q6722685 Q2544562 Q5776
(Q77433,P190,c(Q56061))
[ANSWER]
['Q77433', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q77433 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Somoto La Agüera Macará Targuist Bethlehem
5
['Leganés', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Leganés property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q476169 Q77433
P17
Q15617994
USER
Which administrative territories are Leganés or Nakhon Chai Si present in ?
OR((Q77433,P17,c(Q15617994)), (Q476169,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q77433
relation P17
action find
entity Q476169
relation P17
type Q15617994
{'OR': [['Q77433', 'P17', {'concept': 'Q15617994'}], ['Q476169', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q77433 property:P17 ?i } UNION { resource:Q476169 property:P17 ?i } } . ?i rdf:type ontology:Q15617994 }
Nakhon Chai Si Leganés
action filter_type
action union
action find
entity Leganés
relation country
action find
entity Nakhon Chai Si
relation country
type designation for an administrative territorial entity
{'OR': [['Leganés', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Nakhon Chai Si', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Leganés property:country ?i } UNION { resource:Nakhon_Chai_Si property:country ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q869 Q29
SYSTEM
Thailand, Spain
Q869 Q29
OR((Q77433,P17,c(Q15617994)), (Q476169,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q77433
relation P17
action find
entity Q476169
relation P17
type Q15617994
[ANSWERS] are Leganés or Nakhon Chai Si present in
{'OR': [['Q77433', 'P17', {'concept': 'Q15617994'}], ['Q476169', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q77433 property:P17 ?i } UNION { resource:Q476169 property:P17 ?i } } . ?i rdf:type ontology:Q15617994 }
Thailand Spain
Thailand and Spain are Leganés or Nakhon Chai Si present in
Thailand Spain
action filter_type
action union
action find
entity Leganés
relation country
action find
entity Nakhon Chai Si
relation country
type designation for an administrative territorial entity
{'OR': [['Leganés', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Nakhon Chai Si', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Leganés property:country ?i } UNION { resource:Nakhon_Chai_Si property:country ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q277038
P915
Q838948
USER
Did The Impossible have those administrative territories as their location of filming ?
(Q277038,P915,Q869) (Q277038,P915,Q29)
action is_in
entity prev_answer
action find
entity Q277038
relation P915
['Q277038', 'P915', 'Q869'] ['Q277038', 'P915', 'Q29']
ASK WHERE { VALUES ( ?t ) { ( resource:Q869 ) ( resource:Q29 ) } . resource:Q277038 property:P915 ?t }
The Impossible
action is_in
entity prev_answer
action find
entity The Impossible
relation filming location
['The Impossible', 'filming location', 'Thailand'] ['The Impossible', 'filming location', 'Spain']
ASK WHERE { VALUES ( ?t ) { ( resource:Thailand ) ( resource:Spain ) } . resource:The_Impossible property:filming_location ?t }
[]
work of art
SYSTEM
YES
(Q277038,P915,Q869) (Q277038,P915,Q29)
action is_in
entity prev_answer
action find
entity Q277038
relation P915
[ANSWER]
['Q277038', 'P915', 'Q869'] ['Q277038', 'P915', 'Q29']
ASK WHERE { VALUES ( ?t ) { ( resource:Q869 ) ( resource:Q29 ) } . resource:Q277038 property:P915 ?t }
Yes
action is_in
entity prev_answer
action find
entity The Impossible
relation filming location
['The Impossible', 'filming location', 'Thailand'] ['The Impossible', 'filming location', 'Spain']
ASK WHERE { VALUES ( ?t ) { ( resource:Thailand ) ( resource:Spain ) } . resource:The_Impossible property:filming_location ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q869
P551
Q502895
USER
Which people dwell at Thailand ?
(c(Q502895),P551,Q869)
action filter_type
action find_reverse
entity Q869
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q869']
SELECT DISTINCT ?z WHERE { ?z property:P551 resource:Q869 . ?z rdf:type ontology:Q502895 }
Thailand
action filter_type
action find_reverse
entity Thailand
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Thailand']
SELECT DISTINCT ?z WHERE { ?z property:residence resource:Thailand . ?z rdf:type ontology:common_name }
[]
common name
Q18325835 Q530413 Q6583776
SYSTEM
Gambhiro Bhikkhu, Palmy, Montinee Tangphong
Q7608130 Q18325835 Q530413 Q6583776
(c(Q502895),P551,Q869)
action filter_type
action find_reverse
entity Q869
relation P551
type Q502895
[ANSWERS] dwell at Thailand
[{'concept': 'Q502895'}, 'P551', 'Q869']
SELECT DISTINCT ?z WHERE { ?z property:P551 resource:Q869 . ?z rdf:type ontology:Q502895 }
Stephan Fox Gambhiro Bhikkhu Palmy Montinee Tangphong
Gambhiro Bhikkhu, Palmy and Montinee Tangphong dwell at Thailand
Gambhiro Bhikkhu Palmy Montinee Tangphong
action filter_type
action find_reverse
entity Thailand
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Thailand']
SELECT DISTINCT ?z WHERE { ?z property:residence resource:Thailand . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q18325835 Q530413 Q6583776
P551
Q15617994
USER
Where did those people live ?
(Q18325835,P551,c(Q15617994)) (Q530413,P551,c(Q15617994)) (Q6583776,P551,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P551
type Q15617994
['Q18325835', 'P551', {'concept': 'Q15617994'}] ['Q530413', 'P551', {'concept': 'Q15617994'}] ['Q6583776', 'P551', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?e property:P551 ?i . VALUES ( ?e ) { ( resource:Q7608130 ) ( resource:Q18325835 ) ( resource:Q530413 ) } . ?i rdf:type ontology:Q15617994 }
Gambhiro Bhikkhu Palmy Montinee Tangphong
action filter_type
action find
entity prev_answer
relation residence
type designation for an administrative territorial entity
['Gambhiro Bhikkhu', 'residence', {'concept': 'designation for an administrative territorial entity'}] ['Palmy', 'residence', {'concept': 'designation for an administrative territorial entity'}] ['Montinee Tangphong', 'residence', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?e property:residence ?i . VALUES ( ?e ) { ( resource:Stephan_Fox ) ( resource:Gambhiro_Bhikkhu ) ( resource:Palmy ) } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q869 Q869
SYSTEM
Thailand for 2nd, 3rd, Japan for 1st
Q869 Q17 Q869 Q869
(Q18325835,P551,c(Q15617994)) (Q530413,P551,c(Q15617994)) (Q6583776,P551,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P551
type Q15617994
[ANSWERS]
['Q18325835', 'P551', {'concept': 'Q15617994'}] ['Q530413', 'P551', {'concept': 'Q15617994'}] ['Q6583776', 'P551', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?e property:P551 ?i . VALUES ( ?e ) { ( resource:Q7608130 ) ( resource:Q18325835 ) ( resource:Q530413 ) } . ?i rdf:type ontology:Q15617994 }
Thailand Japan Thailand Thailand
Those people lived in Japan, Thailand and Thailand
Japan Thailand Thailand
action filter_type
action find
entity prev_answer
relation residence
type designation for an administrative territorial entity
['Gambhiro Bhikkhu', 'residence', {'concept': 'designation for an administrative territorial entity'}] ['Palmy', 'residence', {'concept': 'designation for an administrative territorial entity'}] ['Montinee Tangphong', 'residence', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?e property:residence ?i . VALUES ( ?e ) { ( resource:Stephan_Fox ) ( resource:Gambhiro_Bhikkhu ) ( resource:Palmy ) } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]