Simple Question (Direct)
Simple Question
Q2834950
P21
Q290
USER
What is the sex of Alfred Augustus Stockton ?
(Q2834950,P21,c(Q290))
action filter_type
action find
entity Q2834950
relation P21
type Q290
['Q2834950', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q2834950 property:P21 ?k . ?k rdf:type ontology:Q290 }
Alfred Augustus Stockton
action filter_type
action find
entity Alfred Augustus Stockton
relation gender
type sex
['Alfred Augustus Stockton', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Alfred_Augustus_Stockton property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2834950,P21,c(Q290))
action filter_type
action find
entity Q2834950
relation P21
type Q290
The sex of Alfred Augustus Stockton is the [ANSWER]
['Q2834950', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q2834950 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
The sex of Alfred Augustus Stockton is the male
male
action filter_type
action find
entity Alfred Augustus Stockton
relation gender
type sex
['Alfred Augustus Stockton', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Alfred_Augustus_Stockton property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2834950
P20
Q56061
USER
Where did Alfred Augustus Stockton die ?
(Q2834950,P20,c(Q56061))
action filter_type
action find
entity Q2834950
relation P20
type Q56061
['Q2834950', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q2834950 property:P20 ?f . ?f rdf:type ontology:Q56061 }
Alfred Augustus Stockton
action filter_type
action find
entity Alfred Augustus Stockton
relation place of death
type administrative territorial entity
['Alfred Augustus Stockton', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Alfred_Augustus_Stockton property:place_of_death ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1930
SYSTEM
Ottawa
Q1930
(Q2834950,P20,c(Q56061))
action filter_type
action find
entity Q2834950
relation P20
type Q56061
Alfred Augustus Stockton died in [ANSWER]
['Q2834950', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q2834950 property:P20 ?f . ?f rdf:type ontology:Q56061 }
Ottawa
Alfred Augustus Stockton died in Ottawa
Ottawa
action filter_type
action find
entity Alfred Augustus Stockton
relation place of death
type administrative territorial entity
['Alfred Augustus Stockton', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Alfred_Augustus_Stockton property:place_of_death ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q809697
Q56061
USER
And also tell me about Barzillai Gannett?
(Q809697,P20,c(Q56061))
action filter_type
action find
entity Q809697
relation P20
type Q56061
['Q809697', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q809697 property:P20 ?l . ?l rdf:type ontology:Q56061 }
Barzillai Gannett
action filter_type
action find
entity Barzillai Gannett
relation place of death
type administrative territorial entity
['Barzillai Gannett', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Barzillai_Gannett property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q809697,P20,c(Q56061))
action filter_type
action find
entity Q809697
relation P20
type Q56061
[ANSWER]
['Q809697', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q809697 property:P20 ?l . ?l rdf:type ontology:Q56061 }
New York City
New York City
action filter_type
action find
entity Barzillai Gannett
relation place of death
type administrative territorial entity
['Barzillai Gannett', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Barzillai_Gannett property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q60 Q312502
P6
Q502895
USER
Is Fiorello H. La Guardia the head of the government of that administrative territory ?
(Q60,P6,Q312502)
action is_in
entity Q312502
action find
entity Q60
relation P6
['Q60', 'P6', 'Q312502']
ASK WHERE { resource:Q60 property:P6 resource:Q312502 }
New York City Fiorello H. La Guardia
action is_in
entity Fiorello H. La Guardia
action find
entity New York City
relation head of government
['New York City', 'head of government', 'Fiorello H. La Guardia']
ASK WHERE { resource:New_York_City property:head_of_government resource:Fiorello_H._La_Guardia }
[]
common name
SYSTEM
YES
(Q60,P6,Q312502)
action is_in
entity Q312502
action find
entity Q60
relation P6
[ANSWER]
['Q60', 'P6', 'Q312502']
ASK WHERE { resource:Q60 property:P6 resource:Q312502 }
Yes
action is_in
entity Fiorello H. La Guardia
action find
entity New York City
relation head of government
['New York City', 'head of government', 'Fiorello H. La Guardia']
ASK WHERE { resource:New_York_City property:head_of_government resource:Fiorello_H._La_Guardia }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q60
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of that administrative territory ?
action filter_type
action find
entity Q60
relation P1313
type Q12737077
SELECT DISTINCT ?i WHERE { resource:Q60 property:P1313 ?i . ?i rdf:type ontology:Q12737077 }
New York City
action filter_type
action find
entity New York City
relation office held by head of government
type occupation
SELECT DISTINCT ?i WHERE { resource:New_York_City property:office_held_by_head_of_government ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q785304
SYSTEM
Mayor of New York City
Q785304
action filter_type
action find
entity Q60
relation P1313
type Q12737077
[ANSWER] serves as the political office that is fulfilled by the head of the government of that administrative territory
SELECT DISTINCT ?i WHERE { resource:Q60 property:P1313 ?i . ?i rdf:type ontology:Q12737077 }
Mayor of New York City
Mayor of New York City serves as the political office that is fulfilled by the head of the government of that administrative territory
Mayor of New York City
action filter_type
action find
entity New York City
relation office held by head of government
type occupation
SELECT DISTINCT ?i WHERE { resource:New_York_City property:office_held_by_head_of_government ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q60
P194
Q1752346
USER
Which assembly is the legislative body for that administrative territory ?
(Q785304,P194,c(Q1752346))
action filter_type
action find
entity Q60
relation P194
type Q1752346
['Q785304', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?z WHERE { resource:Q60 property:P194 ?z . ?z rdf:type ontology:Q1752346 }
New York City
action filter_type
action find
entity New York City
relation legislative body
type assembly
['Mayor of New York City', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?z WHERE { resource:New_York_City property:legislative_body ?z . ?z rdf:type ontology:assembly }
[]
assembly
Q645195
SYSTEM
New York City Council
Q645195
(Q785304,P194,c(Q1752346))
action filter_type
action find
entity Q60
relation P194
type Q1752346
[ANSWER] is the legislative body for that administrative territory
['Q785304', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?z WHERE { resource:Q60 property:P194 ?z . ?z rdf:type ontology:Q1752346 }
New York City Council
New York City Council is the legislative body for that administrative territory
New York City Council
action filter_type
action find
entity New York City
relation legislative body
type assembly
['Mayor of New York City', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?z WHERE { resource:New_York_City property:legislative_body ?z . ?z rdf:type ontology:assembly }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q60
P163
Q14660
USER
Which flag is associated with New York City ?
(Q60,P163,c(Q14660))
action filter_type
action find
entity Q60
relation P163
type Q14660
['Q60', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?z WHERE { resource:Q60 property:P163 ?z . ?z rdf:type ontology:Q14660 }
New York City
action filter_type
action find
entity New York City
relation flag
type flag
['New York City', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?z WHERE { resource:New_York_City property:flag ?z . ?z rdf:type ontology:flag }
[]
flag
Q1414813
SYSTEM
Flag of New York City
Q1414813
(Q60,P163,c(Q14660))
action filter_type
action find
entity Q60
relation P163
type Q14660
City [ANSWER] is associated with New York City
['Q60', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?z WHERE { resource:Q60 property:P163 ?z . ?z rdf:type ontology:Q14660 }
Flag of New York City
City Flag of New York City is associated with New York City
Flag of New York City
action filter_type
action find
entity New York City
relation flag
type flag
['New York City', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?z WHERE { resource:New_York_City property:flag ?z . ?z rdf:type ontology:flag }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q60
P17
Q15617994
USER
Which administrative territory is that administrative territory a part of ?
(Q1414813,P17,c(Q15617994))
action filter_type
action find
entity Q60
relation P17
type Q15617994
['Q1414813', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q60 property:P17 ?p }
New York City
action filter_type
action find
entity New York City
relation country
type designation for an administrative territorial entity
['Flag of New York City', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:New_York_City property:country ?p }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1414813,P17,c(Q15617994))
action filter_type
action find
entity Q60
relation P17
type Q15617994
The [ANSWER] is that administrative territory a part of
['Q1414813', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q60 property:P17 ?p }
United States of America
The United States of America is that administrative territory a part of
United States of America
action filter_type
action find
entity New York City
relation country
type designation for an administrative territorial entity
['Flag of New York City', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:New_York_City property:country ?p }
[]