Simple Question (Direct)
Simple Question
Q2492058
P21
Q290
USER
What is the sex of Lidia Yusupova ?
(Q2492058,P21,c(Q290))
action filter_type
action find
entity Q2492058
relation P21
type Q290
['Q2492058', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q2492058 property:P21 ?b . ?b rdf:type ontology:Q290 }
Lidia Yusupova
action filter_type
action find
entity Lidia Yusupova
relation gender
type sex
['Lidia Yusupova', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Lidia_Yusupova property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q2492058,P21,c(Q290))
action filter_type
action find
entity Q2492058
relation P21
type Q290
[ANSWER]
['Q2492058', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q2492058 property:P21 ?b . ?b rdf:type ontology:Q290 }
female
female
action filter_type
action find
entity Lidia Yusupova
relation gender
type sex
['Lidia Yusupova', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Lidia_Yusupova property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2492058
P106
Q151885
USER
What is the job of Lidia Yusupova ?
(Q2492058,P106,c(Q151885))
action filter_type
action find
entity Q2492058
relation P106
type Q151885
['Q2492058', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?f WHERE { resource:Q2492058 property:P106 ?f . ?f rdf:type ontology:Q151885 }
Lidia Yusupova
action filter_type
action find
entity Lidia Yusupova
relation occupation
type concept
['Lidia Yusupova', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?f WHERE { resource:Lidia_Yusupova property:occupation ?f . ?f rdf:type ontology:concept }
[]
concept
Q1476215
SYSTEM
human rights activist
Q1476215
(Q2492058,P106,c(Q151885))
action filter_type
action find
entity Q2492058
relation P106
type Q151885
[ANSWER]
['Q2492058', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?f WHERE { resource:Q2492058 property:P106 ?f . ?f rdf:type ontology:Q151885 }
human rights activist
human rights activist
action filter_type
action find
entity Lidia Yusupova
relation occupation
type concept
['Lidia Yusupova', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?f WHERE { resource:Lidia_Yusupova property:occupation ?f . ?f rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2492058
P19
Q56061
USER
Which administrative territory is the place of birth of Lidia Yusupova ?
(Q2492058,P19,c(Q56061))
action filter_type
action find
entity Q2492058
relation P19
type Q56061
['Q2492058', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q2492058 property:P19 ?f }
Lidia Yusupova
action filter_type
action find
entity Lidia Yusupova
relation place of birth
type administrative territorial entity
['Lidia Yusupova', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Lidia_Yusupova property:place_of_birth ?f }
[]
administrative territorial entity
Q5196
SYSTEM
Grozny
Q5196
(Q2492058,P19,c(Q56061))
action filter_type
action find
entity Q2492058
relation P19
type Q56061
[ANSWER]
['Q2492058', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q2492058 property:P19 ?f }
Grozny
Grozny
action filter_type
action find
entity Lidia Yusupova
relation place of birth
type administrative territorial entity
['Lidia Yusupova', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Lidia_Yusupova property:place_of_birth ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5196
P190
Q56061
USER
Which administrative territories are twin town of that one ?
(c(Q56061),P190,Q5196)
action filter_type
action find
entity Q5196
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q5196']
SELECT DISTINCT ?y WHERE { resource:Q5196 property:P190 ?y . ?y rdf:type ontology:Q56061 }
Grozny
action filter_type
action find
entity Grozny
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Grozny']
SELECT DISTINCT ?y WHERE { resource:Grozny property:sister_city ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q270 Q1874 Q202188
SYSTEM
Warsaw, Odessa, Ardahan
Q270 Q1874 Q202188
(c(Q56061),P190,Q5196)
action filter_type
action find
entity Q5196
relation P190
type Q56061
[ANSWERS]
[{'concept': 'Q56061'}, 'P190', 'Q5196']
SELECT DISTINCT ?y WHERE { resource:Q5196 property:P190 ?y . ?y rdf:type ontology:Q56061 }
Warsaw Odessa Ardahan
Warsaw Odessa Ardahan
action filter_type
action find
entity Grozny
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Grozny']
SELECT DISTINCT ?y WHERE { resource:Grozny property:sister_city ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q270 Q1874 Q202188
P551
Q502895
USER
Which people dwell at those administrative territories ?
(c(Q502895),P551,Q270) (c(Q502895),P551,Q1874) (c(Q502895),P551,Q202188)
action filter_type
action find_reverse
entity prev_answer
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q270'] [{'concept': 'Q502895'}, 'P551', 'Q1874'] [{'concept': 'Q502895'}, 'P551', 'Q202188']
SELECT DISTINCT ?u WHERE { ?u property:P551 ?g . ?u rdf:type ontology:Q502895 . VALUES ( ?g ) { ( resource:Q270 ) ( resource:Q1874 ) ( resource:Q202188 ) } }
Warsaw Odessa Ardahan
action filter_type
action find_reverse
entity prev_answer
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Warsaw'] [{'concept': 'common name'}, 'residence', 'Odessa'] [{'concept': 'common name'}, 'residence', 'Ardahan']
SELECT DISTINCT ?u WHERE { ?u property:residence ?g . ?u rdf:type ontology:common_name . VALUES ( ?g ) { ( resource:Warsaw ) ( resource:Odessa ) ( resource:Ardahan ) } }
[]
common name
Q79822 Q161363 Q161363
SYSTEM
Adam Mickiewicz for 1st, Zbigniew Herbert for 2nd, 3rd
Q11717161 Q16830191 Q22813583 Q21095548 Q16620409 Q15731668 Q11713786 Q17254565 Q369236 Q3848196 Q1982663 Q1235246 Q11749350 Q21974515 Q242999 Q12115606 Q1349910 Q27050059 Q27050592 Q6381216 Q16292954 Q254232 Q232823 Q161363 Q161363 Q17600497 Q27126747 Q9343096 Q6001433 Q4383558 Q79822 Q80440 Q225357 Q12403939 Q235532 Q4122608 Q1766769 Q12085509 Q297024 Q3646436
(c(Q502895),P551,Q270) (c(Q502895),P551,Q1874) (c(Q502895),P551,Q202188)
action filter_type
action find_reverse
entity prev_answer
relation P551
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P551', 'Q270'] [{'concept': 'Q502895'}, 'P551', 'Q1874'] [{'concept': 'Q502895'}, 'P551', 'Q202188']
SELECT DISTINCT ?u WHERE { ?u property:P551 ?g . ?u rdf:type ontology:Q502895 . VALUES ( ?g ) { ( resource:Q270 ) ( resource:Q1874 ) ( resource:Q202188 ) } }
Jan Błachowicz Natalia Wróblewska Mariusz Wróblewski Kate Macintosh Zofia Marchlewska Zuzanna Maciejewska Irena Kuran-Bogucka Kamil Barbarski Mariusz Fyrstenberg Grzegorz Przemyk Magdalena Grzybowska Paweł Nastula Krzysztof Klimek Dariusz Tosik Klaudia Jans-Ignacik Pavló Kukurúza Samuel Linde Iwo Klimek Iwona Szałwińska-Klimek Kazimierz Mijal Jan Krauze Alicja Rosolska Marta Domachowska Zbigniew Herbert Zbigniew Herbert Mateusz Żuławski Franciszek Wróblewski Stanisław Srokowski Ilya Kaminsky Olga Pulatova Adam Mickiewicz Anna Akhmatova Hryhoriy Surkis Eliyahu Meidnik Viktoriya Kutuzova Elena Voinarovskaya Kyriak Kostandi Evgeny Bukovetsky Demetrius Vikelas Derenik Demirchian
Adam Mickiewicz Zbigniew Herbert Zbigniew Herbert
action filter_type
action find_reverse
entity prev_answer
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Warsaw'] [{'concept': 'common name'}, 'residence', 'Odessa'] [{'concept': 'common name'}, 'residence', 'Ardahan']
SELECT DISTINCT ?u WHERE { ?u property:residence ?g . ?u rdf:type ontology:common_name . VALUES ( ?g ) { ( resource:Warsaw ) ( resource:Odessa ) ( resource:Ardahan ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q161363
P1411
Q618779
USER
Which award was that person nominated for ?
(Q161363,P1411,c(Q618779))
action filter_type
action find
entity Q161363
relation P1411
type Q618779
['Q161363', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q161363 property:P1411 ?s . ?s rdf:type ontology:Q618779 }
Zbigniew Herbert
action filter_type
action find
entity Zbigniew Herbert
relation nominated for
type award
['Zbigniew Herbert', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Zbigniew_Herbert property:nominated_for ?s . ?s rdf:type ontology:award }
[]
award
Clarification for simple ques.
Q161363
SYSTEM
Did you mean Zbigniew Herbert ?
Q79822 Q161363 Q161363
(Q79822,P1411,c(Q618779)) (Q161363,P1411,c(Q618779)) (Q161363,P1411,c(Q618779))
[ANSWER]
['Q79822', 'P1411', {'concept': 'Q618779'}] ['Q161363', 'P1411', {'concept': 'Q618779'}] ['Q161363', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q161363 property:P1411 ?s . ?s rdf:type ontology:Q618779 }
Adam Mickiewicz Zbigniew Herbert Zbigniew Herbert
Did you mean Zbigniew Herbert ?
Zbigniew Herbert
['Adam Mickiewicz', 'nominated for', {'concept': 'award'}] ['Zbigniew Herbert', 'nominated for', {'concept': 'award'}] ['Zbigniew Herbert', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Zbigniew_Herbert property:nominated_for ?s . ?s rdf:type ontology:award }
[]
Simple Question (Coreferenced)
USER
Yes
(Q161363,P1411,c(Q618779))
['Q161363', 'P1411', {'concept': 'Q618779'}]
['Zbigniew Herbert', 'nominated for', {'concept': 'award'}]
[]
Q580574
SYSTEM
Neustadt International Prize for Literature
Q580574
(Q161363,P1411,c(Q618779))
action filter_type
action find
entity Q161363
relation P1411
type Q618779
[ANSWER]
['Q161363', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q161363 property:P1411 ?s . ?s rdf:type ontology:Q618779 }
Neustadt International Prize for Literature
Neustadt International Prize for Literature
action filter_type
action find
entity Zbigniew Herbert
relation nominated for
type award
['Zbigniew Herbert', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Zbigniew_Herbert property:nominated_for ?s . ?s rdf:type ontology:award }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q580574 Q6001433
P1411
Q502895
USER
Was Ilya Kaminsky a nomination for that award ?
(Q6001433,P1411,Q580574)
action is_in
entity Q580574
action find
entity Q6001433
relation P1411
['Q6001433', 'P1411', 'Q580574']
ASK WHERE { resource:Q6001433 property:P1411 resource:Q580574 }
Neustadt International Prize for Literature Ilya Kaminsky
action is_in
entity Neustadt International Prize for Literature
action find
entity Ilya Kaminsky
relation nominated for
['Ilya Kaminsky', 'nominated for', 'Neustadt International Prize for Literature']
ASK WHERE { resource:Ilya_Kaminsky property:nominated_for resource:Neustadt_International_Prize_for_Literature }
[]
common name
SYSTEM
YES
(Q6001433,P1411,Q580574)
action is_in
entity Q580574
action find
entity Q6001433
relation P1411
[ANSWER]
['Q6001433', 'P1411', 'Q580574']
ASK WHERE { resource:Q6001433 property:P1411 resource:Q580574 }
Yes
action is_in
entity Neustadt International Prize for Literature
action find
entity Ilya Kaminsky
relation nominated for
['Ilya Kaminsky', 'nominated for', 'Neustadt International Prize for Literature']
ASK WHERE { resource:Ilya_Kaminsky property:nominated_for resource:Neustadt_International_Prize_for_Literature }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q159 Q202188
P190 P17
Q56061
USER
Which administrative territories are sister town of Ardahan and are present in Russia ?
AND((c(Q56061),P190,Q202188), (c(Q56061),P17,Q159))
action filter_type
action intersection
action find_reverse
entity Q202188
relation P190
action find_reverse
entity Q159
relation P17
type Q56061
{'AND': [[{'concept': 'Q56061'}, 'P190', 'Q202188'], [{'concept': 'Q56061'}, 'P17', 'Q159']]}
SELECT DISTINCT ?r WHERE { ?r property:P17 resource:Q159 . ?r property:P190 resource:Q202188 . ?r rdf:type ontology:Q56061 }
Russia Ardahan
action filter_type
action intersection
action find_reverse
entity Ardahan
relation sister city
action find_reverse
entity Russia
relation country
type administrative territorial entity
{'AND': [[{'concept': 'administrative territorial entity'}, 'sister city', 'Ardahan'], [{'concept': 'administrative territorial entity'}, 'country', 'Russia']]}
SELECT DISTINCT ?r WHERE { ?r property:country resource:Russia . ?r property:sister_city resource:Ardahan . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q5196
SYSTEM
Grozny
Q5196
AND((c(Q56061),P190,Q202188), (c(Q56061),P17,Q159))
action filter_type
action intersection
action find_reverse
entity Q202188
relation P190
action find_reverse
entity Q159
relation P17
type Q56061
[ANSWER]
{'AND': [[{'concept': 'Q56061'}, 'P190', 'Q202188'], [{'concept': 'Q56061'}, 'P17', 'Q159']]}
SELECT DISTINCT ?r WHERE { ?r property:P17 resource:Q159 . ?r property:P190 resource:Q202188 . ?r rdf:type ontology:Q56061 }
Grozny
Grozny
action filter_type
action intersection
action find_reverse
entity Ardahan
relation sister city
action find_reverse
entity Russia
relation country
type administrative territorial entity
{'AND': [[{'concept': 'administrative territorial entity'}, 'sister city', 'Ardahan'], [{'concept': 'administrative territorial entity'}, 'country', 'Russia']]}
SELECT DISTINCT ?r WHERE { ?r property:country resource:Russia . ?r property:sister_city resource:Ardahan . ?r rdf:type ontology:administrative_territorial_entity }
[]