Simple Question (Direct)
Simple Question
Q4281848
P27
Q7275
USER
Which state is the country of citizenship of Aleksandr Markarov ?
(Q4281848,P27,c(Q7275))
action filter_type
action find
entity Q4281848
relation P27
type Q7275
['Q4281848', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?i WHERE { resource:Q4281848 property:P27 ?i . ?i rdf:type ontology:Q7275 }
Aleksandr Markarov
action filter_type
action find
entity Aleksandr Markarov
relation country of citizenship
type state
['Aleksandr Markarov', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?i WHERE { resource:Aleksandr_Markarov property:country_of_citizenship ?i . ?i rdf:type ontology:state }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q4281848,P27,c(Q7275))
action filter_type
action find
entity Q4281848
relation P27
type Q7275
[ANSWER] is the country of citizenship of Aleksandr Markarov
['Q4281848', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?i WHERE { resource:Q4281848 property:P27 ?i . ?i rdf:type ontology:Q7275 }
Soviet Union
Soviet Union is the country of citizenship of Aleksandr Markarov
Soviet Union
action filter_type
action find
entity Aleksandr Markarov
relation country of citizenship
type state
['Aleksandr Markarov', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?i WHERE { resource:Aleksandr_Markarov property:country_of_citizenship ?i . ?i rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4281848
P102
Q7278
USER
Which political party is that person a member of ?
(Q15180,P102,c(Q7278))
action filter_type
action find
entity Q4281848
relation P102
type Q7278
['Q15180', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q7278 . resource:Q4281848 property:P102 ?q }
Aleksandr Markarov
action filter_type
action find
entity Aleksandr Markarov
relation member of political party
type political party
['Soviet Union', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_party . resource:Aleksandr_Markarov property:member_of_political_party ?q }
[]
political party
Q79854
SYSTEM
Communist Party of the Soviet Union
Q79854
(Q15180,P102,c(Q7278))
action filter_type
action find
entity Q4281848
relation P102
type Q7278
The [ANSWER] is that person a member of
['Q15180', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q7278 . resource:Q4281848 property:P102 ?q }
Communist Party of the Soviet Union
The Communist Party of the Soviet Union is that person a member of
Communist Party of the Soviet Union
action filter_type
action find
entity Aleksandr Markarov
relation member of political party
type political party
['Soviet Union', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_party . resource:Aleksandr_Markarov property:member_of_political_party ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4281848
P106
Q12737077
USER
What are the professions of that person ?
(Q79854,P106,c(Q12737077))
action filter_type
action find
entity Q4281848
relation P106
type Q12737077
['Q79854', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q4281848 property:P106 ?p }
Aleksandr Markarov
action filter_type
action find
entity Aleksandr Markarov
relation occupation
type occupation
['Communist Party of the Soviet Union', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Aleksandr_Markarov property:occupation ?p }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q79854,P106,c(Q12737077))
action filter_type
action find
entity Q4281848
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q79854', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q4281848 property:P106 ?p }
association football manager association football player
The professions of that person are association football manager and association football player
association football manager association football player
action filter_type
action find
entity Aleksandr Markarov
relation occupation
type occupation
['Communist Party of the Soviet Union', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Aleksandr_Markarov property:occupation ?p }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q272083
P106
Q502895
USER
Do Glenda Farrell have the profession of those occupations ?
(Q272083,P106,Q628099) (Q272083,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q272083
relation P106
['Q272083', 'P106', 'Q628099'] ['Q272083', 'P106', 'Q937857']
ASK WHERE { resource:Q272083 property:P106 ?n . VALUES ( ?n ) { ( resource:Q628099 ) ( resource:Q937857 ) } }
Glenda Farrell
action is_in
entity prev_answer
action find
entity Glenda Farrell
relation occupation
['Glenda Farrell', 'occupation', 'association football manager'] ['Glenda Farrell', 'occupation', 'association football player']
ASK WHERE { resource:Glenda_Farrell property:occupation ?n . VALUES ( ?n ) { ( resource:association_football_manager ) ( resource:association_football_player ) } }
[]
common name
SYSTEM
NO
(Q272083,P106,Q628099) (Q272083,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q272083
relation P106
[ANSWER]
['Q272083', 'P106', 'Q628099'] ['Q272083', 'P106', 'Q937857']
ASK WHERE { resource:Q272083 property:P106 ?n . VALUES ( ?n ) { ( resource:Q628099 ) ( resource:Q937857 ) } }
No
action is_in
entity prev_answer
action find
entity Glenda Farrell
relation occupation
['Glenda Farrell', 'occupation', 'association football manager'] ['Glenda Farrell', 'occupation', 'association football player']
ASK WHERE { resource:Glenda_Farrell property:occupation ?n . VALUES ( ?n ) { ( resource:association_football_manager ) ( resource:association_football_player ) } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q40706 Q4281848
P47 P19
Q56061
USER
Which administrative territories are the places of birth of Aleksandr Markarov or are adjacent to Paulínia ?
OR((Q4281848,P19,c(Q56061)), (Q40706,P47,c(Q56061)))
action filter_type
action union
action find
entity Q4281848
relation P19
action find
entity Q40706
relation P47
type Q56061
{'OR': [['Q4281848', 'P19', {'concept': 'Q56061'}], ['Q40706', 'P47', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q40706 property:P47 ?d } UNION { resource:Q4281848 property:P19 ?d } } . ?d rdf:type ontology:Q56061 }
Paulínia Aleksandr Markarov
action filter_type
action union
action find
entity Aleksandr Markarov
relation place of birth
action find
entity Paulínia
relation shares border with
type administrative territorial entity
{'OR': [['Aleksandr Markarov', 'place of birth', {'concept': 'administrative territorial entity'}], ['Paulínia', 'shares border with', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Paulínia property:shares_border_with ?d } UNION { resource:Aleksandr_Markarov property:place_of_birth ?d } } . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q942135 Q1645067 Q9248 Q171617 Q1648345 Q1754569 Q1638389 Q467421
SYSTEM
Sumaré, Jaguariúna, Baku, Campinas, Nova Odessa, Cosmópolis, Holambra, Americana
Q942135 Q1645067 Q9248 Q171617 Q1648345 Q1754569 Q1638389 Q467421
OR((Q4281848,P19,c(Q56061)), (Q40706,P47,c(Q56061)))
action filter_type
action union
action find
entity Q4281848
relation P19
action find
entity Q40706
relation P47
type Q56061
[ANSWERS] are the places of birth of Aleksandr Markarov or are adjacent to Paulínia
{'OR': [['Q4281848', 'P19', {'concept': 'Q56061'}], ['Q40706', 'P47', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q40706 property:P47 ?d } UNION { resource:Q4281848 property:P19 ?d } } . ?d rdf:type ontology:Q56061 }
Sumaré Jaguariúna Baku Campinas Nova Odessa Cosmópolis Holambra Americana
Sumaré, Jaguariúna, Baku, Campinas, Nova Odessa, Cosmópolis, Holambra and Americana are the places of birth of Aleksandr Markarov or are adjacent to Paulínia
Sumaré Jaguariúna Baku Campinas Nova Odessa Cosmópolis Holambra Americana
action filter_type
action union
action find
entity Aleksandr Markarov
relation place of birth
action find
entity Paulínia
relation shares border with
type administrative territorial entity
{'OR': [['Aleksandr Markarov', 'place of birth', {'concept': 'administrative territorial entity'}], ['Paulínia', 'shares border with', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Paulínia property:shares_border_with ?d } UNION { resource:Aleksandr_Markarov property:place_of_birth ?d } } . ?d rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q219110 Q40706
P19
Q502895
USER
Which people have birthplace at Paulínia or Kamienna Góra ?
OR((c(Q502895),P19,Q40706), (c(Q502895),P19,Q219110))
action filter_type
action union
action find_reverse
entity Q40706
relation P19
action find_reverse
entity Q219110
relation P19
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q40706'], [{'concept': 'Q502895'}, 'P19', 'Q219110']]}
SELECT DISTINCT ?s WHERE { { ?s property:P19 ?w . VALUES ( ?w ) { ( resource:Q40706 ) ( resource:Q219110 ) } } . ?s rdf:type ontology:Q502895 }
Kamienna Góra Paulínia
action filter_type
action union
action find_reverse
entity Paulínia
relation place of birth
action find_reverse
entity Kamienna Góra
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Paulínia'], [{'concept': 'common name'}, 'place of birth', 'Kamienna Góra']]}
SELECT DISTINCT ?s WHERE { { ?s property:place_of_birth ?w . VALUES ( ?w ) { ( resource:Paulínia ) ( resource:Kamienna_Góra ) } } . ?s rdf:type ontology:common_name }
[]
common name
Q1382951 Q825688 Q7385385 Q964643 Q5212242 Q85700 Q18289203 Q719047 Q2572742 Q1690577
SYSTEM
Some of them are Ewald Vogtherr, Bernhard Nocht, Ryszard Bosek, Jan Wojtas, Damian Dąbrowski, Viktor Hamburger, Peter Rummel, Radosław Romanik, Wilhelm Fries, Joachim Wiesner
Q2418585 Q313181 Q5212242 Q9382742 Q825688 Q76266 Q1283271 Q1555591 Q964643 Q1695608 Q1690577 Q1598404 Q1460019 Q1261591 Q18289203 Q16494725 Q1782259 Q11685198 Q719047 Q2833689 Q1677783 Q1081674 Q2172856 Q485939 Q85700 Q10285277 Q9146720 Q602649 Q9159390 Q3111422 Q11686078 Q1080869 Q1382951 Q1676072 Q7385385 Q108850 Q2572742 Q10324996 Q11766046 Q1630058
OR((c(Q502895),P19,Q40706), (c(Q502895),P19,Q219110))
action filter_type
action union
action find_reverse
entity Q40706
relation P19
action find_reverse
entity Q219110
relation P19
type Q502895
[ANSWERS] have birthplace at Paulínia or Kamienna Góra
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q40706'], [{'concept': 'Q502895'}, 'P19', 'Q219110']]}
SELECT DISTINCT ?s WHERE { { ?s property:P19 ?w . VALUES ( ?w ) { ( resource:Q40706 ) ( resource:Q219110 ) } } . ?s rdf:type ontology:Q502895 }
Theodor Stolberg-Wernigerode Carl Gotthard Langhans Damian Dąbrowski Włodzimierz Mizerski Bernhard Nocht Walter Arndt Edelhard Rock Gustav Adolf Schlöffel Jan Wojtas Johann Modler Joachim Wiesner Heinrich Oberländer Friedrich Iwan Enoch Gläser Peter Rummel Herbert Breiter Konrad Pätzold Aleksandra Nieśpielak Radosław Romanik Alexandre Fávaro Correia Kurt Erlebach Christian Samuel Ulber Rudolf Hamburger Clodoaldo Paulino de Lima Viktor Hamburger Francisco da Silva Júnior Aleksandra Wójcik Paweł Oleksy Arek Religa Gosia Dobrowolska Andrzej Sawicki Christian Ludovici Ewald Vogtherr Iwona Daniluk Ryszard Bosek Georg Kretschmar Wilhelm Fries Marcela Temer Magdalena Kielar Horst Weigelt
Ewald Vogtherr, Bernhard Nocht, Ryszard Bosek, Jan Wojtas, Damian Dąbrowski, Viktor Hamburger, Peter Rummel, Radosław Romanik, Wilhelm Fries and Joachim Wiesner have birthplace at Paulínia or Kamienna Góra
Ewald Vogtherr Bernhard Nocht Ryszard Bosek Jan Wojtas Damian Dąbrowski Viktor Hamburger Peter Rummel Radosław Romanik Wilhelm Fries Joachim Wiesner
action filter_type
action union
action find_reverse
entity Paulínia
relation place of birth
action find_reverse
entity Kamienna Góra
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Paulínia'], [{'concept': 'common name'}, 'place of birth', 'Kamienna Góra']]}
SELECT DISTINCT ?s WHERE { { ?s property:place_of_birth ?w . VALUES ( ?w ) { ( resource:Paulínia ) ( resource:Kamienna_Góra ) } } . ?s rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q171617
P21 P20
Q502895
USER
Which people have Campinas as the location of death and are a male ?
AND((c(Q502895),P20,Q171617), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q171617
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q171617'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?z WHERE { ?z property:P20 resource:Q171617 . ?z property:P21 resource:Q6581097 . ?z rdf:type ontology:Q502895 }
male Campinas
action filter_type
action intersection
action find_reverse
entity Campinas
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Campinas'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?z WHERE { ?z property:place_of_death resource:Campinas . ?z property:gender resource:male . ?z rdf:type ontology:common_name }
[]
common name
Q376489 Q4777678 Q955301 Q10307127 Q189042 Q20048053 Q1345151 Q3605353 Q2480530 Q283146
SYSTEM
Some of them are Antônio Sarto, Antônio de Queirós Teles, Baron of Jundiaí, Lima Barreto, Joaquim Celestino de Abreu Soares, Rubem Alves, Genésio Arruda, Jorge Mendonça, Adilson Nascimento, Renato Righetto, César Lattes
Q10376151 Q2480530 Q283146 Q376489 Q7038862 Q5130324 Q189042 Q3605353 Q10289100 Q10307127 Q9168709 Q1336737 Q20048053 Q2585665 Q18015664 Q58787 Q1345151 Q4777678 Q955301
AND((c(Q502895),P20,Q171617), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q171617
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have Campinas as the location of death and are a male
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q171617'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?z WHERE { ?z property:P20 resource:Q171617 . ?z property:P21 resource:Q6581097 . ?z rdf:type ontology:Q502895 }
Sérgio Jockyman Renato Righetto César Lattes Antônio Sarto Nininho Clayton Silva Rubem Alves Adilson Nascimento Geraldo Ribeiro de Sousa Resende, Baron Geraldo of Resende Joaquim Celestino de Abreu Soares Benedito Leopoldo da Silva Emil Assad Rached Genésio Arruda Hércules Florence Júlio Riedel José Song Sui-Wan Jorge Mendonça Antônio de Queirós Teles, Baron of Jundiaí Lima Barreto
Antônio Sarto, Antônio de Queirós Teles, Baron of Jundiaí, Lima Barreto, Joaquim Celestino de Abreu Soares, Rubem Alves, Genésio Arruda, Jorge Mendonça, Adilson Nascimento, Renato Righetto and César Lattes have Campinas as the location of death and are a male
Antônio Sarto Antônio de Queirós Teles, Baron of Jundiaí Lima Barreto Joaquim Celestino de Abreu Soares Rubem Alves Genésio Arruda Jorge Mendonça Adilson Nascimento Renato Righetto César Lattes
action filter_type
action intersection
action find_reverse
entity Campinas
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Campinas'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?z WHERE { ?z property:place_of_death resource:Campinas . ?z property:gender resource:male . ?z rdf:type ontology:common_name }
[]