Simple Question (Direct)
Simple Question
Q1073792
P119
Q43229
USER
Which organization is the tomb of Mikhail Simonov ?
(Q1073792,P119,c(Q43229))
action filter_type
action find
entity Q1073792
relation P119
type Q43229
['Q1073792', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?l WHERE { resource:Q1073792 property:P119 ?l . ?l rdf:type ontology:Q43229 }
Mikhail Simonov
action filter_type
action find
entity Mikhail Simonov
relation place of burial
type organization
['Mikhail Simonov', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?l WHERE { resource:Mikhail_Simonov property:place_of_burial ?l . ?l rdf:type ontology:organization }
[]
organization
Q208175
SYSTEM
Novodevichy Cemetery
Q208175
(Q1073792,P119,c(Q43229))
action filter_type
action find
entity Q1073792
relation P119
type Q43229
Cemetery [ANSWER] is the tomb of Mikhail Simonov
['Q1073792', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?l WHERE { resource:Q1073792 property:P119 ?l . ?l rdf:type ontology:Q43229 }
Novodevichy Cemetery
Cemetery Novodevichy Cemetery is the tomb of Mikhail Simonov
Novodevichy Cemetery
action filter_type
action find
entity Mikhail Simonov
relation place of burial
type organization
['Mikhail Simonov', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?l WHERE { resource:Mikhail_Simonov property:place_of_burial ?l . ?l rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1073792
P19
Q56061
USER
Where was Mikhail Simonov born ?
(Q1073792,P19,c(Q56061))
action filter_type
action find
entity Q1073792
relation P19
type Q56061
['Q1073792', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q1073792 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Mikhail Simonov
action filter_type
action find
entity Mikhail Simonov
relation place of birth
type administrative territorial entity
['Mikhail Simonov', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Mikhail_Simonov property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q908
SYSTEM
Rostov-on-Don
Q908
(Q1073792,P19,c(Q56061))
action filter_type
action find
entity Q1073792
relation P19
type Q56061
Mikhail Simonov was born in [ANSWER]
['Q1073792', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q1073792 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Rostov-on-Don
Mikhail Simonov was born in Rostov-on-Don
Rostov-on-Don
action filter_type
action find
entity Mikhail Simonov
relation place of birth
type administrative territorial entity
['Mikhail Simonov', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Mikhail_Simonov property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1073792
P166
Q618779
USER
What was won by that person ?
(Q908,P166,c(Q618779))
action filter_type
action find
entity Q1073792
relation P166
type Q618779
['Q908', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q618779 . resource:Q1073792 property:P166 ?y }
Mikhail Simonov
action filter_type
action find
entity Mikhail Simonov
relation award received
type award
['Rostov-on-Don', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:award . resource:Mikhail_Simonov property:award_received ?y }
[]
award
Q654471
SYSTEM
Hero of the Russian Federation
Q654471
(Q908,P166,c(Q618779))
action filter_type
action find
entity Q1073792
relation P166
type Q618779
The [ANSWER] was won by that person
['Q908', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q618779 . resource:Q1073792 property:P166 ?y }
Hero of the Russian Federation
The Hero of the Russian Federation was won by that person
Hero of the Russian Federation
action filter_type
action find
entity Mikhail Simonov
relation award received
type award
['Rostov-on-Don', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:award . resource:Mikhail_Simonov property:award_received ?y }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q654471 Q282096
P166
Q502895
USER
How many people were awarded with Hero of the Russian Federation or Academy of American Poets ?
(c(Q502895),P166,Q654471) (c(Q502895),P166,Q282096)
action count
action union
action filter_type
action find_reverse
entity Q654471
relation P166
type Q502895
action filter_type
action find_reverse
entity Q282096
relation P166
type Q502895
[{'concept': 'Q502895'}, 'P166', 'Q654471'] [{'concept': 'Q502895'}, 'P166', 'Q282096']
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { ?h property:P166 ?s . VALUES ( ?s ) { ( resource:Q654471 ) ( resource:Q282096 ) } }
Hero of the Russian Federation Academy of American Poets
action count
action union
action filter_type
action find_reverse
entity Hero of the Russian Federation
relation award received
type common name
action filter_type
action find_reverse
entity Academy of American Poets
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Hero of the Russian Federation'] [{'concept': 'common name'}, 'award received', 'Academy of American Poets']
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { ?h property:award_received ?s . VALUES ( ?s ) { ( resource:Hero_of_the_Russian_Federation ) ( resource:Academy_of_American_Poets ) } }
[]
common name
SYSTEM
252
Q235747 Q345288 Q2470378 Q4514350 Q4409237 Q16665022 Q255764 Q4410804 Q362998 Q4410808 Q520334 Q4057280 Q4401997 Q4278462 Q4337955 Q18242229 Q539358 Q1073792 Q18635140 Q15068093 Q16630669 Q4514187 Q15089017 Q4276034 Q2041851 Q754209 Q4156031 Q4078243 Q928034 Q4169932 Q2474284 Q12130457 Q4340220 Q4289011 Q377461 Q23680555 Q18278337 Q7086024 Q18518876 Q4520731 Q927249 Q17266176 Q4095314 Q15069344 Q4253455 Q3329196 Q2655329 Q342953 Q297006 Q742088 Q261731 Q3492123 Q4124091 Q376688 Q4417671 Q15070689 Q4089520 Q18635052 Q1377638 Q362180 Q4397117 Q16648241 Q4351229 Q730220 Q3182047 Q592219 Q4715975 Q15065030 Q4131515 Q4226689 Q2635923 Q4054875 Q378027 Q730170 Q16701684 Q4297341 Q4068563 Q126169 Q711010 Q708489 Q283544 Q16664249 Q740269 Q620632 Q4239752 Q4270815 Q2272741 Q4249152 Q317502 Q4303020 Q2065147 Q7086081 Q457064 Q727902 Q466075 Q535234 Q446845 Q4382243 Q722142 Q15070595 Q581931 Q2597507 Q4327584 Q36073 Q15070415 Q187247 Q4242045 Q4064999 Q4346613 Q4171268 Q26959934 Q4124077 Q4538059 Q21597717 Q4067917 Q15071612 Q2425119 Q2027014 Q4213285 Q2360635 Q4061097 Q52433 Q4074101 Q4305140 Q4098840 Q520760 Q4340553 Q4531578 Q11809348 Q4427780 Q4224249 Q4503670 Q4420320 Q4132014 Q2584565 Q18242302 Q709634 Q448491 Q15079251 Q4091086 Q4180088 Q15087710 Q4057346 Q4255979 Q18634445 Q555679 Q4272855 Q4532249 Q15065774 Q1823643 Q4469202 Q319464 Q4396302 Q317792 Q461807 Q448872 Q4054623 Q2680009 Q203026 Q15075019 Q1232488 Q446865 Q18543463 Q718173 Q4464240 Q4207891 Q2783420 Q2033415 Q4447563 Q18276072 Q4521940 Q4479499 Q3920370 Q18634725 Q4105579 Q2630429 Q487650 Q4477594 Q487622 Q4388804 Q4491259 Q4155250 Q4093124 Q4054638 Q4162922 Q4173511 Q4457028 Q4344083 Q502101 Q6732326 Q2030240 Q728371 Q15064476 Q963226 Q1361037 Q1376668 Q313815 Q15077989 Q975217 Q4251919 Q4083447 Q4221470 Q18634944 Q15972050 Q4177059 Q167573 Q4276379 Q4093858 Q4365386 Q18634777 Q460016 Q4218585 Q4508231 Q342338 Q4397121 Q4166963 Q18613532 Q4309384 Q4494833 Q16014470 Q4388148 Q4339027 Q375659 Q4317074 Q4054982 Q4227529 Q4491435 Q18543569 Q1138430 Q4420708 Q4183376 Q4275003 Q641389 Q18634493 Q1996964 Q535831 Q4417188 Q4394168 Q4450317 Q4097247 Q217115 Q347977 Q15061496 Q1346545 Q32024 Q239998 Q6754929 Q974353 Q2023670 Q4095322 Q560360 Q453764
(c(Q502895),P166,Q654471) (c(Q502895),P166,Q282096)
action count
action union
action filter_type
action find_reverse
entity Q654471
relation P166
type Q502895
action filter_type
action find_reverse
entity Q282096
relation P166
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P166', 'Q654471'] [{'concept': 'Q502895'}, 'P166', 'Q282096']
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { ?h property:P166 ?s . VALUES ( ?s ) { ( resource:Q654471 ) ( resource:Q282096 ) } }
Larisa Lazutina Aleksandr Kaleri Mikhail Grigoryevich Yefremov Yevgeni Chernyshov Dmitry Safin Aleksandr Komarov Yelena Kondakova Viktor Sviridov Gennady Padalka Igor Sviridov Mikhail Korniyenko Viktor Adamishin Yevgeny Ryndin Mikhail Malofeyev Sulom-Beck Oskanov Zagid Zagidov Yury Lonchakov Mikhail Simonov Sergey Stvolov Murtazali Kazanalipov Pavel Vlasov Vyacheslav Chernukha Vladimir Rakhmanov Vladimir Maksakov Adilgerei Magomedtagirov Anatoly Kvochur Aleksandr Dvornikov Sergey Barinov Aleksandr Samokutyayev Viktor Dubynin Magomed Tolboyev Mikhail Mudrov Aleksey Otcheskikh Vladimir Mezoh Valery Legasov Alexander Prokhorenko Serik Sultangabiyev Oleg Artemyev Alime Abdenanova Vladimir Sharpatov Oleg Skripochka Vladimir Severin Andrei Bocharov Aleksandr Konovalov Andrey Lamanov Sergey Ryazansky Alexander Misurkin Yuri Malenchenko Akhmad Kadyrov Igor Tkachenko Evgeny Tarelkin Yelena Serova Vera Voloshina Yury Usachov Dmitry Serkov Mikhail Kuznetsov Vladimir Bogodukhov Yevgeny Sizonenko Gennady Troshev Mikhail Tyurin Aleksey Romanov Dmitry Yelistratov Sergey Perets Salizhan Sharipov Anatoly Sagalevich Anton Shkaplerov Aleksey Galkin Vasil Vadałažski Gaidar Gadzhiyev Alexei Kozlov Alexander Feklisov Nikolay Abramashvili Igor Ivanov Yuri Shargin Igor Stankevich Vladimir Sergeyevich Mikhaylov Marem Arapkhanova Sergei Preminin Aleksandr Poleshchuk Yury Onufriyenko Sergey Alexandrovich Volkov Sergey Kobylash Igor Sergeyev Aleksandr Lazutkin Andrei Krasov Sergey Lysyuk Yekaterina Budanova Yury Kuryagin Abdulkhakim Ismailov Stanislav Nikolaevich Morozov Ruslan Yamadayev Oleg Kozlov Roman Romanenko Sergei Treshchov Pavel Vinogradov Konstantin Kozeyev Mikhail Lukin Oleg Protsenko Dmitri Kondratyev Aleksandr Krutov Nikolay Makarov Artur Chilingarov Victor Nosov Valery Gerasimov Aleksandr Krasnikov Alexander Karelin Aleksandr Kruzhalin Gennady Anashkin Maxim Alexandrovich Passar Vladislav Dukhin Magomed Nurbagandov Artur Voloshin Irina Yanina Oleg Peshkov Timur Apakidze Aleksandr Tikhonov Alexey Dyumin Dzhabrail Yamadayev Yevgeny Kapustin Anatoly Kvashnin Vladimir Aleksandrov Minnie Bruce Pratt Magomed Baachilov Mikhail Motsak Dmitry Bulgakov Yuri Baturin Oleg Okhrimenko Yury Em Sergey Sheyko Sergei Solnechnikov Rustem Klupov Eduard Zeev Andrey Sinitsyn Magomed-Kazim Gayirkhanov Vladimir Barkovsky Gregory Zamyshlyak Valery Korzun Yuri Gidzenko Valentin Pashin Vladimir Bolysov Dmitry Zhidkov Savin, Ivan Alekseevich Arthur Adams Anatoly Lebed Ivan Konyukhov Aleksandr Aleksandrovich Skvortsov Gennady Lyachin Evgeny Epov Alibek Delimkhanov Lidiya Shulaykina German Ugryumov Yunus-bek Yevkurov Andrey Rozhkov Valeri Polyakov Maksim Surayev Valeri Tokarev Magomedshamil Abduragimov Vasily Afonin Sergei Zalyotin Pavel Syutkin Dmitry Gennadyevich Medvedev Nikolai Patrushev Arzulum Ilyasov Sulim Yamadayev Vyacheslav Trubnikov Viktor Kazantsev Sergey Mikheyev Alexander Ivanovich Baranov Sergey Sushchenko Sergey Podvalny Andrey Shevelyov Anton Ushakov Denis Vetchinov Alexander Pavlov Yury Vashchuk Valentin Korabelnikov Anatoli Yatskov Nurdin Usamov Anatoli Ivanishin Dmitry Razumovsky Ivan Flyorov Iliyas Dilshat uğlı Daudi Viktor Bondarev Kanti Abdurakhmanov Aleksey Dmitrov Mark Yevtyukhin Oleg Tibekin Aleksandr Yegorovich Pankov Andrei Borisenko Magomed Omarov Morris Cohen Vasily Tsibliyev Alexander Berzin Oleg Novitskiy Vladimir Shamanov Vladimir Rushailo Sergei Krikalev Viktor Vasenkov Sergei Revin Mikhail Labunets Nikolay Belyayev Heroes of Russia Leonid Russkikh Oleg Belaventsev Ruben Yesayan Mikhail Kalashnikov Vladimir Maksimchuk Yevgeny Borisov Marina Plotnikova Vadim Petukhov George Koval Leonid Kvasnikov Aleksandr Chekalin Oleg Kotov Anatoly Romanov Anatoli Dorofeev Igor Rodobolsky Sergey Mylnikov Gazinur Khayrullin Murad Ozdoev Aleksandr Mikhailovich Rayevskiy Eduard Ostrovsky Oleg Kononenko Mikhail Nemytkin Yury Abramovich Ruslan Kokshin Gennady Fomenko Viktor Matveyev Vladimir Ustinov Timur Sirazetdinov Amir Zagayev Nikolay Mayorov Nikolai Budarin Anatoly Kyarov Viktor Yerin Vladimir Dezhurov Igor Sergun Igor Rzhavitin Andrey Talalakin Nina Brusnikova Ramzan Kadyrov Fyodor Yurchikhin Aldar Tsydenzhapov Vladimir Pronichev Sergey Shoygu Lyubov Yegorova Marat Alykov Lona Cohen Said-Magomed Kakiyev Vyacheslav Bocharov Talgat Musabayev Sergei Avdeyev
252
action count
action union
action filter_type
action find_reverse
entity Hero of the Russian Federation
relation award received
type common name
action filter_type
action find_reverse
entity Academy of American Poets
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Hero of the Russian Federation'] [{'concept': 'common name'}, 'award received', 'Academy of American Poets']
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { ?h property:award_received ?s . VALUES ( ?s ) { ( resource:Hero_of_the_Russian_Federation ) ( resource:Academy_of_American_Poets ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q908
P190
Q515
USER
Which cities are sister town of Rostov-on-Don ?
(c(Q515),P190,Q908)
action filter_type
action find
entity Q908
relation P190
type Q515
[{'concept': 'Q515'}, 'P190', 'Q908']
SELECT DISTINCT ?z WHERE { resource:Q908 property:P190 ?z . ?z rdf:type ontology:Q515 }
Rostov-on-Don
action filter_type
action find
entity Rostov-on-Don
relation sister city
type city
[{'concept': 'city'}, 'sister city', 'Rostov-on-Don']
SELECT DISTINCT ?z WHERE { resource:Rostov-on-Don property:sister_city ?z . ?z rdf:type ontology:city }
[]
city
Q487439 Q3750 Q1953
SYSTEM
Oral, Gera, Yerevan
Q487439 Q3750 Q1953
(c(Q515),P190,Q908)
action filter_type
action find
entity Q908
relation P190
type Q515
[ANSWERS] are sister town of Rostov-on-Don
[{'concept': 'Q515'}, 'P190', 'Q908']
SELECT DISTINCT ?z WHERE { resource:Q908 property:P190 ?z . ?z rdf:type ontology:Q515 }
Oral Gera Yerevan
Oral, Gera and Yerevan are sister town of Rostov-on-Don
Oral Gera Yerevan
action filter_type
action find
entity Rostov-on-Don
relation sister city
type city
[{'concept': 'city'}, 'sister city', 'Rostov-on-Don']
SELECT DISTINCT ?z WHERE { resource:Rostov-on-Don property:sister_city ?z . ?z rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q487439 Q3750 Q1953
P190
Q56061
USER
Which administrative territories are partner towns of Oral, Gera and Yerevan ?
(Q487439,P190,c(Q56061)) (Q3750,P190,c(Q56061)) (Q1953,P190,c(Q56061))
action union
action filter_type
action find
entity Q487439
relation P190
type Q56061
action filter_type
action find
entity Q3750
relation P190
type Q56061
action filter_type
action find
entity Q1953
relation P190
type Q56061
['Q487439', 'P190', {'concept': 'Q56061'}] ['Q3750', 'P190', {'concept': 'Q56061'}] ['Q1953', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { { resource:Q487439 property:P190 ?d . ?d rdf:type ontology:Q56061 } UNION { resource:Q3750 property:P190 ?d . ?d rdf:type ontology:Q56061 } }
Oral Gera Yerevan
action union
action filter_type
action find
entity Oral
relation sister city
type administrative territorial entity
action filter_type
action find
entity Gera
relation sister city
type administrative territorial entity
action filter_type
action find
entity Yerevan
relation sister city
type administrative territorial entity
['Oral', 'sister city', {'concept': 'administrative territorial entity'}] ['Gera', 'sister city', {'concept': 'administrative territorial entity'}] ['Yerevan', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { resource:Oral property:sister_city ?d . ?d rdf:type ontology:administrative_territorial_entity } UNION { resource:Gera property:sister_city ?d . ?d rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
Q649 Q8678 Q2280
SYSTEM
Moscow, Rio de Janeiro, Minsk
Q5337 Q908 Q486913 Q8385 Q43453 Q49268 Q2090 Q908 Q2214 Q178385 Q1310 Q162279 Q641 Q994 Q3766 Q649 Q472 Q42053 Q340 Q1524 Q1780 Q908 Q49111 Q987 Q21197 Q1874 Q23564 Q174 Q8678 Q2280 Q2044 Q65 Q3820 Q914
(Q487439,P190,c(Q56061)) (Q3750,P190,c(Q56061)) (Q1953,P190,c(Q56061))
action union
action filter_type
action find
entity Q487439
relation P190
type Q56061
action filter_type
action find
entity Q3750
relation P190
type Q56061
action filter_type
action find
entity Q1953
relation P190
type Q56061
[ANSWERS] are partner towns of Oral, Gera and Yerevan
['Q487439', 'P190', {'concept': 'Q56061'}] ['Q3750', 'P190', {'concept': 'Q56061'}] ['Q1953', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { { resource:Q487439 property:P190 ?d . ?d rdf:type ontology:Q56061 } UNION { resource:Q3750 property:P190 ?d . ?d rdf:type ontology:Q56061 } }
Orenburg Rostov-on-Don Atyrau Ostrava Plzeň Fort Wayne Nuremberg Rostov-on-Don Pskov Sliven Arnhem Kuopio Venice Tbilisi Damascus Moscow Sofia Isfahan Montreal Athens Bratislava Rostov-on-Don Cambridge New Delhi Chișinău Odessa Podgorica São Paulo Rio de Janeiro Minsk Florence Los Angeles Beirut Volgograd
Moscow, Rio de Janeiro and Minsk are partner towns of Oral, Gera and Yerevan
Moscow Rio de Janeiro Minsk
action union
action filter_type
action find
entity Oral
relation sister city
type administrative territorial entity
action filter_type
action find
entity Gera
relation sister city
type administrative territorial entity
action filter_type
action find
entity Yerevan
relation sister city
type administrative territorial entity
['Oral', 'sister city', {'concept': 'administrative territorial entity'}] ['Gera', 'sister city', {'concept': 'administrative territorial entity'}] ['Yerevan', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { resource:Oral property:sister_city ?d . ?d rdf:type ontology:administrative_territorial_entity } UNION { resource:Gera property:sister_city ?d . ?d rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q649 Q8678 Q2280
P190
Q515
USER
Which cities are partner towns of Moscow, Rio de Janeiro and Minsk ?
(Q649,P190,c(Q515)) (Q8678,P190,c(Q515)) (Q2280,P190,c(Q515))
action union
action filter_type
action find
entity Q649
relation P190
type Q515
action filter_type
action find
entity Q8678
relation P190
type Q515
action filter_type
action find
entity Q2280
relation P190
type Q515
['Q649', 'P190', {'concept': 'Q515'}] ['Q8678', 'P190', {'concept': 'Q515'}] ['Q2280', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { { resource:Q649 property:P190 ?y . ?y rdf:type ontology:Q515 } UNION { resource:Q8678 property:P190 ?y . ?y rdf:type ontology:Q515 } }
Moscow Rio de Janeiro Minsk
action union
action filter_type
action find
entity Moscow
relation sister city
type city
action filter_type
action find
entity Rio de Janeiro
relation sister city
type city
action filter_type
action find
entity Minsk
relation sister city
type city
['Moscow', 'sister city', {'concept': 'city'}] ['Rio de Janeiro', 'sister city', {'concept': 'city'}] ['Minsk', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { { resource:Moscow property:sister_city ?y . ?y rdf:type ontology:city } UNION { resource:Rio_de_Janeiro property:sister_city ?y . ?y rdf:type ontology:city } }
[]
city
Q1486 Q1486 Q1773
SYSTEM
Buenos Aires for 1st, 2nd, Riga for 3rd
Q8684 Q3572 Q1773 Q9005 Q19660 Q19689 Q1486 Q3616 Q3004 Q1461 Q1953 Q8684 Q1533 Q16520 Q3870 Q19660 Q1486 Q1899 Q3751 Q1723 Q3572 Q8652 Q25475 Q1953 Q1519 Q1533 Q1355 Q456 Q1773 Q3616 Q1899 Q1711 Q1953
(Q649,P190,c(Q515)) (Q8678,P190,c(Q515)) (Q2280,P190,c(Q515))
action union
action filter_type
action find
entity Q649
relation P190
type Q515
action filter_type
action find
entity Q8678
relation P190
type Q515
action filter_type
action find
entity Q2280
relation P190
type Q515
[ANSWERS]
['Q649', 'P190', {'concept': 'Q515'}] ['Q8678', 'P190', {'concept': 'Q515'}] ['Q2280', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { { resource:Q649 property:P190 ?y . ?y rdf:type ontology:Q515 } UNION { resource:Q8678 property:P190 ?y . ?y rdf:type ontology:Q515 } }
Seoul Tunis Riga Brussels Bucharest Tirana Buenos Aires Tehran Ingolstadt Manila Yerevan Seoul Caracas Busan Nairobi Bucharest Buenos Aires Kyiv Praia Batangas City Tunis Miami Batumi Yerevan Abu Dhabi Caracas Bangalore Lyon Riga Tehran Kyiv Potsdam Yerevan
Buenos Aires, Buenos Aires and Riga are partner towns of Moscow, Rio de Janeiro and Minsk
Buenos Aires Buenos Aires Riga
action union
action filter_type
action find
entity Moscow
relation sister city
type city
action filter_type
action find
entity Rio de Janeiro
relation sister city
type city
action filter_type
action find
entity Minsk
relation sister city
type city
['Moscow', 'sister city', {'concept': 'city'}] ['Rio de Janeiro', 'sister city', {'concept': 'city'}] ['Minsk', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { { resource:Moscow property:sister_city ?y . ?y rdf:type ontology:city } UNION { resource:Rio_de_Janeiro property:sister_city ?y . ?y rdf:type ontology:city } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1486
P276
Q131569
USER
Which treaty has its location as that city ?
(c(Q131569),P276,Q1486)
action filter_type
action find_reverse
entity Q1486
relation P276
type Q131569
[{'concept': 'Q131569'}, 'P276', 'Q1486']
SELECT DISTINCT ?g WHERE { ?g property:P276 resource:Q1486 . ?g rdf:type ontology:Q131569 }
Buenos Aires
action filter_type
action find_reverse
entity Buenos Aires
relation location
type treaty
[{'concept': 'treaty'}, 'location', 'Buenos Aires']
SELECT DISTINCT ?g WHERE { ?g property:location resource:Buenos_Aires . ?g rdf:type ontology:treaty }
[]
treaty
Clarification for simple ques.
Q1486
SYSTEM
Did you mean Buenos Aires ?
Q1486 Q1486 Q1773
(c(Q131569),P276,Q1486) (c(Q131569),P276,Q1486) (c(Q131569),P276,Q1773)
[ANSWER]
[{'concept': 'Q131569'}, 'P276', 'Q1486'] [{'concept': 'Q131569'}, 'P276', 'Q1486'] [{'concept': 'Q131569'}, 'P276', 'Q1773']
SELECT DISTINCT ?g WHERE { ?g property:P276 resource:Q1486 . ?g rdf:type ontology:Q131569 }
Buenos Aires Buenos Aires Riga
Did you mean Buenos Aires ?
Buenos Aires
[{'concept': 'treaty'}, 'location', 'Buenos Aires'] [{'concept': 'treaty'}, 'location', 'Buenos Aires'] [{'concept': 'treaty'}, 'location', 'Riga']
SELECT DISTINCT ?g WHERE { ?g property:location resource:Buenos_Aires . ?g rdf:type ontology:treaty }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q131569),P276,Q1486)
[{'concept': 'Q131569'}, 'P276', 'Q1486']
[{'concept': 'treaty'}, 'location', 'Buenos Aires']
[]
Q1782419
SYSTEM
Treaty of the Triple Alliance
Q1782419
(c(Q131569),P276,Q1486)
action filter_type
action find_reverse
entity Q1486
relation P276
type Q131569
[ANSWER] has its location as that city
[{'concept': 'Q131569'}, 'P276', 'Q1486']
SELECT DISTINCT ?g WHERE { ?g property:P276 resource:Q1486 . ?g rdf:type ontology:Q131569 }
Treaty of the Triple Alliance
Treaty of the Triple Alliance has its location as that city
Treaty of the Triple Alliance
action filter_type
action find_reverse
entity Buenos Aires
relation location
type treaty
[{'concept': 'treaty'}, 'location', 'Buenos Aires']
SELECT DISTINCT ?g WHERE { ?g property:location resource:Buenos_Aires . ?g rdf:type ontology:treaty }
[]