Simple Question (Direct)
Simple Question
Q4276620
P937
Q56061
USER
Which administrative territory is the work location of Natalia Malakhovskaia ?
(Q4276620,P937,c(Q56061))
action filter_type
action find
entity Q4276620
relation P937
type Q56061
['Q4276620', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q4276620 property:P937 ?p . ?p rdf:type ontology:Q56061 }
Natalia Malakhovskaia
action filter_type
action find
entity Natalia Malakhovskaia
relation work location
type administrative territorial entity
['Natalia Malakhovskaia', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Natalia_Malakhovskaia property:work_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q34713
SYSTEM
Salzburg
Q34713
(Q4276620,P937,c(Q56061))
action filter_type
action find
entity Q4276620
relation P937
type Q56061
[ANSWER] is the work location of Natalia Malakhovskaia
['Q4276620', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q4276620 property:P937 ?p . ?p rdf:type ontology:Q56061 }
Salzburg
Salzburg is the work location of Natalia Malakhovskaia
Salzburg
action filter_type
action find
entity Natalia Malakhovskaia
relation work location
type administrative territorial entity
['Natalia Malakhovskaia', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Natalia_Malakhovskaia property:work_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q34713
P17
Q1048835
USER
Which political territory is that administrative territory located in ?
(Q34713,P17,c(Q1048835))
action filter_type
action find
entity Q34713
relation P17
type Q1048835
['Q34713', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { resource:Q34713 property:P17 ?e . ?e rdf:type ontology:Q1048835 }
Salzburg
action filter_type
action find
entity Salzburg
relation country
type political territorial entity
['Salzburg', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Salzburg property:country ?e . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q34713,P17,c(Q1048835))
action filter_type
action find
entity Q34713
relation P17
type Q1048835
That administrative territory is located in [ANSWER]
['Q34713', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { resource:Q34713 property:P17 ?e . ?e rdf:type ontology:Q1048835 }
Austria
That administrative territory is located in Austria
Austria
action filter_type
action find
entity Salzburg
relation country
type political territorial entity
['Salzburg', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Salzburg property:country ?e . ?e rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q40 Q21529404
P27
Q502895
USER
Is Mildred Coles a native of that political territory ?
(Q21529404,P27,Q40)
action is_in
entity Q21529404
action find
entity Q40
relation P27
['Q21529404', 'P27', 'Q40']
ASK WHERE { resource:Q40 property:P27 resource:Q21529404 }
Austria Mildred Coles
action is_in
entity Mildred Coles
action find
entity Austria
relation country of citizenship
['Mildred Coles', 'country of citizenship', 'Austria']
ASK WHERE { resource:Austria property:country_of_citizenship resource:Mildred_Coles }
[]
common name
SYSTEM
NO
(Q21529404,P27,Q40)
action is_in
entity Q21529404
action find
entity Q40
relation P27
[ANSWER]
['Q21529404', 'P27', 'Q40']
ASK WHERE { resource:Q40 property:P27 resource:Q21529404 }
No
action is_in
entity Mildred Coles
action find
entity Austria
relation country of citizenship
['Mildred Coles', 'country of citizenship', 'Austria']
ASK WHERE { resource:Austria property:country_of_citizenship resource:Mildred_Coles }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q40
P530
Q15617994
USER
How many administrative territories have diplomatic relationships with Austria ?
(Q40,P530,c(Q15617994))
action count
action filter_type
action find
entity Q40
relation P530
type Q15617994
['Q40', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c rdf:type ontology:Q15617994 . resource:Q40 property:P530 ?c }
Austria
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type designation for an administrative territorial entity
['Austria', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Austria property:diplomatic_relation ?c }
[]
designation for an administrative territorial entity
SYSTEM
5
Q142 Q347 Q114 Q403 Q38
(Q40,P530,c(Q15617994))
action count
action filter_type
action find
entity Q40
relation P530
type Q15617994
[ANSWER]
['Q40', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c rdf:type ontology:Q15617994 . resource:Q40 property:P530 ?c }
France Liechtenstein Kenya Serbia Italy
5
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type designation for an administrative territorial entity
['Austria', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Austria property:diplomatic_relation ?c }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q41
P530
Q15617994
USER
And also tell me about Greece?
(Q41,P530,c(Q15617994))
action count
action filter_type
action find
entity Q41
relation P530
type Q15617994
['Q41', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { resource:Q41 property:P530 ?y . ?y rdf:type ontology:Q15617994 }
Greece
action count
action filter_type
action find
entity Greece
relation diplomatic relation
type designation for an administrative territorial entity
['Greece', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { resource:Greece property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
3
Q155 Q38 Q801
(Q41,P530,c(Q15617994))
action count
action filter_type
action find
entity Q41
relation P530
type Q15617994
[ANSWER]
['Q41', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { resource:Q41 property:P530 ?y . ?y rdf:type ontology:Q15617994 }
Brazil Italy Israel
3
action count
action filter_type
action find
entity Greece
relation diplomatic relation
type designation for an administrative territorial entity
['Greece', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { resource:Greece property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q230
Q15617994
USER
And how about Georgia?
(Q230,P530,c(Q15617994))
action count
action filter_type
action find
entity Q230
relation P530
type Q15617994
['Q230', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { resource:Q230 property:P530 ?s . ?s rdf:type ontology:Q15617994 }
Georgia
action count
action filter_type
action find
entity Georgia
relation diplomatic relation
type designation for an administrative territorial entity
['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { resource:Georgia property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
80
(Q230,P530,c(Q15617994))
action count
action filter_type
action find
entity Q230
relation P530
type Q15617994
[ANSWER]
['Q230', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { resource:Q230 property:P530 ?s . ?s rdf:type ontology:Q15617994 }
80
action count
action filter_type
action find
entity Georgia
relation diplomatic relation
type designation for an administrative territorial entity
['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { resource:Georgia property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q836 Q41
P85
Q484692
USER
Which hymns are the national anthems of Greece or Myanmar ?
OR((Q41,P85,c(Q484692)), (Q836,P85,c(Q484692)))
action filter_type
action union
action find
entity Q41
relation P85
action find
entity Q836
relation P85
type Q484692
{'OR': [['Q41', 'P85', {'concept': 'Q484692'}], ['Q836', 'P85', {'concept': 'Q484692'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?t ) { ( resource:Q41 ) ( resource:Q836 ) } . ?t property:P85 ?z } . ?z rdf:type ontology:Q484692 }
Myanmar Greece
action filter_type
action union
action find
entity Greece
relation anthem
action find
entity Myanmar
relation anthem
type hymn
{'OR': [['Greece', 'anthem', {'concept': 'hymn'}], ['Myanmar', 'anthem', {'concept': 'hymn'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?t ) { ( resource:Greece ) ( resource:Myanmar ) } . ?t property:anthem ?z } . ?z rdf:type ontology:hymn }
[]
hymn
Q214449 Q176665
SYSTEM
Kaba Ma Kyei, Hymn to Liberty
Q214449 Q176665
OR((Q41,P85,c(Q484692)), (Q836,P85,c(Q484692)))
action filter_type
action union
action find
entity Q41
relation P85
action find
entity Q836
relation P85
type Q484692
[ANSWERS] are the national anthems of Greece or Myanmar
{'OR': [['Q41', 'P85', {'concept': 'Q484692'}], ['Q836', 'P85', {'concept': 'Q484692'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?t ) { ( resource:Q41 ) ( resource:Q836 ) } . ?t property:P85 ?z } . ?z rdf:type ontology:Q484692 }
Kaba Ma Kyei Hymn to Liberty
Kaba Ma Kyei and Hymn to Liberty are the national anthems of Greece or Myanmar
Kaba Ma Kyei Hymn to Liberty
action filter_type
action union
action find
entity Greece
relation anthem
action find
entity Myanmar
relation anthem
type hymn
{'OR': [['Greece', 'anthem', {'concept': 'hymn'}], ['Myanmar', 'anthem', {'concept': 'hymn'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?t ) { ( resource:Greece ) ( resource:Myanmar ) } . ?t property:anthem ?z } . ?z rdf:type ontology:hymn }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P85
Q484692 Q271669 Q5589178
USER
Which hymns are the anthems for atmost 1 landforms or regimes ?
(c(Q271669)|c(Q5589178),P85,c(Q484692))
action atmost
action union
action find_reverse_tuple_counts
relation P85
type Q484692
type Q271669
action find_reverse_tuple_counts
relation P85
type Q484692
type Q5589178
value 1
[[{'concept': 'Q271669'}, {'concept': 'Q5589178'}], 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?y <= 1 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) ?l WHERE { { ?l rdf:type ontology:Q484692 . ?h rdf:type ontology:Q5589178 . ?h property:P85 ?l } UNION { ?h property:P85 ?l . ?l rdf:type ontology:Q484692 . ?h rdf:type ontology:Q271669 } } GROUP BY ?l } }
action atmost
action union
action find_reverse_tuple_counts
relation anthem
type hymn
type landform
action find_reverse_tuple_counts
relation anthem
type hymn
type regime
value 1
[[{'concept': 'landform'}, {'concept': 'regime'}], 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?y <= 1 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) ?l WHERE { { ?l rdf:type ontology:hymn . ?h rdf:type ontology:regime . ?h property:anthem ?l } UNION { ?h property:anthem ?l . ?l rdf:type ontology:hymn . ?h rdf:type ontology:landform } } GROUP BY ?l } }
[]
hymn landform regime
Q165747 Q908519 Q1225991
SYSTEM
Der er et yndigt land, Kong Christian stod ved højen mast, National Anthem of Russia
Q209973 Q311367 Q200742 Q1193820 Q237878 Q192792 Q1334863 Q602974 Q660117 Q223537 Q190226 Q202137 Q336345 Q1330359 Q171602 Q176665 Q142260 Q147367 Q579160 Q179078 Q161744 Q4384 Q1199595 Q170601 Q1063994 Q752655 Q876594 Q126658 Q202635 Q699190 Q120143 Q2028103 Q1150982 Q648596 Q854853 Q1138705 Q185128 Q628682 Q1378214 Q160036 Q1190532 Q213267 Q874542 Q179968 Q966075 Q756708 Q602433 Q1067084 Q162483 Q754928 Q495351 Q217535 Q549704 Q623034 Q2666285 Q156914 Q623039 Q1144009 Q471849 Q185190 Q169201 Q336299 Q48147 Q682679 Q581991 Q336291 Q403336 Q204643 Q1192863 Q273260 Q344452 Q4138464 Q242718 Q682613 Q4138462 Q271864 Q251918 Q690016 Q876575 Q161049 Q271052 Q1066716 Q505717 Q44696 Q273244 Q1146473 Q188662 Q721190 Q272751 Q631618 Q1064182 Q1740575 Q1928655 Q214449 Q503135 Q43978 Q133261 Q75543 Q1190343 Q211047 Q168731 Q908519 Q1377327 Q45788 Q580374 Q373510 Q1036517 Q1640665 Q4484804 Q324342 Q464551 Q640136 Q1209767 Q157999 Q1136402 Q1064003 Q233961 Q548242 Q1144355 Q1142935 Q212973 Q857605 Q309468 Q208153 Q949638 Q11993 Q905016 Q1051855 Q243996 Q15402214 Q745806 Q234655 Q81534 Q753873 Q1192911 Q211130 Q184540 Q1187971 Q327108 Q1191408 Q146502 Q1138695 Q665559 Q570327 Q212725 Q484161 Q237591 Q235316 Q483968 Q326886 Q156136 Q235441 Q131713 Q752650 Q1074993 Q327746 Q266593 Q182115 Q161539 Q503118 Q336306 Q154035 Q483590 Q26693 Q371559 Q716364 Q2641577 Q199739 Q230228 Q200079 Q273106 Q11178664 Q858680 Q463986 Q320708 Q193233 Q172495 Q169215 Q231910 Q905777 Q130940 Q634111 Q271585 Q263089 Q1093864 Q242744 Q231725 Q745219 Q771255 Q215077 Q1072837 Q628417 Q646622 Q1522013 Q842503 Q182268 Q755676 Q413650 Q1060556 Q217987 Q463375 Q164259 Q459013 Q747890 Q221708 Q273110 Q336273 Q30562 Q166362 Q1147730 Q1061851 Q857953 Q845284 Q992460 Q849863 Q489607 Q704760 Q222294 Q1369729 Q491552 Q1346354 Q849850 Q3696299 Q202166 Q690008 Q423807 Q1148469 Q2058180 Q213733 Q110159 Q203048 Q1225991 Q238826 Q790300 Q1045701 Q845207 Q866223 Q170582 Q133198 Q206429 Q1353616 Q1075941 Q256615 Q1050025 Q283407 Q1209589 Q93359 Q684643 Q2080743 Q467988 Q3877793 Q214459 Q166944 Q45861 Q110193 Q165747 Q2666281 Q233391 Q1191090 Q242723 Q191802 Q3803622 Q207868 Q3347824 Q862755 Q1317821 Q1180760 Q160672 Q38878 Q1376659 Q182536 Q1133287 Q227866 Q209951 Q1149579 Q505728 Q3113768 Q858826 Q1063992 Q626220
(c(Q271669)|c(Q5589178),P85,c(Q484692))
action atmost
action union
action find_reverse_tuple_counts
relation P85
type Q484692
type Q271669
action find_reverse_tuple_counts
relation P85
type Q484692
type Q5589178
value 1
[ANSWERS] are the anthems for atmost 1 landforms or regimes
[[{'concept': 'Q271669'}, {'concept': 'Q5589178'}], 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?y <= 1 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) ?l WHERE { { ?l rdf:type ontology:Q484692 . ?h rdf:type ontology:Q5589178 . ?h property:P85 ?l } UNION { ?h property:P85 ?l . ?l rdf:type ontology:Q484692 . ?h rdf:type ontology:Q271669 } } GROUP BY ?l } }
Majulah Singapura National Anthem of Kuwait Mexican National Anthem National Anthem of the Udmurt Republic Arise, O Compatriots L-Innu Malti Imperial Anthem of Iran Belau rekid Gaumii salaam Nunarput utoqqarsuanngoravit Inno e Marcia Pontificale God Defend New Zealand Land of the Free Tooruktug Dolgay Tangdym Bilady, Bilady, Bilady Hymn to Liberty Indonesia Raya Hey, Slavs Europe Ko e Iki he Lagi Shche ne vmerla Ukraina Anthem of the Byelorussian Soviet Socialist Republic National Anthem of the Republic of Tatarstan Advance Australia Fair National Anthem of the Republic of North Ossetia–Alania Hail Grenada De Vlaamse Leeuw Land der Berge, Land am Strome Ee Mungu Nguvu Yetu Isle of Man National Anthem National Anthem of Uzbekistan National Anthem of the Republic of Dagestan Yā Banīy As-Saharā Negaraku Jedna si jedina Anthem of the Republic of Adygea Denes nad Makedonija O Arise, All You Sons Sarnia Cherie Hen Wlad Fy Nhadau Anthem of the Lithuanian Soviet Socialist Republic Qaumi Taranah Walla Zaman Ya Selahy Afghan National Anthem state anthem of Chuvashia Tuvalu mo te Atua Independência total Anthem of the Latvian Soviet Socialist Republic Maamme Meniñ Qazaqstanım Grönnens Laid La Nigérienne High We Exalt Thee, Realm of the Free Pheng Xat Lao National Anthem of the Altai Republic Dievs, svētī Latviju! Salve, Oh Patria Anthem of the Republic of Buryatia Noble patria, tu hermosa bandera Bože Pravde Zdrobite cătuşe Pincez Tous vos Koras, Frappez les Balafons Auferstanden aus Ruinen Humat Al Hima National Anthem of the Mari El Republic Inno Nazionale della Repubblica Aiaaira Jamaica, Land We Love Imperial anthems of the Ottoman Empire God Bless Our Homeland Ghana İstiklâl Marşı National Anthem of Karachay-Cherkessia L'Abidjanaise Pátria Amada National Anthem of Ingushetia National anthem of Mongolia National Anthem of the Soviet Union National Anthem of Bolivia Sons and Daughters of Saint Lucia A Portuguesa Ålänningens sång Anthem of Transnistria National Anthem of Barbados The Star-Spangled Banner For The Gambia Our Homeland Anthem of the Ukrainian Soviet Socialist Republic Državna himna Bosne i Hercegovine Azat u ankakh Artsakh Yumi, Yumi Nokor Reach Ubavoj nam Crnoj Gori Worker's Marseillaise Preußenlied Kaba Ma Kyei Djibouti (anthem) Tautiška giesmė Du gamla, du fria Anthem of the Georgian Soviet Socialist Republic Anthem of the Moldavian Soviet Socialist Republic National Anthem of the Islamic Republic of Iran Himni i Flamurit Kong Christian stod ved højen mast Anthem of the Uzbek Soviet Socialist Republic Himnusz Nkulunkulu Mnikati wetibusiso temaSwati March Forward, Dear Mother Ethiopia Land of the Rising Sun Hymne National Voltaïque Qolobaa Calankeed All Hail, Liberia, Hail! Une Seule Nuit Ardulfurataini Watan Pitcairn Anthem Oj, svijetla majska zoro Rise, O Voices of Rhodesia Moja Republika Namibia, Land of the Brave Nahnu Jund Allah Jund Al-watan Dideba Gong Jin'ou Tú alfagra land mítt Ertra, Ertra, Ertra Humat ad-Diyar Gloria al Bravo Pueblo National anthem of the Orange Free State Anthem of Europe Wien Neêrlands Bloed Le Retour des Princes français à Paris Pour l'Afrique et pour toi National anthem of People's Republic of Kampuchea Sri Lanka Matha Bahrainona Kimi Ga Yo Himno Istmeño Anthem of the Republic of Karelia God Bless Fiji Deșteaptă-te, române! National anthem of the Transvaal God zij met ons Suriname Anthem of the Karelo-Finnish Soviet Socialist Republic Lijepa naša domovino Tera di Solo y suave biento Hawaiʻi Ponoʻī Patriots of Micronesia Lupang Hinirang National Anthem of Chile La Bayamesa National Anthem of Saudi Arabia Azərbaycan marşı Burundi Bwacu March of the Volunteers Druk tsendhen Wilhelmus Esta É a Nossa Pátria Bem Amada Himno di Kòrsou Pátria Himno Nacional de Guatemala Mila Rodino The Brabançonne Rwanda Nziza National Anthem of Uruguay Mungu ibariki Afrika Kde domov můj? National anthem of Turkmenistan Sayaun Thunga Phool Ka Aruba Dushi Tera Dap Prampi Mesa Chokchey Amar Shonar Bangla Kassaman Tavisupleba Ry Tanindrazanay malala ô! Czechoslovak anthem Dear Land of Guyana, of Rivers and Plains Lesotho Fatse La Bontata Rona La Congolaise Aegukga Argentine National Anthem Zdravljica Aegukka Hino da Independência Marcha Real Nashid as-Salaam as-Sultani Els Segadors Für Danzig Inno al Re Limba noastră National anthem of South Africa Salve a ti, Nicaragua Ey Reqîb Mulungu dalitsa Malaŵi First Iranian national anthem National Anthem of Zimbabwe Stand Ye Guamanians Gi Talo Gi Halom Tasi National Anthem of Honduras Land of Hope and Glory Ko e fasi 'o e tu'i 'o e 'Otu Tonga National Anthem of the Kyrgyz Republic Anthem of the Azerbaijan Soviet Socialist Republic Mawtini Stand and Sing of Zambia, Proud and Free Mer Hayrenik Soomaaliyeey toosoo Liberté Fatshe leno la rona L'Aube Nouvelle Motherland Gott erhalte Franz den Kaiser Mu isamaa, mu õnn ja rõõm Te Atua Mou E The Banner of Freedom God Save Our Solomon Islands National anthem of Mauritania Himno de Riego Forged from the Love of Liberty And did those feet in ancient time National Anthem of Manchukuo Debout Congolais Hymn of Crimea Allah Peliharakan Sultan La Zaïroise Koste Seselwa Deg Tegh Fateh Ons Heemecht Udzima wa ya Masiwa Ishy Bilady Nkosi Sikelel' iAfrika Patrioticheskaya Pesnya La Tchadienne Cântico da Liberdade National anthem of Yemen National Anthem of Russia Cherifian Anthem Ave Crux Alba Teirake Kaini Kiribati Fida'i National Anthem of the Dominican Republic Lofsöngur Ja, vi elsker dette landet O Cameroon, Cradle of Our Forefathers Thanh Niên Hành Khúc La Borinqueña Bayernhymne O Land of Beauty! The Royal Anthem of Jordan Virgin Islands March O Canada Isle of Beauty, Isle of Splendour La bandera blanca y verde La Renaissance Noi vogliam Dio, Vergine Maria La Dessalinienne Nad Tatrou sa blýska Libya, Libya, Libya Oh Uganda, Land of Beauty Der er et yndigt land National Anthem of the Sakha Republic Himno Nacional de la República de Colombia Anthem of the Tajik Soviet Socialist Republic La Concorde Surudi Milli Khalmg Tanghchin chastr Thai National Anthem O Sweet Saint Martin's Land Salut à toi, pays de nos aïeux National Anthem of the Kingdom of Yugoslavia De Alde Friezen Amhrán na bhFiann National Anthem of the Republic of Mordovia National Anthem of the Republic of Bashkortostan Swiss Psalm Samo ku waar Angola Avante Nauru Bwiema Giải phóng miền Nam National Anthem of El Salvador Đăng đàn cung ఫరెవర్ మార్షల్ ఐలాండ్స్ National Anthem of South Ossetia national anthem of Paraguay
Der er et yndigt land, Kong Christian stod ved højen mast and National Anthem of Russia are the anthems for atmost 1 landforms or regimes
Der er et yndigt land Kong Christian stod ved højen mast National Anthem of Russia
action atmost
action union
action find_reverse_tuple_counts
relation anthem
type hymn
type landform
action find_reverse_tuple_counts
relation anthem
type hymn
type regime
value 1
[[{'concept': 'landform'}, {'concept': 'regime'}], 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?y <= 1 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) ?l WHERE { { ?l rdf:type ontology:hymn . ?h rdf:type ontology:regime . ?h property:anthem ?l } UNION { ?h property:anthem ?l . ?l rdf:type ontology:hymn . ?h rdf:type ontology:landform } } GROUP BY ?l } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q165747 Q908519 Q1225991
P676
Q502895
USER
Who wrote the lyrics for Der er et yndigt land, Kong Christian stod ved højen mast and National Anthem of Russia ?
(Q165747,P676,c(Q502895)) (Q908519,P676,c(Q502895)) (Q1225991,P676,c(Q502895))
action union
action filter_type
action find
entity Q165747
relation P676
type Q502895
action filter_type
action find
entity Q908519
relation P676
type Q502895
action filter_type
action find
entity Q1225991
relation P676
type Q502895
['Q165747', 'P676', {'concept': 'Q502895'}] ['Q908519', 'P676', {'concept': 'Q502895'}] ['Q1225991', 'P676', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { resource:Q165747 property:P676 ?y . ?y rdf:type ontology:Q502895 } UNION { resource:Q908519 property:P676 ?y . ?y rdf:type ontology:Q502895 } }
Der er et yndigt land Kong Christian stod ved højen mast National Anthem of Russia
action union
action filter_type
action find
entity Der er et yndigt land
relation lyrics by
type common name
action filter_type
action find
entity Kong Christian stod ved højen mast
relation lyrics by
type common name
action filter_type
action find
entity National Anthem of Russia
relation lyrics by
type common name
['Der er et yndigt land', 'lyrics by', {'concept': 'common name'}] ['Kong Christian stod ved højen mast', 'lyrics by', {'concept': 'common name'}] ['National Anthem of Russia', 'lyrics by', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { resource:Der_er_et_yndigt_land property:lyrics_by ?y . ?y rdf:type ontology:common_name } UNION { resource:Kong_Christian_stod_ved_højen_mast property:lyrics_by ?y . ?y rdf:type ontology:common_name } }
[]
common name
Q168356 Q553844 Q208116
SYSTEM
Adam Oehlenschläger, Johannes Ewald, Sergey Mikhalkov
Q168356 Q553844 Q208116
(Q165747,P676,c(Q502895)) (Q908519,P676,c(Q502895)) (Q1225991,P676,c(Q502895))
action union
action filter_type
action find
entity Q165747
relation P676
type Q502895
action filter_type
action find
entity Q908519
relation P676
type Q502895
action filter_type
action find
entity Q1225991
relation P676
type Q502895
[ANSWERS] wrote the lyrics for Der er et yndigt land, Kong Christian stod ved højen mast and National Anthem of Russia
['Q165747', 'P676', {'concept': 'Q502895'}] ['Q908519', 'P676', {'concept': 'Q502895'}] ['Q1225991', 'P676', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { resource:Q165747 property:P676 ?y . ?y rdf:type ontology:Q502895 } UNION { resource:Q908519 property:P676 ?y . ?y rdf:type ontology:Q502895 } }
Adam Oehlenschläger Johannes Ewald Sergey Mikhalkov
Adam Oehlenschläger, Johannes Ewald and Sergey Mikhalkov wrote the lyrics for Der er et yndigt land, Kong Christian stod ved højen mast and National Anthem of Russia
Adam Oehlenschläger Johannes Ewald Sergey Mikhalkov
action union
action filter_type
action find
entity Der er et yndigt land
relation lyrics by
type common name
action filter_type
action find
entity Kong Christian stod ved højen mast
relation lyrics by
type common name
action filter_type
action find
entity National Anthem of Russia
relation lyrics by
type common name
['Der er et yndigt land', 'lyrics by', {'concept': 'common name'}] ['Kong Christian stod ved højen mast', 'lyrics by', {'concept': 'common name'}] ['National Anthem of Russia', 'lyrics by', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { resource:Der_er_et_yndigt_land property:lyrics_by ?y . ?y rdf:type ontology:common_name } UNION { resource:Kong_Christian_stod_ved_højen_mast property:lyrics_by ?y . ?y rdf:type ontology:common_name } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q168356 Q553844 Q208116
P106
Q12737077
USER
Which occupations have those people as his/her 's career ?
(Q168356,P106,c(Q12737077)) (Q553844,P106,c(Q12737077)) (Q208116,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q168356', 'P106', {'concept': 'Q12737077'}] ['Q553844', 'P106', {'concept': 'Q12737077'}] ['Q208116', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?q ) { ( resource:Q168356 ) ( resource:Q553844 ) ( resource:Q208116 ) } . ?o rdf:type ontology:Q12737077 . ?q property:P106 ?o }
Adam Oehlenschläger Johannes Ewald Sergey Mikhalkov
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Adam Oehlenschläger', 'occupation', {'concept': 'occupation'}] ['Johannes Ewald', 'occupation', {'concept': 'occupation'}] ['Sergey Mikhalkov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?q ) { ( resource:Adam_Oehlenschläger ) ( resource:Johannes_Ewald ) ( resource:Sergey_Mikhalkov ) } . ?o rdf:type ontology:occupation . ?q property:occupation ?o }
[]
occupation
Q1622272 Q822146 Q49757
SYSTEM
university teacher, lyricist, poet
Q1622272 Q49757 Q8178443 Q36180 Q36180 Q49757 Q4853732 Q36180 Q18844224 Q753110 Q822146 Q49757
(Q168356,P106,c(Q12737077)) (Q553844,P106,c(Q12737077)) (Q208116,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
The [ANSWERS] have those people as his/her 's career
['Q168356', 'P106', {'concept': 'Q12737077'}] ['Q553844', 'P106', {'concept': 'Q12737077'}] ['Q208116', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?q ) { ( resource:Q168356 ) ( resource:Q553844 ) ( resource:Q208116 ) } . ?o rdf:type ontology:Q12737077 . ?q property:P106 ?o }
university teacher poet librettist writer writer poet children's writer writer science fiction writer songwriter lyricist poet
The university teacher, lyricist and poet have those people as his/her 's career
university teacher lyricist poet
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Adam Oehlenschläger', 'occupation', {'concept': 'occupation'}] ['Johannes Ewald', 'occupation', {'concept': 'occupation'}] ['Sergey Mikhalkov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?q ) { ( resource:Adam_Oehlenschläger ) ( resource:Johannes_Ewald ) ( resource:Sergey_Mikhalkov ) } . ?o rdf:type ontology:occupation . ?q property:occupation ?o }
[]
Clarification
Simple Question|Single Entity|Indirect
Q49757
P425
Q1792379
USER
Which art genre has that one as thier associated field of occupation ?
(Q49757,P425,c(Q1792379))
action filter_type
action find
entity Q49757
relation P425
type Q1792379
['Q49757', 'P425', {'concept': 'Q1792379'}]
SELECT DISTINCT ?r WHERE { resource:Q49757 property:P425 ?r . ?r rdf:type ontology:Q1792379 }
poet
action filter_type
action find
entity poet
relation field of this occupation
type art genre
['poet', 'field of this occupation', {'concept': 'art genre'}]
SELECT DISTINCT ?r WHERE { resource:poet property:field_of_this_occupation ?r . ?r rdf:type ontology:art_genre }
[]
art genre
Clarification for simple ques.
Q1622272
SYSTEM
Did you mean university teacher ?
Q1622272 Q822146 Q49757
(Q1622272,P425,c(Q1792379)) (Q822146,P425,c(Q1792379)) (Q49757,P425,c(Q1792379))
[ANSWER]
['Q1622272', 'P425', {'concept': 'Q1792379'}] ['Q822146', 'P425', {'concept': 'Q1792379'}] ['Q49757', 'P425', {'concept': 'Q1792379'}]
SELECT DISTINCT ?r WHERE { resource:Q49757 property:P425 ?r . ?r rdf:type ontology:Q1792379 }
university teacher lyricist poet
Did you mean university teacher ?
university teacher
['university teacher', 'field of this occupation', {'concept': 'art genre'}] ['lyricist', 'field of this occupation', {'concept': 'art genre'}] ['poet', 'field of this occupation', {'concept': 'art genre'}]
SELECT DISTINCT ?r WHERE { resource:poet property:field_of_this_occupation ?r . ?r rdf:type ontology:art_genre }
[]
Simple Question (Coreferenced)
USER
No, I meant poet. Could you tell me the answer for that?
(Q49757,P425,c(Q1792379))
Q49757
['Q49757', 'P425', {'concept': 'Q1792379'}]
['poet', 'field of this occupation', {'concept': 'art genre'}]
[]
Q482
SYSTEM
poetry
Q482
(Q49757,P425,c(Q1792379))
action filter_type
action find
entity Q49757
relation P425
type Q1792379
Is [ANSWER] has that one as thier associated field of occupation
['Q49757', 'P425', {'concept': 'Q1792379'}]
SELECT DISTINCT ?r WHERE { resource:Q49757 property:P425 ?r . ?r rdf:type ontology:Q1792379 }
poetry
Is poetry has that one as thier associated field of occupation
poetry
action filter_type
action find
entity poet
relation field of this occupation
type art genre
['poet', 'field of this occupation', {'concept': 'art genre'}]
SELECT DISTINCT ?r WHERE { resource:poet property:field_of_this_occupation ?r . ?r rdf:type ontology:art_genre }
[]