Simple Question (Direct)
Simple Question
Q16234931
P21
Q290
USER
What is the sex of Prince Nxumalo ?
(Q16234931,P21,c(Q290))
action filter_type
action find
entity Q16234931
relation P21
type Q290
['Q16234931', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q290 . resource:Q16234931 property:P21 ?d }
Prince Nxumalo
action filter_type
action find
entity Prince Nxumalo
relation gender
type sex
['Prince Nxumalo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sex . resource:Prince_Nxumalo property:gender ?d }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16234931,P21,c(Q290))
action filter_type
action find
entity Q16234931
relation P21
type Q290
The sex of Prince Nxumalo is the [ANSWER]
['Q16234931', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q290 . resource:Q16234931 property:P21 ?d }
male
The sex of Prince Nxumalo is the male
male
action filter_type
action find
entity Prince Nxumalo
relation gender
type sex
['Prince Nxumalo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sex . resource:Prince_Nxumalo property:gender ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16234931
P106
Q12737077
USER
What is the job of that person ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q16234931
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q16234931 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Prince Nxumalo
action filter_type
action find
entity Prince Nxumalo
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Prince_Nxumalo property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q16234931
relation P106
type Q12737077
The job of that person is an [ANSWER]
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q16234931 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
association football player
The job of that person is an association football player
association football player
action filter_type
action find
entity Prince Nxumalo
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Prince_Nxumalo property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16234931
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q16234931
relation P27
type Q15617994
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q16234931 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Prince Nxumalo
action filter_type
action find
entity Prince Nxumalo
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Prince_Nxumalo property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q258
SYSTEM
South Africa
Q258
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q16234931
relation P27
type Q15617994
[ANSWER] is that person an inhabitant of
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q16234931 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
South Africa
South Africa is that person an inhabitant of
South Africa
action filter_type
action find
entity Prince Nxumalo
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Prince_Nxumalo property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q902 Q258
P463
Q484652
USER
Which international organizations were South Africa and Bangladesh a member of ?
AND((Q258,P463,c(Q484652)), (Q902,P463,c(Q484652)))
action filter_type
action intersection
action find
entity Q258
relation P463
action find
entity Q902
relation P463
type Q484652
{'AND': [['Q258', 'P463', {'concept': 'Q484652'}], ['Q902', 'P463', {'concept': 'Q484652'}]]}
SELECT DISTINCT ?k WHERE { resource:Q258 property:P463 ?k . resource:Q902 property:P463 ?k . ?k rdf:type ontology:Q484652 }
Bangladesh South Africa
action filter_type
action intersection
action find
entity South Africa
relation member of
action find
entity Bangladesh
relation member of
type international organization
{'AND': [['South Africa', 'member of', {'concept': 'international organization'}], ['Bangladesh', 'member of', {'concept': 'international organization'}]]}
SELECT DISTINCT ?k WHERE { resource:South_Africa property:member_of ?k . resource:Bangladesh property:member_of ?k . ?k rdf:type ontology:international_organization }
[]
international organization
Q7785 Q1065 Q1043527
SYSTEM
Commonwealth of Nations, United Nations, Multilateral Investment Guarantee Agency
Q7785 Q1065 Q1043527
AND((Q258,P463,c(Q484652)), (Q902,P463,c(Q484652)))
action filter_type
action intersection
action find
entity Q258
relation P463
action find
entity Q902
relation P463
type Q484652
[ANSWERS] were South Africa and Bangladesh a member of
{'AND': [['Q258', 'P463', {'concept': 'Q484652'}], ['Q902', 'P463', {'concept': 'Q484652'}]]}
SELECT DISTINCT ?k WHERE { resource:Q258 property:P463 ?k . resource:Q902 property:P463 ?k . ?k rdf:type ontology:Q484652 }
Commonwealth of Nations United Nations Multilateral Investment Guarantee Agency
Commonwealth of Nations, United Nations and Multilateral Investment Guarantee Agency were South Africa and Bangladesh a member of
Commonwealth of Nations United Nations Multilateral Investment Guarantee Agency
action filter_type
action intersection
action find
entity South Africa
relation member of
action find
entity Bangladesh
relation member of
type international organization
{'AND': [['South Africa', 'member of', {'concept': 'international organization'}], ['Bangladesh', 'member of', {'concept': 'international organization'}]]}
SELECT DISTINCT ?k WHERE { resource:South_Africa property:member_of ?k . resource:Bangladesh property:member_of ?k . ?k rdf:type ontology:international_organization }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q229
P463
Q15617994
USER
Are Cyprus a part of those international organizations ?
(Q229,P463,Q7785) (Q229,P463,Q1065) (Q229,P463,Q1043527)
action is_in
entity prev_answer
action find
entity Q229
relation P463
['Q229', 'P463', 'Q7785'] ['Q229', 'P463', 'Q1065'] ['Q229', 'P463', 'Q1043527']
ASK WHERE { VALUES ( ?g ) { ( resource:Q7785 ) ( resource:Q1065 ) ( resource:Q1043527 ) } . resource:Q229 property:P463 ?g }
Cyprus
action is_in
entity prev_answer
action find
entity Cyprus
relation member of
['Cyprus', 'member of', 'Commonwealth of Nations'] ['Cyprus', 'member of', 'United Nations'] ['Cyprus', 'member of', 'Multilateral Investment Guarantee Agency']
ASK WHERE { VALUES ( ?g ) { ( resource:Commonwealth_of_Nations ) ( resource:United_Nations ) ( resource:Multilateral_Investment_Guarantee_Agency ) } . resource:Cyprus property:member_of ?g }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q229,P463,Q7785) (Q229,P463,Q1065) (Q229,P463,Q1043527)
action is_in
entity prev_answer
action find
entity Q229
relation P463
[ANSWER]
['Q229', 'P463', 'Q7785'] ['Q229', 'P463', 'Q1065'] ['Q229', 'P463', 'Q1043527']
ASK WHERE { VALUES ( ?g ) { ( resource:Q7785 ) ( resource:Q1065 ) ( resource:Q1043527 ) } . resource:Q229 property:P463 ?g }
Yes
action is_in
entity prev_answer
action find
entity Cyprus
relation member of
['Cyprus', 'member of', 'Commonwealth of Nations'] ['Cyprus', 'member of', 'United Nations'] ['Cyprus', 'member of', 'Multilateral Investment Guarantee Agency']
ASK WHERE { VALUES ( ?g ) { ( resource:Commonwealth_of_Nations ) ( resource:United_Nations ) ( resource:Multilateral_Investment_Guarantee_Agency ) } . resource:Cyprus property:member_of ?g }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q258 Q652090
P530
Q15617994
USER
Does Gelenberg hold diplomatic relationship with South Africa ?
(Q258,P530,Q652090)
action is_in
entity Q652090
action find
entity Q258
relation P530
['Q258', 'P530', 'Q652090']
ASK WHERE { resource:Q258 property:P530 resource:Q652090 }
South Africa Gelenberg
action is_in
entity Gelenberg
action find
entity South Africa
relation diplomatic relation
['South Africa', 'diplomatic relation', 'Gelenberg']
ASK WHERE { resource:South_Africa property:diplomatic_relation resource:Gelenberg }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q258,P530,Q652090)
action is_in
entity Q652090
action find
entity Q258
relation P530
[ANSWER]
['Q258', 'P530', 'Q652090']
ASK WHERE { resource:Q258 property:P530 resource:Q652090 }
No
action is_in
entity Gelenberg
action find
entity South Africa
relation diplomatic relation
['South Africa', 'diplomatic relation', 'Gelenberg']
ASK WHERE { resource:South_Africa property:diplomatic_relation resource:Gelenberg }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17479382 Q16234931
P19
Q56061
USER
Which administrative territories were Prince Nxumalo or Roy O. Martin, Jr. born ?
OR((Q16234931,P19,c(Q56061)), (Q17479382,P19,c(Q56061)))
action filter_type
action union
action find
entity Q16234931
relation P19
action find
entity Q17479382
relation P19
type Q56061
{'OR': [['Q16234931', 'P19', {'concept': 'Q56061'}], ['Q17479382', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?a ) { ( resource:Q16234931 ) ( resource:Q17479382 ) } . ?a property:P19 ?s } . ?s rdf:type ontology:Q56061 }
Roy O. Martin, Jr. Prince Nxumalo
action filter_type
action union
action find
entity Prince Nxumalo
relation place of birth
action find
entity Roy O. Martin, Jr.
relation place of birth
type administrative territorial entity
{'OR': [['Prince Nxumalo', 'place of birth', {'concept': 'administrative territorial entity'}], ['Roy O. Martin, Jr.', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?a ) { ( resource:Prince_Nxumalo ) ( resource:Roy_O._Martin,_Jr. ) } . ?a property:place_of_birth ?s } . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q5468 Q16563
SYSTEM
Durban, Memphis
Q5468 Q16563
OR((Q16234931,P19,c(Q56061)), (Q17479382,P19,c(Q56061)))
action filter_type
action union
action find
entity Q16234931
relation P19
action find
entity Q17479382
relation P19
type Q56061
[ANSWERS] were Prince Nxumalo or Roy O. Martin, Jr. born
{'OR': [['Q16234931', 'P19', {'concept': 'Q56061'}], ['Q17479382', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?a ) { ( resource:Q16234931 ) ( resource:Q17479382 ) } . ?a property:P19 ?s } . ?s rdf:type ontology:Q56061 }
Durban Memphis
Durban and Memphis were Prince Nxumalo or Roy O. Martin, Jr. born
Durban Memphis
action filter_type
action union
action find
entity Prince Nxumalo
relation place of birth
action find
entity Roy O. Martin, Jr.
relation place of birth
type administrative territorial entity
{'OR': [['Prince Nxumalo', 'place of birth', {'concept': 'administrative territorial entity'}], ['Roy O. Martin, Jr.', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?a ) { ( resource:Prince_Nxumalo ) ( resource:Roy_O._Martin,_Jr. ) } . ?a property:place_of_birth ?s } . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1065
P159
Q1497375
USER
Where is the headquarter of United Nations located ?
(Q1065,P159,c(Q1497375))
action filter_type
action find
entity Q1065
relation P159
type Q1497375
['Q1065', 'P159', {'concept': 'Q1497375'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1497375 . resource:Q1065 property:P159 ?d }
United Nations
action filter_type
action find
entity United Nations
relation headquarters location
type item with multiple objects
['United Nations', 'headquarters location', {'concept': 'item with multiple objects'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:item_with_multiple_objects . resource:United_Nations property:headquarters_location ?d }
[]
item with multiple objects
Q11297
SYSTEM
Headquarters of the United Nations
Q11297
(Q1065,P159,c(Q1497375))
action filter_type
action find
entity Q1065
relation P159
type Q1497375
The headquarter of United Nations is located in [ANSWER]
['Q1065', 'P159', {'concept': 'Q1497375'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1497375 . resource:Q1065 property:P159 ?d }
Headquarters of the United Nations
The headquarter of United Nations is located in Headquarters of the United Nations
Headquarters of the United Nations
action filter_type
action find
entity United Nations
relation headquarters location
type item with multiple objects
['United Nations', 'headquarters location', {'concept': 'item with multiple objects'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:item_with_multiple_objects . resource:United_Nations property:headquarters_location ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1065
P163
Q17335294
USER
What has United Nations as its flag
(Q1065,P163,c(Q17335294))
action filter_type
action find
entity Q1065
relation P163
type Q17335294
['Q1065', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?k WHERE { resource:Q1065 property:P163 ?k . ?k rdf:type ontology:Q17335294 }
United Nations
action filter_type
action find
entity United Nations
relation flag
type flag or coat of arms
['United Nations', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?k WHERE { resource:United_Nations property:flag ?k . ?k rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q172446
SYSTEM
flag of the United Nations
Q172446
(Q1065,P163,c(Q17335294))
action filter_type
action find
entity Q1065
relation P163
type Q17335294
The [ANSWER] has United Nations as its flag
['Q1065', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?k WHERE { resource:Q1065 property:P163 ?k . ?k rdf:type ontology:Q17335294 }
flag of the United Nations
The flag of the United Nations has United Nations as its flag
flag of the United Nations
action filter_type
action find
entity United Nations
relation flag
type flag or coat of arms
['United Nations', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?k WHERE { resource:United_Nations property:flag ?k . ?k rdf:type ontology:flag_or_coat_of_arms }
[]