Simple Question (Direct)
Simple Question
Q5047618
P735
Q82799
USER
What is forename of Cary DeVall Langhorne ?
(Q5047618,P735,c(Q82799))
action filter_type
action find
entity Q5047618
relation P735
type Q82799
['Q5047618', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q5047618 property:P735 ?r . ?r rdf:type ontology:Q82799 }
Cary DeVall Langhorne
action filter_type
action find
entity Cary DeVall Langhorne
relation given name
type name
['Cary DeVall Langhorne', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Cary_DeVall_Langhorne property:given_name ?r . ?r rdf:type ontology:name }
[]
name
Q16275178
SYSTEM
Cary
Q16275178
(Q5047618,P735,c(Q82799))
action filter_type
action find
entity Q5047618
relation P735
type Q82799
Forename of [ANSWER] DeVall Langhorne is of [ANSWER]
['Q5047618', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q5047618 property:P735 ?r . ?r rdf:type ontology:Q82799 }
Cary
Forename of Cary DeVall Langhorne is of Cary
Cary
action filter_type
action find
entity Cary DeVall Langhorne
relation given name
type name
['Cary DeVall Langhorne', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Cary_DeVall_Langhorne property:given_name ?r . ?r rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5047618
P166
Q618779
USER
Which award was that person awarded with ?
(Q16275178,P166,c(Q618779))
action filter_type
action find
entity Q5047618
relation P166
type Q618779
['Q16275178', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?l WHERE { resource:Q5047618 property:P166 ?l . ?l rdf:type ontology:Q618779 }
Cary DeVall Langhorne
action filter_type
action find
entity Cary DeVall Langhorne
relation award received
type award
['Cary', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?l WHERE { resource:Cary_DeVall_Langhorne property:award_received ?l . ?l rdf:type ontology:award }
[]
award
Q203535
SYSTEM
Medal of Honor
Q203535
(Q16275178,P166,c(Q618779))
action filter_type
action find
entity Q5047618
relation P166
type Q618779
That person was awarded the [ANSWER]
['Q16275178', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?l WHERE { resource:Q5047618 property:P166 ?l . ?l rdf:type ontology:Q618779 }
Medal of Honor
That person was awarded the Medal of Honor
Medal of Honor
action filter_type
action find
entity Cary DeVall Langhorne
relation award received
type award
['Cary', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?l WHERE { resource:Cary_DeVall_Langhorne property:award_received ?l . ?l rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5047618
P410
Q4189293
USER
Which title was the military rank conferred upon that person ?
(Q203535,P410,c(Q4189293))
action filter_type
action find
entity Q5047618
relation P410
type Q4189293
['Q203535', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?l WHERE { resource:Q5047618 property:P410 ?l . ?l rdf:type ontology:Q4189293 }
Cary DeVall Langhorne
action filter_type
action find
entity Cary DeVall Langhorne
relation military rank
type title
['Medal of Honor', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?l WHERE { resource:Cary_DeVall_Langhorne property:military_rank ?l . ?l rdf:type ontology:title }
[]
title
Q6620231
SYSTEM
commander
Q6620231
(Q203535,P410,c(Q4189293))
action filter_type
action find
entity Q5047618
relation P410
type Q4189293
Or [ANSWER] was the military rank conferred upon that person
['Q203535', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?l WHERE { resource:Q5047618 property:P410 ?l . ?l rdf:type ontology:Q4189293 }
commander
Or commander was the military rank conferred upon that person
commander
action filter_type
action find
entity Cary DeVall Langhorne
relation military rank
type title
['Medal of Honor', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?l WHERE { resource:Cary_DeVall_Langhorne property:military_rank ?l . ?l rdf:type ontology:title }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1754110 Q203535
P166
Q502895
USER
Which people won Medal of Honor and Distinguished Flying Cross ?
AND((c(Q502895),P166,Q203535), (c(Q502895),P166,Q1754110))
action filter_type
action intersection
action find_reverse
entity Q203535
relation P166
action find_reverse
entity Q1754110
relation P166
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P166', 'Q203535'], [{'concept': 'Q502895'}, 'P166', 'Q1754110']]}
SELECT DISTINCT ?k WHERE { ?k property:P166 resource:Q1754110 . ?k property:P166 resource:Q203535 . ?k rdf:type ontology:Q502895 }
Distinguished Flying Cross Medal of Honor
action filter_type
action intersection
action find_reverse
entity Medal of Honor
relation award received
action find_reverse
entity Distinguished Flying Cross
relation award received
type common name
{'AND': [[{'concept': 'common name'}, 'award received', 'Medal of Honor'], [{'concept': 'common name'}, 'award received', 'Distinguished Flying Cross']]}
SELECT DISTINCT ?k WHERE { ?k property:award_received resource:Distinguished_Flying_Cross . ?k property:award_received resource:Medal_of_Honor . ?k rdf:type ontology:common_name }
[]
common name
Q210268 Q127417 Q5076063 Q496264 Q8004050 Q2002897 Q3431327 Q359321 Q6167375 Q4485182
SYSTEM
Some of them are Richard E. Byrd, Douglas MacArthur, Charles Calvin Rogers, James Stockdale, William A. Shomo, Richard Bong, Bruce P. Crandall, David McCampbell, Jay Zeamer, Jr., Bernard F. Fisher
Q6167375 Q3431327 Q5498979 Q8004050 Q210268 Q1618 Q682197 Q5902109 Q359321 Q5763199 Q5294214 Q6270651 Q7343764 Q6140773 Q5334823 Q4786813 Q7347129 Q127417 Q6687467 Q366547 Q3990696 Q6211041 Q6523911 Q7287336 Q1966561 Q7610771 Q5549454 Q5109584 Q6245482 Q2651290 Q6524938 Q5076063 Q2002897 Q3176649 Q7298944 Q1293205 Q6831470 Q5079357 Q3195164 Q7146696 Q4485182 Q6819832 Q6133226 Q5497709 Q496264 Q12056013
AND((c(Q502895),P166,Q203535), (c(Q502895),P166,Q1754110))
action filter_type
action intersection
action find_reverse
entity Q203535
relation P166
action find_reverse
entity Q1754110
relation P166
type Q502895
[ANSWERS] won Medal of Honor and Distinguished Flying Cross
{'AND': [[{'concept': 'Q502895'}, 'P166', 'Q203535'], [{'concept': 'Q502895'}, 'P166', 'Q1754110']]}
SELECT DISTINCT ?k WHERE { ?k property:P166 resource:Q1754110 . ?k property:P166 resource:Q203535 . ?k rdf:type ontology:Q502895 }
Jay Zeamer, Jr. Bruce P. Crandall Frederick Walker Castle William A. Shomo Richard E. Byrd Charles Lindbergh Joe Foss Horace S. Carswell, Jr. David McCampbell Hilliard A. Wilbanks Donald D. Pucket Jon E. Swanson Robert E. Galer James P. Fleming Ed Freeman Archie Van Winkle Robert M. Hanson Douglas MacArthur Louis J. Sebille Jimmy Doolittle Thomas McGuire Joe M. Jackson Leo K. Thorsness Ralph Cheli Nathan Green Gordon Stephen W. Pless Gerald O. Young Christian Frank Schilt John Lucian Smith George Andrew Davis Leon W. Johnson Charles Calvin Rogers Richard Bong Jefferson J. DeBlanc Raymond L. Knight Edward O'Hare Michael J. Novosel Charles J. Loring, Jr. Kenneth A. Walsh Patrick Henry Brady Bernard F. Fisher Merlyn Hans Dethlefsen James E. Swett Frederick Edgar Ferguson James Stockdale Bud Day
Richard E. Byrd, Douglas MacArthur, Charles Calvin Rogers, James Stockdale, William A. Shomo, Richard Bong, Bruce P. Crandall, David McCampbell, Jay Zeamer, Jr. and Bernard F. Fisher won Medal of Honor and Distinguished Flying Cross
Richard E. Byrd Douglas MacArthur Charles Calvin Rogers James Stockdale William A. Shomo Richard Bong Bruce P. Crandall David McCampbell Jay Zeamer, Jr. Bernard F. Fisher
action filter_type
action intersection
action find_reverse
entity Medal of Honor
relation award received
action find_reverse
entity Distinguished Flying Cross
relation award received
type common name
{'AND': [[{'concept': 'common name'}, 'award received', 'Medal of Honor'], [{'concept': 'common name'}, 'award received', 'Distinguished Flying Cross']]}
SELECT DISTINCT ?k WHERE { ?k property:award_received resource:Distinguished_Flying_Cross . ?k property:award_received resource:Medal_of_Honor . ?k rdf:type ontology:common_name }
[]