Simple Question (Direct)
Simple Question
Q5613528
P734
Q82799
USER
Which name is associated with Guan Zhen ?
(Q5613528,P734,c(Q82799))
action filter_type
action find
entity Q5613528
relation P734
type Q82799
['Q5613528', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q5613528 property:P734 ?x . ?x rdf:type ontology:Q82799 }
Guan Zhen
action filter_type
action find
entity Guan Zhen
relation family name
type name
['Guan Zhen', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Guan_Zhen property:family_name ?x . ?x rdf:type ontology:name }
[]
name
Q13380050
SYSTEM
Guan
Q13380050
(Q5613528,P734,c(Q82799))
action filter_type
action find
entity Q5613528
relation P734
type Q82799
[ANSWER] is associated with [ANSWER] Zhen
['Q5613528', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q5613528 property:P734 ?x . ?x rdf:type ontology:Q82799 }
Guan
Guan is associated with Guan Zhen
Guan
action filter_type
action find
entity Guan Zhen
relation family name
type name
['Guan Zhen', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Guan_Zhen property:family_name ?x . ?x rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5613528
P19
Q515
USER
Where was that person born ?
(Q13380050,P19,c(Q515))
action filter_type
action find
entity Q5613528
relation P19
type Q515
['Q13380050', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q515 . resource:Q5613528 property:P19 ?y }
Guan Zhen
action filter_type
action find
entity Guan Zhen
relation place of birth
type city
['Guan', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:city . resource:Guan_Zhen property:place_of_birth ?y }
[]
city
Q11736
SYSTEM
Tianjin
Q11736
(Q13380050,P19,c(Q515))
action filter_type
action find
entity Q5613528
relation P19
type Q515
That person was born in [ANSWER]
['Q13380050', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q515 . resource:Q5613528 property:P19 ?y }
Tianjin
That person was born in Tianjin
Tianjin
action filter_type
action find
entity Guan Zhen
relation place of birth
type city
['Guan', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:city . resource:Guan_Zhen property:place_of_birth ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11736
P190
Q56061
USER
Which administrative territories are twin cities of that city ?
(Q11736,P190,c(Q56061))
action filter_type
action find
entity Q11736
relation P190
type Q56061
['Q11736', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q11736 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Tianjin
action filter_type
action find
entity Tianjin
relation sister city
type administrative territorial entity
['Tianjin', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Tianjin property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q17151 Q1861 Q580
SYSTEM
Thessaloniki, Bangkok, Łódź
Q41572 Q3141 Q172415 Q54182 Q48320 Q580 Q17151 Q1861 Q201051 Q171882 Q749 Q42308 Q18808 Q16557
(Q11736,P190,c(Q56061))
action filter_type
action find
entity Q11736
relation P190
type Q56061
[ANSWERS] are twin cities of that city
['Q11736', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q11736 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Mykolaiv Melbourne Kutaisi Fitchburg Kōbe Łódź Thessaloniki Bangkok Rishon LeZion Larnaca Groningen Kharkiv Pyongyang Dallas
Thessaloniki, Bangkok and Łódź are twin cities of that city
Thessaloniki Bangkok Łódź
action filter_type
action find
entity Tianjin
relation sister city
type administrative territorial entity
['Tianjin', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Tianjin property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q17151 Q1861 Q580
P937
Q502895
USER
Who have those administrative territories as their work location ?
(c(Q502895),P937,Q17151) (c(Q502895),P937,Q1861) (c(Q502895),P937,Q580)
action filter_type
action find_reverse
entity prev_answer
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q17151'] [{'concept': 'Q502895'}, 'P937', 'Q1861'] [{'concept': 'Q502895'}, 'P937', 'Q580']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . VALUES ( ?l ) { ( resource:Q41572 ) ( resource:Q3141 ) ( resource:Q172415 ) } . ?i property:P937 ?l }
Thessaloniki Bangkok Łódź
action filter_type
action find_reverse
entity prev_answer
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Thessaloniki'] [{'concept': 'common name'}, 'work location', 'Bangkok'] [{'concept': 'common name'}, 'work location', 'Łódź']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . VALUES ( ?l ) { ( resource:Mykolaiv ) ( resource:Melbourne ) ( resource:Kutaisi ) } . ?i property:work_location ?l }
[]
common name
Q160817 Q1286285 Q714839
SYSTEM
Marek Edelman, Edmund Friszke, Tadeusz Kotarbiński
Q176522 Q551002 Q1525604 Q87329 Q117761 Q103704 Q2475853 Q77317 Q312101 Q160817 Q515331 Q97702 Q9359705 Q1286285 Q16334823 Q1734950 Q1678202 Q714839 Q23785259 Q1687987 Q23758794 Q9291728 Q8041242 Q98079 Q1489940 Q263043
(c(Q502895),P937,Q17151) (c(Q502895),P937,Q1861) (c(Q502895),P937,Q580)
action filter_type
action find_reverse
entity prev_answer
relation P937
type Q502895
[ANSWERS] have those administrative territories as their work location
[{'concept': 'Q502895'}, 'P937', 'Q17151'] [{'concept': 'Q502895'}, 'P937', 'Q1861'] [{'concept': 'Q502895'}, 'P937', 'Q580']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . VALUES ( ?l ) { ( resource:Q41572 ) ( resource:Q3141 ) ( resource:Q172415 ) } . ?i property:P937 ?l }
Maurice Sarrail Vassilios Skouris Giorgos Kyriakakis Titus Leber Peter Christopherson Karl Siegfried Döhring Ulrich Gottlieb Jurek Becker Andrzej Sapkowski Marek Edelman Andrzej Munk Richard Lauxmann Tomasz Sobieraj Edmund Friszke Jan Kubarski Kasia Borek Jadwiga Lipińska Tadeusz Kotarbiński Andrzej Klimek Jerzy Kropiwnicki Leszek Klimek Hirsch Berlinski Władysław Raczkowski Ludwig Burmester Gabriela Cichowska Leon Schiller
Marek Edelman, Edmund Friszke and Tadeusz Kotarbiński have those administrative territories as their work location
Marek Edelman Edmund Friszke Tadeusz Kotarbiński
action filter_type
action find_reverse
entity prev_answer
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Thessaloniki'] [{'concept': 'common name'}, 'work location', 'Bangkok'] [{'concept': 'common name'}, 'work location', 'Łódź']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . VALUES ( ?l ) { ( resource:Mykolaiv ) ( resource:Melbourne ) ( resource:Kutaisi ) } . ?i property:work_location ?l }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q160817 Q1286285 Q714839
P106
Q12737077
USER
What are the professions of Marek Edelman, Edmund Friszke and Tadeusz Kotarbiński ?
(Q160817,P106,c(Q12737077)) (Q1286285,P106,c(Q12737077)) (Q714839,P106,c(Q12737077))
action union
action filter_type
action find
entity Q160817
relation P106
type Q12737077
action filter_type
action find
entity Q1286285
relation P106
type Q12737077
action filter_type
action find
entity Q714839
relation P106
type Q12737077
['Q160817', 'P106', {'concept': 'Q12737077'}] ['Q1286285', 'P106', {'concept': 'Q12737077'}] ['Q714839', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?x ) { ( resource:Q160817 ) ( resource:Q1286285 ) } . ?x property:P106 ?e }
Marek Edelman Edmund Friszke Tadeusz Kotarbiński
action union
action filter_type
action find
entity Marek Edelman
relation occupation
type occupation
action filter_type
action find
entity Edmund Friszke
relation occupation
type occupation
action filter_type
action find
entity Tadeusz Kotarbiński
relation occupation
type occupation
['Marek Edelman', 'occupation', {'concept': 'occupation'}] ['Edmund Friszke', 'occupation', {'concept': 'occupation'}] ['Tadeusz Kotarbiński', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?x ) { ( resource:Marek_Edelman ) ( resource:Edmund_Friszke ) } . ?x property:occupation ?e }
[]
occupation
Q1622272 Q39631 Q82955
SYSTEM
university teacher, physician, politician
Q39631 Q82955 Q15618389 Q1234713 Q1622272
(Q160817,P106,c(Q12737077)) (Q1286285,P106,c(Q12737077)) (Q714839,P106,c(Q12737077))
action union
action filter_type
action find
entity Q160817
relation P106
type Q12737077
action filter_type
action find
entity Q1286285
relation P106
type Q12737077
action filter_type
action find
entity Q714839
relation P106
type Q12737077
The professions of Marek Edelman , Edmund Friszke and Tadeusz Kotarbiński are a [ANSWERS]
['Q160817', 'P106', {'concept': 'Q12737077'}] ['Q1286285', 'P106', {'concept': 'Q12737077'}] ['Q714839', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?x ) { ( resource:Q160817 ) ( resource:Q1286285 ) } . ?x property:P106 ?e }
physician politician cardiologist theologian university teacher
The professions of Marek Edelman , Edmund Friszke and Tadeusz Kotarbiński are a university teacher, physician and politician
university teacher physician politician
action union
action filter_type
action find
entity Marek Edelman
relation occupation
type occupation
action filter_type
action find
entity Edmund Friszke
relation occupation
type occupation
action filter_type
action find
entity Tadeusz Kotarbiński
relation occupation
type occupation
['Marek Edelman', 'occupation', {'concept': 'occupation'}] ['Edmund Friszke', 'occupation', {'concept': 'occupation'}] ['Tadeusz Kotarbiński', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?x ) { ( resource:Marek_Edelman ) ( resource:Edmund_Friszke ) } . ?x property:occupation ?e }
[]
Clarification
Simple Question|Single Entity|Indirect
Q160817
P119
Q39614
USER
Which cemetery is the tomb of that person ?
(Q160817,P119,c(Q39614))
action filter_type
action find
entity Q160817
relation P119
type Q39614
['Q160817', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?l WHERE { resource:Q160817 property:P119 ?l . ?l rdf:type ontology:Q39614 }
Marek Edelman
action filter_type
action find
entity Marek Edelman
relation place of burial
type cemetery
['Marek Edelman', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?l WHERE { resource:Marek_Edelman property:place_of_burial ?l . ?l rdf:type ontology:cemetery }
[]
cemetery
Clarification for simple ques.
Q160817
SYSTEM
Did you mean Marek Edelman ?
Q1622272 Q39631 Q82955
(Q1622272,P119,c(Q39614)) (Q39631,P119,c(Q39614)) (Q82955,P119,c(Q39614))
[ANSWER]
['Q1622272', 'P119', {'concept': 'Q39614'}] ['Q39631', 'P119', {'concept': 'Q39614'}] ['Q82955', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?l WHERE { resource:Q160817 property:P119 ?l . ?l rdf:type ontology:Q39614 }
university teacher physician politician
Did you mean Marek Edelman ?
Marek Edelman
['university teacher', 'place of burial', {'concept': 'cemetery'}] ['physician', 'place of burial', {'concept': 'cemetery'}] ['politician', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?l WHERE { resource:Marek_Edelman property:place_of_burial ?l . ?l rdf:type ontology:cemetery }
[]
Simple Question (Coreferenced)
USER
Yes
(Q160817,P119,c(Q39614))
['Q160817', 'P119', {'concept': 'Q39614'}]
['Marek Edelman', 'place of burial', {'concept': 'cemetery'}]
[]
Q1716786
SYSTEM
Okopowa Street Jewish Cemetery
Q1716786
(Q160817,P119,c(Q39614))
action filter_type
action find
entity Q160817
relation P119
type Q39614
The tomb of that person is at [ANSWER]
['Q160817', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?l WHERE { resource:Q160817 property:P119 ?l . ?l rdf:type ontology:Q39614 }
Okopowa Street Jewish Cemetery
The tomb of that person is at Okopowa Street Jewish Cemetery
Okopowa Street Jewish Cemetery
action filter_type
action find
entity Marek Edelman
relation place of burial
type cemetery
['Marek Edelman', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?l WHERE { resource:Marek_Edelman property:place_of_burial ?l . ?l rdf:type ontology:cemetery }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1716786 Q4305325
P119
Q502895
USER
Does Mojżesz Moszkowski have that cemetery as place of burial ?
(Q4305325,P119,Q1716786)
action is_in
entity Q1716786
action find
entity Q4305325
relation P119
['Q4305325', 'P119', 'Q1716786']
ASK WHERE { resource:Q4305325 property:P119 resource:Q1716786 }
Okopowa Street Jewish Cemetery Mojżesz Moszkowski
action is_in
entity Okopowa Street Jewish Cemetery
action find
entity Mojżesz Moszkowski
relation place of burial
['Mojżesz Moszkowski', 'place of burial', 'Okopowa Street Jewish Cemetery']
ASK WHERE { resource:Mojżesz_Moszkowski property:place_of_burial resource:Okopowa_Street_Jewish_Cemetery }
[]
common name
SYSTEM
YES
(Q4305325,P119,Q1716786)
action is_in
entity Q1716786
action find
entity Q4305325
relation P119
[ANSWER]
['Q4305325', 'P119', 'Q1716786']
ASK WHERE { resource:Q4305325 property:P119 resource:Q1716786 }
Yes
action is_in
entity Okopowa Street Jewish Cemetery
action find
entity Mojżesz Moszkowski
relation place of burial
['Mojżesz Moszkowski', 'place of burial', 'Okopowa Street Jewish Cemetery']
ASK WHERE { resource:Mojżesz_Moszkowski property:place_of_burial resource:Okopowa_Street_Jewish_Cemetery }
[]