Simple Question (Direct)
Simple Question
Q7344664
P241
Q781132
USER
Which military branch is Robert Gard associated with ?
(Q7344664,P241,c(Q781132))
action filter_type
action find
entity Q7344664
relation P241
type Q781132
['Q7344664', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?u WHERE { resource:Q7344664 property:P241 ?u . ?u rdf:type ontology:Q781132 }
Robert Gard
action filter_type
action find
entity Robert Gard
relation military branch
type military branch
['Robert Gard', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?u WHERE { resource:Robert_Gard property:military_branch ?u . ?u rdf:type ontology:military_branch }
[]
military branch
Q9212
SYSTEM
United States Army
Q9212
(Q7344664,P241,c(Q781132))
action filter_type
action find
entity Q7344664
relation P241
type Q781132
Robert Gard is associated with [ANSWER]
['Q7344664', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?u WHERE { resource:Q7344664 property:P241 ?u . ?u rdf:type ontology:Q781132 }
United States Army
Robert Gard is associated with United States Army
United States Army
action filter_type
action find
entity Robert Gard
relation military branch
type military branch
['Robert Gard', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?u WHERE { resource:Robert_Gard property:military_branch ?u . ?u rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7344664
P108
Q163740
USER
Which nonprofit organization is the workplace of that person ?
(Q9212,P108,c(Q163740))
action filter_type
action find
entity Q7344664
relation P108
type Q163740
['Q9212', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?z WHERE { resource:Q7344664 property:P108 ?z . ?z rdf:type ontology:Q163740 }
Robert Gard
action filter_type
action find
entity Robert Gard
relation employer
type nonprofit organization
['United States Army', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?z WHERE { resource:Robert_Gard property:employer ?z . ?z rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q193727
SYSTEM
Johns Hopkins University
Q193727
(Q9212,P108,c(Q163740))
action filter_type
action find
entity Q7344664
relation P108
type Q163740
[ANSWER] is the workplace of that person
['Q9212', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?z WHERE { resource:Q7344664 property:P108 ?z . ?z rdf:type ontology:Q163740 }
Johns Hopkins University
Johns Hopkins University is the workplace of that person
Johns Hopkins University
action filter_type
action find
entity Robert Gard
relation employer
type nonprofit organization
['United States Army', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?z WHERE { resource:Robert_Gard property:employer ?z . ?z rdf:type ontology:nonprofit_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q193727 Q21519799
P108
Q502895
USER
Is Uway Warsita Mahyar working for that nonprofit organization ?
(Q21519799,P108,Q193727)
action is_in
entity Q21519799
action find
entity Q193727
relation P108
['Q21519799', 'P108', 'Q193727']
ASK WHERE { resource:Q193727 property:P108 resource:Q21519799 }
Johns Hopkins University Uway Warsita Mahyar
action is_in
entity Uway Warsita Mahyar
action find
entity Johns Hopkins University
relation employer
['Uway Warsita Mahyar', 'employer', 'Johns Hopkins University']
ASK WHERE { resource:Johns_Hopkins_University property:employer resource:Uway_Warsita_Mahyar }
[]
common name
SYSTEM
NO
(Q21519799,P108,Q193727)
action is_in
entity Q21519799
action find
entity Q193727
relation P108
[ANSWER]
['Q21519799', 'P108', 'Q193727']
ASK WHERE { resource:Q193727 property:P108 resource:Q21519799 }
No
action is_in
entity Uway Warsita Mahyar
action find
entity Johns Hopkins University
relation employer
['Uway Warsita Mahyar', 'employer', 'Johns Hopkins University']
ASK WHERE { resource:Johns_Hopkins_University property:employer resource:Uway_Warsita_Mahyar }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q7344664 Q30 Q1200635
P27
Q15617994
USER
Is Robert Gard a citizen of United States of America and Hongta District ?
(Q7344664,P27,Q30) (Q7344664,P27,Q1200635)
action is_in
entity Q7344664
action intersection
action find_reverse
entity Q30
relation P27
action find_reverse
entity Q1200635
relation P27
['Q7344664', 'P27', 'Q30'] ['Q7344664', 'P27', 'Q1200635']
ASK WHERE { resource:Q7344664 property:P27 resource:Q30 . resource:Q7344664 property:P27 resource:Q1200635 }
Robert Gard United States of America Hongta District
action is_in
entity Robert Gard
action intersection
action find_reverse
entity United States of America
relation country of citizenship
action find_reverse
entity Hongta District
relation country of citizenship
['Robert Gard', 'country of citizenship', 'United States of America'] ['Robert Gard', 'country of citizenship', 'Hongta District']
ASK WHERE { resource:Robert_Gard property:country_of_citizenship resource:United_States_of_America . resource:Robert_Gard property:country_of_citizenship resource:Hongta_District }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q7344664,P27,Q30) (Q7344664,P27,Q1200635)
action is_in
entity Q7344664
action intersection
action find_reverse
entity Q30
relation P27
action find_reverse
entity Q1200635
relation P27
[ANSWER]
['Q7344664', 'P27', 'Q30'] ['Q7344664', 'P27', 'Q1200635']
ASK WHERE { resource:Q7344664 property:P27 resource:Q30 . resource:Q7344664 property:P27 resource:Q1200635 }
YES and NO respectively
action is_in
entity Robert Gard
action intersection
action find_reverse
entity United States of America
relation country of citizenship
action find_reverse
entity Hongta District
relation country of citizenship
['Robert Gard', 'country of citizenship', 'United States of America'] ['Robert Gard', 'country of citizenship', 'Hongta District']
ASK WHERE { resource:Robert_Gard property:country_of_citizenship resource:United_States_of_America . resource:Robert_Gard property:country_of_citizenship resource:Hongta_District }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q7344664
P69
Q1935049 Q163740
USER
How many military schools or nonprofit organizations are Robert Gard an alumni of ?
(Q7344664,P69,c(Q1935049)) (Q7344664,P69,c(Q163740))
action count
action union
action filter_type
action find
entity Q7344664
relation P69
type Q1935049
action filter_type
action find
entity Q7344664
relation P69
type Q163740
['Q7344664', 'P69', {'concept': 'Q1935049'}] ['Q7344664', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { resource:Q7344664 property:P69 ?r . ?r rdf:type ontology:Q1935049 } UNION { resource:Q7344664 property:P69 ?r . ?r rdf:type ontology:Q163740 } }
Robert Gard
action count
action union
action filter_type
action find
entity Robert Gard
relation educated at
type military school
action filter_type
action find
entity Robert Gard
relation educated at
type nonprofit organization
['Robert Gard', 'educated at', {'concept': 'military school'}] ['Robert Gard', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { resource:Robert_Gard property:educated_at ?r . ?r rdf:type ontology:military_school } UNION { resource:Robert_Gard property:educated_at ?r . ?r rdf:type ontology:nonprofit_organization } }
[]
military school nonprofit organization
SYSTEM
2
Q9219 Q13371
(Q7344664,P69,c(Q1935049)) (Q7344664,P69,c(Q163740))
action count
action union
action filter_type
action find
entity Q7344664
relation P69
type Q1935049
action filter_type
action find
entity Q7344664
relation P69
type Q163740
[ANSWER]
['Q7344664', 'P69', {'concept': 'Q1935049'}] ['Q7344664', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { resource:Q7344664 property:P69 ?r . ?r rdf:type ontology:Q1935049 } UNION { resource:Q7344664 property:P69 ?r . ?r rdf:type ontology:Q163740 } }
United States Military Academy at West Point Harvard University
2
action count
action union
action filter_type
action find
entity Robert Gard
relation educated at
type military school
action filter_type
action find
entity Robert Gard
relation educated at
type nonprofit organization
['Robert Gard', 'educated at', {'concept': 'military school'}] ['Robert Gard', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { resource:Robert_Gard property:educated_at ?r . ?r rdf:type ontology:military_school } UNION { resource:Robert_Gard property:educated_at ?r . ?r rdf:type ontology:nonprofit_organization } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7344664
P410
Q4189293
USER
Which title has that person achieved ?
action filter_type
action find
entity Q7344664
relation P410
type Q4189293
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q4189293 . resource:Q7344664 property:P410 ?v }
Robert Gard
action filter_type
action find
entity Robert Gard
relation military rank
type title
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:title . resource:Robert_Gard property:military_rank ?v }
[]
title
Q2046665
SYSTEM
lieutenant general
Q2046665
action filter_type
action find
entity Q7344664
relation P410
type Q4189293
That person has achieved a [ANSWER]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q4189293 . resource:Q7344664 property:P410 ?v }
lieutenant general
That person has achieved a lieutenant general
lieutenant general
action filter_type
action find
entity Robert Gard
relation military rank
type title
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:title . resource:Robert_Gard property:military_rank ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23301703
P1412
Q34770
USER
Which language can Officer Thomas read ?
(Q23301703,P1412,c(Q34770))
action filter_type
action find
entity Q23301703
relation P1412
type Q34770
['Q23301703', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q23301703 property:P1412 ?u . ?u rdf:type ontology:Q34770 }
Officer Thomas
action filter_type
action find
entity Officer Thomas
relation languages spoken, written or signed
type language
['Officer Thomas', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Officer_Thomas property:languages_spoken,_written_or_signed ?u . ?u rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q23301703,P1412,c(Q34770))
action filter_type
action find
entity Q23301703
relation P1412
type Q34770
Officer Thomas can read [ANSWER]
['Q23301703', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q23301703 property:P1412 ?u . ?u rdf:type ontology:Q34770 }
English
Officer Thomas can read English
English
action filter_type
action find
entity Officer Thomas
relation languages spoken, written or signed
type language
['Officer Thomas', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Officer_Thomas property:languages_spoken,_written_or_signed ?u . ?u rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23301703
P175
Q502895
USER
Which person was performed by that fictional character ?
(Q1860,P175,c(Q502895))
action filter_type
action find
entity Q23301703
relation P175
type Q502895
['Q1860', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q23301703 property:P175 ?m . ?m rdf:type ontology:Q502895 }
Officer Thomas
action filter_type
action find
entity Officer Thomas
relation performer
type common name
['English', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Officer_Thomas property:performer ?m . ?m rdf:type ontology:common_name }
[]
common name
Q23301696
SYSTEM
S.E. Perry
Q23301696
(Q1860,P175,c(Q502895))
action filter_type
action find
entity Q23301703
relation P175
type Q502895
[ANSWER] was performed by that fictional character
['Q1860', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q23301703 property:P175 ?m . ?m rdf:type ontology:Q502895 }
S.E. Perry
S.E. Perry was performed by that fictional character
S.E. Perry
action filter_type
action find
entity Officer Thomas
relation performer
type common name
['English', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Officer_Thomas property:performer ?m . ?m rdf:type ontology:common_name }
[]