Simple Question (Direct)
Simple Question
Q4703443
P21
Q290
USER
What is the sex of Al Afalava ?
(Q4703443,P21,c(Q290))
action filter_type
action find
entity Q4703443
relation P21
type Q290
['Q4703443', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q290 . resource:Q4703443 property:P21 ?q }
Al Afalava
action filter_type
action find
entity Al Afalava
relation gender
type sex
['Al Afalava', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sex . resource:Al_Afalava property:gender ?q }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4703443,P21,c(Q290))
action filter_type
action find
entity Q4703443
relation P21
type Q290
The sex of Al Afalava is the [ANSWER]
['Q4703443', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q290 . resource:Q4703443 property:P21 ?q }
male
The sex of Al Afalava is the male
male
action filter_type
action find
entity Al Afalava
relation gender
type sex
['Al Afalava', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sex . resource:Al_Afalava property:gender ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4703443
P641
Q349
USER
Which sport was Al Afalava a part of ?
(Q4703443,P641,c(Q349))
action filter_type
action find
entity Q4703443
relation P641
type Q349
['Q4703443', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q4703443 property:P641 ?l . ?l rdf:type ontology:Q349 }
Al Afalava
action filter_type
action find
entity Al Afalava
relation sport
type sport
['Al Afalava', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:Al_Afalava property:sport ?l . ?l rdf:type ontology:sport }
[]
sport
Q41323
SYSTEM
American football
Q41323
(Q4703443,P641,c(Q349))
action filter_type
action find
entity Q4703443
relation P641
type Q349
Which sport was Al Afalava a part of
['Q4703443', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q4703443 property:P641 ?l . ?l rdf:type ontology:Q349 }
American football
Which sport was Al Afalava a part of
American football
action filter_type
action find
entity Al Afalava
relation sport
type sport
['Al Afalava', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:Al_Afalava property:sport ?l . ?l rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q41323
P106
Q502895
USER
Which person has career as that sport ?
(c(Q502895),P106,Q41323)
action filter_type
action find_reverse
entity Q41323
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q41323']
SELECT DISTINCT ?g WHERE { ?g property:P106 resource:Q41323 . ?g rdf:type ontology:Q502895 }
American football
action filter_type
action find_reverse
entity American football
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'American football']
SELECT DISTINCT ?g WHERE { ?g property:occupation resource:American_football . ?g rdf:type ontology:common_name }
[]
common name
Q22533685
SYSTEM
Robert Snyder
Q22533685
(c(Q502895),P106,Q41323)
action filter_type
action find_reverse
entity Q41323
relation P106
type Q502895
[ANSWER] has career as that sport
[{'concept': 'Q502895'}, 'P106', 'Q41323']
SELECT DISTINCT ?g WHERE { ?g property:P106 resource:Q41323 . ?g rdf:type ontology:Q502895 }
Robert Snyder
Robert Snyder has career as that sport
Robert Snyder
action filter_type
action find_reverse
entity American football
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'American football']
SELECT DISTINCT ?g WHERE { ?g property:occupation resource:American_football . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22533685
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q22533685,P27,c(Q15617994))
action filter_type
action find
entity Q22533685
relation P27
type Q15617994
['Q22533685', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q22533685 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Robert Snyder
action filter_type
action find
entity Robert Snyder
relation country of citizenship
type designation for an administrative territorial entity
['Robert Snyder', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Robert_Snyder property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q22533685,P27,c(Q15617994))
action filter_type
action find
entity Q22533685
relation P27
type Q15617994
The [ANSWER] is the country of citizenship of that person
['Q22533685', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q22533685 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
United States of America
The United States of America is the country of citizenship of that person
United States of America
action filter_type
action find
entity Robert Snyder
relation country of citizenship
type designation for an administrative territorial entity
['Robert Snyder', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Robert_Snyder property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6536868
Q15617994
USER
And also tell me about Lewis Melville?
(Q6536868,P27,c(Q15617994))
action filter_type
action find
entity Q6536868
relation P27
type Q15617994
['Q6536868', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q6536868 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Lewis Melville
action filter_type
action find
entity Lewis Melville
relation country of citizenship
type designation for an administrative territorial entity
['Lewis Melville', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Lewis_Melville property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q6536868,P27,c(Q15617994))
action filter_type
action find
entity Q6536868
relation P27
type Q15617994
[ANSWER]
['Q6536868', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q6536868 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom
action filter_type
action find
entity Lewis Melville
relation country of citizenship
type designation for an administrative territorial entity
['Lewis Melville', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Lewis_Melville property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q145 Q6769496
P27
Q502895
USER
Is Mark Ronald a civilian of that administrative territory ?
(Q6769496,P27,Q145)
action is_in
entity Q6769496
action find
entity Q145
relation P27
['Q6769496', 'P27', 'Q145']
ASK WHERE { resource:Q145 property:P27 resource:Q6769496 }
United Kingdom Mark Ronald
action is_in
entity Mark Ronald
action find
entity United Kingdom
relation country of citizenship
['Mark Ronald', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:United_Kingdom property:country_of_citizenship resource:Mark_Ronald }
[]
common name
SYSTEM
NO
(Q6769496,P27,Q145)
action is_in
entity Q6769496
action find
entity Q145
relation P27
[ANSWER]
['Q6769496', 'P27', 'Q145']
ASK WHERE { resource:Q145 property:P27 resource:Q6769496 }
No
action is_in
entity Mark Ronald
action find
entity United Kingdom
relation country of citizenship
['Mark Ronald', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:United_Kingdom property:country_of_citizenship resource:Mark_Ronald }
[]