Simple Question (Direct)
Simple Question
Q5981936
P69
Q163740
USER
Where were Ian K. Smith educated ?
(Q5981936,P69,c(Q163740))
action filter_type
action find
entity Q5981936
relation P69
type Q163740
['Q5981936', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?t WHERE { resource:Q5981936 property:P69 ?t . ?t rdf:type ontology:Q163740 }
Ian K. Smith
action filter_type
action find
entity Ian K. Smith
relation educated at
type nonprofit organization
['Ian K. Smith', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?t WHERE { resource:Ian_K._Smith property:educated_at ?t . ?t rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q13371 Q49088 Q131252
SYSTEM
Harvard University, Columbia University, University of Chicago
Q49088 Q7691246 Q131252 Q13371
(Q5981936,P69,c(Q163740))
action filter_type
action find
entity Q5981936
relation P69
type Q163740
Ian K. Smith were educated at [ANSWERS]
['Q5981936', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?t WHERE { resource:Q5981936 property:P69 ?t . ?t rdf:type ontology:Q163740 }
Columbia University Teachers College University of Chicago Harvard University
Ian K. Smith were educated at Harvard University, Columbia University and University of Chicago
Harvard University Columbia University University of Chicago
action filter_type
action find
entity Ian K. Smith
relation educated at
type nonprofit organization
['Ian K. Smith', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?t WHERE { resource:Ian_K._Smith property:educated_at ?t . ?t rdf:type ontology:nonprofit_organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q13371
P361
Q3914
USER
Which school is a component of that nonprofit organization ?
(c(Q3914),P361,Q13371)
action filter_type
action find_reverse
entity Q13371
relation P361
type Q3914
[{'concept': 'Q3914'}, 'P361', 'Q13371']
SELECT DISTINCT ?r WHERE { ?r property:P361 resource:Q13371 . ?r rdf:type ontology:Q3914 }
Harvard University
action filter_type
action find_reverse
entity Harvard University
relation part of
type school
[{'concept': 'school'}, 'part of', 'Harvard University']
SELECT DISTINCT ?r WHERE { ?r property:part_of resource:Harvard_University . ?r rdf:type ontology:school }
[]
school
Clarification for simple ques.
Q49088
SYSTEM
Did you mean Columbia University ?
Q13371 Q49088 Q131252
(c(Q3914),P361,Q13371) (c(Q3914),P361,Q49088) (c(Q3914),P361,Q131252)
[ANSWER]
[{'concept': 'Q3914'}, 'P361', 'Q13371'] [{'concept': 'Q3914'}, 'P361', 'Q49088'] [{'concept': 'Q3914'}, 'P361', 'Q131252']
SELECT DISTINCT ?r WHERE { ?r property:P361 resource:Q13371 . ?r rdf:type ontology:Q3914 }
Harvard University Columbia University University of Chicago
Did you mean Columbia University ?
Columbia University
[{'concept': 'school'}, 'part of', 'Harvard University'] [{'concept': 'school'}, 'part of', 'Columbia University'] [{'concept': 'school'}, 'part of', 'University of Chicago']
SELECT DISTINCT ?r WHERE { ?r property:part_of resource:Harvard_University . ?r rdf:type ontology:school }
[]
Simple Question (Coreferenced)
USER
No, I meant Harvard University. Could you tell me the answer for that?
(c(Q3914),P361,Q13371)
Q13371
[{'concept': 'Q3914'}, 'P361', 'Q13371']
[{'concept': 'school'}, 'part of', 'Harvard University']
[]
Q49122
SYSTEM
Harvard Law School
Q49122
(c(Q3914),P361,Q13371)
action filter_type
action find_reverse
entity Q13371
relation P361
type Q3914
[ANSWER] is a component of that nonprofit organization
[{'concept': 'Q3914'}, 'P361', 'Q13371']
SELECT DISTINCT ?r WHERE { ?r property:P361 resource:Q13371 . ?r rdf:type ontology:Q3914 }
Harvard Law School
Harvard Law School is a component of that nonprofit organization
Harvard Law School
action filter_type
action find_reverse
entity Harvard University
relation part of
type school
[{'concept': 'school'}, 'part of', 'Harvard University']
SELECT DISTINCT ?r WHERE { ?r property:part_of resource:Harvard_University . ?r rdf:type ontology:school }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q617433 Q13371
P69
Q502895
USER
Which people studied at Harvard University and Syracuse University ?
AND((c(Q502895),P69,Q13371), (c(Q502895),P69,Q617433))
action filter_type
action intersection
action find_reverse
entity Q13371
relation P69
action find_reverse
entity Q617433
relation P69
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P69', 'Q13371'], [{'concept': 'Q502895'}, 'P69', 'Q617433']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?l property:P69 resource:Q13371 . ?l property:P69 resource:Q617433 }
Syracuse University Harvard University
action filter_type
action intersection
action find_reverse
entity Harvard University
relation educated at
action find_reverse
entity Syracuse University
relation educated at
type common name
{'AND': [[{'concept': 'common name'}, 'educated at', 'Harvard University'], [{'concept': 'common name'}, 'educated at', 'Syracuse University']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?l property:educated_at resource:Harvard_University . ?l property:educated_at resource:Syracuse_University }
[]
common name
Q7847281 Q7366469 Q6369982 Q5764634 Q4144804 Q893620 Q17353080 Q5294603 Q4520621 Q3814320
SYSTEM
Some of them are Trudy H. Clark, Roosevelt Mercer, Jr., Karen R. Polenske, Hilton Kramer, Donald L. Horowitz, Borys Gudziak, Michael Yeung Ming-cheung, Donald Jay Grout, Arvind Sharma, Keith Gessen
Q7357856 Q7617716 Q893620 Q6175983 Q5294603 Q7177390 Q5764634 Q7847281 Q5525404 Q3814320 Q4520621 Q7759223 Q1909611 Q5334784 Q4800159 Q8014881 Q3950899 Q19858889 Q5197312 Q19564403 Q4144804 Q1384309 Q558425 Q393388 Q5491602 Q7366469 Q6369982 Q5216326 Q4898931 Q1930275 Q17353080 Q6836985
AND((c(Q502895),P69,Q13371), (c(Q502895),P69,Q617433))
action filter_type
action intersection
action find_reverse
entity Q13371
relation P69
action find_reverse
entity Q617433
relation P69
type Q502895
[ANSWERS] studied at Harvard University and Syracuse University
{'AND': [[{'concept': 'Q502895'}, 'P69', 'Q13371'], [{'concept': 'Q502895'}, 'P69', 'Q617433']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?l property:P69 resource:Q13371 . ?l property:P69 resource:Q617433 }
Roger Berkowitz Stjepan Meštrović Borys Gudziak Jeffrey Fowler Donald Jay Grout Peter Trowbridge Hilton Kramer Trudy H. Clark Gary L. Browning Keith Gessen Arvind Sharma The Radio Chick Matthew Tobin Anderson Ed Esber Arthur Rock William M. Fraser III Saul Mariaschin Yang Zhuoxin Cy Leslie Andrew E. Rice Donald L. Horowitz Arthur Raymond Halbritter John D. MacDonald Aggrey Awori Franklin J. Blaisdell Roosevelt Mercer, Jr. Karen R. Polenske Daniel A. D'Aniello Betty Miller Unterberger Lisa Lampanelli Michael Yeung Ming-cheung Michelle D. Johnson
Trudy H. Clark, Roosevelt Mercer, Jr., Karen R. Polenske, Hilton Kramer, Donald L. Horowitz, Borys Gudziak, Michael Yeung Ming-cheung, Donald Jay Grout, Arvind Sharma and Keith Gessen studied at Harvard University and Syracuse University
Trudy H. Clark Roosevelt Mercer, Jr. Karen R. Polenske Hilton Kramer Donald L. Horowitz Borys Gudziak Michael Yeung Ming-cheung Donald Jay Grout Arvind Sharma Keith Gessen
action filter_type
action intersection
action find_reverse
entity Harvard University
relation educated at
action find_reverse
entity Syracuse University
relation educated at
type common name
{'AND': [[{'concept': 'common name'}, 'educated at', 'Harvard University'], [{'concept': 'common name'}, 'educated at', 'Syracuse University']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?l property:educated_at resource:Harvard_University . ?l property:educated_at resource:Syracuse_University }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5294603
P108
Q163740
USER
Which nonprofit organization employs Donald Jay Grout ?
(Q5294603,P108,c(Q163740))
action filter_type
action find
entity Q5294603
relation P108
type Q163740
['Q5294603', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?g WHERE { resource:Q5294603 property:P108 ?g . ?g rdf:type ontology:Q163740 }
Donald Jay Grout
action filter_type
action find
entity Donald Jay Grout
relation employer
type nonprofit organization
['Donald Jay Grout', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?g WHERE { resource:Donald_Jay_Grout property:employer ?g . ?g rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49115
SYSTEM
Cornell University
Q49115
(Q5294603,P108,c(Q163740))
action filter_type
action find
entity Q5294603
relation P108
type Q163740
[ANSWER] employs Donald Jay Grout
['Q5294603', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?g WHERE { resource:Q5294603 property:P108 ?g . ?g rdf:type ontology:Q163740 }
Cornell University
Cornell University employs Donald Jay Grout
Cornell University
action filter_type
action find
entity Donald Jay Grout
relation employer
type nonprofit organization
['Donald Jay Grout', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?g WHERE { resource:Donald_Jay_Grout property:employer ?g . ?g rdf:type ontology:nonprofit_organization }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q49115 Q6283892 Q2984610
P138
Q502895
USER
Is that nonprofit organization named after Joseph Henderson and Ezra Cornell ?
(Q49115,P138,Q6283892) (Q49115,P138,Q2984610)
action is_in
entity Q49115
action intersection
action find_reverse
entity Q6283892
relation P138
action find_reverse
entity Q2984610
relation P138
['Q49115', 'P138', 'Q6283892'] ['Q49115', 'P138', 'Q2984610']
ASK WHERE { resource:Q49115 property:P138 resource:Q6283892 . resource:Q49115 property:P138 resource:Q2984610 }
Cornell University Joseph Henderson Ezra Cornell
action is_in
entity Cornell University
action intersection
action find_reverse
entity Joseph Henderson
relation named after
action find_reverse
entity Ezra Cornell
relation named after
['Cornell University', 'named after', 'Joseph Henderson'] ['Cornell University', 'named after', 'Ezra Cornell']
ASK WHERE { resource:Cornell_University property:named_after resource:Joseph_Henderson . resource:Cornell_University property:named_after resource:Ezra_Cornell }
[]
common name
SYSTEM
NO and YES respectively
(Q49115,P138,Q6283892) (Q49115,P138,Q2984610)
action is_in
entity Q49115
action intersection
action find_reverse
entity Q6283892
relation P138
action find_reverse
entity Q2984610
relation P138
[ANSWER]
['Q49115', 'P138', 'Q6283892'] ['Q49115', 'P138', 'Q2984610']
ASK WHERE { resource:Q49115 property:P138 resource:Q6283892 . resource:Q49115 property:P138 resource:Q2984610 }
NO and YES respectively
action is_in
entity Cornell University
action intersection
action find_reverse
entity Joseph Henderson
relation named after
action find_reverse
entity Ezra Cornell
relation named after
['Cornell University', 'named after', 'Joseph Henderson'] ['Cornell University', 'named after', 'Ezra Cornell']
ASK WHERE { resource:Cornell_University property:named_after resource:Joseph_Henderson . resource:Cornell_University property:named_after resource:Ezra_Cornell }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q7366469 Q6483113 Q13371
P69
Q163740
USER
Was Roosevelt Mercer, Jr. a student at Lancaster Bible College and Harvard University ?
(Q7366469,P69,Q6483113) (Q7366469,P69,Q13371)
action is_in
entity Q7366469
action intersection
action find_reverse
entity Q6483113
relation P69
action find_reverse
entity Q13371
relation P69
['Q7366469', 'P69', 'Q6483113'] ['Q7366469', 'P69', 'Q13371']
ASK WHERE { resource:Q7366469 property:P69 resource:Q13371 . resource:Q7366469 property:P69 resource:Q6483113 }
Roosevelt Mercer, Jr. Lancaster Bible College Harvard University
action is_in
entity Roosevelt Mercer, Jr.
action intersection
action find_reverse
entity Lancaster Bible College
relation educated at
action find_reverse
entity Harvard University
relation educated at
['Roosevelt Mercer, Jr.', 'educated at', 'Lancaster Bible College'] ['Roosevelt Mercer, Jr.', 'educated at', 'Harvard University']
ASK WHERE { resource:Roosevelt_Mercer,_Jr. property:educated_at resource:Harvard_University . resource:Roosevelt_Mercer,_Jr. property:educated_at resource:Lancaster_Bible_College }
[]
nonprofit organization
SYSTEM
NO and YES respectively
(Q7366469,P69,Q6483113) (Q7366469,P69,Q13371)
action is_in
entity Q7366469
action intersection
action find_reverse
entity Q6483113
relation P69
action find_reverse
entity Q13371
relation P69
[ANSWER]
['Q7366469', 'P69', 'Q6483113'] ['Q7366469', 'P69', 'Q13371']
ASK WHERE { resource:Q7366469 property:P69 resource:Q13371 . resource:Q7366469 property:P69 resource:Q6483113 }
NO and YES respectively
action is_in
entity Roosevelt Mercer, Jr.
action intersection
action find_reverse
entity Lancaster Bible College
relation educated at
action find_reverse
entity Harvard University
relation educated at
['Roosevelt Mercer, Jr.', 'educated at', 'Lancaster Bible College'] ['Roosevelt Mercer, Jr.', 'educated at', 'Harvard University']
ASK WHERE { resource:Roosevelt_Mercer,_Jr. property:educated_at resource:Harvard_University . resource:Roosevelt_Mercer,_Jr. property:educated_at resource:Lancaster_Bible_College }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3504793 Q5764634
P69
Q163740
USER
Which nonprofit organizations are the alma mater of Hilton Kramer or Alice Vanderbilt Morris ?
OR((Q5764634,P69,c(Q163740)), (Q3504793,P69,c(Q163740)))
action filter_type
action union
action find
entity Q5764634
relation P69
action find
entity Q3504793
relation P69
type Q163740
{'OR': [['Q5764634', 'P69', {'concept': 'Q163740'}], ['Q3504793', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?m ) { ( resource:Q3504793 ) ( resource:Q5764634 ) } . ?m property:P69 ?a } . ?a rdf:type ontology:Q163740 }
Alice Vanderbilt Morris Hilton Kramer
action filter_type
action union
action find
entity Hilton Kramer
relation educated at
action find
entity Alice Vanderbilt Morris
relation educated at
type nonprofit organization
{'OR': [['Hilton Kramer', 'educated at', {'concept': 'nonprofit organization'}], ['Alice Vanderbilt Morris', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?m ) { ( resource:Alice_Vanderbilt_Morris ) ( resource:Hilton_Kramer ) } . ?m property:educated_at ?a } . ?a rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q617433 Q49088 Q13371
SYSTEM
Syracuse University, Columbia University, Harvard University
Q617433 Q49088 Q13371
OR((Q5764634,P69,c(Q163740)), (Q3504793,P69,c(Q163740)))
action filter_type
action union
action find
entity Q5764634
relation P69
action find
entity Q3504793
relation P69
type Q163740
[ANSWERS] are the alma mater of Hilton Kramer or Alice Vanderbilt Morris
{'OR': [['Q5764634', 'P69', {'concept': 'Q163740'}], ['Q3504793', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?m ) { ( resource:Q3504793 ) ( resource:Q5764634 ) } . ?m property:P69 ?a } . ?a rdf:type ontology:Q163740 }
Syracuse University Columbia University Harvard University
Syracuse University, Columbia University and Harvard University are the alma mater of Hilton Kramer or Alice Vanderbilt Morris
Syracuse University Columbia University Harvard University
action filter_type
action union
action find
entity Hilton Kramer
relation educated at
action find
entity Alice Vanderbilt Morris
relation educated at
type nonprofit organization
{'OR': [['Hilton Kramer', 'educated at', {'concept': 'nonprofit organization'}], ['Alice Vanderbilt Morris', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?m ) { ( resource:Alice_Vanderbilt_Morris ) ( resource:Hilton_Kramer ) } . ?m property:educated_at ?a } . ?a rdf:type ontology:nonprofit_organization }
[]