Simple Question (Direct)
Simple Question
Q9176089
P27
Q15617994
USER
Which administrative territory is the native country of Bohdan Bogumił Dobrzański ?
(Q9176089,P27,c(Q15617994))
action filter_type
action find
entity Q9176089
relation P27
type Q15617994
['Q9176089', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q9176089 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Bohdan Bogumił Dobrzański
action filter_type
action find
entity Bohdan Bogumił Dobrzański
relation country of citizenship
type designation for an administrative territorial entity
['Bohdan Bogumił Dobrzański', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Bohdan_Bogumił_Dobrzański property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q9176089,P27,c(Q15617994))
action filter_type
action find
entity Q9176089
relation P27
type Q15617994
[ANSWER] is the native country of Bohdan Bogumił Dobrzański
['Q9176089', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q9176089 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Poland
Poland is the native country of Bohdan Bogumił Dobrzański
Poland
action filter_type
action find
entity Bohdan Bogumił Dobrzański
relation country of citizenship
type designation for an administrative territorial entity
['Bohdan Bogumił Dobrzański', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Bohdan_Bogumił_Dobrzański property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36
P1532
Q502895
USER
Which people play for that administrative territory ?
(c(Q502895),P1532,Q36)
action filter_type
action find_reverse
entity Q36
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q36']
SELECT DISTINCT ?x WHERE { ?x property:P1532 resource:Q36 . ?x rdf:type ontology:Q502895 }
Poland
action filter_type
action find_reverse
entity Poland
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Poland']
SELECT DISTINCT ?x WHERE { ?x property:country_for_sport resource:Poland . ?x rdf:type ontology:common_name }
[]
common name
Q4124 Q10390291 Q1755
SYSTEM
Franciszek Smuda, Maciej Mysiak, Tomasz Majewski
Q10275557 Q1027689 Q25990543 Q24431132 Q24091 Q14468851 Q9201040 Q9367155 Q1755 Q4124 Q10390291 Q19911752 Q6399 Q11766029 Q24840
(c(Q502895),P1532,Q36)
action filter_type
action find_reverse
entity Q36
relation P1532
type Q502895
[ANSWERS] play for that administrative territory
[{'concept': 'Q502895'}, 'P1532', 'Q36']
SELECT DISTINCT ?x WHERE { ?x property:P1532 resource:Q36 . ?x rdf:type ontology:Q502895 }
Kamil Skaskiewicz Marek Galiński Klaudia Maruszewska Emilia Ankiewicz Eugeniusz Lewacki Grzegorz Zimniewicz Damian Czykier Urszula Bhebhe Tomasz Majewski Franciszek Smuda Maciej Mysiak Antonio chłapowski Anita Włodarczyk Magdalena Gorzkowska Jagna Marczułajtis
Franciszek Smuda, Maciej Mysiak and Tomasz Majewski play for that administrative territory
Franciszek Smuda Maciej Mysiak Tomasz Majewski
action filter_type
action find_reverse
entity Poland
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Poland']
SELECT DISTINCT ?x WHERE { ?x property:country_for_sport resource:Poland . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36
P159
Q43229
USER
Which organizations have the principal seat at Poland ?
(c(Q43229),P159,Q36)
action filter_type
action find_reverse
entity Q36
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q36']
SELECT DISTINCT ?t WHERE { ?t property:P159 resource:Q36 . ?t rdf:type ontology:Q43229 }
Poland
action filter_type
action find_reverse
entity Poland
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Poland']
SELECT DISTINCT ?t WHERE { ?t property:headquarters_location resource:Poland . ?t rdf:type ontology:organization }
[]
organization
Q6127600 Q9164980 Q4035602
SYSTEM
Polish Red Cross, Bank Gospodarki Żywnościowej, CD Projekt Investment
Q6127600 Q9164980 Q4035602
(c(Q43229),P159,Q36)
action filter_type
action find_reverse
entity Q36
relation P159
type Q43229
[ANSWERS] have the principal seat at Poland
[{'concept': 'Q43229'}, 'P159', 'Q36']
SELECT DISTINCT ?t WHERE { ?t property:P159 resource:Q36 . ?t rdf:type ontology:Q43229 }
Polish Red Cross Bank Gospodarki Żywnościowej CD Projekt Investment
Polish Red Cross, Bank Gospodarki Żywnościowej and CD Projekt Investment have the principal seat at Poland
Polish Red Cross Bank Gospodarki Żywnościowej CD Projekt Investment
action filter_type
action find_reverse
entity Poland
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Poland']
SELECT DISTINCT ?t WHERE { ?t property:headquarters_location resource:Poland . ?t rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36
P163
Q14660
USER
What is the name of flag associated with Poland ?
(Q36,P163,c(Q14660))
action filter_type
action find
entity Q36
relation P163
type Q14660
['Q36', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?y WHERE { resource:Q36 property:P163 ?y . ?y rdf:type ontology:Q14660 }
Poland
action filter_type
action find
entity Poland
relation flag
type flag
['Poland', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?y WHERE { resource:Poland property:flag ?y . ?y rdf:type ontology:flag }
[]
flag
Q42436
SYSTEM
Flag of Poland
Q42436
(Q36,P163,c(Q14660))
action filter_type
action find
entity Q36
relation P163
type Q14660
The name of flag associated with Poland is the [ANSWER]
['Q36', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?y WHERE { resource:Q36 property:P163 ?y . ?y rdf:type ontology:Q14660 }
Flag of Poland
The name of flag associated with Poland is the Flag of Poland
Flag of Poland
action filter_type
action find
entity Poland
relation flag
type flag
['Poland', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?y WHERE { resource:Poland property:flag ?y . ?y rdf:type ontology:flag }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q733
Q14660
USER
And how about Paraguay?
(Q733,P163,c(Q14660))
action filter_type
action find
entity Q733
relation P163
type Q14660
['Q733', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?w WHERE { resource:Q733 property:P163 ?w . ?w rdf:type ontology:Q14660 }
Paraguay
action filter_type
action find
entity Paraguay
relation flag
type flag
['Paraguay', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?w WHERE { resource:Paraguay property:flag ?w . ?w rdf:type ontology:flag }
[]
flag
Q170465
SYSTEM
flag of Paraguay
Q170465
(Q733,P163,c(Q14660))
action filter_type
action find
entity Q733
relation P163
type Q14660
[ANSWER]
['Q733', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?w WHERE { resource:Q733 property:P163 ?w . ?w rdf:type ontology:Q14660 }
flag of Paraguay
flag of Paraguay
action filter_type
action find
entity Paraguay
relation flag
type flag
['Paraguay', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?w WHERE { resource:Paraguay property:flag ?w . ?w rdf:type ontology:flag }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q252844 Q170465
P27 P1001
Q15617994
USER
Which administrative territories apply to jurisdiction of flag of Paraguay or do Nikolay Chavdarov belong to ?
OR((Q170465,P1001,c(Q15617994)), (Q252844,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q170465
relation P1001
action find
entity Q252844
relation P27
type Q15617994
{'OR': [['Q170465', 'P1001', {'concept': 'Q15617994'}], ['Q252844', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q170465 property:P1001 ?r } UNION { resource:Q252844 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Nikolay Chavdarov flag of Paraguay
action filter_type
action union
action find
entity flag of Paraguay
relation applies to jurisdiction
action find
entity Nikolay Chavdarov
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['flag of Paraguay', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Nikolay Chavdarov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:flag_of_Paraguay property:applies_to_jurisdiction ?r } UNION { resource:Nikolay_Chavdarov property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q733 Q219
SYSTEM
Paraguay, Bulgaria
Q733 Q219
OR((Q170465,P1001,c(Q15617994)), (Q252844,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q170465
relation P1001
action find
entity Q252844
relation P27
type Q15617994
[ANSWERS] apply to jurisdiction of flag of Paraguay or do Nikolay Chavdarov belong to
{'OR': [['Q170465', 'P1001', {'concept': 'Q15617994'}], ['Q252844', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q170465 property:P1001 ?r } UNION { resource:Q252844 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Paraguay Bulgaria
Paraguay and Bulgaria apply to jurisdiction of flag of Paraguay or do Nikolay Chavdarov belong to
Paraguay Bulgaria
action filter_type
action union
action find
entity flag of Paraguay
relation applies to jurisdiction
action find
entity Nikolay Chavdarov
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['flag of Paraguay', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Nikolay Chavdarov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:flag_of_Paraguay property:applies_to_jurisdiction ?r } UNION { resource:Nikolay_Chavdarov property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q733 Q219
P20
Q502895
USER
Which people have those administrative territories as the location of death ?
(c(Q502895),P20,Q733) (c(Q502895),P20,Q219)
action filter_type
action find_reverse
entity prev_answer
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q733'] [{'concept': 'Q502895'}, 'P20', 'Q219']
SELECT DISTINCT ?x WHERE { ?x property:P20 ?q . ?x rdf:type ontology:Q502895 . VALUES ( ?q ) { ( resource:Q733 ) ( resource:Q219 ) } }
Paraguay Bulgaria
action filter_type
action find_reverse
entity prev_answer
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Paraguay'] [{'concept': 'common name'}, 'place of death', 'Bulgaria']
SELECT DISTINCT ?x WHERE { ?x property:place_of_death ?q . ?x rdf:type ontology:common_name . VALUES ( ?q ) { ( resource:Paraguay ) ( resource:Bulgaria ) } }
[]
common name
Q5483960 Q691179 Q12023861
SYSTEM
Francisco Solano Patiño, Aurelio González, Jaroslav Kofroň
Q10335646 Q5930648 Q691179 Q2276707 Q6277589 Q15944549 Q1474158 Q1560518 Q252847 Q552051 Q5483960 Q3658023 Q1509232 Q6433455 Q11720270 Q1343051 Q646772 Q652583 Q2915643 Q2480905 Q20644926 Q4024352 Q791263 Q20934540 Q26750984 Q2014297 Q3401209 Q1351921 Q12023861 Q3410049 Q462917
(c(Q502895),P20,Q733) (c(Q502895),P20,Q219)
action filter_type
action find_reverse
entity prev_answer
relation P20
type Q502895
[ANSWERS] have those administrative territories as the location of death
[{'concept': 'Q502895'}, 'P20', 'Q733'] [{'concept': 'Q502895'}, 'P20', 'Q219']
SELECT DISTINCT ?x WHERE { ?x property:P20 ?q . ?x rdf:type ontology:Q502895 . VALUES ( ?q ) { ( resource:Q733 ) ( resource:Q219 ) } }
Natalicio de María Talavera Jesús Ruiz Nestosa Aurelio González Juan de Ayolas Jorge "Lobito" Martínez Alexis Frutos Vaesken Rudolf Müller Rose Summerfield José Gervasio Artigas Jules Crevaux Francisco Solano Patiño Irene of Larissa Georgi Obretenov Kostadin Alakushev Janusz Krzyżewski Gregory of Sinai Dan I of Wallachia Georgi Dakov Sarah-Theodora Hristo Iliev Lodovico Lessona Zheni Bozhinova Theodora of Wallachia Vladislav Timakov Tosko Iliev Hristo Mladenov Agatha, wife of Samuil Erich Bartl Jaroslav Kofroň Nikola Gabrovski Constantine Tikh of Bulgaria
Francisco Solano Patiño, Aurelio González and Jaroslav Kofroň have those administrative territories as the location of death
Francisco Solano Patiño Aurelio González Jaroslav Kofroň
action filter_type
action find_reverse
entity prev_answer
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Paraguay'] [{'concept': 'common name'}, 'place of death', 'Bulgaria']
SELECT DISTINCT ?x WHERE { ?x property:place_of_death ?q . ?x rdf:type ontology:common_name . VALUES ( ?q ) { ( resource:Paraguay ) ( resource:Bulgaria ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q5483960 Q691179 Q12023861
P21
Q290
USER
Which sexes do those people belong to ?
(Q5483960,P21,c(Q290)) (Q691179,P21,c(Q290)) (Q12023861,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q5483960', 'P21', {'concept': 'Q290'}] ['Q691179', 'P21', {'concept': 'Q290'}] ['Q12023861', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?b ) { ( resource:Q10335646 ) ( resource:Q5930648 ) ( resource:Q691179 ) } . ?e rdf:type ontology:Q290 . ?b property:P21 ?e }
Francisco Solano Patiño Aurelio González Jaroslav Kofroň
action filter_type
action find
entity prev_answer
relation gender
type sex
['Francisco Solano Patiño', 'gender', {'concept': 'sex'}] ['Aurelio González', 'gender', {'concept': 'sex'}] ['Jaroslav Kofroň', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?b ) { ( resource:Natalicio_de_María_Talavera ) ( resource:Jesús_Ruiz_Nestosa ) ( resource:Aurelio_González ) } . ?e rdf:type ontology:sex . ?b property:gender ?e }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q5483960,P21,c(Q290)) (Q691179,P21,c(Q290)) (Q12023861,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
Those people belong to [ANSWER], [ANSWER] and [ANSWER]
['Q5483960', 'P21', {'concept': 'Q290'}] ['Q691179', 'P21', {'concept': 'Q290'}] ['Q12023861', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?b ) { ( resource:Q10335646 ) ( resource:Q5930648 ) ( resource:Q691179 ) } . ?e rdf:type ontology:Q290 . ?b property:P21 ?e }
male male male
Those people belong to male, male and male
male male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Francisco Solano Patiño', 'gender', {'concept': 'sex'}] ['Aurelio González', 'gender', {'concept': 'sex'}] ['Jaroslav Kofroň', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?b ) { ( resource:Natalicio_de_María_Talavera ) ( resource:Jesús_Ruiz_Nestosa ) ( resource:Aurelio_González ) } . ?e rdf:type ontology:sex . ?b property:gender ?e }
[]