Simple Question (Direct)
Simple Question
Q1201318
P512
Q3412758
USER
What degree does Detlef Müller-Böling hold ?
(Q1201318,P512,c(Q3412758))
action filter_type
action find
entity Q1201318
relation P512
type Q3412758
['Q1201318', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?f WHERE { resource:Q1201318 property:P512 ?f . ?f rdf:type ontology:Q3412758 }
Detlef Müller-Böling
action filter_type
action find
entity Detlef Müller-Böling
relation academic degree
type qualification
['Detlef Müller-Böling', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?f WHERE { resource:Detlef_Müller-Böling property:academic_degree ?f . ?f rdf:type ontology:qualification }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q1201318,P512,c(Q3412758))
action filter_type
action find
entity Q1201318
relation P512
type Q3412758
Detlef Müller-Böling holds the [ANSWER]
['Q1201318', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?f WHERE { resource:Q1201318 property:P512 ?f . ?f rdf:type ontology:Q3412758 }
doctoral degree
Detlef Müller-Böling holds the doctoral degree
doctoral degree
action filter_type
action find
entity Detlef Müller-Böling
relation academic degree
type qualification
['Detlef Müller-Böling', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?f WHERE { resource:Detlef_Müller-Böling property:academic_degree ?f . ?f rdf:type ontology:qualification }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1201318
P108
Q3918
USER
Who is the employer of Detlef Müller-Böling ?
(Q1201318,P108,c(Q3918))
action filter_type
action find
entity Q1201318
relation P108
type Q3918
['Q1201318', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?r WHERE { resource:Q1201318 property:P108 ?r . ?r rdf:type ontology:Q3918 }
Detlef Müller-Böling
action filter_type
action find
entity Detlef Müller-Böling
relation employer
type university
['Detlef Müller-Böling', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?r WHERE { resource:Detlef_Müller-Böling property:employer ?r . ?r rdf:type ontology:university }
[]
university
Q685557
SYSTEM
TU Dortmund University
Q685557
(Q1201318,P108,c(Q3918))
action filter_type
action find
entity Q1201318
relation P108
type Q3918
The employer of Detlef Müller-Böling is the [ANSWER]
['Q1201318', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?r WHERE { resource:Q1201318 property:P108 ?r . ?r rdf:type ontology:Q3918 }
TU Dortmund University
The employer of Detlef Müller-Böling is the TU Dortmund University
TU Dortmund University
action filter_type
action find
entity Detlef Müller-Böling
relation employer
type university
['Detlef Müller-Böling', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?r WHERE { resource:Detlef_Müller-Böling property:employer ?r . ?r rdf:type ontology:university }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1201318
P937
Q56061
USER
Which administrative territories are the work locations of Detlef Müller-Böling ?
(Q1201318,P937,c(Q56061))
action filter_type
action find
entity Q1201318
relation P937
type Q56061
['Q1201318', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q1201318 property:P937 ?f . ?f rdf:type ontology:Q56061 }
Detlef Müller-Böling
action filter_type
action find
entity Detlef Müller-Böling
relation work location
type administrative territorial entity
['Detlef Müller-Böling', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Detlef_Müller-Böling property:work_location ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64 Q3771
SYSTEM
Berlin, Gütersloh
Q64 Q3771
(Q1201318,P937,c(Q56061))
action filter_type
action find
entity Q1201318
relation P937
type Q56061
[ANSWERS] are the work locations of Detlef Müller-Böling
['Q1201318', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q1201318 property:P937 ?f . ?f rdf:type ontology:Q56061 }
Berlin Gütersloh
Berlin and Gütersloh are the work locations of Detlef Müller-Böling
Berlin Gütersloh
action filter_type
action find
entity Detlef Müller-Böling
relation work location
type administrative territorial entity
['Detlef Müller-Böling', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Detlef_Müller-Böling property:work_location ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q983233
Q56061
USER
And also tell me about Arnon Grunberg?
(Q983233,P937,c(Q56061))
action filter_type
action find
entity Q983233
relation P937
type Q56061
['Q983233', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q983233 property:P937 ?w . ?w rdf:type ontology:Q56061 }
Arnon Grunberg
action filter_type
action find
entity Arnon Grunberg
relation work location
type administrative territorial entity
['Arnon Grunberg', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Arnon_Grunberg property:work_location ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q983233,P937,c(Q56061))
action filter_type
action find
entity Q983233
relation P937
type Q56061
[ANSWER]
['Q983233', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q983233 property:P937 ?w . ?w rdf:type ontology:Q56061 }
New York City
New York City
action filter_type
action find
entity Arnon Grunberg
relation work location
type administrative territorial entity
['Arnon Grunberg', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Arnon_Grunberg property:work_location ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q983233
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q60,P19,c(Q56061))
action filter_type
action find
entity Q983233
relation P19
type Q56061
['Q60', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q983233 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Arnon Grunberg
action filter_type
action find
entity Arnon Grunberg
relation place of birth
type administrative territorial entity
['New York City', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Arnon_Grunberg property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q727
SYSTEM
Amsterdam
Q727
(Q60,P19,c(Q56061))
action filter_type
action find
entity Q983233
relation P19
type Q56061
That person was born in [ANSWER]
['Q60', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q983233 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Amsterdam
That person was born in Amsterdam
Amsterdam
action filter_type
action find
entity Arnon Grunberg
relation place of birth
type administrative territorial entity
['New York City', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Arnon_Grunberg property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q16426628 Q3771
P47 P1383
Q56061
USER
Which administrative territories are bordered by Gütersloh or are administratively managed by Fărcășești ?
OR((Q3771,P47,c(Q56061)), (Q16426628,P1383,c(Q56061)))
action filter_type
action union
action find
entity Q3771
relation P47
action find
entity Q16426628
relation P1383
type Q56061
{'OR': [['Q3771', 'P47', {'concept': 'Q56061'}], ['Q16426628', 'P1383', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . { { resource:Q16426628 property:P1383 ?i } UNION { resource:Q3771 property:P47 ?i } } }
Fărcășești Gütersloh
action filter_type
action union
action find
entity Gütersloh
relation shares border with
action find
entity Fărcășești
relation contains settlement
type administrative territorial entity
{'OR': [['Gütersloh', 'shares border with', {'concept': 'administrative territorial entity'}], ['Fărcășești', 'contains settlement', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . { { resource:Fărcășești property:contains_settlement ?i } UNION { resource:Gütersloh property:shares_border_with ?i } } }
[]
administrative territorial entity
Q943100 Q2112 Q12140430 Q12087671 Q225729 Q12165621 Q225375 Q12148991 Q12163208 Q12148199
SYSTEM
Fărcășești, Bielefeld, Peșteana de Jos, Valea cu Apă, Harsewinkel, Fărcășești-Moșneni, Verl, Roșia-Jiu, Timișeni, Rogojel
Q943100 Q2112 Q12140430 Q12087671 Q225729 Q12165621 Q225375 Q12148991 Q12163208 Q12148199
OR((Q3771,P47,c(Q56061)), (Q16426628,P1383,c(Q56061)))
action filter_type
action union
action find
entity Q3771
relation P47
action find
entity Q16426628
relation P1383
type Q56061
[ANSWERS] are bordered by Gütersloh or are administratively managed by Fărcășești
{'OR': [['Q3771', 'P47', {'concept': 'Q56061'}], ['Q16426628', 'P1383', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . { { resource:Q16426628 property:P1383 ?i } UNION { resource:Q3771 property:P47 ?i } } }
Fărcășești Bielefeld Peșteana de Jos Valea cu Apă Harsewinkel Fărcășești-Moșneni Verl Roșia-Jiu Timișeni Rogojel
Fărcășești, Bielefeld, Peșteana de Jos, Valea cu Apă, Harsewinkel, Fărcășești-Moșneni, Verl, Roșia-Jiu, Timișeni and Rogojel are bordered by Gütersloh or are administratively managed by Fărcășești
Fărcășești Bielefeld Peșteana de Jos Valea cu Apă Harsewinkel Fărcășești-Moșneni Verl Roșia-Jiu Timișeni Rogojel
action filter_type
action union
action find
entity Gütersloh
relation shares border with
action find
entity Fărcășești
relation contains settlement
type administrative territorial entity
{'OR': [['Gütersloh', 'shares border with', {'concept': 'administrative territorial entity'}], ['Fărcășești', 'contains settlement', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . { { resource:Fărcășești property:contains_settlement ?i } UNION { resource:Gütersloh property:shares_border_with ?i } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q569912 Q60
P161 P6
Q502895
USER
Which people are the heads of the government of New York City or starred in Münchhausen ?
OR((Q60,P6,c(Q502895)), (Q569912,P161,c(Q502895)))
action filter_type
action union
action find
entity Q60
relation P6
action find
entity Q569912
relation P161
type Q502895
{'OR': [['Q60', 'P6', {'concept': 'Q502895'}], ['Q569912', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . { { resource:Q60 property:P6 ?f } UNION { resource:Q569912 property:P161 ?f } } }
Münchhausen New York City
action filter_type
action union
action find
entity New York City
relation head of government
action find
entity Münchhausen
relation cast member
type common name
{'OR': [['New York City', 'head of government', {'concept': 'common name'}], ['Münchhausen', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . { { resource:New_York_City property:head_of_government ?f } UNION { resource:Münchhausen property:cast_member ?f } } }
[]
common name
Q70289 Q5536568 Q78586 Q2544704 Q1871557 Q212648 Q96599 Q1610783 Q1701296 Q666931
SYSTEM
Some of them are Käthe Haack, George B. McClellan, Jr., Leo Slezak, William Jay Gaynor, Lewis Brody, Rudy Giuliani, Michael Bohnen, Werner Scharf, John P. O'Brien, John Lindsay
Q204135 Q6287566 Q441554 Q2156376 Q607 Q122463 Q2544704 Q4121154 Q100989 Q213569 Q3182321 Q561231 Q312502 Q5536568 Q467122 Q329910 Q122663 Q68898 Q1701296 Q439156 Q15063134 Q1610783 Q6233903 Q212648 Q1871557 Q666931 Q939458 Q2274772 Q96599 Q78640 Q68582 Q91575 Q86009 Q4911497 Q104604 Q467133 Q78586 Q1556509 Q70289
OR((Q60,P6,c(Q502895)), (Q569912,P161,c(Q502895)))
action filter_type
action union
action find
entity Q60
relation P6
action find
entity Q569912
relation P161
type Q502895
[ANSWERS] are the heads of the government of New York City or starred in Münchhausen
{'OR': [['Q60', 'P6', {'concept': 'Q502895'}], ['Q569912', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . { { resource:Q60 property:P6 ?f } UNION { resource:Q569912 property:P161 ?f } } }
Jimmy Walker Joseph V. McKee William O'Dwyer Robert Anderson Van Wyck Michael Bloomberg Armin Schweizer William Jay Gaynor Ardolph L. Kline Hubert von Meyerinck Fritz Busch John Purroy Mitchel Hans Albers Fiorello H. La Guardia George B. McClellan, Jr. Ed Koch Abraham Beame Andrews Engelmann Brigitte Horney John P. O'Brien Robert F. Wagner Franz Weber Werner Scharf John Francis Hylan Rudy Giuliani Lewis Brody John Lindsay Vincent R. Impellitteri Seth Low Michael Bohnen Ferdinand Marian Ilse Werner Hans Brausewetter Harry Hardt Bill de Blasio Wilhelm Bendow David Dinkins Leo Slezak Gustav Waldau Käthe Haack
Käthe Haack, George B. McClellan, Jr., Leo Slezak, William Jay Gaynor, Lewis Brody, Rudy Giuliani, Michael Bohnen, Werner Scharf, John P. O'Brien and John Lindsay are the heads of the government of New York City or starred in Münchhausen
Käthe Haack George B. McClellan, Jr. Leo Slezak William Jay Gaynor Lewis Brody Rudy Giuliani Michael Bohnen Werner Scharf John P. O'Brien John Lindsay
action filter_type
action union
action find
entity New York City
relation head of government
action find
entity Münchhausen
relation cast member
type common name
{'OR': [['New York City', 'head of government', {'concept': 'common name'}], ['Münchhausen', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . { { resource:New_York_City property:head_of_government ?f } UNION { resource:Münchhausen property:cast_member ?f } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2544704
P1196
Q1931388
USER
What situation did that person die in ?
(Q2544704,P1196,c(Q1931388))
action filter_type
action find
entity Q2544704
relation P1196
type Q1931388
['Q2544704', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?x WHERE { resource:Q2544704 property:P1196 ?x . ?x rdf:type ontology:Q1931388 }
William Jay Gaynor
action filter_type
action find
entity William Jay Gaynor
relation manner of death
type cause of death
['William Jay Gaynor', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?x WHERE { resource:William_Jay_Gaynor property:manner_of_death ?x . ?x rdf:type ontology:cause_of_death }
[]
cause of death
Clarification for simple ques.
Q70289
SYSTEM
Did you mean Käthe Haack ?
Q70289 Q5536568 Q78586 Q2544704 Q1871557 Q212648 Q96599 Q1610783 Q1701296 Q666931
(Q70289,P1196,c(Q1931388)) (Q5536568,P1196,c(Q1931388)) (Q78586,P1196,c(Q1931388)) (Q2544704,P1196,c(Q1931388)) (Q1871557,P1196,c(Q1931388)) (Q212648,P1196,c(Q1931388)) (Q96599,P1196,c(Q1931388)) (Q1610783,P1196,c(Q1931388)) (Q1701296,P1196,c(Q1931388)) (Q666931,P1196,c(Q1931388))
[ANSWER]
['Q70289', 'P1196', {'concept': 'Q1931388'}] ['Q5536568', 'P1196', {'concept': 'Q1931388'}] ['Q78586', 'P1196', {'concept': 'Q1931388'}] ['Q2544704', 'P1196', {'concept': 'Q1931388'}] ['Q1871557', 'P1196', {'concept': 'Q1931388'}] ['Q212648', 'P1196', {'concept': 'Q1931388'}] ['Q96599', 'P1196', {'concept': 'Q1931388'}] ['Q1610783', 'P1196', {'concept': 'Q1931388'}] ['Q1701296', 'P1196', {'concept': 'Q1931388'}] ['Q666931', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?x WHERE { resource:Q2544704 property:P1196 ?x . ?x rdf:type ontology:Q1931388 }
Käthe Haack George B. McClellan, Jr. Leo Slezak William Jay Gaynor Lewis Brody Rudy Giuliani Michael Bohnen Werner Scharf John P. O'Brien John Lindsay
Did you mean Käthe Haack ?
Käthe Haack
['Käthe Haack', 'manner of death', {'concept': 'cause of death'}] ['George B. McClellan, Jr.', 'manner of death', {'concept': 'cause of death'}] ['Leo Slezak', 'manner of death', {'concept': 'cause of death'}] ['William Jay Gaynor', 'manner of death', {'concept': 'cause of death'}] ['Lewis Brody', 'manner of death', {'concept': 'cause of death'}] ['Rudy Giuliani', 'manner of death', {'concept': 'cause of death'}] ['Michael Bohnen', 'manner of death', {'concept': 'cause of death'}] ['Werner Scharf', 'manner of death', {'concept': 'cause of death'}] ["John P. O'Brien", 'manner of death', {'concept': 'cause of death'}] ['John Lindsay', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?x WHERE { resource:William_Jay_Gaynor property:manner_of_death ?x . ?x rdf:type ontology:cause_of_death }
[]
Simple Question (Coreferenced)
USER
No, I meant William Jay Gaynor. Could you tell me the answer for that?
(Q2544704,P1196,c(Q1931388))
Q2544704
['Q2544704', 'P1196', {'concept': 'Q1931388'}]
['William Jay Gaynor', 'manner of death', {'concept': 'cause of death'}]
[]
Q3739104
SYSTEM
natural causes
Q3739104
(Q2544704,P1196,c(Q1931388))
action filter_type
action find
entity Q2544704
relation P1196
type Q1931388
That person died in [ANSWER]
['Q2544704', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?x WHERE { resource:Q2544704 property:P1196 ?x . ?x rdf:type ontology:Q1931388 }
natural causes
That person died in natural causes
natural causes
action filter_type
action find
entity William Jay Gaynor
relation manner of death
type cause of death
['William Jay Gaynor', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?x WHERE { resource:William_Jay_Gaynor property:manner_of_death ?x . ?x rdf:type ontology:cause_of_death }
[]