Simple Question (Direct)
Simple Question
Q2040336
P20
Q15617994
USER
Where did the demise of Otto Rost occur ?
(Q2040336,P20,c(Q15617994))
action filter_type
action find
entity Q2040336
relation P20
type Q15617994
['Q2040336', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q2040336 property:P20 ?b . ?b rdf:type ontology:Q15617994 }
Otto Rost
action filter_type
action find
entity Otto Rost
relation place of death
type designation for an administrative territorial entity
['Otto Rost', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Otto_Rost property:place_of_death ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q71163
SYSTEM
Döbeln
Q71163
(Q2040336,P20,c(Q15617994))
action filter_type
action find
entity Q2040336
relation P20
type Q15617994
The demise of Otto Rost occurred in [ANSWER]
['Q2040336', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q2040336 property:P20 ?b . ?b rdf:type ontology:Q15617994 }
Döbeln
The demise of Otto Rost occurred in Döbeln
Döbeln
action filter_type
action find
entity Otto Rost
relation place of death
type designation for an administrative territorial entity
['Otto Rost', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Otto_Rost property:place_of_death ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2040336
P937
Q515
USER
Which is the work location of Otto Rost ?
(Q2040336,P937,c(Q515))
action filter_type
action find
entity Q2040336
relation P937
type Q515
['Q2040336', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { resource:Q2040336 property:P937 ?n . ?n rdf:type ontology:Q515 }
Otto Rost
action filter_type
action find
entity Otto Rost
relation work location
type city
['Otto Rost', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { resource:Otto_Rost property:work_location ?n . ?n rdf:type ontology:city }
[]
city
Q1731
SYSTEM
Dresden
Q1731
(Q2040336,P937,c(Q515))
action filter_type
action find
entity Q2040336
relation P937
type Q515
The work location of Otto Rost is in [ANSWER]
['Q2040336', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { resource:Q2040336 property:P937 ?n . ?n rdf:type ontology:Q515 }
Dresden
The work location of Otto Rost is in Dresden
Dresden
action filter_type
action find
entity Otto Rost
relation work location
type city
['Otto Rost', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { resource:Otto_Rost property:work_location ?n . ?n rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2040336
P102
Q7210356
USER
Which party is that person affiliated with ?
(Q1731,P102,c(Q7210356))
action filter_type
action find
entity Q2040336
relation P102
type Q7210356
['Q1731', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?m WHERE { resource:Q2040336 property:P102 ?m . ?m rdf:type ontology:Q7210356 }
Otto Rost
action filter_type
action find
entity Otto Rost
relation member of political party
type political organization
['Dresden', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?m WHERE { resource:Otto_Rost property:member_of_political_party ?m . ?m rdf:type ontology:political_organization }
[]
political organization
Q7320
SYSTEM
Nazi Party
Q7320
(Q1731,P102,c(Q7210356))
action filter_type
action find
entity Q2040336
relation P102
type Q7210356
That person is affiliated with [ANSWER]
['Q1731', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?m WHERE { resource:Q2040336 property:P102 ?m . ?m rdf:type ontology:Q7210356 }
Nazi Party
That person is affiliated with Nazi Party
Nazi Party
action filter_type
action find
entity Otto Rost
relation member of political party
type political organization
['Dresden', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?m WHERE { resource:Otto_Rost property:member_of_political_party ?m . ?m rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2040336
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q7320,P106,c(Q12737077))
action filter_type
action find
entity Q2040336
relation P106
type Q12737077
['Q7320', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q2040336 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Otto Rost
action filter_type
action find
entity Otto Rost
relation occupation
type occupation
['Nazi Party', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Otto_Rost property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q1622272 Q1281618
SYSTEM
university teacher, sculptor
Q1622272 Q1281618
(Q7320,P106,c(Q12737077))
action filter_type
action find
entity Q2040336
relation P106
type Q12737077
The professions of that person are the [ANSWERS]
['Q7320', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q2040336 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
university teacher sculptor
The professions of that person are the university teacher and sculptor
university teacher sculptor
action filter_type
action find
entity Otto Rost
relation occupation
type occupation
['Nazi Party', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Otto_Rost property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3659969
P106
Q502895
USER
Do Carlo Zamporlini have the profession as those occupations ?
(Q3659969,P106,Q1622272) (Q3659969,P106,Q1281618)
action is_in
entity prev_answer
action find
entity Q3659969
relation P106
['Q3659969', 'P106', 'Q1622272'] ['Q3659969', 'P106', 'Q1281618']
ASK WHERE { resource:Q3659969 property:P106 ?v . VALUES ( ?v ) { ( resource:Q1622272 ) ( resource:Q1281618 ) } }
Carlo Zamporlini
action is_in
entity prev_answer
action find
entity Carlo Zamporlini
relation occupation
['Carlo Zamporlini', 'occupation', 'university teacher'] ['Carlo Zamporlini', 'occupation', 'sculptor']
ASK WHERE { resource:Carlo_Zamporlini property:occupation ?v . VALUES ( ?v ) { ( resource:university_teacher ) ( resource:sculptor ) } }
[]
common name
SYSTEM
NO
(Q3659969,P106,Q1622272) (Q3659969,P106,Q1281618)
action is_in
entity prev_answer
action find
entity Q3659969
relation P106
[ANSWER]
['Q3659969', 'P106', 'Q1622272'] ['Q3659969', 'P106', 'Q1281618']
ASK WHERE { resource:Q3659969 property:P106 ?v . VALUES ( ?v ) { ( resource:Q1622272 ) ( resource:Q1281618 ) } }
No
action is_in
entity prev_answer
action find
entity Carlo Zamporlini
relation occupation
['Carlo Zamporlini', 'occupation', 'university teacher'] ['Carlo Zamporlini', 'occupation', 'sculptor']
ASK WHERE { resource:Carlo_Zamporlini property:occupation ?v . VALUES ( ?v ) { ( resource:university_teacher ) ( resource:sculptor ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q7320 Q1983190
P17
Q1048835
USER
Is Nazi Party present in Fernán Caballero ?
(Q7320,P17,Q1983190)
action is_in
entity Q1983190
action find
entity Q7320
relation P17
['Q7320', 'P17', 'Q1983190']
ASK WHERE { resource:Q7320 property:P17 resource:Q1983190 }
Nazi Party Fernán Caballero
action is_in
entity Fernán Caballero
action find
entity Nazi Party
relation country
['Nazi Party', 'country', 'Fernán Caballero']
ASK WHERE { resource:Nazi_Party property:country resource:Fernán_Caballero }
[]
political territorial entity
SYSTEM
NO
(Q7320,P17,Q1983190)
action is_in
entity Q1983190
action find
entity Q7320
relation P17
[ANSWER]
['Q7320', 'P17', 'Q1983190']
ASK WHERE { resource:Q7320 property:P17 resource:Q1983190 }
No
action is_in
entity Fernán Caballero
action find
entity Nazi Party
relation country
['Nazi Party', 'country', 'Fernán Caballero']
ASK WHERE { resource:Nazi_Party property:country resource:Fernán_Caballero }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q71163 Q5158367 Q1641713
P17
Q1048835
USER
Is Döbeln present in Concepción District, Concepción and Mohedas de la Jara ?
(Q71163,P17,Q5158367) (Q71163,P17,Q1641713)
action is_in
entity Q71163
action intersection
action find_reverse
entity Q5158367
relation P17
action find_reverse
entity Q1641713
relation P17
['Q71163', 'P17', 'Q5158367'] ['Q71163', 'P17', 'Q1641713']
ASK WHERE { resource:Q71163 property:P17 resource:Q5158367 . resource:Q71163 property:P17 resource:Q1641713 }
Döbeln Concepción District, Concepción Mohedas de la Jara
action is_in
entity Döbeln
action intersection
action find_reverse
entity Concepción District, Concepción
relation country
action find_reverse
entity Mohedas de la Jara
relation country
['Döbeln', 'country', 'Concepción District, Concepción'] ['Döbeln', 'country', 'Mohedas de la Jara']
ASK WHERE { resource:Döbeln property:country resource:Concepción_District,_Concepción . resource:Döbeln property:country resource:Mohedas_de_la_Jara }
[]
political territorial entity
SYSTEM
NO
(Q71163,P17,Q5158367) (Q71163,P17,Q1641713)
action is_in
entity Q71163
action intersection
action find_reverse
entity Q5158367
relation P17
action find_reverse
entity Q1641713
relation P17
[ANSWER]
['Q71163', 'P17', 'Q5158367'] ['Q71163', 'P17', 'Q1641713']
ASK WHERE { resource:Q71163 property:P17 resource:Q5158367 . resource:Q71163 property:P17 resource:Q1641713 }
No
action is_in
entity Döbeln
action intersection
action find_reverse
entity Concepción District, Concepción
relation country
action find_reverse
entity Mohedas de la Jara
relation country
['Döbeln', 'country', 'Concepción District, Concepción'] ['Döbeln', 'country', 'Mohedas de la Jara']
ASK WHERE { resource:Döbeln property:country resource:Concepción_District,_Concepción . resource:Döbeln property:country resource:Mohedas_de_la_Jara }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q7320 Q5831316
P159
Q56061
USER
Is Azhdahatu the head office of Nazi Party ?
(Q7320,P159,Q5831316)
action is_in
entity Q5831316
action find
entity Q7320
relation P159
['Q7320', 'P159', 'Q5831316']
ASK WHERE { resource:Q7320 property:P159 resource:Q5831316 }
Nazi Party Azhdahatu
action is_in
entity Azhdahatu
action find
entity Nazi Party
relation headquarters location
['Nazi Party', 'headquarters location', 'Azhdahatu']
ASK WHERE { resource:Nazi_Party property:headquarters_location resource:Azhdahatu }
[]
administrative territorial entity
SYSTEM
NO
(Q7320,P159,Q5831316)
action is_in
entity Q5831316
action find
entity Q7320
relation P159
[ANSWER]
['Q7320', 'P159', 'Q5831316']
ASK WHERE { resource:Q7320 property:P159 resource:Q5831316 }
No
action is_in
entity Azhdahatu
action find
entity Nazi Party
relation headquarters location
['Nazi Party', 'headquarters location', 'Azhdahatu']
ASK WHERE { resource:Nazi_Party property:headquarters_location resource:Azhdahatu }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7894304 Q2040336
P19 P17
Q15617994
USER
Which administrative territories were Otto Rost born at or are Universidad Paulo Freire located in ?
OR((Q2040336,P19,c(Q15617994)), (Q7894304,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2040336
relation P19
action find
entity Q7894304
relation P17
type Q15617994
{'OR': [['Q2040336', 'P19', {'concept': 'Q15617994'}], ['Q7894304', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q2040336 property:P19 ?m } UNION { resource:Q7894304 property:P17 ?m } } . ?m rdf:type ontology:Q15617994 }
Universidad Paulo Freire Otto Rost
action filter_type
action union
action find
entity Otto Rost
relation place of birth
action find
entity Universidad Paulo Freire
relation country
type designation for an administrative territorial entity
{'OR': [['Otto Rost', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Universidad Paulo Freire', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Otto_Rost property:place_of_birth ?m } UNION { resource:Universidad_Paulo_Freire property:country ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q71163 Q811
SYSTEM
Döbeln, Nicaragua
Q71163 Q811
OR((Q2040336,P19,c(Q15617994)), (Q7894304,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2040336
relation P19
action find
entity Q7894304
relation P17
type Q15617994
Otto Rost were born located in [ANSWERS]
{'OR': [['Q2040336', 'P19', {'concept': 'Q15617994'}], ['Q7894304', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q2040336 property:P19 ?m } UNION { resource:Q7894304 property:P17 ?m } } . ?m rdf:type ontology:Q15617994 }
Döbeln Nicaragua
Otto Rost were born located in Döbeln and Nicaragua
Döbeln Nicaragua
action filter_type
action union
action find
entity Otto Rost
relation place of birth
action find
entity Universidad Paulo Freire
relation country
type designation for an administrative territorial entity
{'OR': [['Otto Rost', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Universidad Paulo Freire', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Otto_Rost property:place_of_birth ?m } UNION { resource:Universidad_Paulo_Freire property:country ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P17
Q1048835
USER
How many political territories are that administrative territory situated in ?
(Q71163,P17,c(Q1048835))
['Q71163', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q71163 property:Q6256 ?z . ?z rdf:type ontology:Q1048835 }
['Döbeln', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Döbeln property:country ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Quantitative|Count|Single entity type|Clarification
Q811
SYSTEM
Did you mean Nicaragua ?
(Q71163,P17,c(Q1048835)) (Q811,P17,c(Q1048835))
[ANSWER]
['Q71163', 'P17', {'concept': 'Q1048835'}] ['Q811', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q71163 property:Q6256 ?z . ?z rdf:type ontology:Q1048835 }
Did you mean Nicaragua ?
Nicaragua
['Döbeln', 'country', {'concept': 'political territorial entity'}] ['Nicaragua', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Döbeln property:country ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Döbeln. Could you tell me the answer for that?
(Q71163,P17,c(Q1048835))
Q71163
['Q71163', 'P17', {'concept': 'Q1048835'}]
['Döbeln', 'country', {'concept': 'political territorial entity'}]
[]
SYSTEM
1
Q183
(Q71163,P17,c(Q1048835))
[ANSWER]
['Q71163', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q71163 property:Q6256 ?z . ?z rdf:type ontology:Q1048835 }
Germany
1
['Döbeln', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Döbeln property:country ?z . ?z rdf:type ontology:political_territorial_entity }
[]