Simple Question (Direct)
Simple Question
Q1577787
P106
Q12737077
USER
What are the job of Hans-Jürgen Peiper ?
(Q1577787,P106,c(Q12737077))
action filter_type
action find
entity Q1577787
relation P106
type Q12737077
['Q1577787', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q1577787 property:P106 ?j }
Hans-Jürgen Peiper
action filter_type
action find
entity Hans-Jürgen Peiper
relation occupation
type occupation
['Hans-Jürgen Peiper', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Hans-Jürgen_Peiper property:occupation ?j }
[]
occupation
Q774306 Q1622272
SYSTEM
surgeon, university teacher
Q774306 Q1622272
(Q1577787,P106,c(Q12737077))
action filter_type
action find
entity Q1577787
relation P106
type Q12737077
The job of Hans-Jürgen Peiper are a [ANSWERS]
['Q1577787', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q1577787 property:P106 ?j }
surgeon university teacher
The job of Hans-Jürgen Peiper are a surgeon and university teacher
surgeon university teacher
action filter_type
action find
entity Hans-Jürgen Peiper
relation occupation
type occupation
['Hans-Jürgen Peiper', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Hans-Jürgen_Peiper property:occupation ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1577787
P108
Q811979
USER
Which architectural structure employs Hans-Jürgen Peiper ?
(Q1577787,P108,c(Q811979))
action filter_type
action find
entity Q1577787
relation P108
type Q811979
['Q1577787', 'P108', {'concept': 'Q811979'}]
SELECT DISTINCT ?o WHERE { resource:Q1577787 property:P108 ?o . ?o rdf:type ontology:Q811979 }
Hans-Jürgen Peiper
action filter_type
action find
entity Hans-Jürgen Peiper
relation employer
type architectural structure
['Hans-Jürgen Peiper', 'employer', {'concept': 'architectural structure'}]
SELECT DISTINCT ?o WHERE { resource:Hans-Jürgen_Peiper property:employer ?o . ?o rdf:type ontology:architectural_structure }
[]
architectural structure
Q152838
SYSTEM
University of Göttingen
Q152838
(Q1577787,P108,c(Q811979))
action filter_type
action find
entity Q1577787
relation P108
type Q811979
[ANSWER] employs Hans-Jürgen Peiper
['Q1577787', 'P108', {'concept': 'Q811979'}]
SELECT DISTINCT ?o WHERE { resource:Q1577787 property:P108 ?o . ?o rdf:type ontology:Q811979 }
University of Göttingen
University of Göttingen employs Hans-Jürgen Peiper
University of Göttingen
action filter_type
action find
entity Hans-Jürgen Peiper
relation employer
type architectural structure
['Hans-Jürgen Peiper', 'employer', {'concept': 'architectural structure'}]
SELECT DISTINCT ?o WHERE { resource:Hans-Jürgen_Peiper property:employer ?o . ?o rdf:type ontology:architectural_structure }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q73413
Q811979
USER
And also tell me about Johann Gottfried Zinn?
(Q73413,P108,c(Q811979))
action filter_type
action find
entity Q73413
relation P108
type Q811979
['Q73413', 'P108', {'concept': 'Q811979'}]
SELECT DISTINCT ?y WHERE { resource:Q73413 property:P108 ?y . ?y rdf:type ontology:Q811979 }
Johann Gottfried Zinn
action filter_type
action find
entity Johann Gottfried Zinn
relation employer
type architectural structure
['Johann Gottfried Zinn', 'employer', {'concept': 'architectural structure'}]
SELECT DISTINCT ?y WHERE { resource:Johann_Gottfried_Zinn property:employer ?y . ?y rdf:type ontology:architectural_structure }
[]
architectural structure
Q152838
SYSTEM
University of Göttingen
Q152838
(Q73413,P108,c(Q811979))
action filter_type
action find
entity Q73413
relation P108
type Q811979
[ANSWER]
['Q73413', 'P108', {'concept': 'Q811979'}]
SELECT DISTINCT ?y WHERE { resource:Q73413 property:P108 ?y . ?y rdf:type ontology:Q811979 }
University of Göttingen
University of Göttingen
action filter_type
action find
entity Johann Gottfried Zinn
relation employer
type architectural structure
['Johann Gottfried Zinn', 'employer', {'concept': 'architectural structure'}]
SELECT DISTINCT ?y WHERE { resource:Johann_Gottfried_Zinn property:employer ?y . ?y rdf:type ontology:architectural_structure }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11141512 Q1577787
P27
Q1048835
USER
Which political territories are the countries of citizenship of Hans-Jürgen Peiper or Milorad Mandić ?
OR((Q1577787,P27,c(Q1048835)), (Q11141512,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1577787
relation P27
action find
entity Q11141512
relation P27
type Q1048835
{'OR': [['Q1577787', 'P27', {'concept': 'Q1048835'}], ['Q11141512', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?z WHERE { { ?u property:P27 ?z . VALUES ( ?u ) { ( resource:Q1577787 ) ( resource:Q11141512 ) } } . ?z rdf:type ontology:Q1048835 }
Milorad Mandić Hans-Jürgen Peiper
action filter_type
action union
action find
entity Hans-Jürgen Peiper
relation country of citizenship
action find
entity Milorad Mandić
relation country of citizenship
type political territorial entity
{'OR': [['Hans-Jürgen Peiper', 'country of citizenship', {'concept': 'political territorial entity'}], ['Milorad Mandić', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { ?u property:country_of_citizenship ?z . VALUES ( ?u ) { ( resource:Hans-Jürgen_Peiper ) ( resource:Milorad_Mandić ) } } . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q838261 Q183
SYSTEM
Federal Republic of Yugoslavia, Germany
Q838261 Q183
OR((Q1577787,P27,c(Q1048835)), (Q11141512,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1577787
relation P27
action find
entity Q11141512
relation P27
type Q1048835
[ANSWERS] are the countries of citizenship of Hans-Jürgen Peiper or Milorad Mandić
{'OR': [['Q1577787', 'P27', {'concept': 'Q1048835'}], ['Q11141512', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?z WHERE { { ?u property:P27 ?z . VALUES ( ?u ) { ( resource:Q1577787 ) ( resource:Q11141512 ) } } . ?z rdf:type ontology:Q1048835 }
Federal Republic of Yugoslavia Germany
Federal Republic of Yugoslavia and Germany are the countries of citizenship of Hans-Jürgen Peiper or Milorad Mandić
Federal Republic of Yugoslavia Germany
action filter_type
action union
action find
entity Hans-Jürgen Peiper
relation country of citizenship
action find
entity Milorad Mandić
relation country of citizenship
type political territorial entity
{'OR': [['Hans-Jürgen Peiper', 'country of citizenship', {'concept': 'political territorial entity'}], ['Milorad Mandić', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { ?u property:country_of_citizenship ?z . VALUES ( ?u ) { ( resource:Hans-Jürgen_Peiper ) ( resource:Milorad_Mandić ) } } . ?z rdf:type ontology:political_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q183
P36
Q56061
USER
Which administrative territories are called the capital of that political territory ?
(Q183,P36,c(Q56061))
action filter_type
action find
entity Q183
relation P36
type Q56061
['Q183', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q183 property:P36 ?r }
Germany
action filter_type
action find
entity Germany
relation capital
type administrative territorial entity
['Germany', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Germany property:capital ?r }
[]
administrative territorial entity
Clarification for simple ques.
Q838261
SYSTEM
Did you mean Federal Republic of Yugoslavia ?
Q838261 Q183
(Q838261,P36,c(Q56061)) (Q183,P36,c(Q56061))
[ANSWER]
['Q838261', 'P36', {'concept': 'Q56061'}] ['Q183', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q183 property:P36 ?r }
Federal Republic of Yugoslavia Germany
Did you mean Federal Republic of Yugoslavia ?
Federal Republic of Yugoslavia
['Federal Republic of Yugoslavia', 'capital', {'concept': 'administrative territorial entity'}] ['Germany', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Germany property:capital ?r }
[]
Simple Question (Coreferenced)
USER
No, I meant Germany. Could you tell me the answer for that?
(Q183,P36,c(Q56061))
Q183
['Q183', 'P36', {'concept': 'Q56061'}]
['Germany', 'capital', {'concept': 'administrative territorial entity'}]
[]
Q64 Q586
SYSTEM
Berlin, Bonn
Q64 Q586
(Q183,P36,c(Q56061))
action filter_type
action find
entity Q183
relation P36
type Q56061
[ANSWERS] are called the capital of that political territory
['Q183', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q183 property:P36 ?r }
Berlin Bonn
Berlin and Bonn are called the capital of that political territory
Berlin Bonn
action filter_type
action find
entity Germany
relation capital
type administrative territorial entity
['Germany', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Germany property:capital ?r }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P6
Q502895
USER
How many people are that administrative territory the head of goverment of ?
(Q64,P6,c(Q502895))
['Q64', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q614184 property:Q2285706 ?z . ?z rdf:type ontology:Q502895 }
['Berlin', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Berlin property:head_of_government ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q586
SYSTEM
Did you mean Bonn ?
(Q64,P6,c(Q502895)) (Q586,P6,c(Q502895))
[ANSWER]
['Q64', 'P6', {'concept': 'Q502895'}] ['Q586', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q614184 property:Q2285706 ?z . ?z rdf:type ontology:Q502895 }
Did you mean Bonn ?
Bonn
['Berlin', 'head of government', {'concept': 'common name'}] ['Bonn', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Berlin property:head_of_government ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Berlin. Could you tell me the answer for that?
(Q64,P6,c(Q502895))
Q64
['Q64', 'P6', {'concept': 'Q502895'}]
['Berlin', 'head of government', {'concept': 'common name'}]
[]
SYSTEM
14
Q705862 Q8863 Q552483 Q61085 Q2514 Q102844 Q650878 Q2567 Q96399 Q68748 Q60957 Q215756 Q69232 Q213561
(Q64,P6,c(Q502895))
[ANSWER]
['Q64', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q614184 property:Q2285706 ?z . ?z rdf:type ontology:Q502895 }
Heinrich Albertz Klaus Wowereit Hans-Jochen Vogel Walter Momper Willy Brandt Michael Müller Otto Suhr Richard von Weizsäcker Franz Amrehn Dietrich Stobbe Eberhard Diepgen Klaus Schütz Walther Schreiber Ernst Reuter
14
['Berlin', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Berlin property:head_of_government ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q152838
P112
Q502895
USER
Which person was the founder of University of Göttingen ?
(Q152838,P112,c(Q502895))
action filter_type
action find
entity Q152838
relation P112
type Q502895
['Q152838', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q152838 property:P112 ?q . ?q rdf:type ontology:Q502895 }
University of Göttingen
action filter_type
action find
entity University of Göttingen
relation founder
type common name
['University of Göttingen', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:University_of_Göttingen property:founder ?q . ?q rdf:type ontology:common_name }
[]
common name
Q131981
SYSTEM
George II of Great Britain
Q131981
(Q152838,P112,c(Q502895))
action filter_type
action find
entity Q152838
relation P112
type Q502895
[ANSWER] was the founder of University of Göttingen
['Q152838', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q152838 property:P112 ?q . ?q rdf:type ontology:Q502895 }
George II of Great Britain
George II of Great Britain was the founder of University of Göttingen
George II of Great Britain
action filter_type
action find
entity University of Göttingen
relation founder
type common name
['University of Göttingen', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:University_of_Göttingen property:founder ?q . ?q rdf:type ontology:common_name }
[]