Simple Question (Direct)
Simple Question
Q4527813
P21
Q290
USER
Which sex does Vasily Shumov have ?
(Q4527813,P21,c(Q290))
action filter_type
action find
entity Q4527813
relation P21
type Q290
['Q4527813', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q4527813 property:P21 ?t . ?t rdf:type ontology:Q290 }
Vasily Shumov
action filter_type
action find
entity Vasily Shumov
relation gender
type sex
['Vasily Shumov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Vasily_Shumov property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4527813,P21,c(Q290))
action filter_type
action find
entity Q4527813
relation P21
type Q290
Vasily Shumov has a [ANSWER]
['Q4527813', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q4527813 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
Vasily Shumov has a male
male
action filter_type
action find
entity Vasily Shumov
relation gender
type sex
['Vasily Shumov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Vasily_Shumov property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4527813
P19
Q56061
USER
Which administrative territory is the birthplace of Vasily Shumov ?
(Q4527813,P19,c(Q56061))
action filter_type
action find
entity Q4527813
relation P19
type Q56061
['Q4527813', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q4527813 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Vasily Shumov
action filter_type
action find
entity Vasily Shumov
relation place of birth
type administrative territorial entity
['Vasily Shumov', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Vasily_Shumov property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649
SYSTEM
Moscow
Q649
(Q4527813,P19,c(Q56061))
action filter_type
action find
entity Q4527813
relation P19
type Q56061
In [ANSWER] is the birthplace of Vasily Shumov
['Q4527813', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q4527813 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Moscow
In Moscow is the birthplace of Vasily Shumov
Moscow
action filter_type
action find
entity Vasily Shumov
relation place of birth
type administrative territorial entity
['Vasily Shumov', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Vasily_Shumov property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4527813
P136
Q151885
USER
Which genre does that person belong to ?
(Q649,P136,c(Q151885))
action filter_type
action find
entity Q4527813
relation P136
type Q151885
['Q649', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?m WHERE { resource:Q4527813 property:P136 ?m . ?m rdf:type ontology:Q151885 }
Vasily Shumov
action filter_type
action find
entity Vasily Shumov
relation genre
type concept
['Moscow', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?m WHERE { resource:Vasily_Shumov property:genre ?m . ?m rdf:type ontology:concept }
[]
concept
Q187760
SYSTEM
new wave music
Q187760
(Q649,P136,c(Q151885))
action filter_type
action find
entity Q4527813
relation P136
type Q151885
That person belongs to [ANSWER]
['Q649', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?m WHERE { resource:Q4527813 property:P136 ?m . ?m rdf:type ontology:Q151885 }
new wave music
That person belongs to new wave music
new wave music
action filter_type
action find
entity Vasily Shumov
relation genre
type concept
['Moscow', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?m WHERE { resource:Vasily_Shumov property:genre ?m . ?m rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4527813
P106
Q12737077
USER
What are the job of that person ?
(Q187760,P106,c(Q12737077))
action filter_type
action find
entity Q4527813
relation P106
type Q12737077
['Q187760', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q4527813 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Vasily Shumov
action filter_type
action find
entity Vasily Shumov
relation occupation
type occupation
['new wave music', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Vasily_Shumov property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q36834 Q639669 Q183945
SYSTEM
composer, musician, record producer
Q639669 Q183945 Q36834 Q483501
(Q187760,P106,c(Q12737077))
action filter_type
action find
entity Q4527813
relation P106
type Q12737077
The job of that person are the [ANSWERS]
['Q187760', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q4527813 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
musician record producer composer artist
The job of that person are the composer, musician and record producer
composer musician record producer
action filter_type
action find
entity Vasily Shumov
relation occupation
type occupation
['new wave music', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Vasily_Shumov property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q17640 Q4527813
P47 P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Vasily Shumov or are adjacent to Pontecurone ?
OR((Q4527813,P27,c(Q15617994)), (Q17640,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q4527813
relation P27
action find
entity Q17640
relation P47
type Q15617994
{'OR': [['Q4527813', 'P27', {'concept': 'Q15617994'}], ['Q17640', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q17640 property:P47 ?n } UNION { resource:Q4527813 property:P27 ?n } } . ?n rdf:type ontology:Q15617994 }
Pontecurone Vasily Shumov
action filter_type
action union
action find
entity Vasily Shumov
relation country of citizenship
action find
entity Pontecurone
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Vasily Shumov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Pontecurone', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Pontecurone property:shares_border_with ?n } UNION { resource:Vasily_Shumov property:country_of_citizenship ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17316 Q17338 Q40100 Q40907 Q17694 Q30 Q17686 Q39981
SYSTEM
Casalnoceto, Castelnuovo Scrivia, Rivanazzano Terme, Casei Gerola, Viguzzolo, United States of America, Tortona, Voghera
Q17316 Q17338 Q40100 Q40907 Q17694 Q30 Q17686 Q39981
OR((Q4527813,P27,c(Q15617994)), (Q17640,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q4527813
relation P27
action find
entity Q17640
relation P47
type Q15617994
[ANSWERS] are the countries of citizenship of Vasily Shumov or are adjacent to Pontecurone
{'OR': [['Q4527813', 'P27', {'concept': 'Q15617994'}], ['Q17640', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q17640 property:P47 ?n } UNION { resource:Q4527813 property:P27 ?n } } . ?n rdf:type ontology:Q15617994 }
Casalnoceto Castelnuovo Scrivia Rivanazzano Terme Casei Gerola Viguzzolo United States of America Tortona Voghera
Casalnoceto, Castelnuovo Scrivia, Rivanazzano Terme, Casei Gerola, Viguzzolo, United States of America, Tortona and Voghera are the countries of citizenship of Vasily Shumov or are adjacent to Pontecurone
Casalnoceto Castelnuovo Scrivia Rivanazzano Terme Casei Gerola Viguzzolo United States of America Tortona Voghera
action filter_type
action union
action find
entity Vasily Shumov
relation country of citizenship
action find
entity Pontecurone
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Vasily Shumov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Pontecurone', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Pontecurone property:shares_border_with ?n } UNION { resource:Vasily_Shumov property:country_of_citizenship ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q17316 Q17338 Q40100 Q40907 Q17694 Q30 Q17686 Q39981
P47
Q15617994
USER
Which administrative territories are next to the border of those ones ?
(c(Q15617994),P47,Q17316) (c(Q15617994),P47,Q17338) (c(Q15617994),P47,Q40100) (c(Q15617994),P47,Q40907) (c(Q15617994),P47,Q17694) (c(Q15617994),P47,Q30) (c(Q15617994),P47,Q17686) (c(Q15617994),P47,Q39981)
action filter_type
action find_reverse
entity prev_answer
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q17316'] [{'concept': 'Q15617994'}, 'P47', 'Q17338'] [{'concept': 'Q15617994'}, 'P47', 'Q40100'] [{'concept': 'Q15617994'}, 'P47', 'Q40907'] [{'concept': 'Q15617994'}, 'P47', 'Q17694'] [{'concept': 'Q15617994'}, 'P47', 'Q30'] [{'concept': 'Q15617994'}, 'P47', 'Q17686'] [{'concept': 'Q15617994'}, 'P47', 'Q39981']
SELECT DISTINCT ?l WHERE { ?l property:P47 ?t . ?l rdf:type ontology:Q15617994 . VALUES ( ?t ) { ( resource:Q17316 ) ( resource:Q17338 ) ( resource:Q40100 ) } }
Casalnoceto Castelnuovo Scrivia Rivanazzano Terme Casei Gerola Viguzzolo United States of America Tortona Voghera
action filter_type
action find_reverse
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Casalnoceto'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Castelnuovo Scrivia'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Rivanazzano Terme'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Casei Gerola'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Viguzzolo'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'United States of America'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Tortona'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Voghera']
SELECT DISTINCT ?l WHERE { ?l property:shares_border_with ?t . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?t ) { ( resource:Casalnoceto ) ( resource:Castelnuovo_Scrivia ) ( resource:Rivanazzano_Terme ) } }
[]
designation for an administrative territorial entity
Q159 Q96 Q717
SYSTEM
Russia, Mexico, Venezuela
Q17640 Q39843 Q40100 Q17702 Q17326 Q17694 Q17701 Q40907 Q17640 Q17255 Q17375 Q17374 Q17385 Q17686 Q17660 Q17640 Q40991 Q39981 Q39843 Q39863 Q17316 Q17640 Q39902 Q39981 Q40707 Q17338 Q17375 Q17385 Q39380 Q17640 Q17274 Q17702 Q17316 Q17326 Q17686 Q17667 Q241 Q159 Q717 Q96 Q804 Q17646 Q17640 Q17632 Q17274 Q17283 Q6088 Q17306 Q17301 Q17677 Q17338 Q17694 Q17696 Q17699 Q17667 Q17660 Q40907 Q17640 Q40940 Q39076 Q39276 Q39812 Q39828 Q39859 Q39863 Q40100 Q40663 Q39380
(c(Q15617994),P47,Q17316) (c(Q15617994),P47,Q17338) (c(Q15617994),P47,Q40100) (c(Q15617994),P47,Q40907) (c(Q15617994),P47,Q17694) (c(Q15617994),P47,Q30) (c(Q15617994),P47,Q17686) (c(Q15617994),P47,Q39981)
action filter_type
action find_reverse
entity prev_answer
relation P47
type Q15617994
[ANSWERS] are next to the border of those ones
[{'concept': 'Q15617994'}, 'P47', 'Q17316'] [{'concept': 'Q15617994'}, 'P47', 'Q17338'] [{'concept': 'Q15617994'}, 'P47', 'Q40100'] [{'concept': 'Q15617994'}, 'P47', 'Q40907'] [{'concept': 'Q15617994'}, 'P47', 'Q17694'] [{'concept': 'Q15617994'}, 'P47', 'Q30'] [{'concept': 'Q15617994'}, 'P47', 'Q17686'] [{'concept': 'Q15617994'}, 'P47', 'Q39981']
SELECT DISTINCT ?l WHERE { ?l property:P47 ?t . ?l rdf:type ontology:Q15617994 . VALUES ( ?t ) { ( resource:Q17316 ) ( resource:Q17338 ) ( resource:Q40100 ) } }
Pontecurone Godiasco Rivanazzano Terme Volpeglino Castellar Guidobono Viguzzolo Volpedo Casei Gerola Pontecurone Alzano Scrivia Isola Sant'Antonio Guazzora Molino dei Torti Tortona Sale Pontecurone Rocca Susella Voghera Godiasco Retorbido Casalnoceto Pontecurone Mezzana Bigli Voghera Bastida de' Dossi Castelnuovo Scrivia Isola Sant'Antonio Molino dei Torti Silvano Pietra Pontecurone Berzano di Tortona Volpeglino Casalnoceto Castellar Guidobono Tortona Sarezzano Cuba Russia Venezuela Mexico Panama Pozzolo Formigaro Pontecurone Paderna Berzano di Tortona Bosco Marengo Alessandria Carezzano Carbonara Scrivia Spineto Scrivia Castelnuovo Scrivia Viguzzolo Villalvernia Villaromagnano Sarezzano Sale Casei Gerola Pontecurone Lungavilla Pizzale Codevilla Corana Cervesina Pancarana Retorbido Rivanazzano Terme Montebello della Battaglia Silvano Pietra
Russia, Mexico and Venezuela are next to the border of those ones
Russia Mexico Venezuela
action filter_type
action find_reverse
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Casalnoceto'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Castelnuovo Scrivia'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Rivanazzano Terme'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Casei Gerola'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Viguzzolo'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'United States of America'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Tortona'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Voghera']
SELECT DISTINCT ?l WHERE { ?l property:shares_border_with ?t . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?t ) { ( resource:Casalnoceto ) ( resource:Castelnuovo_Scrivia ) ( resource:Rivanazzano_Terme ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q159 Q96 Q717
P17
Q838948
USER
Which works of art are present in those administrative territories ?
(c(Q838948),P17,Q159) (c(Q838948),P17,Q96) (c(Q838948),P17,Q717)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q838948
[{'concept': 'Q838948'}, 'P17', 'Q159'] [{'concept': 'Q838948'}, 'P17', 'Q96'] [{'concept': 'Q838948'}, 'P17', 'Q717']
SELECT DISTINCT ?b WHERE { VALUES ( ?u ) { ( resource:Q17640 ) ( resource:Q39843 ) ( resource:Q40100 ) } . ?b property:P17 ?u . ?b rdf:type ontology:Q838948 }
Russia Mexico Venezuela
action filter_type
action find_reverse
entity prev_answer
relation country
type work of art
[{'concept': 'work of art'}, 'country', 'Russia'] [{'concept': 'work of art'}, 'country', 'Mexico'] [{'concept': 'work of art'}, 'country', 'Venezuela']
SELECT DISTINCT ?b WHERE { VALUES ( ?u ) { ( resource:Pontecurone ) ( resource:Godiasco ) ( resource:Rivanazzano_Terme ) } . ?b property:country ?u . ?b rdf:type ontology:work_of_art }
[]
work of art
Q1144812 Q4343203 Q1100798
SYSTEM
Peter I Monument in Taganrog, Monument to Sergei Korolev and Yuri Gagarin, monument to Yuri Gagarin
Q4343200 Q4343203 Q13360735 Q1144812 Q187531 Q4343246 Q4165325 Q13161 Q21634632 Q4343177 Q2424725 Q19363499 Q4343154 Q4343380 Q672444 Q4343107 Q4165289 Q4006213 Q4427945 Q1100798 Q3289962 Q4342999 Q4207996 Q1494253 Q2063836 Q2037145 Q17505276 Q941338 Q3649003 Q4343021 Q19910551 Q23898314 Q4343051 Q4422229 Q4343045 Q4165544 Q1635369 Q12138398 Q13668663 Q3862675 Q2081756 Q4159375 Q16481642 Q4349901 Q11866309 Q4241657 Q18128167 Q16684472 Q4343300 Q4343303 Q4343317 Q4343335 Q2817285 Q18577305 Q4113390 Q54830 Q4189688 Q1367606 Q331225 Q4343397 Q16271053 Q4302168 Q4343463 Q4343410 Q4343412 Q4351576 Q4361544 Q4343423 Q23898745 Q19030089 Q4343212 Q389847 Q9034987 Q18147649 Q5436075 Q14907783 Q25930163 Q3968677 Q6022922 Q22117351
(c(Q838948),P17,Q159) (c(Q838948),P17,Q96) (c(Q838948),P17,Q717)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q838948
[ANSWERS] are present in those administrative territories
[{'concept': 'Q838948'}, 'P17', 'Q159'] [{'concept': 'Q838948'}, 'P17', 'Q96'] [{'concept': 'Q838948'}, 'P17', 'Q717']
SELECT DISTINCT ?b WHERE { VALUES ( ?u ) { ( resource:Q17640 ) ( resource:Q39843 ) ( resource:Q40100 ) } . ?b property:P17 ?u . ?b rdf:type ontology:Q838948 }
Monument to Saints Cyril and Methodius Monument to Sergei Korolev and Yuri Gagarin Saviour Gates (Kolomenskoe) Peter I Monument in Taganrog Monument to Minin and Pozharsky Monument to Alexander Matrosov Lobanov-Rostovsky Palace Monument of Alexander III monument to Mikhail Lomonosov Monument to Zagir Ismagilov Legend of Perm Bear Medal of the Order of Merit for the Fatherland I degree Monument to Felix Dzerzhinsky Tatishchev Monument Bronze Horseman Saint Vladimir Monument Mansion of P.V. Golenishchev-Kutuzov Nécessaire Egg Solovetsky Stone monument to Yuri Gagarin Round Market Monument In honor of the fallen construction workers during the 1941-1945 Quarters of the Pavlovsky Lifeguards Regiment Garibaldi Monument in Taganrog Hen with Sapphire Pendant Keyboard monument Lions at the Dvortsovaya pier Monument of Stepán Makárov Moscow Orphanage Chekhov Monument in Taganrog Monument to Blockade Stickleback Laika Monument Monument to Alexander II Mourning Angel Alexander I Statue in Taganrog Jesuit college in Saint Petersburg Mask of Sorrow Alexander Pushkin Tchaikovsky Monument Mother Patroness Monument Monument to Nicholas I Children Are the Victims of Adult Vices Medal "For the Return of Crimea" Monument to the First Satellite Black Tulip Kronstadt Fortress Monument to Miftahetdin Akmulla Apatity Lenin Monument Monument to Peter the Great in Arkhangelsk Monument to Peter I Loyalty Monument to Salavat Yulaev Monument to Nizami Ganjavi in Saint Petersburg Monument to Peter the Great Vladychnaya (Granovitaya) Palata Monument to Paul I of Vitali Belfry of Saint Sophia Cathedral Kalinin monument Fabergé egg Ranevskaya Monument Sholem Aleichem Monument Defenders of the Fatherland of the Don Cossacks Monument to the heroes of the October Revolution and the Civil War Chizhik-Pyzhik Monument to Feodor Chaliapin Permyak Salty Ears Church of Saints Peter and Paul in Suzdal monument to Yuri Gagarin Monument to the Conquerors of Space Medal of the Order of Merit for the Fatherland II degree Taganrog Lenin Monument Tuxtla Statuette Indios Verdes monument Eve Faro del Comercio Cristo Rey Casa Aguayo Equestrian statue of Charles IV Monumento Cristo Rey 30-Degree Dynamic Projection
Peter I Monument in Taganrog, Monument to Sergei Korolev and Yuri Gagarin and monument to Yuri Gagarin are present in those administrative territories
Peter I Monument in Taganrog Monument to Sergei Korolev and Yuri Gagarin monument to Yuri Gagarin
action filter_type
action find_reverse
entity prev_answer
relation country
type work of art
[{'concept': 'work of art'}, 'country', 'Russia'] [{'concept': 'work of art'}, 'country', 'Mexico'] [{'concept': 'work of art'}, 'country', 'Venezuela']
SELECT DISTINCT ?b WHERE { VALUES ( ?u ) { ( resource:Pontecurone ) ( resource:Godiasco ) ( resource:Rivanazzano_Terme ) } . ?b property:country ?u . ?b rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4343203
P800
Q502895
USER
Which person is accredited with being the author of the notable work that one ?
(c(Q502895),P800,Q4343203)
action filter_type
action find_reverse
entity Q4343203
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q4343203']
SELECT DISTINCT ?m WHERE { ?m property:P800 resource:Q4343203 . ?m rdf:type ontology:Q502895 }
Monument to Sergei Korolev and Yuri Gagarin
action filter_type
action find_reverse
entity Monument to Sergei Korolev and Yuri Gagarin
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Monument to Sergei Korolev and Yuri Gagarin']
SELECT DISTINCT ?m WHERE { ?m property:notable_work resource:Monument_to_Sergei_Korolev_and_Yuri_Gagarin . ?m rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q4343203
SYSTEM
Did you mean Monument to Sergei Korolev and Yuri Gagarin ?
Q1144812 Q4343203 Q1100798
(c(Q502895),P800,Q1144812) (c(Q502895),P800,Q4343203) (c(Q502895),P800,Q1100798)
[ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q1144812'] [{'concept': 'Q502895'}, 'P800', 'Q4343203'] [{'concept': 'Q502895'}, 'P800', 'Q1100798']
SELECT DISTINCT ?m WHERE { ?m property:P800 resource:Q4343203 . ?m rdf:type ontology:Q502895 }
Peter I Monument in Taganrog Monument to Sergei Korolev and Yuri Gagarin monument to Yuri Gagarin
Did you mean Monument to Sergei Korolev and Yuri Gagarin ?
Monument to Sergei Korolev and Yuri Gagarin
[{'concept': 'common name'}, 'notable work', 'Peter I Monument in Taganrog'] [{'concept': 'common name'}, 'notable work', 'Monument to Sergei Korolev and Yuri Gagarin'] [{'concept': 'common name'}, 'notable work', 'monument to Yuri Gagarin']
SELECT DISTINCT ?m WHERE { ?m property:notable_work resource:Monument_to_Sergei_Korolev_and_Yuri_Gagarin . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P800,Q4343203)
[{'concept': 'Q502895'}, 'P800', 'Q4343203']
[{'concept': 'common name'}, 'notable work', 'Monument to Sergei Korolev and Yuri Gagarin']
[]
Q4229961
SYSTEM
Oleg Konstantinovich Komov
Q4229961
(c(Q502895),P800,Q4343203)
action filter_type
action find_reverse
entity Q4343203
relation P800
type Q502895
[ANSWER] is accredited with being the author of the notable work that one
[{'concept': 'Q502895'}, 'P800', 'Q4343203']
SELECT DISTINCT ?m WHERE { ?m property:P800 resource:Q4343203 . ?m rdf:type ontology:Q502895 }
Oleg Konstantinovich Komov
Oleg Konstantinovich Komov is accredited with being the author of the notable work that one
Oleg Konstantinovich Komov
action filter_type
action find_reverse
entity Monument to Sergei Korolev and Yuri Gagarin
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Monument to Sergei Korolev and Yuri Gagarin']
SELECT DISTINCT ?m WHERE { ?m property:notable_work resource:Monument_to_Sergei_Korolev_and_Yuri_Gagarin . ?m rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P19
Q56061
USER
How many administrative territories are the birthplace of that person ?
(Q4229961,P19,c(Q56061))
action count
action filter_type
action find
entity Q4229961
relation P19
type Q56061
['Q4229961', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Q4229961 property:P19 ?m . ?m rdf:type ontology:Q56061 }
action count
action filter_type
action find
entity Oleg Konstantinovich Komov
relation place of birth
type administrative territorial entity
['Oleg Konstantinovich Komov', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Oleg_Konstantinovich_Komov property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q649
(Q4229961,P19,c(Q56061))
action count
action filter_type
action find
entity Q4229961
relation P19
type Q56061
[ANSWER]
['Q4229961', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Q4229961 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Moscow
1
action count
action filter_type
action find
entity Oleg Konstantinovich Komov
relation place of birth
type administrative territorial entity
['Oleg Konstantinovich Komov', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Oleg_Konstantinovich_Komov property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4229961
P800
Q838948
USER
What notable work was done by Oleg Konstantinovich Komov ?
(Q4229961,P800,c(Q838948))
action filter_type
action find
entity Q4229961
relation P800
type Q838948
['Q4229961', 'P800', {'concept': 'Q838948'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q838948 . resource:Q4229961 property:P800 ?d }
Oleg Konstantinovich Komov
action filter_type
action find
entity Oleg Konstantinovich Komov
relation notable work
type work of art
['Oleg Konstantinovich Komov', 'notable work', {'concept': 'work of art'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:work_of_art . resource:Oleg_Konstantinovich_Komov property:notable_work ?d }
[]
work of art
Q4343203
SYSTEM
Monument to Sergei Korolev and Yuri Gagarin
Q4343203
(Q4229961,P800,c(Q838948))
action filter_type
action find
entity Q4229961
relation P800
type Q838948
[ANSWER] was done by Oleg Konstantinovich Komov
['Q4229961', 'P800', {'concept': 'Q838948'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q838948 . resource:Q4229961 property:P800 ?d }
Monument to Sergei Korolev and Yuri Gagarin
Monument to Sergei Korolev and Yuri Gagarin was done by Oleg Konstantinovich Komov
Monument to Sergei Korolev and Yuri Gagarin
action filter_type
action find
entity Oleg Konstantinovich Komov
relation notable work
type work of art
['Oleg Konstantinovich Komov', 'notable work', {'concept': 'work of art'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:work_of_art . resource:Oleg_Konstantinovich_Komov property:notable_work ?d }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories are that work of art a part of ?
(Q4343203,P17,c(Q15617994))
action count
action filter_type
action find
entity Q4343203
relation P17
type Q15617994
['Q4343203', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { resource:Q4343203 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Monument to Sergei Korolev and Yuri Gagarin
relation country
type designation for an administrative territorial entity
['Monument to Sergei Korolev and Yuri Gagarin', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { resource:Monument_to_Sergei_Korolev_and_Yuri_Gagarin property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q159
(Q4343203,P17,c(Q15617994))
action count
action filter_type
action find
entity Q4343203
relation P17
type Q15617994
[ANSWER]
['Q4343203', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { resource:Q4343203 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
Russia
1
action count
action filter_type
action find
entity Monument to Sergei Korolev and Yuri Gagarin
relation country
type designation for an administrative territorial entity
['Monument to Sergei Korolev and Yuri Gagarin', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { resource:Monument_to_Sergei_Korolev_and_Yuri_Gagarin property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P706
Q1048835 Q82794 Q151885
USER
Which concepts are located in min number of political territories and geographic regions ?
(c(Q151885),P706,c(Q1048835)|c(Q82794))
action argmin
action union
action find_tuple_counts
relation P706
type Q151885
type Q1048835
action find_tuple_counts
relation P706
type Q151885
type Q82794
[{'concept': 'Q151885'}, 'P706', [{'concept': 'Q1048835'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?z ) { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?h ) WHERE { { ?c property:P706 ?i . ?c rdf:type ontology:Q151885 . ?i rdf:type ontology:Q1048835 } UNION { ?c property:P706 ?i . ?c rdf:type ontology:Q151885 . ?i rdf:type ontology:Q82794 } } GROUP BY ?c } } . FILTER ( ?n = ?z ) . { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?n ) WHERE { { ?g rdf:type ontology:Q151885 . ?r rdf:type ontology:Q1048835 . ?g property:P706 ?r } UNION { ?g property:P706 ?r . ?r rdf:type ontology:Q82794 . ?g rdf:type ontology:Q151885 } } GROUP BY ?g } }
action argmin
action union
action find_tuple_counts
relation located on terrain feature
type concept
type political territorial entity
action find_tuple_counts
relation located on terrain feature
type concept
type geographic region
[{'concept': 'concept'}, 'located on terrain feature', [{'concept': 'political territorial entity'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?z ) { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?h ) WHERE { { ?c property:located_on_terrain_feature ?i . ?c rdf:type ontology:concept . ?i rdf:type ontology:political_territorial_entity } UNION { ?c property:located_on_terrain_feature ?i . ?c rdf:type ontology:concept . ?i rdf:type ontology:geographic_region } } GROUP BY ?c } } . FILTER ( ?n = ?z ) . { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?n ) WHERE { { ?g rdf:type ontology:concept . ?r rdf:type ontology:political_territorial_entity . ?g property:located_on_terrain_feature ?r } UNION { ?g property:located_on_terrain_feature ?r . ?r rdf:type ontology:geographic_region . ?g rdf:type ontology:concept } } GROUP BY ?g } }
[]
political territorial entity geographic region concept
Q2379716 Q470867 Q2064825
SYSTEM
Sögel-Wohlde culture, Beaker culture, Pavlovian culture
Q1585136 Q16389397 Q402743 Q80974 Q1121344 Q645489 Q314639 Q13409799 Q2332687 Q2560070 Q1298414 Q575396 Q2064825 Q647858 Q2460861 Q2379716 Q893119 Q831336 Q1483547 Q1049966 Q1887797 Q2005344 Q1987770 Q1037978 Q687230 Q693549 Q245156 Q1737460 Q756905 Q1263312 Q279792 Q2245864 Q1075080 Q2603061 Q2632835 Q855546 Q3007186 Q2624476 Q773818 Q1588784 Q1017984 Q570798 Q500099 Q169349 Q1859432 Q175801 Q1932196 Q127455 Q2098731 Q1090851 Q672010 Q127118 Q1051663 Q1470903 Q2994546 Q3485378 Q671984 Q1886212 Q2640569 Q427986 Q202165 Q134178 Q1473758 Q2216194 Q875115 Q1088939 Q1808482 Q2252048 Q1241230 Q1054850 Q459376 Q1423912 Q1421436 Q1002169 Q372349 Q2625916 Q1041674 Q1229136 Q2370603 Q2666408 Q3651998 Q2015677 Q1688286 Q1474345 Q1509262 Q1139760 Q1241067 Q22906080 Q2372667 Q208247 Q2995537 Q1781546 Q746287 Q221901 Q2446445 Q1755265 Q470867 Q2347305 Q169320 Q1577518 Q733489 Q4096641 Q2636498 Q1369777 Q399951 Q806348
(c(Q151885),P706,c(Q1048835)|c(Q82794))
action argmin
action union
action find_tuple_counts
relation P706
type Q151885
type Q1048835
action find_tuple_counts
relation P706
type Q151885
type Q82794
[ANSWERS] are located in min number of political territories and geographic regions
[{'concept': 'Q151885'}, 'P706', [{'concept': 'Q1048835'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?z ) { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?h ) WHERE { { ?c property:P706 ?i . ?c rdf:type ontology:Q151885 . ?i rdf:type ontology:Q1048835 } UNION { ?c property:P706 ?i . ?c rdf:type ontology:Q151885 . ?i rdf:type ontology:Q82794 } } GROUP BY ?c } } . FILTER ( ?n = ?z ) . { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?n ) WHERE { { ?g rdf:type ontology:Q151885 . ?r rdf:type ontology:Q1048835 . ?g property:P706 ?r } UNION { ?g property:P706 ?r . ?r rdf:type ontology:Q82794 . ?g rdf:type ontology:Q151885 } } GROUP BY ?g } }
Monte Claro culture Kepler-186f Ahrensburg culture Afanasevo culture Solutrean Baradostian culture Baalberge group Argaric culture Piliny culture Magosian Egolzwil Culture Cernavodă culture Pavlovian culture Zarzian culture Lima culture Sögel-Wohlde culture Boat Axe culture Vinča culture Starčevo culture Castro culture Mal'ta-Buret' culture Tagar culture Saltovo-Mayaki Gushi culture Baden culture Magdalenian Ubaid period Kayue culture Gravettian Tiszapolgár culture Botai culture Schmarloh Upper Xiajiadian culture Coțofeni culture Okunev Culture Bükk culture Arzachena culture Marajoara culture Unetice culture Hassuna culture Butmir culture Michelsberg culture Jastorf culture Kura–Araxes culture Varna culture Sican culture Stroke-ornamented ware culture Ordos culture Slab Grave Culture Châtelperronian Horgen culture Vorholz Erlitou culture Iberomaurusian Penkovka culture Clovis culture Cortaillod culture Rössen culture Aldy-Bel culture Gaudo culture Hallstatt culture Minoan civilization Ozieri culture Salzmünde group Funnelbeaker culture Kebaran Tardenoisian Schussenried culture Donets Ridge Bactria–Margiana Archaeological Complex Andronovo culture Przeworsk culture Nuragic civilization Bug-Dniester culture Gáva culture Gandhara grave culture Lower Xiajiadian culture Grooved ware Boian culture Asturian culture South-German Urnfield culture Zarubintsy culture Esik Bes-Shatir Culture Chernyakhov culture Hamangia culture Creswellian culture Old Europe K2-3d Swiderian culture La Tène culture Soanian Kongemose culture Oldowan Aurignacian Milograd culture Kulli culture Beaker culture Polada culture Trialeti culture Komsa culture Natufian culture Brnjica culture Chernoles culture Este culture Ahar-Banas culture Linear Pottery culture
Sögel-Wohlde culture, Beaker culture and Pavlovian culture are located in min number of political territories and geographic regions
Sögel-Wohlde culture Beaker culture Pavlovian culture
action argmin
action union
action find_tuple_counts
relation located on terrain feature
type concept
type political territorial entity
action find_tuple_counts
relation located on terrain feature
type concept
type geographic region
[{'concept': 'concept'}, 'located on terrain feature', [{'concept': 'political territorial entity'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?z ) { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?h ) WHERE { { ?c property:located_on_terrain_feature ?i . ?c rdf:type ontology:concept . ?i rdf:type ontology:political_territorial_entity } UNION { ?c property:located_on_terrain_feature ?i . ?c rdf:type ontology:concept . ?i rdf:type ontology:geographic_region } } GROUP BY ?c } } . FILTER ( ?n = ?z ) . { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?n ) WHERE { { ?g rdf:type ontology:concept . ?r rdf:type ontology:political_territorial_entity . ?g property:located_on_terrain_feature ?r } UNION { ?g property:located_on_terrain_feature ?r . ?r rdf:type ontology:geographic_region . ?g rdf:type ontology:concept } } GROUP BY ?g } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q13657 Q39981
P47 P17
Q15617994
USER
Which administrative territories are Voghera situated in or share the border with Lanusei ?
OR((Q39981,P17,c(Q15617994)), (Q13657,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q39981
relation P17
action find
entity Q13657
relation P47
type Q15617994
{'OR': [['Q39981', 'P17', {'concept': 'Q15617994'}], ['Q13657', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q13657 property:P47 ?w } UNION { resource:Q39981 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
Lanusei Voghera
action filter_type
action union
action find
entity Voghera
relation country
action find
entity Lanusei
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Voghera', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Lanusei', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Lanusei property:shares_border_with ?w } UNION { resource:Voghera property:country ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q339993 Q340027 Q339898 Q339728 Q340611 Q339798 Q339919 Q339968 Q340603 Q339713
SYSTEM
Some of them are Jerzu, Loceri, Elini, Bari Sardo, Tertenia, Cardedu, Gairo, Sardinia, Ilbono, Osini, Arzana
Q339993 Q340611 Q340603 Q339968 Q339798 Q339898 Q339919 Q339713 Q339728 Q38 Q340027
OR((Q39981,P17,c(Q15617994)), (Q13657,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q39981
relation P17
action find
entity Q13657
relation P47
type Q15617994
Voghera are situated share of [ANSWERS]
{'OR': [['Q39981', 'P17', {'concept': 'Q15617994'}], ['Q13657', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q13657 property:P47 ?w } UNION { resource:Q39981 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
Jerzu Tertenia Osini Ilbono Cardedu Elini Gairo, Sardinia Arzana Bari Sardo Italy Loceri
Voghera are situated share of Jerzu, Loceri, Elini, Bari Sardo, Tertenia, Cardedu, Gairo, Sardinia, Ilbono, Osini and Arzana
Jerzu Loceri Elini Bari Sardo Tertenia Cardedu Gairo, Sardinia Ilbono Osini Arzana
action filter_type
action union
action find
entity Voghera
relation country
action find
entity Lanusei
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Voghera', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Lanusei', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Lanusei property:shares_border_with ?w } UNION { resource:Voghera property:country ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]