Simple Question (Direct)
Simple Question
Q4990884
P102
Q7210356
USER
Which political organization is Solveig Zander a member of ?
(Q4990884,P102,c(Q7210356))
action filter_type
action find
entity Q4990884
relation P102
type Q7210356
['Q4990884', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { resource:Q4990884 property:P102 ?v . ?v rdf:type ontology:Q7210356 }
Solveig Zander
action filter_type
action find
entity Solveig Zander
relation member of political party
type political organization
['Solveig Zander', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { resource:Solveig_Zander property:member_of_political_party ?v . ?v rdf:type ontology:political_organization }
[]
political organization
Q110832
SYSTEM
Centre Party
Q110832
(Q4990884,P102,c(Q7210356))
action filter_type
action find
entity Q4990884
relation P102
type Q7210356
[ANSWER] is Solveig Zander a member of
['Q4990884', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { resource:Q4990884 property:P102 ?v . ?v rdf:type ontology:Q7210356 }
Centre Party
Centre Party is Solveig Zander a member of
Centre Party
action filter_type
action find
entity Solveig Zander
relation member of political party
type political organization
['Solveig Zander', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { resource:Solveig_Zander property:member_of_political_party ?v . ?v rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4990884
P21
Q290
USER
What is the sex of Solveig Zander ?
(Q4990884,P21,c(Q290))
action filter_type
action find
entity Q4990884
relation P21
type Q290
['Q4990884', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q4990884 property:P21 ?e . ?e rdf:type ontology:Q290 }
Solveig Zander
action filter_type
action find
entity Solveig Zander
relation gender
type sex
['Solveig Zander', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Solveig_Zander property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q4990884,P21,c(Q290))
action filter_type
action find
entity Q4990884
relation P21
type Q290
The sex of Solveig Zander is the [ANSWER]
['Q4990884', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q4990884 property:P21 ?e . ?e rdf:type ontology:Q290 }
female
The sex of Solveig Zander is the female
female
action filter_type
action find
entity Solveig Zander
relation gender
type sex
['Solveig Zander', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Solveig_Zander property:gender ?e . ?e rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4990884
P39
Q12737077
USER
Which occupation was a position occupied by that person ?
(Q6581072,P39,c(Q12737077))
action filter_type
action find
entity Q4990884
relation P39
type Q12737077
['Q6581072', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q4990884 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
Solveig Zander
action filter_type
action find
entity Solveig Zander
relation position held
type occupation
['female', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Solveig_Zander property:position_held ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q10655178
SYSTEM
Member of the Riksdag
Q10655178
(Q6581072,P39,c(Q12737077))
action filter_type
action find
entity Q4990884
relation P39
type Q12737077
A [ANSWER] was a position occupied by that person
['Q6581072', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q4990884 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
Member of the Riksdag
A Member of the Riksdag was a position occupied by that person
Member of the Riksdag
action filter_type
action find
entity Solveig Zander
relation position held
type occupation
['female', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Solveig_Zander property:position_held ?p . ?p rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16941116 Q4990884
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Solveig Zander or Yan de Almeida Prado ?
OR((Q4990884,P27,c(Q15617994)), (Q16941116,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4990884
relation P27
action find
entity Q16941116
relation P27
type Q15617994
{'OR': [['Q4990884', 'P27', {'concept': 'Q15617994'}], ['Q16941116', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { ?u property:P27 ?j . VALUES ( ?u ) { ( resource:Q4990884 ) ( resource:Q16941116 ) } } . ?j rdf:type ontology:Q15617994 }
Yan de Almeida Prado Solveig Zander
action filter_type
action union
action find
entity Solveig Zander
relation country of citizenship
action find
entity Yan de Almeida Prado
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Solveig Zander', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Yan de Almeida Prado', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { ?u property:country_of_citizenship ?j . VALUES ( ?u ) { ( resource:Solveig_Zander ) ( resource:Yan_de_Almeida_Prado ) } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q34
SYSTEM
Brazil, Sweden
Q155 Q34
OR((Q4990884,P27,c(Q15617994)), (Q16941116,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4990884
relation P27
action find
entity Q16941116
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Solveig Zander or Yan de Almeida Prado
{'OR': [['Q4990884', 'P27', {'concept': 'Q15617994'}], ['Q16941116', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { ?u property:P27 ?j . VALUES ( ?u ) { ( resource:Q4990884 ) ( resource:Q16941116 ) } } . ?j rdf:type ontology:Q15617994 }
Brazil Sweden
Brazil and Sweden are the countries of citizenship of Solveig Zander or Yan de Almeida Prado
Brazil Sweden
action filter_type
action union
action find
entity Solveig Zander
relation country of citizenship
action find
entity Yan de Almeida Prado
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Solveig Zander', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Yan de Almeida Prado', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { ?u property:country_of_citizenship ?j . VALUES ( ?u ) { ( resource:Solveig_Zander ) ( resource:Yan_de_Almeida_Prado ) } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q155 Q34
P138
Q34442
USER
Which roads are the eponym of Brazil and Sweden ?
(c(Q34442),P138,Q155) (c(Q34442),P138,Q34)
action union
action filter_type
action find_reverse
entity Q155
relation P138
type Q34442
action filter_type
action find_reverse
entity Q34
relation P138
type Q34442
[{'concept': 'Q34442'}, 'P138', 'Q155'] [{'concept': 'Q34442'}, 'P138', 'Q34']
SELECT DISTINCT ?x WHERE { ?x property:P138 ?c . VALUES ( ?c ) { ( resource:Q155 ) ( resource:Q34 ) } }
Brazil Sweden
action union
action filter_type
action find_reverse
entity Brazil
relation named after
type road
action filter_type
action find_reverse
entity Sweden
relation named after
type road
[{'concept': 'road'}, 'named after', 'Brazil'] [{'concept': 'road'}, 'named after', 'Sweden']
SELECT DISTINCT ?x WHERE { ?x property:named_after ?c . VALUES ( ?c ) { ( resource:Brazil ) ( resource:Sweden ) } }
[]
road
Q18961190 Q18961183 Q27212874
SYSTEM
Zweedsestraat, Zweedsestraat, avenida de Brasil
Q27212874 Q18961190 Q18961183 Q874951
(c(Q34442),P138,Q155) (c(Q34442),P138,Q34)
action union
action filter_type
action find_reverse
entity Q155
relation P138
type Q34442
action filter_type
action find_reverse
entity Q34
relation P138
type Q34442
[ANSWERS] are the eponym of Brazil and Sweden
[{'concept': 'Q34442'}, 'P138', 'Q155'] [{'concept': 'Q34442'}, 'P138', 'Q34']
SELECT DISTINCT ?x WHERE { ?x property:P138 ?c . VALUES ( ?c ) { ( resource:Q155 ) ( resource:Q34 ) } }
avenida de Brasil Zweedsestraat Zweedsestraat Schwedenplatz
Zweedsestraat, Zweedsestraat and avenida de Brasil are the eponym of Brazil and Sweden
Zweedsestraat Zweedsestraat avenida de Brasil
action union
action filter_type
action find_reverse
entity Brazil
relation named after
type road
action filter_type
action find_reverse
entity Sweden
relation named after
type road
[{'concept': 'road'}, 'named after', 'Brazil'] [{'concept': 'road'}, 'named after', 'Sweden']
SELECT DISTINCT ?x WHERE { ?x property:named_after ?c . VALUES ( ?c ) { ( resource:Brazil ) ( resource:Sweden ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q18961190 Q18961183 Q27212874
P17
Q15617994
USER
Which administrative territories do those roads belong to ?
(Q18961190,P17,c(Q15617994)) (Q18961183,P17,c(Q15617994)) (Q27212874,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q18961190', 'P17', {'concept': 'Q15617994'}] ['Q18961183', 'P17', {'concept': 'Q15617994'}] ['Q27212874', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . VALUES ( ?u ) { ( resource:Q27212874 ) ( resource:Q18961190 ) ( resource:Q18961183 ) } . ?u property:P17 ?h }
Zweedsestraat Zweedsestraat avenida de Brasil
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Zweedsestraat', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Zweedsestraat', 'country', {'concept': 'designation for an administrative territorial entity'}] ['avenida de Brasil', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?u ) { ( resource:avenida_de_Brasil ) ( resource:Zweedsestraat ) ( resource:Zweedsestraat ) } . ?u property:country ?h }
[]
designation for an administrative territorial entity
Q55 Q55 Q29
SYSTEM
Spain for 3rd, Netherlands for 1st, 2nd
Q55 Q55 Q29
(Q18961190,P17,c(Q15617994)) (Q18961183,P17,c(Q15617994)) (Q27212874,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
[ANSWERS]
['Q18961190', 'P17', {'concept': 'Q15617994'}] ['Q18961183', 'P17', {'concept': 'Q15617994'}] ['Q27212874', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . VALUES ( ?u ) { ( resource:Q27212874 ) ( resource:Q18961190 ) ( resource:Q18961183 ) } . ?u property:P17 ?h }
Netherlands Netherlands Spain
Those roads belong to Netherlands, Netherlands and Spain
Netherlands Netherlands Spain
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Zweedsestraat', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Zweedsestraat', 'country', {'concept': 'designation for an administrative territorial entity'}] ['avenida de Brasil', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?u ) { ( resource:avenida_de_Brasil ) ( resource:Zweedsestraat ) ( resource:Zweedsestraat ) } . ?u property:country ?h }
[]