Simple Question (Direct)
Simple Question
Q7964381
P108
Q163740
USER
Which nonprofit organizations are the employers of Walter Broadnax ?
(Q7964381,P108,c(Q163740))
action filter_type
action find
entity Q7964381
relation P108
type Q163740
['Q7964381', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?j WHERE { resource:Q7964381 property:P108 ?j . ?j rdf:type ontology:Q163740 }
Walter Broadnax
action filter_type
action find
entity Walter Broadnax
relation employer
type nonprofit organization
['Walter Broadnax', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?j WHERE { resource:Walter_Broadnax property:employer ?j . ?j rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q149990 Q13371
SYSTEM
University of Rochester, Harvard University
Q149990 Q13371
(Q7964381,P108,c(Q163740))
action filter_type
action find
entity Q7964381
relation P108
type Q163740
[ANSWERS] are the employers of Walter Broadnax
['Q7964381', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?j WHERE { resource:Q7964381 property:P108 ?j . ?j rdf:type ontology:Q163740 }
University of Rochester Harvard University
University of Rochester and Harvard University are the employers of Walter Broadnax
University of Rochester Harvard University
action filter_type
action find
entity Walter Broadnax
relation employer
type nonprofit organization
['Walter Broadnax', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?j WHERE { resource:Walter_Broadnax property:employer ?j . ?j rdf:type ontology:nonprofit_organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q13371
P112
Q3914
USER
Which school was started by that nonprofit organization ?
(c(Q3914),P112,Q13371)
action filter_type
action find_reverse
entity Q13371
relation P112
type Q3914
[{'concept': 'Q3914'}, 'P112', 'Q13371']
SELECT DISTINCT ?c WHERE { ?c property:P112 resource:Q13371 . ?c rdf:type ontology:Q3914 }
Harvard University
action filter_type
action find_reverse
entity Harvard University
relation founder
type school
[{'concept': 'school'}, 'founder', 'Harvard University']
SELECT DISTINCT ?c WHERE { ?c property:founder resource:Harvard_University . ?c rdf:type ontology:school }
[]
school
Clarification for simple ques.
Q149990
SYSTEM
Did you mean University of Rochester ?
Q149990 Q13371
(c(Q3914),P112,Q149990) (c(Q3914),P112,Q13371)
[ANSWER]
[{'concept': 'Q3914'}, 'P112', 'Q149990'] [{'concept': 'Q3914'}, 'P112', 'Q13371']
SELECT DISTINCT ?c WHERE { ?c property:P112 resource:Q13371 . ?c rdf:type ontology:Q3914 }
University of Rochester Harvard University
Did you mean University of Rochester ?
University of Rochester
[{'concept': 'school'}, 'founder', 'University of Rochester'] [{'concept': 'school'}, 'founder', 'Harvard University']
SELECT DISTINCT ?c WHERE { ?c property:founder resource:Harvard_University . ?c rdf:type ontology:school }
[]
Simple Question (Coreferenced)
USER
No, I meant Harvard University. Could you tell me the answer for that?
(c(Q3914),P112,Q13371)
Q13371
[{'concept': 'Q3914'}, 'P112', 'Q13371']
[{'concept': 'school'}, 'founder', 'Harvard University']
[]
Q49126
SYSTEM
Harvard Business School
Q49126
(c(Q3914),P112,Q13371)
action filter_type
action find_reverse
entity Q13371
relation P112
type Q3914
[ANSWER] was started by that nonprofit organization
[{'concept': 'Q3914'}, 'P112', 'Q13371']
SELECT DISTINCT ?c WHERE { ?c property:P112 resource:Q13371 . ?c rdf:type ontology:Q3914 }
Harvard Business School
Harvard Business School was started by that nonprofit organization
Harvard Business School
action filter_type
action find_reverse
entity Harvard University
relation founder
type school
[{'concept': 'school'}, 'founder', 'Harvard University']
SELECT DISTINCT ?c WHERE { ?c property:founder resource:Harvard_University . ?c rdf:type ontology:school }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q49126 Q30
P17
Q15617994
USER
Is that school a part of United States of America ?
(Q49126,P17,Q30)
action is_in
entity Q30
action find
entity Q49126
relation P17
['Q49126', 'P17', 'Q30']
ASK WHERE { resource:Q49126 property:P17 resource:Q30 }
Harvard Business School United States of America
action is_in
entity United States of America
action find
entity Harvard Business School
relation country
['Harvard Business School', 'country', 'United States of America']
ASK WHERE { resource:Harvard_Business_School property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q49126,P17,Q30)
action is_in
entity Q30
action find
entity Q49126
relation P17
[ANSWER]
['Q49126', 'P17', 'Q30']
ASK WHERE { resource:Q49126 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Harvard Business School
relation country
['Harvard Business School', 'country', 'United States of America']
ASK WHERE { resource:Harvard_Business_School property:country resource:United_States_of_America }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q7964381 Q30
P27
Q15617994
USER
Is United States of America the country of citizenship of Walter Broadnax ?
(Q7964381,P27,Q30)
action is_in
entity Q30
action find
entity Q7964381
relation P27
['Q7964381', 'P27', 'Q30']
ASK WHERE { resource:Q7964381 property:P27 resource:Q30 }
Walter Broadnax United States of America
action is_in
entity United States of America
action find
entity Walter Broadnax
relation country of citizenship
['Walter Broadnax', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Walter_Broadnax property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q7964381,P27,Q30)
action is_in
entity Q30
action find
entity Q7964381
relation P27
[ANSWER]
['Q7964381', 'P27', 'Q30']
ASK WHERE { resource:Q7964381 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Walter Broadnax
relation country of citizenship
['Walter Broadnax', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Walter_Broadnax property:country_of_citizenship resource:United_States_of_America }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12082664 Q49126
P17
Q15617994
USER
Which administrative territories are Harvard Business School or Bâsca Rozilei located in ?
OR((Q49126,P17,c(Q15617994)), (Q12082664,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q49126
relation P17
action find
entity Q12082664
relation P17
type Q15617994
{'OR': [['Q49126', 'P17', {'concept': 'Q15617994'}], ['Q12082664', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?p ) { ( resource:Q49126 ) ( resource:Q12082664 ) } . ?p property:P17 ?r } . ?r rdf:type ontology:Q15617994 }
Bâsca Rozilei Harvard Business School
action filter_type
action union
action find
entity Harvard Business School
relation country
action find
entity Bâsca Rozilei
relation country
type designation for an administrative territorial entity
{'OR': [['Harvard Business School', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Bâsca Rozilei', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?p ) { ( resource:Harvard_Business_School ) ( resource:Bâsca_Rozilei ) } . ?p property:country ?r } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218 Q30
SYSTEM
Romania, United States of America
Q218 Q30
OR((Q49126,P17,c(Q15617994)), (Q12082664,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q49126
relation P17
action find
entity Q12082664
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q49126', 'P17', {'concept': 'Q15617994'}], ['Q12082664', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?p ) { ( resource:Q49126 ) ( resource:Q12082664 ) } . ?p property:P17 ?r } . ?r rdf:type ontology:Q15617994 }
Romania United States of America
Which administrative territories are Harvard Business School or Bâsca Rozilei located in
Romania United States of America
action filter_type
action union
action find
entity Harvard Business School
relation country
action find
entity Bâsca Rozilei
relation country
type designation for an administrative territorial entity
{'OR': [['Harvard Business School', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Bâsca Rozilei', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?p ) { ( resource:Harvard_Business_School ) ( resource:Bâsca_Rozilei ) } . ?p property:country ?r } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16724528
P495
Q838948
USER
Do Winter Dreams Do Not Fly have those administrative territories as their place of origin ?
(Q16724528,P495,Q218) (Q16724528,P495,Q30)
action is_in
entity prev_answer
action find
entity Q16724528
relation P495
['Q16724528', 'P495', 'Q218'] ['Q16724528', 'P495', 'Q30']
ASK WHERE { VALUES ( ?s ) { ( resource:Q218 ) ( resource:Q30 ) } . resource:Q16724528 property:P495 ?s }
Winter Dreams Do Not Fly
action is_in
entity prev_answer
action find
entity Winter Dreams Do Not Fly
relation country of origin
['Winter Dreams Do Not Fly', 'country of origin', 'Romania'] ['Winter Dreams Do Not Fly', 'country of origin', 'United States of America']
ASK WHERE { VALUES ( ?s ) { ( resource:Romania ) ( resource:United_States_of_America ) } . resource:Winter_Dreams_Do_Not_Fly property:country_of_origin ?s }
[]
work of art
SYSTEM
NO
(Q16724528,P495,Q218) (Q16724528,P495,Q30)
action is_in
entity prev_answer
action find
entity Q16724528
relation P495
[ANSWER]
['Q16724528', 'P495', 'Q218'] ['Q16724528', 'P495', 'Q30']
ASK WHERE { VALUES ( ?s ) { ( resource:Q218 ) ( resource:Q30 ) } . resource:Q16724528 property:P495 ?s }
No
action is_in
entity prev_answer
action find
entity Winter Dreams Do Not Fly
relation country of origin
['Winter Dreams Do Not Fly', 'country of origin', 'Romania'] ['Winter Dreams Do Not Fly', 'country of origin', 'United States of America']
ASK WHERE { VALUES ( ?s ) { ( resource:Romania ) ( resource:United_States_of_America ) } . resource:Winter_Dreams_Do_Not_Fly property:country_of_origin ?s }
[]