Simple Question (Direct)
Simple Question
Q1602257
P39
Q12737077
USER
What was the position for which Helga Paschke was appointed ?
(Q1602257,P39,c(Q12737077))
action filter_type
action find
entity Q1602257
relation P39
type Q12737077
['Q1602257', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q1602257 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
Helga Paschke
action filter_type
action find
entity Helga Paschke
relation position held
type occupation
['Helga Paschke', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Helga_Paschke property:position_held ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q18559580
SYSTEM
member of Landtag of Saxony-Anhalt
Q18559580
(Q1602257,P39,c(Q12737077))
action filter_type
action find
entity Q1602257
relation P39
type Q12737077
The [ANSWER]
['Q1602257', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q1602257 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
member of Landtag of Saxony-Anhalt
The member of Landtag of Saxony-Anhalt
member of Landtag of Saxony-Anhalt
action filter_type
action find
entity Helga Paschke
relation position held
type occupation
['Helga Paschke', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Helga_Paschke property:position_held ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1602257
P937
Q56061
USER
What is the location where that person worked ?
(Q18559580,P937,c(Q56061))
action filter_type
action find
entity Q1602257
relation P937
type Q56061
['Q18559580', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q1602257 property:P937 ?v . ?v rdf:type ontology:Q56061 }
Helga Paschke
action filter_type
action find
entity Helga Paschke
relation work location
type administrative territorial entity
['member of Landtag of Saxony-Anhalt', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Helga_Paschke property:work_location ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1733
SYSTEM
Magdeburg
Q1733
(Q18559580,P937,c(Q56061))
action filter_type
action find
entity Q1602257
relation P937
type Q56061
The location that person worked is in [ANSWER]
['Q18559580', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q1602257 property:P937 ?v . ?v rdf:type ontology:Q56061 }
Magdeburg
The location that person worked is in Magdeburg
Magdeburg
action filter_type
action find
entity Helga Paschke
relation work location
type administrative territorial entity
['member of Landtag of Saxony-Anhalt', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Helga_Paschke property:work_location ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1733 Q14680135 Q4692347
P190
Q56061
USER
Is that administrative territory partner town of Kheirabad (Kooshk-e Qazi) and Aghadowey ?
(Q1733,P190,Q14680135) (Q1733,P190,Q4692347)
action is_in
entity Q1733
action intersection
action find_reverse
entity Q14680135
relation P190
action find_reverse
entity Q4692347
relation P190
['Q1733', 'P190', 'Q14680135'] ['Q1733', 'P190', 'Q4692347']
ASK WHERE { resource:Q1733 property:P190 resource:Q14680135 . resource:Q1733 property:P190 resource:Q4692347 }
Magdeburg Kheirabad (Kooshk-e Qazi) Aghadowey
action is_in
entity Magdeburg
action intersection
action find_reverse
entity Kheirabad (Kooshk-e Qazi)
relation sister city
action find_reverse
entity Aghadowey
relation sister city
['Magdeburg', 'sister city', 'Kheirabad (Kooshk-e Qazi)'] ['Magdeburg', 'sister city', 'Aghadowey']
ASK WHERE { resource:Magdeburg property:sister_city resource:Kheirabad_(Kooshk-e_Qazi) . resource:Magdeburg property:sister_city resource:Aghadowey }
[]
administrative territorial entity
SYSTEM
NO
(Q1733,P190,Q14680135) (Q1733,P190,Q4692347)
action is_in
entity Q1733
action intersection
action find_reverse
entity Q14680135
relation P190
action find_reverse
entity Q4692347
relation P190
[ANSWER]
['Q1733', 'P190', 'Q14680135'] ['Q1733', 'P190', 'Q4692347']
ASK WHERE { resource:Q1733 property:P190 resource:Q14680135 . resource:Q1733 property:P190 resource:Q4692347 }
No
action is_in
entity Magdeburg
action intersection
action find_reverse
entity Kheirabad (Kooshk-e Qazi)
relation sister city
action find_reverse
entity Aghadowey
relation sister city
['Magdeburg', 'sister city', 'Kheirabad (Kooshk-e Qazi)'] ['Magdeburg', 'sister city', 'Aghadowey']
ASK WHERE { resource:Magdeburg property:sister_city resource:Kheirabad_(Kooshk-e_Qazi) . resource:Magdeburg property:sister_city resource:Aghadowey }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2372922 Q14680135
P27 P17
Q15617994
USER
Which administrative territories do Kheirabad (Kooshk-e Qazi) belong to or are André Alen an inhabitant of ?
OR((Q14680135,P17,c(Q15617994)), (Q2372922,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q14680135
relation P17
action find
entity Q2372922
relation P27
type Q15617994
{'OR': [['Q14680135', 'P17', {'concept': 'Q15617994'}], ['Q2372922', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q14680135 property:P17 ?z } UNION { resource:Q2372922 property:P27 ?z } } . ?z rdf:type ontology:Q15617994 }
André Alen Kheirabad (Kooshk-e Qazi)
action filter_type
action union
action find
entity Kheirabad (Kooshk-e Qazi)
relation country
action find
entity André Alen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Kheirabad (Kooshk-e Qazi)', 'country', {'concept': 'designation for an administrative territorial entity'}], ['André Alen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Kheirabad_(Kooshk-e_Qazi) property:country ?z } UNION { resource:André_Alen property:country_of_citizenship ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31 Q794
SYSTEM
Belgium, Iran
Q31 Q794
OR((Q14680135,P17,c(Q15617994)), (Q2372922,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q14680135
relation P17
action find
entity Q2372922
relation P27
type Q15617994
[ANSWERS] Kheirabad (Kooshk-e Qazi) belong to or are André Alen an inhabitant of
{'OR': [['Q14680135', 'P17', {'concept': 'Q15617994'}], ['Q2372922', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q14680135 property:P17 ?z } UNION { resource:Q2372922 property:P27 ?z } } . ?z rdf:type ontology:Q15617994 }
Belgium Iran
Belgium and Iran Kheirabad (Kooshk-e Qazi) belong to or are André Alen an inhabitant of
Belgium Iran
action filter_type
action union
action find
entity Kheirabad (Kooshk-e Qazi)
relation country
action find
entity André Alen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Kheirabad (Kooshk-e Qazi)', 'country', {'concept': 'designation for an administrative territorial entity'}], ['André Alen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Kheirabad_(Kooshk-e_Qazi) property:country ?z } UNION { resource:André_Alen property:country_of_citizenship ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q353796
P27
Q502895
USER
Are Fırat Kocaoğlu civilians of those administrative territories ?
(Q353796,P27,Q31) (Q353796,P27,Q794)
action is_in
entity prev_answer
action find
entity Q353796
relation P27
['Q353796', 'P27', 'Q31'] ['Q353796', 'P27', 'Q794']
ASK WHERE { VALUES ( ?p ) { ( resource:Q31 ) ( resource:Q794 ) } . resource:Q353796 property:P27 ?p }
Fırat Kocaoğlu
action is_in
entity prev_answer
action find
entity Fırat Kocaoğlu
relation country of citizenship
['Fırat Kocaoğlu', 'country of citizenship', 'Belgium'] ['Fırat Kocaoğlu', 'country of citizenship', 'Iran']
ASK WHERE { VALUES ( ?p ) { ( resource:Belgium ) ( resource:Iran ) } . resource:Fırat_Kocaoğlu property:country_of_citizenship ?p }
[]
common name
SYSTEM
NO
(Q353796,P27,Q31) (Q353796,P27,Q794)
action is_in
entity prev_answer
action find
entity Q353796
relation P27
[ANSWER]
['Q353796', 'P27', 'Q31'] ['Q353796', 'P27', 'Q794']
ASK WHERE { VALUES ( ?p ) { ( resource:Q31 ) ( resource:Q794 ) } . resource:Q353796 property:P27 ?p }
No
action is_in
entity prev_answer
action find
entity Fırat Kocaoğlu
relation country of citizenship
['Fırat Kocaoğlu', 'country of citizenship', 'Belgium'] ['Fırat Kocaoğlu', 'country of citizenship', 'Iran']
ASK WHERE { VALUES ( ?p ) { ( resource:Belgium ) ( resource:Iran ) } . resource:Fırat_Kocaoğlu property:country_of_citizenship ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q31
P750
Q838948
USER
Which work of art has Belgium as its distributor ?
(c(Q838948),P750,Q31)
action filter_type
action find_reverse
entity Q31
relation P750
type Q838948
[{'concept': 'Q838948'}, 'P750', 'Q31']
SELECT DISTINCT ?m WHERE { ?m property:P750 resource:Q31 . ?m rdf:type ontology:Q838948 }
Belgium
action filter_type
action find_reverse
entity Belgium
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'Belgium']
SELECT DISTINCT ?m WHERE { ?m property:distributor resource:Belgium . ?m rdf:type ontology:work_of_art }
[]
work of art
Q21998615
SYSTEM
K3 Dierenhotel
Q21998615
(c(Q838948),P750,Q31)
action filter_type
action find_reverse
entity Q31
relation P750
type Q838948
[ANSWER] has Belgium as its distributor
[{'concept': 'Q838948'}, 'P750', 'Q31']
SELECT DISTINCT ?m WHERE { ?m property:P750 resource:Q31 . ?m rdf:type ontology:Q838948 }
K3 Dierenhotel
K3 Dierenhotel has Belgium as its distributor
K3 Dierenhotel
action filter_type
action find_reverse
entity Belgium
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'Belgium']
SELECT DISTINCT ?m WHERE { ?m property:distributor resource:Belgium . ?m rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21998615
P161
Q502895
USER
Which people starred in that work of art ?
(Q21998615,P161,c(Q502895))
action filter_type
action find
entity Q21998615
relation P161
type Q502895
['Q21998615', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q21998615 property:P161 ?m . ?m rdf:type ontology:Q502895 }
K3 Dierenhotel
action filter_type
action find
entity K3 Dierenhotel
relation cast member
type common name
['K3 Dierenhotel', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:K3_Dierenhotel property:cast_member ?m . ?m rdf:type ontology:common_name }
[]
common name
Q434831 Q518312 Q518395
SYSTEM
Josje Huisman, Kristel Verbeke, Karen Damen
Q434831 Q518312 Q518395
(Q21998615,P161,c(Q502895))
action filter_type
action find
entity Q21998615
relation P161
type Q502895
[ANSWERS] starred in that work of art
['Q21998615', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q21998615 property:P161 ?m . ?m rdf:type ontology:Q502895 }
Josje Huisman Kristel Verbeke Karen Damen
Josje Huisman, Kristel Verbeke and Karen Damen starred in that work of art
Josje Huisman Kristel Verbeke Karen Damen
action filter_type
action find
entity K3 Dierenhotel
relation cast member
type common name
['K3 Dierenhotel', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:K3_Dierenhotel property:cast_member ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q434831 Q518312 Q518395
P106
Q12737077
USER
Which occupations are the professions of Josje Huisman, Kristel Verbeke and Karen Damen ?
(Q434831,P106,c(Q12737077)) (Q518312,P106,c(Q12737077)) (Q518395,P106,c(Q12737077))
action union
action filter_type
action find
entity Q434831
relation P106
type Q12737077
action filter_type
action find
entity Q518312
relation P106
type Q12737077
action filter_type
action find
entity Q518395
relation P106
type Q12737077
['Q434831', 'P106', {'concept': 'Q12737077'}] ['Q518312', 'P106', {'concept': 'Q12737077'}] ['Q518395', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?d ) { ( resource:Q434831 ) ( resource:Q518312 ) } . ?d property:P106 ?y }
Josje Huisman Kristel Verbeke Karen Damen
action union
action filter_type
action find
entity Josje Huisman
relation occupation
type occupation
action filter_type
action find
entity Kristel Verbeke
relation occupation
type occupation
action filter_type
action find
entity Karen Damen
relation occupation
type occupation
['Josje Huisman', 'occupation', {'concept': 'occupation'}] ['Kristel Verbeke', 'occupation', {'concept': 'occupation'}] ['Karen Damen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?d ) { ( resource:Josje_Huisman ) ( resource:Kristel_Verbeke ) } . ?d property:occupation ?y }
[]
occupation
Q2462658 Q177220 Q33999
SYSTEM
manager, singer, actor
Q177220 Q2462658 Q33999 Q177220 Q177220
(Q434831,P106,c(Q12737077)) (Q518312,P106,c(Q12737077)) (Q518395,P106,c(Q12737077))
action union
action filter_type
action find
entity Q434831
relation P106
type Q12737077
action filter_type
action find
entity Q518312
relation P106
type Q12737077
action filter_type
action find
entity Q518395
relation P106
type Q12737077
The [ANSWERS] are the professions of Josje Huisman, Kristel Verbeke and Karen Damen
['Q434831', 'P106', {'concept': 'Q12737077'}] ['Q518312', 'P106', {'concept': 'Q12737077'}] ['Q518395', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?d ) { ( resource:Q434831 ) ( resource:Q518312 ) } . ?d property:P106 ?y }
singer manager actor singer singer
The manager, singer and actor are the professions of Josje Huisman, Kristel Verbeke and Karen Damen
manager singer actor
action union
action filter_type
action find
entity Josje Huisman
relation occupation
type occupation
action filter_type
action find
entity Kristel Verbeke
relation occupation
type occupation
action filter_type
action find
entity Karen Damen
relation occupation
type occupation
['Josje Huisman', 'occupation', {'concept': 'occupation'}] ['Kristel Verbeke', 'occupation', {'concept': 'occupation'}] ['Karen Damen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?d ) { ( resource:Josje_Huisman ) ( resource:Kristel_Verbeke ) } . ?d property:occupation ?y }
[]