Simple Question (Direct)
Simple Question
Q685427
P19
Q56061
USER
Which administrative territory is the birthplace of Pavel Postyshev ?
(Q685427,P19,c(Q56061))
action filter_type
action find
entity Q685427
relation P19
type Q56061
['Q685427', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q685427 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Pavel Postyshev
action filter_type
action find
entity Pavel Postyshev
relation place of birth
type administrative territorial entity
['Pavel Postyshev', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Pavel_Postyshev property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2630
SYSTEM
Ivanovo
Q2630
(Q685427,P19,c(Q56061))
action filter_type
action find
entity Q685427
relation P19
type Q56061
Is [ANSWER] is the birthplace of Pavel Postyshev
['Q685427', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q685427 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Ivanovo
Is Ivanovo is the birthplace of Pavel Postyshev
Ivanovo
action filter_type
action find
entity Pavel Postyshev
relation place of birth
type administrative territorial entity
['Pavel Postyshev', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Pavel_Postyshev property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q685427
P102
Q7278
USER
Which political party is Pavel Postyshev a member of ?
(Q685427,P102,c(Q7278))
action filter_type
action find
entity Q685427
relation P102
type Q7278
['Q685427', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?c WHERE { resource:Q685427 property:P102 ?c . ?c rdf:type ontology:Q7278 }
Pavel Postyshev
action filter_type
action find
entity Pavel Postyshev
relation member of political party
type political party
['Pavel Postyshev', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?c WHERE { resource:Pavel_Postyshev property:member_of_political_party ?c . ?c rdf:type ontology:political_party }
[]
political party
Q79854
SYSTEM
Communist Party of the Soviet Union
Q79854
(Q685427,P102,c(Q7278))
action filter_type
action find
entity Q685427
relation P102
type Q7278
[ANSWER] is Pavel Postyshev a member of
['Q685427', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?c WHERE { resource:Q685427 property:P102 ?c . ?c rdf:type ontology:Q7278 }
Communist Party of the Soviet Union
Communist Party of the Soviet Union is Pavel Postyshev a member of
Communist Party of the Soviet Union
action filter_type
action find
entity Pavel Postyshev
relation member of political party
type political party
['Pavel Postyshev', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?c WHERE { resource:Pavel_Postyshev property:member_of_political_party ?c . ?c rdf:type ontology:political_party }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2545691
Q7278
USER
And also tell me about Julio Anguita?
(Q2545691,P102,c(Q7278))
action filter_type
action find
entity Q2545691
relation P102
type Q7278
['Q2545691', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?j WHERE { resource:Q2545691 property:P102 ?j . ?j rdf:type ontology:Q7278 }
Julio Anguita
action filter_type
action find
entity Julio Anguita
relation member of political party
type political party
['Julio Anguita', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?j WHERE { resource:Julio_Anguita property:member_of_political_party ?j . ?j rdf:type ontology:political_party }
[]
political party
Q478811
SYSTEM
Communist Party of Spain
Q478811
(Q2545691,P102,c(Q7278))
action filter_type
action find
entity Q2545691
relation P102
type Q7278
[ANSWER]
['Q2545691', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?j WHERE { resource:Q2545691 property:P102 ?j . ?j rdf:type ontology:Q7278 }
Communist Party of Spain
Communist Party of Spain
action filter_type
action find
entity Julio Anguita
relation member of political party
type political party
['Julio Anguita', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?j WHERE { resource:Julio_Anguita property:member_of_political_party ?j . ?j rdf:type ontology:political_party }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q478811 Q3297097
P102
Q502895
USER
Does Enrique Curiel belong to the political party that one ?
(Q3297097,P102,Q478811)
action is_in
entity Q478811
action find
entity Q3297097
relation P102
['Q3297097', 'P102', 'Q478811']
ASK WHERE { resource:Q3297097 property:P102 resource:Q478811 }
Communist Party of Spain Enrique Curiel
action is_in
entity Communist Party of Spain
action find
entity Enrique Curiel
relation member of political party
['Enrique Curiel', 'member of political party', 'Communist Party of Spain']
ASK WHERE { resource:Enrique_Curiel property:member_of_political_party resource:Communist_Party_of_Spain }
[]
common name
SYSTEM
YES
(Q3297097,P102,Q478811)
action is_in
entity Q478811
action find
entity Q3297097
relation P102
[ANSWER]
['Q3297097', 'P102', 'Q478811']
ASK WHERE { resource:Q3297097 property:P102 resource:Q478811 }
Yes
action is_in
entity Communist Party of Spain
action find
entity Enrique Curiel
relation member of political party
['Enrique Curiel', 'member of political party', 'Communist Party of Spain']
ASK WHERE { resource:Enrique_Curiel property:member_of_political_party resource:Communist_Party_of_Spain }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q79854 Q1720129
P488
Q502895
USER
How many people served as the chairperson of Communist Party of the Soviet Union or Cabinet Mappus ?
(Q79854,P488,c(Q502895)) (Q1720129,P488,c(Q502895))
action count
action union
action filter_type
action find
entity Q79854
relation P488
type Q502895
action filter_type
action find
entity Q1720129
relation P488
type Q502895
['Q79854', 'P488', {'concept': 'Q502895'}] ['Q1720129', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { resource:Q79854 property:P488 ?h . ?h rdf:type ontology:Q502895 } UNION { resource:Q1720129 property:P488 ?h . ?h rdf:type ontology:Q502895 } }
Communist Party of the Soviet Union Cabinet Mappus
action count
action union
action filter_type
action find
entity Communist Party of the Soviet Union
relation chairperson
type common name
action filter_type
action find
entity Cabinet Mappus
relation chairperson
type common name
['Communist Party of the Soviet Union', 'chairperson', {'concept': 'common name'}] ['Cabinet Mappus', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { resource:Communist_Party_of_the_Soviet_Union property:chairperson ?h . ?h rdf:type ontology:common_name } UNION { resource:Cabinet_Mappus property:chairperson ?h . ?h rdf:type ontology:common_name } }
[]
common name
SYSTEM
2
Q69361 Q1394
(Q79854,P488,c(Q502895)) (Q1720129,P488,c(Q502895))
action count
action union
action filter_type
action find
entity Q79854
relation P488
type Q502895
action filter_type
action find
entity Q1720129
relation P488
type Q502895
[ANSWER]
['Q79854', 'P488', {'concept': 'Q502895'}] ['Q1720129', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { resource:Q79854 property:P488 ?h . ?h rdf:type ontology:Q502895 } UNION { resource:Q1720129 property:P488 ?h . ?h rdf:type ontology:Q502895 } }
Stefan Mappus Vladimir Lenin
2
action count
action union
action filter_type
action find
entity Communist Party of the Soviet Union
relation chairperson
type common name
action filter_type
action find
entity Cabinet Mappus
relation chairperson
type common name
['Communist Party of the Soviet Union', 'chairperson', {'concept': 'common name'}] ['Cabinet Mappus', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { resource:Communist_Party_of_the_Soviet_Union property:chairperson ?h . ?h rdf:type ontology:common_name } UNION { resource:Cabinet_Mappus property:chairperson ?h . ?h rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q478811
P1142
Q8425
USER
Which society is the political ideology of Communist Party of Spain ?
(Q478811,P1142,c(Q8425))
action filter_type
action find
entity Q478811
relation P1142
type Q8425
['Q478811', 'P1142', {'concept': 'Q8425'}]
SELECT DISTINCT ?i WHERE { resource:Q478811 property:P1142 ?i . ?i rdf:type ontology:Q8425 }
Communist Party of Spain
action filter_type
action find
entity Communist Party of Spain
relation political ideology
type society
['Communist Party of Spain', 'political ideology', {'concept': 'society'}]
SELECT DISTINCT ?i WHERE { resource:Communist_Party_of_Spain property:political_ideology ?i . ?i rdf:type ontology:society }
[]
society
Q6186
SYSTEM
communism
Q6186
(Q478811,P1142,c(Q8425))
action filter_type
action find
entity Q478811
relation P1142
type Q8425
Spain [ANSWER] is the political ideology of Communist Party of Spain
['Q478811', 'P1142', {'concept': 'Q8425'}]
SELECT DISTINCT ?i WHERE { resource:Q478811 property:P1142 ?i . ?i rdf:type ontology:Q8425 }
communism
Spain communism is the political ideology of Communist Party of Spain
communism
action filter_type
action find
entity Communist Party of Spain
relation political ideology
type society
['Communist Party of Spain', 'political ideology', {'concept': 'society'}]
SELECT DISTINCT ?i WHERE { resource:Communist_Party_of_Spain property:political_ideology ?i . ?i rdf:type ontology:society }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6186 Q39427
P737
Q2198855
USER
Was surrealism influenced by that society ?
(Q39427,P737,Q6186)
action is_in
entity Q6186
action find
entity Q39427
relation P737
['Q39427', 'P737', 'Q6186']
ASK WHERE { resource:Q39427 property:P737 resource:Q6186 }
communism surrealism
action is_in
entity communism
action find
entity surrealism
relation influenced by
['surrealism', 'influenced by', 'communism']
ASK WHERE { resource:surrealism property:influenced_by resource:communism }
[]
cultural movement
SYSTEM
YES
(Q39427,P737,Q6186)
action is_in
entity Q6186
action find
entity Q39427
relation P737
[ANSWER]
['Q39427', 'P737', 'Q6186']
ASK WHERE { resource:Q39427 property:P737 resource:Q6186 }
Yes
action is_in
entity communism
action find
entity surrealism
relation influenced by
['surrealism', 'influenced by', 'communism']
ASK WHERE { resource:surrealism property:influenced_by resource:communism }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6186
P101
Q502895
USER
Which people have field of work as that society ?
action filter_type
action find_reverse
entity Q6186
relation P101
type Q502895
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P101 resource:Q6186 }
communism
action filter_type
action find_reverse
entity communism
relation field of work
type common name
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:field_of_work resource:communism }
[]
common name
Q10771229 Q3159941
SYSTEM
Alexander Tomský, Jacques Rupnik
Q10771229 Q3159941
action filter_type
action find_reverse
entity Q6186
relation P101
type Q502895
[ANSWERS] have field of work as that society
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P101 resource:Q6186 }
Alexander Tomský Jacques Rupnik
Alexander Tomský and Jacques Rupnik have field of work as that society
Alexander Tomský Jacques Rupnik
action filter_type
action find_reverse
entity communism
relation field of work
type common name
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:field_of_work resource:communism }
[]