Simple Question (Direct)
Simple Question
Q6239425
P21
Q290
USER
Which sex does John Hlophe belong to ?
(Q6239425,P21,c(Q290))
action filter_type
action find
entity Q6239425
relation P21
type Q290
['Q6239425', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q6239425 property:P21 ?u . ?u rdf:type ontology:Q290 }
John Hlophe
action filter_type
action find
entity John Hlophe
relation gender
type sex
['John Hlophe', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:John_Hlophe property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6239425,P21,c(Q290))
action filter_type
action find
entity Q6239425
relation P21
type Q290
John Hlophe belongs to [ANSWER]
['Q6239425', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q6239425 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
John Hlophe belongs to male
male
action filter_type
action find
entity John Hlophe
relation gender
type sex
['John Hlophe', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:John_Hlophe property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6239425
P106
Q12737077
USER
What is the profession of John Hlophe ?
(Q6239425,P106,c(Q12737077))
action filter_type
action find
entity Q6239425
relation P106
type Q12737077
['Q6239425', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q6239425 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
John Hlophe
action filter_type
action find
entity John Hlophe
relation occupation
type occupation
['John Hlophe', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:John_Hlophe property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q16533
SYSTEM
judge
Q16533
(Q6239425,P106,c(Q12737077))
action filter_type
action find
entity Q6239425
relation P106
type Q12737077
The profession of John Hlophe is a [ANSWER]
['Q6239425', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q6239425 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
judge
The profession of John Hlophe is a judge
judge
action filter_type
action find
entity John Hlophe
relation occupation
type occupation
['John Hlophe', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:John_Hlophe property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18832953
Q12737077
USER
And what about Casto Nopo?
(Q18832953,P106,c(Q12737077))
action filter_type
action find
entity Q18832953
relation P106
type Q12737077
['Q18832953', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q18832953 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Casto Nopo
action filter_type
action find
entity Casto Nopo
relation occupation
type occupation
['Casto Nopo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Casto_Nopo property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q18832953,P106,c(Q12737077))
action filter_type
action find
entity Q18832953
relation P106
type Q12737077
[ANSWERS]
['Q18832953', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q18832953 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
association football manager association football player
association football manager association football player
action filter_type
action find
entity Casto Nopo
relation occupation
type occupation
['Casto Nopo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Casto_Nopo property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q11858717
P106
Q502895
USER
Do Esko Nokelainen have career as those occupations ?
(Q11858717,P106,Q628099) (Q11858717,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q11858717
relation P106
['Q11858717', 'P106', 'Q628099'] ['Q11858717', 'P106', 'Q937857']
ASK WHERE { resource:Q11858717 property:P106 ?c . VALUES ( ?c ) { ( resource:Q628099 ) ( resource:Q937857 ) } }
Esko Nokelainen
action is_in
entity prev_answer
action find
entity Esko Nokelainen
relation occupation
['Esko Nokelainen', 'occupation', 'association football manager'] ['Esko Nokelainen', 'occupation', 'association football player']
ASK WHERE { resource:Esko_Nokelainen property:occupation ?c . VALUES ( ?c ) { ( resource:association_football_manager ) ( resource:association_football_player ) } }
[]
common name
SYSTEM
NO
(Q11858717,P106,Q628099) (Q11858717,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q11858717
relation P106
[ANSWER]
['Q11858717', 'P106', 'Q628099'] ['Q11858717', 'P106', 'Q937857']
ASK WHERE { resource:Q11858717 property:P106 ?c . VALUES ( ?c ) { ( resource:Q628099 ) ( resource:Q937857 ) } }
No
action is_in
entity prev_answer
action find
entity Esko Nokelainen
relation occupation
['Esko Nokelainen', 'occupation', 'association football manager'] ['Esko Nokelainen', 'occupation', 'association football player']
ASK WHERE { resource:Esko_Nokelainen property:occupation ?c . VALUES ( ?c ) { ( resource:association_football_manager ) ( resource:association_football_player ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6239425
P69
Q3918
USER
Which university was John Hlophe educated at ?
(Q6239425,P69,c(Q3918))
action filter_type
action find
entity Q6239425
relation P69
type Q3918
['Q6239425', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?u WHERE { resource:Q6239425 property:P69 ?u . ?u rdf:type ontology:Q3918 }
John Hlophe
action filter_type
action find
entity John Hlophe
relation educated at
type university
['John Hlophe', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?u WHERE { resource:John_Hlophe property:educated_at ?u . ?u rdf:type ontology:university }
[]
university
Q35794
SYSTEM
University of Cambridge
Q35794
(Q6239425,P69,c(Q3918))
action filter_type
action find
entity Q6239425
relation P69
type Q3918
John Hlophe was educated by [ANSWER]
['Q6239425', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?u WHERE { resource:Q6239425 property:P69 ?u . ?u rdf:type ontology:Q3918 }
University of Cambridge
John Hlophe was educated by University of Cambridge
University of Cambridge
action filter_type
action find
entity John Hlophe
relation educated at
type university
['John Hlophe', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?u WHERE { resource:John_Hlophe property:educated_at ?u . ?u rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6239425
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q35794,P27,c(Q15617994))
action filter_type
action find
entity Q6239425
relation P27
type Q15617994
['Q35794', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q6239425 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
John Hlophe
action filter_type
action find
entity John Hlophe
relation country of citizenship
type designation for an administrative territorial entity
['University of Cambridge', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:John_Hlophe property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q258
SYSTEM
South Africa
Q258
(Q35794,P27,c(Q15617994))
action filter_type
action find
entity Q6239425
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q35794', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q6239425 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
South Africa
The South Africa is that person a civilian of
South Africa
action filter_type
action find
entity John Hlophe
relation country of citizenship
type designation for an administrative territorial entity
['University of Cambridge', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:John_Hlophe property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6239425
P19
Q56061
USER
Where was that person born ?
(Q258,P19,c(Q56061))
action filter_type
action find
entity Q6239425
relation P19
type Q56061
['Q258', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q56061 . resource:Q6239425 property:P19 ?b }
John Hlophe
action filter_type
action find
entity John Hlophe
relation place of birth
type administrative territorial entity
['South Africa', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:administrative_territorial_entity . resource:John_Hlophe property:place_of_birth ?b }
[]
administrative territorial entity
Q10676708
SYSTEM
KwaDukuza
Q10676708
(Q258,P19,c(Q56061))
action filter_type
action find
entity Q6239425
relation P19
type Q56061
That person was born to [ANSWER]
['Q258', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q56061 . resource:Q6239425 property:P19 ?b }
KwaDukuza
That person was born to KwaDukuza
KwaDukuza
action filter_type
action find
entity John Hlophe
relation place of birth
type administrative territorial entity
['South Africa', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:administrative_territorial_entity . resource:John_Hlophe property:place_of_birth ?b }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q10676708 Q258 Q17091447
P17
Q15617994
USER
Is that administrative territory located in South Africa and Whittier Union High School District ?
(Q10676708,P17,Q258) (Q10676708,P17,Q17091447)
action is_in
entity Q10676708
action intersection
action find_reverse
entity Q258
relation P17
action find_reverse
entity Q17091447
relation P17
['Q10676708', 'P17', 'Q258'] ['Q10676708', 'P17', 'Q17091447']
ASK WHERE { resource:Q10676708 property:P17 resource:Q17091447 . resource:Q10676708 property:P17 resource:Q258 }
KwaDukuza South Africa Whittier Union High School District
action is_in
entity KwaDukuza
action intersection
action find_reverse
entity South Africa
relation country
action find_reverse
entity Whittier Union High School District
relation country
['KwaDukuza', 'country', 'South Africa'] ['KwaDukuza', 'country', 'Whittier Union High School District']
ASK WHERE { resource:KwaDukuza property:country resource:Whittier_Union_High_School_District . resource:KwaDukuza property:country resource:South_Africa }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q10676708,P17,Q258) (Q10676708,P17,Q17091447)
action is_in
entity Q10676708
action intersection
action find_reverse
entity Q258
relation P17
action find_reverse
entity Q17091447
relation P17
[ANSWER]
['Q10676708', 'P17', 'Q258'] ['Q10676708', 'P17', 'Q17091447']
ASK WHERE { resource:Q10676708 property:P17 resource:Q17091447 . resource:Q10676708 property:P17 resource:Q258 }
YES and NO respectively
action is_in
entity KwaDukuza
action intersection
action find_reverse
entity South Africa
relation country
action find_reverse
entity Whittier Union High School District
relation country
['KwaDukuza', 'country', 'South Africa'] ['KwaDukuza', 'country', 'Whittier Union High School District']
ASK WHERE { resource:KwaDukuza property:country resource:Whittier_Union_High_School_District . resource:KwaDukuza property:country resource:South_Africa }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10676708
P36
Q15617994
USER
Which administrative territory contains that administrative territory as its capital ?
action filter_type
action find_reverse
entity Q10676708
relation P36
type Q15617994
SELECT DISTINCT ?w WHERE { ?w property:P36 resource:Q10676708 . ?w rdf:type ontology:Q15617994 }
KwaDukuza
action filter_type
action find_reverse
entity KwaDukuza
relation capital
type designation for an administrative territorial entity
SELECT DISTINCT ?w WHERE { ?w property:capital resource:KwaDukuza . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q311794
SYSTEM
iLembe District Municipality
Q311794
action filter_type
action find_reverse
entity Q10676708
relation P36
type Q15617994
[ANSWER] contains that administrative territory as its capital
SELECT DISTINCT ?w WHERE { ?w property:P36 resource:Q10676708 . ?w rdf:type ontology:Q15617994 }
iLembe District Municipality
ILembe District Municipality contains that administrative territory as its capital
iLembe District Municipality
action filter_type
action find_reverse
entity KwaDukuza
relation capital
type designation for an administrative territorial entity
SELECT DISTINCT ?w WHERE { ?w property:capital resource:KwaDukuza . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]