Simple Question (Direct)
Simple Question
Q7086248
P106
Q12737077
USER
What are the job of Oleksandr Ivanov ?
(Q7086248,P106,c(Q12737077))
action filter_type
action find
entity Q7086248
relation P106
type Q12737077
['Q7086248', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q7086248 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Oleksandr Ivanov
action filter_type
action find
entity Oleksandr Ivanov
relation occupation
type occupation
['Oleksandr Ivanov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Oleksandr_Ivanov property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q7086248,P106,c(Q12737077))
action filter_type
action find
entity Q7086248
relation P106
type Q12737077
The job of Oleksandr Ivanov are both [ANSWERS]
['Q7086248', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q7086248 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
association football manager association football player
The job of Oleksandr Ivanov are both association football manager and association football player
association football manager association football player
action filter_type
action find
entity Oleksandr Ivanov
relation occupation
type occupation
['Oleksandr Ivanov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Oleksandr_Ivanov property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7086248
P166
Q4189293
USER
Which title was Oleksandr Ivanov awarded with ?
(Q7086248,P166,c(Q4189293))
action filter_type
action find
entity Q7086248
relation P166
type Q4189293
['Q7086248', 'P166', {'concept': 'Q4189293'}]
SELECT DISTINCT ?s WHERE { resource:Q7086248 property:P166 ?s . ?s rdf:type ontology:Q4189293 }
Oleksandr Ivanov
action filter_type
action find
entity Oleksandr Ivanov
relation award received
type title
['Oleksandr Ivanov', 'award received', {'concept': 'title'}]
SELECT DISTINCT ?s WHERE { resource:Oleksandr_Ivanov property:award_received ?s . ?s rdf:type ontology:title }
[]
title
Q1803234
SYSTEM
Master of Sport of the USSR
Q1803234
(Q7086248,P166,c(Q4189293))
action filter_type
action find
entity Q7086248
relation P166
type Q4189293
Oleksandr Ivanov was awarded the [ANSWER]
['Q7086248', 'P166', {'concept': 'Q4189293'}]
SELECT DISTINCT ?s WHERE { resource:Q7086248 property:P166 ?s . ?s rdf:type ontology:Q4189293 }
Master of Sport of the USSR
Oleksandr Ivanov was awarded the Master of Sport of the USSR
Master of Sport of the USSR
action filter_type
action find
entity Oleksandr Ivanov
relation award received
type title
['Oleksandr Ivanov', 'award received', {'concept': 'title'}]
SELECT DISTINCT ?s WHERE { resource:Oleksandr_Ivanov property:award_received ?s . ?s rdf:type ontology:title }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3761966 Q7086248
P27 P20
Q15617994
USER
Which administrative territories are the native countriesof Oleksandr Ivanov or did the expiration of Giacomo Agostinetti occur ?
OR((Q7086248,P27,c(Q15617994)), (Q3761966,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q7086248
relation P27
action find
entity Q3761966
relation P20
type Q15617994
{'OR': [['Q7086248', 'P27', {'concept': 'Q15617994'}], ['Q3761966', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q7086248 property:P27 ?y } UNION { resource:Q3761966 property:P20 ?y } } . ?y rdf:type ontology:Q15617994 }
Giacomo Agostinetti Oleksandr Ivanov
action filter_type
action union
action find
entity Oleksandr Ivanov
relation country of citizenship
action find
entity Giacomo Agostinetti
relation place of death
type designation for an administrative territorial entity
{'OR': [['Oleksandr Ivanov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Giacomo Agostinetti', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Oleksandr_Ivanov property:country_of_citizenship ?y } UNION { resource:Giacomo_Agostinetti property:place_of_death ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212 Q29398
SYSTEM
Ukraine, Cimadolmo
Q212 Q29398
OR((Q7086248,P27,c(Q15617994)), (Q3761966,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q7086248
relation P27
action find
entity Q3761966
relation P20
type Q15617994
[ANSWERS] are the native countriesof Oleksandr Ivanov or did the expiration of Giacomo Agostinetti occur
{'OR': [['Q7086248', 'P27', {'concept': 'Q15617994'}], ['Q3761966', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q7086248 property:P27 ?y } UNION { resource:Q3761966 property:P20 ?y } } . ?y rdf:type ontology:Q15617994 }
Ukraine Cimadolmo
Ukraine and Cimadolmo are the native countriesof Oleksandr Ivanov or did the expiration of Giacomo Agostinetti occur
Ukraine Cimadolmo
action filter_type
action union
action find
entity Oleksandr Ivanov
relation country of citizenship
action find
entity Giacomo Agostinetti
relation place of death
type designation for an administrative territorial entity
{'OR': [['Oleksandr Ivanov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Giacomo Agostinetti', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Oleksandr_Ivanov property:country_of_citizenship ?y } UNION { resource:Giacomo_Agostinetti property:place_of_death ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q212 Q29398
P47
Q15617994
USER
Which administrative territories are next to the border of those ones ?
(c(Q15617994),P47,Q212) (c(Q15617994),P47,Q29398)
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q212'] [{'concept': 'Q15617994'}, 'P47', 'Q29398']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . VALUES ( ?f ) { ( resource:Q212 ) ( resource:Q29398 ) } . ?f property:P47 ?z }
Ukraine Cimadolmo
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Ukraine'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Cimadolmo']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?f ) { ( resource:Ukraine ) ( resource:Cimadolmo ) } . ?f property:shares_border_with ?z }
[]
designation for an administrative territorial entity
Q159 Q36 Q184
SYSTEM
Russia, Poland, Belarus
Q217 Q214 Q218 Q159 Q184 Q36 Q28 Q46555 Q46580 Q46673 Q48170 Q47495 Q46608 Q46631
(c(Q15617994),P47,Q212) (c(Q15617994),P47,Q29398)
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
[ANSWERS] are next to the border of those ones
[{'concept': 'Q15617994'}, 'P47', 'Q212'] [{'concept': 'Q15617994'}, 'P47', 'Q29398']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . VALUES ( ?f ) { ( resource:Q212 ) ( resource:Q29398 ) } . ?f property:P47 ?z }
Republic of Moldova Slovakia Romania Russia Belarus Poland Hungary Maserada sul Piave Ormelle Spresiano Santa Lucia di Piave Mareno di Piave San Polo di Piave Vazzola
Russia, Poland and Belarus are next to the border of those ones
Russia Poland Belarus
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Ukraine'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Cimadolmo']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?f ) { ( resource:Ukraine ) ( resource:Cimadolmo ) } . ?f property:shares_border_with ?z }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q159 Q36 Q184
P20
Q502895
USER
Who died in Russia, Poland and Belarus ?
(c(Q502895),P20,Q159) (c(Q502895),P20,Q36) (c(Q502895),P20,Q184)
action union
action filter_type
action find_reverse
entity Q159
relation P20
type Q502895
action filter_type
action find_reverse
entity Q36
relation P20
type Q502895
action filter_type
action find_reverse
entity Q184
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q159'] [{'concept': 'Q502895'}, 'P20', 'Q36'] [{'concept': 'Q502895'}, 'P20', 'Q184']
SELECT DISTINCT ?u WHERE { { ?u property:P20 resource:Q159 . ?u rdf:type ontology:Q502895 } UNION { ?u property:P20 resource:Q36 . ?u rdf:type ontology:Q502895 } }
Russia Poland Belarus
action union
action filter_type
action find_reverse
entity Russia
relation place of death
type common name
action filter_type
action find_reverse
entity Poland
relation place of death
type common name
action filter_type
action find_reverse
entity Belarus
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Russia'] [{'concept': 'common name'}, 'place of death', 'Poland'] [{'concept': 'common name'}, 'place of death', 'Belarus']
SELECT DISTINCT ?u WHERE { { ?u property:place_of_death resource:Russia . ?u rdf:type ontology:common_name } UNION { ?u property:place_of_death resource:Poland . ?u rdf:type ontology:common_name } }
[]
common name
Q462207 Q3839774 Q6961325
SYSTEM
Pavel Sudoplatov, Luigi Leone, Stanisław Tatar
Q2150522 Q91324 Q18055920 Q4410125 Q4413242 Q3817485 Q5709599 Q2373762 Q1405104 Q6828500 Q2466898 Q6204659 Q4723066 Q9374970 Q12784191 Q96352 Q3108128 Q462207 Q4015582 Q15078996 Q10307786 Q5339894 Q5492787 Q68404 Q16528560 Q87166 Q754387 Q18044759 Q15711028 Q3770710 Q4340845 Q18224673 Q5650314 Q3126971 Q4277992 Q3120350 Q376231 Q7377146 Q69597 Q5927638 Q1717018 Q7377156 Q7109510 Q21091948 Q15622170 Q1596760 Q877362 Q456780 Q3207867 Q1549878 Q23309439 Q1115432 Q4104084 Q2161951 Q4528202 Q4344020 Q4076365 Q2863328 Q4209402 Q2361654 Q323122 Q5700208 Q5492681 Q785386 Q1319717 Q15061609 Q312799 Q1688648 Q5406910 Q5265750 Q6371627 Q4226364 Q1165316 Q12123646 Q12787383 Q1968013 Q7151040 Q386076 Q1691550 Q23818749 Q16266908 Q4333710 Q521586 Q18511631 Q10298699 Q12028388 Q809349 Q23007296 Q952189 Q7910854 Q1603011 Q18203729 Q6688631 Q3372398 Q3888308 Q4398970 Q69100 Q67279 Q7518868 Q2701484 Q5387997 Q22341919 Q3133999 Q827116 Q4058836 Q6371479 Q3768075 Q5504981 Q1635627 Q4070667 Q10393623 Q6371434 Q338315 Q1600497 Q4481003 Q1560496 Q4443029 Q20625629 Q887237 Q2365928 Q4242229 Q18201545 Q1970350 Q3839774 Q5504928 Q1854114 Q23012207 Q16977158 Q1684931 Q18045188 Q4236017 Q5394960 Q4074568 Q1128016 Q3489069 Q679500 Q9251168 Q4073069 Q16649062 Q9288367 Q15715036 Q3651528 Q16164460 Q688280 Q9157706 Q11727555 Q9262722 Q5700368 Q1730366 Q16566087 Q16561692 Q16529471 Q12659746 Q5666931 Q4706140 Q1226315 Q9342665 Q11749566 Q4096226 Q943007 Q1612833 Q3848154 Q505037 Q1108519 Q9258564 Q382726 Q6961325 Q3701426 Q662177 Q4218024 Q1819236 Q11766664 Q1874977 Q1382788 Q17095895 Q4303614 Q16432728 Q14446004 Q214260 Q9154112 Q9354592 Q597623 Q454739 Q1696261 Q319274 Q266737 Q4329088 Q11718769 Q7362160 Q670522 Q3761893 Q11737873 Q6185572 Q4415075 Q3167035 Q516773 Q1780386 Q8028452 Q15618141 Q9387894 Q11717047 Q15390603 Q11730286 Q11765536 Q1896768 Q69985 Q2564276 Q579976 Q7598026 Q3389073 Q6684718 Q3312752 Q256701 Q314458 Q9357323 Q7941521 Q1086228 Q1657712 Q3357848 Q1674208
(c(Q502895),P20,Q159) (c(Q502895),P20,Q36) (c(Q502895),P20,Q184)
action union
action filter_type
action find_reverse
entity Q159
relation P20
type Q502895
action filter_type
action find_reverse
entity Q36
relation P20
type Q502895
action filter_type
action find_reverse
entity Q184
relation P20
type Q502895
[ANSWERS] died in Russia, Poland and Belarus
[{'concept': 'Q502895'}, 'P20', 'Q159'] [{'concept': 'Q502895'}, 'P20', 'Q36'] [{'concept': 'Q502895'}, 'P20', 'Q184']
SELECT DISTINCT ?u WHERE { { ?u property:P20 resource:Q159 . ?u rdf:type ontology:Q502895 } UNION { ?u property:P20 resource:Q36 . ?u rdf:type ontology:Q502895 } }
Richard Schlemmer Plato von Ustinov Klavdiya Khantova Roza Sverdlova Pelageya Sekirkina Kurt Oleska Helmut Frink Nikolai Rysakov Ferdinand Baston de La Riboisière Michael Bauer Mikhail Levashev Joachim Wandel Alfred Lex Wincenty Bortkiewicz Aleksander Astašev Hermann Wesel Joseph Pinetti Pavel Sudoplatov Vittorio Zampedri Vassili Passetski Johannes Arndt Edmund Wagner Franz Graf von Bellegarde Julius von Bernuth Arnaldo Dell'Ira Hans Lipps Ernst Leman Vladimir Tsarsky Vincenzo De Michiel Giuseppe Grandi Pavel K. Oshchepkov Bruno Strappini Hans Kolbow Hans Kamecke Yevgeny Malishevsky Prince Wilhelm of Hesse-Philippsthal-Barchfeld Stanislav Markelov Rudolf Behr Werner Mummert Hubert Strassl Jürgen Bertelsmann Rudolf Bornhof Otto Alberts Vladimir Vasilyev Sergio Sammartino Heinrich Bischoff Karl Auer Tatyana Dmitrieva Yevgeni Skomorokhov Viktor Yaroslavtsev Ciro Menotti Johann Schwarz Lev Varshavsky Roger Boch Adriaan Schoonebeek Varvara Panina Vladislav Balandin Arno Jahr Rifkat Kalimullin Matija Zmajević Michel-Joseph Gebauer Heinrich Krafft Franz Ammann Oleg Morozov Giustiniano Bellavitis Gennady Khrapunkov Nikolai Kondratiev Yevgeny Lyadin Eugen Garski Detlev Graf von Garnier-Turawa Karl Betz Vasilisa Kozhina Danzig Sergejewitsch Baldajew Tatyana Mitrushina Davorin Bole Viktor Voroshilov Paul Gurran Willi Moser Albert Schamoni Giovanni Bortolotto Leonid Grabkin Konstantin Oleshkevich Rostislav Stratimirovic Viktor Antonovich Temin Hubert Brinkforth Karel Macháň Bartolomäus Ghotan Tamara Valasiadi Nikolai Sverchkov Valentina Chebotaryova Hellmuth Muntschick Yury Slavnitsky Louise Berger Paul Völckers Olga Taratuta Vladimir Rubanovsky Ludwig Vörg Ernst Pistulla Simon Grascher Andrei Zazroyev Erich Abraham Giovanni Battista Ortolani Damon Sveigðir Hans Eller Mark Ayzerman Karl-Heinz Worthmann Giovanni Rustici Fritz Neumüller Hugo Rühle von Lilienstern Lyudmila Arkharova Wilhelm Büsing Karl-Heinz Greisert Hermann Gramlich Heinz Kortenbeutel Aleksandr Falkovsky Günter Gentz Lev Stolyarov Avksentiy Mordinov Maria Kryuchkova Martin Wandel Yuri Kushak Boris Frolov Tsarevich Dmitry Ivanovich of Russia Luigi Leone Fritz Hertzsch Ales Prudnikau Karl Helmuth Bonde Anatoly Aleksandrov Johann Hornung Anna Filonenko-Kamayeva Svetlana Kotikova Ernst David Mark Babushkin Constantin Șerban Mirosław Iringh Andrzej Jaraczewski Edward Rosset Jamil Ahmadov Peter Brask Henryk Krajewski Rudolf März Camillo Mantuano Józef Baranowski Armin Springer Antoni Zębik Joanna Wilińska Franciszek Masłowski Heinrich Schüler Karl Höpfner Kazimierz Karp Jan Schneider Antoni Bronikowski Karolis Parčevskis Harry Andree Alan Basil de Lastic Wawrzyniec Grzymała Goślicki Stanisław Niesiołowski Krzysztof Nowicki Tadeusz Breyer Tadeusz Banachiewicz Hermann Stenner Jan Piwnik Fausto Sozzini György Kilián Feliks Chudzyński Artur Górski Stanisław Tatar Józef Plośko Janusz Świerczowski Zdzisław Kaczmarczyk Leonhard Krenzheim Maksymilian Maudrych Ludwig Schneider Ewald Dytko Antoni Karol Nowosielski Giammaria Mosca Teofil Bętkowski Mieczysław Tarnawski Simon Pullman Andrzej Zgliczyński Tadeusz Matusiak Antoni Kępiński Leszek Nowak Jan Sokol z Lamberka Stanislaw Kubicki Boleslaus III, Duke of Bohemia Herbert Obwurzer Jan Przewłocki Roman Romkowski Francesco Nullo Giacinto Campana Kazimierz Goncerzewicz Jerzy Woźniak Antoni Siemaszko Jean-Louis de Montesson Marcin Bielski Ryszard Kwiatkowski Witold Skulicz Jerzy Wieteski Zbigniew Godziński Jan Bielecki Krzysztof Marcinkowski Józef Gromek Maciej Męclewski Marianne Alfermann Theodoric of Landsberg Jean Broc Stanisław Zarakowski Stancho Belkovski Vissarion Alekseyev Lothar Keller Mieczysław Kotlarczyk Archduchess Maria Theresa of Austria Arvid Axel Mardefelt Teresa Landy Juliusz Bogdan Deczkowski Christoph von Redern Igor Konstantinowitsch Lopatin Otto Schünemann Lühr Hogrefe
Pavel Sudoplatov, Luigi Leone and Stanisław Tatar died in Russia, Poland and Belarus
Pavel Sudoplatov Luigi Leone Stanisław Tatar
action union
action filter_type
action find_reverse
entity Russia
relation place of death
type common name
action filter_type
action find_reverse
entity Poland
relation place of death
type common name
action filter_type
action find_reverse
entity Belarus
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Russia'] [{'concept': 'common name'}, 'place of death', 'Poland'] [{'concept': 'common name'}, 'place of death', 'Belarus']
SELECT DISTINCT ?u WHERE { { ?u property:place_of_death resource:Russia . ?u rdf:type ontology:common_name } UNION { ?u property:place_of_death resource:Poland . ?u rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q159
P38
Q8142
USER
What is accepted as the currency of that administrative territory ?
(Q159,P38,c(Q8142))
action filter_type
action find
entity Q159
relation P38
type Q8142
['Q159', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?m WHERE { resource:Q159 property:P38 ?m . ?m rdf:type ontology:Q8142 }
Russia
action filter_type
action find
entity Russia
relation currency
type currency
['Russia', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?m WHERE { resource:Russia property:currency ?m . ?m rdf:type ontology:currency }
[]
currency
Clarification for simple ques.
Q159
SYSTEM
Did you mean Russia ?
Q462207 Q3839774 Q6961325
(Q462207,P38,c(Q8142)) (Q3839774,P38,c(Q8142)) (Q6961325,P38,c(Q8142))
[ANSWER]
['Q462207', 'P38', {'concept': 'Q8142'}] ['Q3839774', 'P38', {'concept': 'Q8142'}] ['Q6961325', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?m WHERE { resource:Q159 property:P38 ?m . ?m rdf:type ontology:Q8142 }
Pavel Sudoplatov Luigi Leone Stanisław Tatar
Did you mean Russia ?
Russia
['Pavel Sudoplatov', 'currency', {'concept': 'currency'}] ['Luigi Leone', 'currency', {'concept': 'currency'}] ['Stanisław Tatar', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?m WHERE { resource:Russia property:currency ?m . ?m rdf:type ontology:currency }
[]
Simple Question (Coreferenced)
USER
Yes
(Q159,P38,c(Q8142))
['Q159', 'P38', {'concept': 'Q8142'}]
['Russia', 'currency', {'concept': 'currency'}]
[]
Q615640
SYSTEM
Soviet ruble
Q615640
(Q159,P38,c(Q8142))
action filter_type
action find
entity Q159
relation P38
type Q8142
[ANSWER] is accepted as the currency of that administrative territory
['Q159', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?m WHERE { resource:Q159 property:P38 ?m . ?m rdf:type ontology:Q8142 }
Soviet ruble
Soviet ruble is accepted as the currency of that administrative territory
Soviet ruble
action filter_type
action find
entity Russia
relation currency
type currency
['Russia', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?m WHERE { resource:Russia property:currency ?m . ?m rdf:type ontology:currency }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4990285 Q184
P530 P27
Q15617994
USER
Which administrative territories holds diplomatic relationship with Belarus or do Lotta Wenglén belong to ?
OR((Q184,P530,c(Q15617994)), (Q4990285,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q184
relation P530
action find
entity Q4990285
relation P27
type Q15617994
{'OR': [['Q184', 'P530', {'concept': 'Q15617994'}], ['Q4990285', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . { { resource:Q4990285 property:P27 ?l } UNION { resource:Q184 property:P530 ?l } } }
Lotta Wenglén Belarus
action filter_type
action union
action find
entity Belarus
relation diplomatic relation
action find
entity Lotta Wenglén
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Belarus', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Lotta Wenglén', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Lotta_Wenglén property:country_of_citizenship ?l } UNION { resource:Belarus property:diplomatic_relation ?l } } }
[]
designation for an administrative territorial entity
Q38 Q902 Q233 Q414 Q794 Q241 Q215 Q41 Q833 Q298
SYSTEM
Some of them are Italy, Bangladesh, Malta, Argentina, Iran, Cuba, Slovenia, Greece, Malaysia, Chile
Q801 Q843 Q241 Q668 Q414 Q227 Q224 Q55 Q262 Q148 Q33 Q874 Q30 Q37 Q36 Q34 Q39 Q38 Q902 Q833 Q1016 Q298 Q215 Q403 Q230 Q142 Q212 Q213 Q211 Q159 Q217 Q214 Q41 Q155 Q233 Q794 Q27
OR((Q184,P530,c(Q15617994)), (Q4990285,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q184
relation P530
action find
entity Q4990285
relation P27
type Q15617994
[ANSWERS] hold diplomatic relationship with Belarus or do Lotta Wenglén belong to
{'OR': [['Q184', 'P530', {'concept': 'Q15617994'}], ['Q4990285', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . { { resource:Q4990285 property:P27 ?l } UNION { resource:Q184 property:P530 ?l } } }
Israel Pakistan Cuba India Argentina Azerbaijan Croatia Netherlands Algeria People's Republic of China Finland Turkmenistan United States of America Lithuania Poland Sweden Switzerland Italy Bangladesh Malaysia Libya Chile Slovenia Serbia Georgia France Ukraine Czech Republic Latvia Russia Republic of Moldova Slovakia Greece Brazil Malta Iran Ireland
Italy, Bangladesh, Malta, Argentina, Iran, Cuba, Slovenia, Greece, Malaysia and Chile hold diplomatic relationship with Belarus or do Lotta Wenglén belong to
Italy Bangladesh Malta Argentina Iran Cuba Slovenia Greece Malaysia Chile
action filter_type
action union
action find
entity Belarus
relation diplomatic relation
action find
entity Lotta Wenglén
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Belarus', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Lotta Wenglén', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Lotta_Wenglén property:country_of_citizenship ?l } UNION { resource:Belarus property:diplomatic_relation ?l } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q389752
P530
Q15617994
USER
Do Waldburg have diplomatic associations with those ones ?
(Q389752,P530,Q38) (Q389752,P530,Q902) (Q389752,P530,Q233) (Q389752,P530,Q414) (Q389752,P530,Q794) (Q389752,P530,Q241) (Q389752,P530,Q215) (Q389752,P530,Q41) (Q389752,P530,Q833) (Q389752,P530,Q298)
action is_in
entity prev_answer
action find
entity Q389752
relation P530
['Q389752', 'P530', 'Q38'] ['Q389752', 'P530', 'Q902'] ['Q389752', 'P530', 'Q233'] ['Q389752', 'P530', 'Q414'] ['Q389752', 'P530', 'Q794'] ['Q389752', 'P530', 'Q241'] ['Q389752', 'P530', 'Q215'] ['Q389752', 'P530', 'Q41'] ['Q389752', 'P530', 'Q833'] ['Q389752', 'P530', 'Q298']
ASK WHERE { resource:Q389752 property:P530 ?e . VALUES ( ?e ) { ( resource:Q801 ) ( resource:Q843 ) ( resource:Q241 ) } }
Waldburg
action is_in
entity prev_answer
action find
entity Waldburg
relation diplomatic relation
['Waldburg', 'diplomatic relation', 'Italy'] ['Waldburg', 'diplomatic relation', 'Bangladesh'] ['Waldburg', 'diplomatic relation', 'Malta'] ['Waldburg', 'diplomatic relation', 'Argentina'] ['Waldburg', 'diplomatic relation', 'Iran'] ['Waldburg', 'diplomatic relation', 'Cuba'] ['Waldburg', 'diplomatic relation', 'Slovenia'] ['Waldburg', 'diplomatic relation', 'Greece'] ['Waldburg', 'diplomatic relation', 'Malaysia'] ['Waldburg', 'diplomatic relation', 'Chile']
ASK WHERE { resource:Waldburg property:diplomatic_relation ?e . VALUES ( ?e ) { ( resource:Israel ) ( resource:Pakistan ) ( resource:Cuba ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q389752,P530,Q38) (Q389752,P530,Q902) (Q389752,P530,Q233) (Q389752,P530,Q414) (Q389752,P530,Q794) (Q389752,P530,Q241) (Q389752,P530,Q215) (Q389752,P530,Q41) (Q389752,P530,Q833) (Q389752,P530,Q298)
action is_in
entity prev_answer
action find
entity Q389752
relation P530
[ANSWER]
['Q389752', 'P530', 'Q38'] ['Q389752', 'P530', 'Q902'] ['Q389752', 'P530', 'Q233'] ['Q389752', 'P530', 'Q414'] ['Q389752', 'P530', 'Q794'] ['Q389752', 'P530', 'Q241'] ['Q389752', 'P530', 'Q215'] ['Q389752', 'P530', 'Q41'] ['Q389752', 'P530', 'Q833'] ['Q389752', 'P530', 'Q298']
ASK WHERE { resource:Q389752 property:P530 ?e . VALUES ( ?e ) { ( resource:Q801 ) ( resource:Q843 ) ( resource:Q241 ) } }
No
action is_in
entity prev_answer
action find
entity Waldburg
relation diplomatic relation
['Waldburg', 'diplomatic relation', 'Italy'] ['Waldburg', 'diplomatic relation', 'Bangladesh'] ['Waldburg', 'diplomatic relation', 'Malta'] ['Waldburg', 'diplomatic relation', 'Argentina'] ['Waldburg', 'diplomatic relation', 'Iran'] ['Waldburg', 'diplomatic relation', 'Cuba'] ['Waldburg', 'diplomatic relation', 'Slovenia'] ['Waldburg', 'diplomatic relation', 'Greece'] ['Waldburg', 'diplomatic relation', 'Malaysia'] ['Waldburg', 'diplomatic relation', 'Chile']
ASK WHERE { resource:Waldburg property:diplomatic_relation ?e . VALUES ( ?e ) { ( resource:Israel ) ( resource:Pakistan ) ( resource:Cuba ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with atleast 18 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 18
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?h ) WHERE { ?o property:P530 ?i . ?o rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?o } . FILTER ( ?h >= 18 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 18
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?h ) WHERE { ?o property:diplomatic_relation ?i . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?h >= 18 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q801 Q159 Q155 Q38 Q230 Q184 Q953
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 18
[ANSWERS] have tactful political relations with atleast 18 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?h ) WHERE { ?o property:P530 ?i . ?o rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?o } . FILTER ( ?h >= 18 ) }
Israel Russia Brazil Italy Georgia Belarus Zambia
Italy, Brazil and Georgia have tactful political relations with atleast 18 administrative territories
Italy Brazil Georgia
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 18
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?h ) WHERE { ?o property:diplomatic_relation ?i . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?h >= 18 ) }
[]