Simple Question (Direct)
Simple Question
Q1579296
P20
Q56061
USER
Where did the expiration of Hans Egidi occur ?
(Q1579296,P20,c(Q56061))
action filter_type
action find
entity Q1579296
relation P20
type Q56061
['Q1579296', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q1579296 property:P20 ?z . ?z rdf:type ontology:Q56061 }
Hans Egidi
action filter_type
action find
entity Hans Egidi
relation place of death
type administrative territorial entity
['Hans Egidi', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Hans_Egidi property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1726
SYSTEM
Munich
Q1726
(Q1579296,P20,c(Q56061))
action filter_type
action find
entity Q1579296
relation P20
type Q56061
The expiration of Hans Egidi occurred in [ANSWER]
['Q1579296', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q1579296 property:P20 ?z . ?z rdf:type ontology:Q56061 }
Munich
The expiration of Hans Egidi occurred in Munich
Munich
action filter_type
action find
entity Hans Egidi
relation place of death
type administrative territorial entity
['Hans Egidi', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Hans_Egidi property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1579296
P27
Q1048835
USER
Which political territory does that person belong to ?
(Q1726,P27,c(Q1048835))
action filter_type
action find
entity Q1579296
relation P27
type Q1048835
['Q1726', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q1579296 property:P27 ?n . ?n rdf:type ontology:Q1048835 }
Hans Egidi
action filter_type
action find
entity Hans Egidi
relation country of citizenship
type political territorial entity
['Munich', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Hans_Egidi property:country_of_citizenship ?n . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1726,P27,c(Q1048835))
action filter_type
action find
entity Q1579296
relation P27
type Q1048835
That person belongs to the [ANSWER]
['Q1726', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q1579296 property:P27 ?n . ?n rdf:type ontology:Q1048835 }
Germany
That person belongs to the Germany
Germany
action filter_type
action find
entity Hans Egidi
relation country of citizenship
type political territorial entity
['Munich', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Hans_Egidi property:country_of_citizenship ?n . ?n rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1579296
P102
Q7278
USER
Which parties are Hans Egidi affiliated with ?
(Q1579296,P102,c(Q7278))
action filter_type
action find
entity Q1579296
relation P102
type Q7278
['Q1579296', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?r WHERE { resource:Q1579296 property:P102 ?r . ?r rdf:type ontology:Q7278 }
Hans Egidi
action filter_type
action find
entity Hans Egidi
relation member of political party
type political party
['Hans Egidi', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?r WHERE { resource:Hans_Egidi property:member_of_political_party ?r . ?r rdf:type ontology:political_party }
[]
political party
Q49762 Q49754
SYSTEM
Christian Democratic Union, Christian Democratic Union
Q49762 Q49754
(Q1579296,P102,c(Q7278))
action filter_type
action find
entity Q1579296
relation P102
type Q7278
Hans Egidi are affiliated with [ANSWERS]
['Q1579296', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?r WHERE { resource:Q1579296 property:P102 ?r . ?r rdf:type ontology:Q7278 }
Christian Democratic Union Christian Democratic Union
Hans Egidi are affiliated with Christian Democratic Union and Christian Democratic Union
Christian Democratic Union Christian Democratic Union
action filter_type
action find
entity Hans Egidi
relation member of political party
type political party
['Hans Egidi', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?r WHERE { resource:Hans_Egidi property:member_of_political_party ?r . ?r rdf:type ontology:political_party }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q49762 Q49754
P488
Q502895
USER
Who served as the chairperson of Christian Democratic Union and Christian Democratic Union ?
(Q49762,P488,c(Q502895)) (Q49754,P488,c(Q502895))
action union
action filter_type
action find
entity Q49762
relation P488
type Q502895
action filter_type
action find
entity Q49754
relation P488
type Q502895
['Q49762', 'P488', {'concept': 'Q502895'}] ['Q49754', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?g ) { ( resource:Q49762 ) ( resource:Q49754 ) } . ?g property:P488 ?q }
Christian Democratic Union Christian Democratic Union
action union
action filter_type
action find
entity Christian Democratic Union
relation chairperson
type common name
action filter_type
action find
entity Christian Democratic Union
relation chairperson
type common name
['Christian Democratic Union', 'chairperson', {'concept': 'common name'}] ['Christian Democratic Union', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { ?q rdf:type ontology:common_name . resource:Christian_Democratic_Union property:chairperson ?q } UNION { ?q rdf:type ontology:common_name . resource:Christian_Democratic_Union property:chairperson ?q } }
[]
common name
Q2492 Q567 Q2518
SYSTEM
Konrad Adenauer, Angela Merkel, Helmut Kohl
Q2492 Q2518 Q2496 Q470285 Q16019 Q2512 Q567 Q62970
(Q49762,P488,c(Q502895)) (Q49754,P488,c(Q502895))
action union
action filter_type
action find
entity Q49762
relation P488
type Q502895
action filter_type
action find
entity Q49754
relation P488
type Q502895
[ANSWERS] served as the chairperson of Christian Democratic Union and Christian Democratic Union
['Q49762', 'P488', {'concept': 'Q502895'}] ['Q49754', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?g ) { ( resource:Q49762 ) ( resource:Q49754 ) } . ?g property:P488 ?q }
Konrad Adenauer Helmut Kohl Ludwig Erhard Rainer Barzel Wolfgang Schäuble Kurt Georg Kiesinger Angela Merkel Gerald Götting
Konrad Adenauer, Angela Merkel and Helmut Kohl served as the chairperson of Christian Democratic Union and Christian Democratic Union
Konrad Adenauer Angela Merkel Helmut Kohl
action union
action filter_type
action find
entity Christian Democratic Union
relation chairperson
type common name
action filter_type
action find
entity Christian Democratic Union
relation chairperson
type common name
['Christian Democratic Union', 'chairperson', {'concept': 'common name'}] ['Christian Democratic Union', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { ?q rdf:type ontology:common_name . resource:Christian_Democratic_Union property:chairperson ?q } UNION { ?q rdf:type ontology:common_name . resource:Christian_Democratic_Union property:chairperson ?q } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q567
P6
Q7188
USER
Which governments have that person as their administrative leader ?
(c(Q7188),P6,Q567)
action filter_type
action find_reverse
entity Q567
relation P6
type Q7188
[{'concept': 'Q7188'}, 'P6', 'Q567']
SELECT DISTINCT ?n WHERE { ?n property:P6 resource:Q567 . ?n rdf:type ontology:Q7188 }
Angela Merkel
action filter_type
action find_reverse
entity Angela Merkel
relation head of government
type government
[{'concept': 'government'}, 'head of government', 'Angela Merkel']
SELECT DISTINCT ?n WHERE { ?n property:head_of_government resource:Angela_Merkel . ?n rdf:type ontology:government }
[]
government
Clarification for simple ques.
Q2518
SYSTEM
Did you mean Helmut Kohl ?
Q2492 Q567 Q2518
(c(Q7188),P6,Q2492) (c(Q7188),P6,Q567) (c(Q7188),P6,Q2518)
[ANSWER]
[{'concept': 'Q7188'}, 'P6', 'Q2492'] [{'concept': 'Q7188'}, 'P6', 'Q567'] [{'concept': 'Q7188'}, 'P6', 'Q2518']
SELECT DISTINCT ?n WHERE { ?n property:P6 resource:Q567 . ?n rdf:type ontology:Q7188 }
Konrad Adenauer Angela Merkel Helmut Kohl
Did you mean Helmut Kohl ?
Helmut Kohl
[{'concept': 'government'}, 'head of government', 'Konrad Adenauer'] [{'concept': 'government'}, 'head of government', 'Angela Merkel'] [{'concept': 'government'}, 'head of government', 'Helmut Kohl']
SELECT DISTINCT ?n WHERE { ?n property:head_of_government resource:Angela_Merkel . ?n rdf:type ontology:government }
[]
Simple Question (Coreferenced)
USER
No, I meant Angela Merkel. Could you tell me the answer for that?
(c(Q7188),P6,Q567)
Q567
[{'concept': 'Q7188'}, 'P6', 'Q567']
[{'concept': 'government'}, 'head of government', 'Angela Merkel']
[]
Q632985 Q15094515
SYSTEM
Second Merkel cabinet, Third Merkel cabinet
Q632985 Q15094515
(c(Q7188),P6,Q567)
action filter_type
action find_reverse
entity Q567
relation P6
type Q7188
[ANSWERS] have that person as their administrative leader
[{'concept': 'Q7188'}, 'P6', 'Q567']
SELECT DISTINCT ?n WHERE { ?n property:P6 resource:Q567 . ?n rdf:type ontology:Q7188 }
Second Merkel cabinet Third Merkel cabinet
Second Merkel cabinet and Third Merkel cabinet have that person as their administrative leader
Second Merkel cabinet Third Merkel cabinet
action filter_type
action find_reverse
entity Angela Merkel
relation head of government
type government
[{'concept': 'government'}, 'head of government', 'Angela Merkel']
SELECT DISTINCT ?n WHERE { ?n property:head_of_government resource:Angela_Merkel . ?n rdf:type ontology:government }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P6
Q502895
USER
How many people are that government the head of goverment of ?
(Q632985,P6,c(Q502895))
['Q632985', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q632985 property:Q2285706 ?z . ?z rdf:type ontology:Q502895 }
['Second Merkel cabinet', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Second_Merkel_cabinet property:head_of_government ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q15094515
SYSTEM
Did you mean Third Merkel cabinet ?
(Q632985,P6,c(Q502895)) (Q15094515,P6,c(Q502895))
[ANSWER]
['Q632985', 'P6', {'concept': 'Q502895'}] ['Q15094515', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q632985 property:Q2285706 ?z . ?z rdf:type ontology:Q502895 }
Did you mean Third Merkel cabinet ?
Third Merkel cabinet
['Second Merkel cabinet', 'head of government', {'concept': 'common name'}] ['Third Merkel cabinet', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Second_Merkel_cabinet property:head_of_government ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Second Merkel cabinet. Could you tell me the answer for that?
(Q632985,P6,c(Q502895))
Q632985
['Q632985', 'P6', {'concept': 'Q502895'}]
['Second Merkel cabinet', 'head of government', {'concept': 'common name'}]
[]
SYSTEM
1
Q567
(Q632985,P6,c(Q502895))
[ANSWER]
['Q632985', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q632985 property:Q2285706 ?z . ?z rdf:type ontology:Q502895 }
Angela Merkel
1
['Second Merkel cabinet', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Second_Merkel_cabinet property:head_of_government ?z . ?z rdf:type ontology:common_name }
[]