Simple Question (Direct)
Simple Question
Q4943693
P641
Q349
USER
Which sport did Boonmee Boonrod participate in ?
(Q4943693,P641,c(Q349))
action filter_type
action find
entity Q4943693
relation P641
type Q349
['Q4943693', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q349 . resource:Q4943693 property:P641 ?n }
Boonmee Boonrod
action filter_type
action find
entity Boonmee Boonrod
relation sport
type sport
['Boonmee Boonrod', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sport . resource:Boonmee_Boonrod property:sport ?n }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4943693,P641,c(Q349))
action filter_type
action find
entity Q4943693
relation P641
type Q349
Boonmee Boonrod participated in [ANSWER]
['Q4943693', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q349 . resource:Q4943693 property:P641 ?n }
association football
Boonmee Boonrod participated in association football
association football
action filter_type
action find
entity Boonmee Boonrod
relation sport
type sport
['Boonmee Boonrod', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sport . resource:Boonmee_Boonrod property:sport ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4943693
P21
Q290
USER
What is the sex of that person ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q4943693
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q4943693 property:P21 ?k . ?k rdf:type ontology:Q290 }
Boonmee Boonrod
action filter_type
action find
entity Boonmee Boonrod
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Boonmee_Boonrod property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q4943693
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q4943693 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Boonmee Boonrod
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Boonmee_Boonrod property:gender ?k . ?k rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2984178 Q4943693
P27 P17
Q15617994
USER
Which administrative territories are the countries of citizenship of Boonmee Boonrod or are Tomašica, Garešnica a part of ?
OR((Q4943693,P27,c(Q15617994)), (Q2984178,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4943693
relation P27
action find
entity Q2984178
relation P17
type Q15617994
{'OR': [['Q4943693', 'P27', {'concept': 'Q15617994'}], ['Q2984178', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q4943693 property:P27 ?k } UNION { resource:Q2984178 property:P17 ?k } } . ?k rdf:type ontology:Q15617994 }
Tomašica, Garešnica Boonmee Boonrod
action filter_type
action union
action find
entity Boonmee Boonrod
relation country of citizenship
action find
entity Tomašica, Garešnica
relation country
type designation for an administrative territorial entity
{'OR': [['Boonmee Boonrod', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Tomašica, Garešnica', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Boonmee_Boonrod property:country_of_citizenship ?k } UNION { resource:Tomašica,_Garešnica property:country ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q869 Q224
SYSTEM
Thailand, Croatia
Q869 Q224
OR((Q4943693,P27,c(Q15617994)), (Q2984178,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4943693
relation P27
action find
entity Q2984178
relation P17
type Q15617994
[ANSWERS] are the countries of citizenship of Boonmee Boonrod or are Tomašica, Garešnica a part of
{'OR': [['Q4943693', 'P27', {'concept': 'Q15617994'}], ['Q2984178', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q4943693 property:P27 ?k } UNION { resource:Q2984178 property:P17 ?k } } . ?k rdf:type ontology:Q15617994 }
Thailand Croatia
Thailand and Croatia are the countries of citizenship of Boonmee Boonrod or are Tomašica, Garešnica a part of
Thailand Croatia
action filter_type
action union
action find
entity Boonmee Boonrod
relation country of citizenship
action find
entity Tomašica, Garešnica
relation country
type designation for an administrative territorial entity
{'OR': [['Boonmee Boonrod', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Tomašica, Garešnica', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Boonmee_Boonrod property:country_of_citizenship ?k } UNION { resource:Tomašica,_Garešnica property:country ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q38
P530
Q15617994
USER
Do Italy have diplomatic relations with those ones ?
(Q38,P530,Q869) (Q38,P530,Q224)
action is_in
entity prev_answer
action find
entity Q38
relation P530
['Q38', 'P530', 'Q869'] ['Q38', 'P530', 'Q224']
ASK WHERE { resource:Q38 property:P530 ?q . VALUES ( ?q ) { ( resource:Q869 ) ( resource:Q224 ) } }
Italy
action is_in
entity prev_answer
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Thailand'] ['Italy', 'diplomatic relation', 'Croatia']
ASK WHERE { resource:Italy property:diplomatic_relation ?q . VALUES ( ?q ) { ( resource:Thailand ) ( resource:Croatia ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q38,P530,Q869) (Q38,P530,Q224)
action is_in
entity prev_answer
action find
entity Q38
relation P530
[ANSWER]
['Q38', 'P530', 'Q869'] ['Q38', 'P530', 'Q224']
ASK WHERE { resource:Q38 property:P530 ?q . VALUES ( ?q ) { ( resource:Q869 ) ( resource:Q224 ) } }
Yes
action is_in
entity prev_answer
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Thailand'] ['Italy', 'diplomatic relation', 'Croatia']
ASK WHERE { resource:Italy property:diplomatic_relation ?q . VALUES ( ?q ) { ( resource:Thailand ) ( resource:Croatia ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q869
P47
Q15617994
USER
Which administrative territories are next to the border of Thailand ?
(c(Q15617994),P47,Q869)
action filter_type
action find
entity Q869
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q869']
SELECT DISTINCT ?s WHERE { resource:Q869 property:P47 ?s . ?s rdf:type ontology:Q15617994 }
Thailand
action filter_type
action find
entity Thailand
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Thailand']
SELECT DISTINCT ?s WHERE { resource:Thailand property:shares_border_with ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q833 Q836 Q424
SYSTEM
Malaysia, Myanmar, Cambodia
Q833 Q836 Q424 Q819
(c(Q15617994),P47,Q869)
action filter_type
action find
entity Q869
relation P47
type Q15617994
[ANSWERS] are next to the border of Thailand
[{'concept': 'Q15617994'}, 'P47', 'Q869']
SELECT DISTINCT ?s WHERE { resource:Q869 property:P47 ?s . ?s rdf:type ontology:Q15617994 }
Malaysia Myanmar Cambodia Laos
Malaysia, Myanmar and Cambodia are next to the border of Thailand
Malaysia Myanmar Cambodia
action filter_type
action find
entity Thailand
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Thailand']
SELECT DISTINCT ?s WHERE { resource:Thailand property:shares_border_with ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q833
P610
Q14524493
USER
Which is the zenith of Malaysia ?
(Q833,P610,c(Q14524493))
action filter_type
action find
entity Q833
relation P610
type Q14524493
['Q833', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q14524493 . resource:Q833 property:P610 ?q }
Malaysia
action filter_type
action find
entity Malaysia
relation highest point
type terrain
['Malaysia', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:terrain . resource:Malaysia property:highest_point ?q }
[]
terrain
Q60967
SYSTEM
Mount Kinabalu
Q60967
(Q833,P610,c(Q14524493))
action filter_type
action find
entity Q833
relation P610
type Q14524493
The zenith of Malaysia is called [ANSWER]
['Q833', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q14524493 . resource:Q833 property:P610 ?q }
Mount Kinabalu
The zenith of Malaysia is called Mount Kinabalu
Mount Kinabalu
action filter_type
action find
entity Malaysia
relation highest point
type terrain
['Malaysia', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:terrain . resource:Malaysia property:highest_point ?q }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q60967 Q699220
P17
Q15617994
USER
Is that terrain located in Nienhagen ?
(Q60967,P17,Q699220)
action is_in
entity Q699220
action find
entity Q60967
relation P17
['Q60967', 'P17', 'Q699220']
ASK WHERE { resource:Q60967 property:P17 resource:Q699220 }
Mount Kinabalu Nienhagen
action is_in
entity Nienhagen
action find
entity Mount Kinabalu
relation country
['Mount Kinabalu', 'country', 'Nienhagen']
ASK WHERE { resource:Mount_Kinabalu property:country resource:Nienhagen }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q60967,P17,Q699220)
action is_in
entity Q699220
action find
entity Q60967
relation P17
[ANSWER]
['Q60967', 'P17', 'Q699220']
ASK WHERE { resource:Q60967 property:P17 resource:Q699220 }
No
action is_in
entity Nienhagen
action find
entity Mount Kinabalu
relation country
['Mount Kinabalu', 'country', 'Nienhagen']
ASK WHERE { resource:Mount_Kinabalu property:country resource:Nienhagen }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q869 Q408 Q183
P530
Q1048835
USER
Does Thailand have diplomatic relations with Australia and Germany ?
(Q869,P530,Q408) (Q869,P530,Q183)
action is_in
entity Q869
action intersection
action find_reverse
entity Q408
relation P530
action find_reverse
entity Q183
relation P530
['Q869', 'P530', 'Q408'] ['Q869', 'P530', 'Q183']
ASK WHERE { resource:Q869 property:P530 resource:Q408 . resource:Q869 property:P530 resource:Q183 }
Thailand Australia Germany
action is_in
entity Thailand
action intersection
action find_reverse
entity Australia
relation diplomatic relation
action find_reverse
entity Germany
relation diplomatic relation
['Thailand', 'diplomatic relation', 'Australia'] ['Thailand', 'diplomatic relation', 'Germany']
ASK WHERE { resource:Thailand property:diplomatic_relation resource:Australia . resource:Thailand property:diplomatic_relation resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q869,P530,Q408) (Q869,P530,Q183)
action is_in
entity Q869
action intersection
action find_reverse
entity Q408
relation P530
action find_reverse
entity Q183
relation P530
[ANSWER]
['Q869', 'P530', 'Q408'] ['Q869', 'P530', 'Q183']
ASK WHERE { resource:Q869 property:P530 resource:Q408 . resource:Q869 property:P530 resource:Q183 }
Yes
action is_in
entity Thailand
action intersection
action find_reverse
entity Australia
relation diplomatic relation
action find_reverse
entity Germany
relation diplomatic relation
['Thailand', 'diplomatic relation', 'Australia'] ['Thailand', 'diplomatic relation', 'Germany']
ASK WHERE { resource:Thailand property:diplomatic_relation resource:Australia . resource:Thailand property:diplomatic_relation resource:Germany }
[]