Simple Question (Direct)
Simple Question
Q1160781
P463
Q811430
USER
Which construction was Daniel Frost Comstock a member of ?
(Q1160781,P463,c(Q811430))
action filter_type
action find
entity Q1160781
relation P463
type Q811430
['Q1160781', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?i WHERE { resource:Q1160781 property:P463 ?i . ?i rdf:type ontology:Q811430 }
Daniel Frost Comstock
action filter_type
action find
entity Daniel Frost Comstock
relation member of
type construction
['Daniel Frost Comstock', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?i WHERE { resource:Daniel_Frost_Comstock property:member_of ?i . ?i rdf:type ontology:construction }
[]
construction
Q463303
SYSTEM
American Academy of Arts and Sciences
Q463303
(Q1160781,P463,c(Q811430))
action filter_type
action find
entity Q1160781
relation P463
type Q811430
Which construction was Daniel Frost Comstock a member of
['Q1160781', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?i WHERE { resource:Q1160781 property:P463 ?i . ?i rdf:type ontology:Q811430 }
American Academy of Arts and Sciences
Which construction was Daniel Frost Comstock a member of
American Academy of Arts and Sciences
action filter_type
action find
entity Daniel Frost Comstock
relation member of
type construction
['Daniel Frost Comstock', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?i WHERE { resource:Daniel_Frost_Comstock property:member_of ?i . ?i rdf:type ontology:construction }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1160781
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q463303,P19,c(Q56061))
action filter_type
action find
entity Q1160781
relation P19
type Q56061
['Q463303', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q1160781 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Daniel Frost Comstock
action filter_type
action find
entity Daniel Frost Comstock
relation place of birth
type administrative territorial entity
['American Academy of Arts and Sciences', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Daniel_Frost_Comstock property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q54264
SYSTEM
Newport
Q54264
(Q463303,P19,c(Q56061))
action filter_type
action find
entity Q1160781
relation P19
type Q56061
That person was born in [ANSWER]
['Q463303', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q1160781 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Newport
That person was born in Newport
Newport
action filter_type
action find
entity Daniel Frost Comstock
relation place of birth
type administrative territorial entity
['American Academy of Arts and Sciences', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Daniel_Frost_Comstock property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26632293 Q463303
P17
Q15617994
USER
Which administrative territories do American Academy of Arts and Sciences or Yew Tree Cottage belong to ?
OR((Q463303,P17,c(Q15617994)), (Q26632293,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q463303
relation P17
action find
entity Q26632293
relation P17
type Q15617994
{'OR': [['Q463303', 'P17', {'concept': 'Q15617994'}], ['Q26632293', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . { { resource:Q26632293 property:P17 ?p } UNION { resource:Q463303 property:P17 ?p } } }
Yew Tree Cottage American Academy of Arts and Sciences
action filter_type
action union
action find
entity American Academy of Arts and Sciences
relation country
action find
entity Yew Tree Cottage
relation country
type designation for an administrative territorial entity
{'OR': [['American Academy of Arts and Sciences', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Yew Tree Cottage', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Yew_Tree_Cottage property:country ?p } UNION { resource:American_Academy_of_Arts_and_Sciences property:country ?p } } }
[]
designation for an administrative territorial entity
Q30 Q145
SYSTEM
United States of America, United Kingdom
Q30 Q145
OR((Q463303,P17,c(Q15617994)), (Q26632293,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q463303
relation P17
action find
entity Q26632293
relation P17
type Q15617994
[ANSWERS] American Academy of Arts and Sciences or Yew Tree Cottage belong to
{'OR': [['Q463303', 'P17', {'concept': 'Q15617994'}], ['Q26632293', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . { { resource:Q26632293 property:P17 ?p } UNION { resource:Q463303 property:P17 ?p } } }
United States of America United Kingdom
United States of America and United Kingdom American Academy of Arts and Sciences or Yew Tree Cottage belong to
United States of America United Kingdom
action filter_type
action union
action find
entity American Academy of Arts and Sciences
relation country
action find
entity Yew Tree Cottage
relation country
type designation for an administrative territorial entity
{'OR': [['American Academy of Arts and Sciences', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Yew Tree Cottage', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Yew_Tree_Cottage property:country ?p } UNION { resource:American_Academy_of_Arts_and_Sciences property:country ?p } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q30 Q145
P463
Q43229
USER
Which organizations were those administrative territories a member of ?
(Q30,P463,c(Q43229)) (Q145,P463,c(Q43229))
action filter_type
action find
entity prev_answer
relation P463
type Q43229
['Q30', 'P463', {'concept': 'Q43229'}] ['Q145', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?l ) { ( resource:Q30 ) ( resource:Q145 ) } . ?t rdf:type ontology:Q43229 . ?l property:P463 ?t }
United States of America United Kingdom
action filter_type
action find
entity prev_answer
relation member of
type organization
['United States of America', 'member of', {'concept': 'organization'}] ['United Kingdom', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?l ) { ( resource:United_States_of_America ) ( resource:United_Kingdom ) } . ?t rdf:type ontology:organization . ?l property:member_of ?t }
[]
organization
Q151991 Q7825 Q7825
SYSTEM
European Southern Observatory for 1st, World Trade Organization for 2nd, 3rd
Q340195 Q191384 Q899770 Q41550 Q656801 Q170481 Q7825 Q827525 Q340195 Q191384 Q3772571 Q899770 Q7825 Q41550 Q656801 Q151991 Q827525
(Q30,P463,c(Q43229)) (Q145,P463,c(Q43229))
action filter_type
action find
entity prev_answer
relation P463
type Q43229
[ANSWERS]
['Q30', 'P463', {'concept': 'Q43229'}] ['Q145', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?l ) { ( resource:Q30 ) ( resource:Q145 ) } . ?t rdf:type ontology:Q43229 . ?l property:P463 ?t }
African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Organisation for Economic Co-operation and Development International Finance Corporation Asia-Pacific Economic Cooperation World Trade Organization International Development Association African Development Bank International Bank for Reconstruction and Development Caribbean Development Bank International Centre for Settlement of Investment Disputes World Trade Organization Organisation for Economic Co-operation and Development International Finance Corporation European Southern Observatory International Development Association
European Southern Observatory, World Trade Organization and World Trade Organization were those administrative territories a member of
European Southern Observatory World Trade Organization World Trade Organization
action filter_type
action find
entity prev_answer
relation member of
type organization
['United States of America', 'member of', {'concept': 'organization'}] ['United Kingdom', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?l ) { ( resource:United_States_of_America ) ( resource:United_Kingdom ) } . ?t rdf:type ontology:organization . ?l property:member_of ?t }
[]
Clarification
Simple Question|Single Entity|Indirect
Q151991
P108
Q502895
USER
Who works for that organization ?
(c(Q502895),P108,Q151991)
action filter_type
action find_reverse
entity Q151991
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q151991']
SELECT DISTINCT ?n WHERE { ?n property:P108 resource:Q151991 . ?n rdf:type ontology:Q502895 }
European Southern Observatory
action filter_type
action find_reverse
entity European Southern Observatory
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'European Southern Observatory']
SELECT DISTINCT ?n WHERE { ?n property:employer resource:European_Southern_Observatory . ?n rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q151991
SYSTEM
Did you mean European Southern Observatory ?
Q151991 Q7825 Q7825
(c(Q502895),P108,Q151991) (c(Q502895),P108,Q7825) (c(Q502895),P108,Q7825)
[ANSWER]
[{'concept': 'Q502895'}, 'P108', 'Q151991'] [{'concept': 'Q502895'}, 'P108', 'Q7825'] [{'concept': 'Q502895'}, 'P108', 'Q7825']
SELECT DISTINCT ?n WHERE { ?n property:P108 resource:Q151991 . ?n rdf:type ontology:Q502895 }
European Southern Observatory World Trade Organization World Trade Organization
Did you mean European Southern Observatory ?
European Southern Observatory
[{'concept': 'common name'}, 'employer', 'European Southern Observatory'] [{'concept': 'common name'}, 'employer', 'World Trade Organization'] [{'concept': 'common name'}, 'employer', 'World Trade Organization']
SELECT DISTINCT ?n WHERE { ?n property:employer resource:European_Southern_Observatory . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P108,Q151991)
[{'concept': 'Q502895'}, 'P108', 'Q151991']
[{'concept': 'common name'}, 'employer', 'European Southern Observatory']
[]
Q20829709 Q375147
SYSTEM
Olivier Hainaut, Richard Martin West
Q20829709 Q375147
(c(Q502895),P108,Q151991)
action filter_type
action find_reverse
entity Q151991
relation P108
type Q502895
[ANSWERS] work for that organization
[{'concept': 'Q502895'}, 'P108', 'Q151991']
SELECT DISTINCT ?n WHERE { ?n property:P108 resource:Q151991 . ?n rdf:type ontology:Q502895 }
Olivier Hainaut Richard Martin West
Olivier Hainaut and Richard Martin West work for that organization
Olivier Hainaut Richard Martin West
action filter_type
action find_reverse
entity European Southern Observatory
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'European Southern Observatory']
SELECT DISTINCT ?n WHERE { ?n property:employer resource:European_Southern_Observatory . ?n rdf:type ontology:common_name }
[]