Simple Question (Direct)
Simple Question
Q6233274
P27
Q7275
USER
Which state is John FitzGibbon, 1st Earl of Clare an inhabitant of ?
(Q6233274,P27,c(Q7275))
action filter_type
action find
entity Q6233274
relation P27
type Q7275
['Q6233274', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q7275 . resource:Q6233274 property:P27 ?y }
John FitzGibbon, 1st Earl of Clare
action filter_type
action find
entity John FitzGibbon, 1st Earl of Clare
relation country of citizenship
type state
['John FitzGibbon, 1st Earl of Clare', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:state . resource:John_FitzGibbon,_1st_Earl_of_Clare property:country_of_citizenship ?y }
[]
state
Q215530
SYSTEM
Kingdom of Ireland
Q215530
(Q6233274,P27,c(Q7275))
action filter_type
action find
entity Q6233274
relation P27
type Q7275
The [ANSWER] is John FitzGibbon, 1st Earl of Clare an inhabitant of
['Q6233274', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q7275 . resource:Q6233274 property:P27 ?y }
Kingdom of Ireland
The Kingdom of Ireland is John FitzGibbon, 1st Earl of Clare an inhabitant of
Kingdom of Ireland
action filter_type
action find
entity John FitzGibbon, 1st Earl of Clare
relation country of citizenship
type state
['John FitzGibbon, 1st Earl of Clare', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:state . resource:John_FitzGibbon,_1st_Earl_of_Clare property:country_of_citizenship ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q215530
P194
Q1752346
USER
Which assembly governs that state ?
(Q215530,P194,c(Q1752346))
action filter_type
action find
entity Q215530
relation P194
type Q1752346
['Q215530', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?z WHERE { resource:Q215530 property:P194 ?z . ?z rdf:type ontology:Q1752346 }
Kingdom of Ireland
action filter_type
action find
entity Kingdom of Ireland
relation legislative body
type assembly
['Kingdom of Ireland', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?z WHERE { resource:Kingdom_of_Ireland property:legislative_body ?z . ?z rdf:type ontology:assembly }
[]
assembly
Q1889821
SYSTEM
Irish Parliament
Q1889821
(Q215530,P194,c(Q1752346))
action filter_type
action find
entity Q215530
relation P194
type Q1752346
[ANSWER] governs that state
['Q215530', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?z WHERE { resource:Q215530 property:P194 ?z . ?z rdf:type ontology:Q1752346 }
Irish Parliament
Irish Parliament governs that state
Irish Parliament
action filter_type
action find
entity Kingdom of Ireland
relation legislative body
type assembly
['Kingdom of Ireland', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?z WHERE { resource:Kingdom_of_Ireland property:legislative_body ?z . ?z rdf:type ontology:assembly }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q215530
P140
Q879146
USER
What is the religious affiliation of Kingdom of Ireland ?
(Q215530,P140,c(Q879146))
action filter_type
action find
entity Q215530
relation P140
type Q879146
['Q215530', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?b WHERE { resource:Q215530 property:P140 ?b . ?b rdf:type ontology:Q879146 }
Kingdom of Ireland
action filter_type
action find
entity Kingdom of Ireland
relation religion
type Christian denomination
['Kingdom of Ireland', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?b WHERE { resource:Kingdom_of_Ireland property:religion ?b . ?b rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q215530,P140,c(Q879146))
action filter_type
action find
entity Q215530
relation P140
type Q879146
The religious affiliation of Kingdom of Ireland is a [ANSWER]
['Q215530', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?b WHERE { resource:Q215530 property:P140 ?b . ?b rdf:type ontology:Q879146 }
Roman Catholic Church
The religious affiliation of Kingdom of Ireland is a Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Kingdom of Ireland
relation religion
type Christian denomination
['Kingdom of Ireland', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?b WHERE { resource:Kingdom_of_Ireland property:religion ?b . ?b rdf:type ontology:Christian_denomination }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q215530
P36
Q515
USER
Which city is associated to that state as the capital ?
(Q9592,P36,c(Q515))
action filter_type
action find
entity Q215530
relation P36
type Q515
['Q9592', 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { resource:Q215530 property:P36 ?w . ?w rdf:type ontology:Q515 }
Kingdom of Ireland
action filter_type
action find
entity Kingdom of Ireland
relation capital
type city
['Roman Catholic Church', 'capital', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { resource:Kingdom_of_Ireland property:capital ?w . ?w rdf:type ontology:city }
[]
city
Q1761
SYSTEM
Dublin
Q1761
(Q9592,P36,c(Q515))
action filter_type
action find
entity Q215530
relation P36
type Q515
[ANSWER] is associated to that state as the capital
['Q9592', 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { resource:Q215530 property:P36 ?w . ?w rdf:type ontology:Q515 }
Dublin
Dublin is associated to that state as the capital
Dublin
action filter_type
action find
entity Kingdom of Ireland
relation capital
type city
['Roman Catholic Church', 'capital', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { resource:Kingdom_of_Ireland property:capital ?w . ?w rdf:type ontology:city }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P190
Q515 Q1048835
USER
Which political territories are sister town of min number of cities ?
(c(Q1048835),P190,c(Q515))
action argmin
action find_tuple_counts
relation P190
type Q1048835
type Q515
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?c ) { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?u ) WHERE { ?b property:P190 ?q . ?b rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q515 } GROUP BY ?b } } . FILTER ( ?d = ?c ) . { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?d ) WHERE { ?l property:P190 ?f . ?l rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q515 } GROUP BY ?l } }
action argmin
action find_tuple_counts
relation sister city
type political territorial entity
type city
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?c ) { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?u ) WHERE { ?b property:sister_city ?q . ?b rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:city } GROUP BY ?b } } . FILTER ( ?d = ?c ) . { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?d ) WHERE { ?l property:sister_city ?f . ?l rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:city } GROUP BY ?l } }
[]
city political territorial entity
Q763 Q778 Q761735
SYSTEM
Saint Kitts and Nevis, The Bahamas, Montblanc
Q473250 Q484717 Q1442814 Q5963 Q1628188 Q36947 Q1794732 Q15473 Q484552 Q15471 Q786126 Q1643855 Q13010 Q927931 Q147774 Q1765078 Q6022 Q910410 Q2101408 Q5913 Q187826 Q1312844 Q2047561 Q1391501 Q207111 Q164197 Q15619 Q321331 Q1853429 Q667682 Q686837 Q476793 Q919050 Q8554 Q12590 Q12595 Q1649476 Q210887 Q659450 Q189952 Q693258 Q644891 Q12153 Q4480 Q15470 Q1312654 Q496368 Q686304 Q624967 Q11286 Q20937 Q13150 Q496588 Q13156 Q496424 Q824651 Q208669 Q8602 Q15430 Q984508 Q7909 Q109188 Q7902 Q538809 Q7905 Q815631 Q7907 Q12339 Q63004 Q277302 Q1021521 Q642083 Q752280 Q326651 Q41157 Q899884 Q1750915 Q832246 Q542958 Q2566267 Q752137 Q12647 Q1793709 Q499922 Q1655081 Q376393 Q3741 Q2392504 Q1161455 Q34028 Q211889 Q820229 Q226009 Q54902 Q840362 Q427330 Q596761 Q1439157 Q398698 Q1616611 Q505610 Q12110 Q1621191 Q13916 Q487268 Q13424 Q535531 Q49581 Q180200 Q1637478 Q1407143 Q13521 Q1606055 Q787022 Q1101945 Q844784 Q694833 Q5123 Q1110343 Q1769167 Q13785 Q574340 Q178993 Q15950 Q3850873 Q161945 Q64010 Q140203 Q917693 Q485129 Q156819 Q1757489 Q258722 Q1614754 Q1613282 Q375925 Q550974 Q254699 Q956558 Q12690 Q824122 Q1010314 Q1915208 Q741765 Q102848 Q15602 Q737161 Q1410782 Q583280 Q1750269 Q695889 Q1651727 Q740833 Q487801 Q13855 Q1730870 Q12587 Q15649 Q592747 Q913492 Q1786658 Q750968 Q12022 Q12028 Q500494 Q10436 Q1919317 Q1771128 Q1635711 Q3397684 Q205681 Q428954 Q48344 Q1650316 Q748078 Q11822 Q15429 Q798747 Q8184 Q8182 Q691525 Q980131 Q33961 Q1758806 Q616621 Q1651638 Q7898 Q188905 Q735759 Q583032 Q739495 Q7894 Q15551 Q15553 Q1386351 Q973325 Q15558 Q462218 Q937763 Q898563 Q371748 Q817960 Q693913 Q641221 Q167436 Q12812 Q1763754 Q767222 Q1763574 Q55480 Q1641529 Q12102 Q12101 Q761735 Q281272 Q1757392 Q192370 Q377244 Q847329 Q216802 Q1993019 Q13922 Q604810 Q512009 Q497801 Q1601699 Q131620 Q385017 Q12075 Q221749 Q1632577 Q639422 Q47475 Q11492 Q642046 Q4068849 Q1754551 Q1024828 Q844038 Q1807777 Q492533 Q845424 Q487096 Q491667 Q638181 Q1648251 Q623685 Q622836 Q622830 Q672483 Q748867 Q15968 Q993466 Q1639365 Q430147 Q15639 Q427505 Q1758141 Q2004395 Q6178 Q13490 Q13491 Q836948 Q936624 Q1641454 Q534483 Q1605505 Q555913 Q995637 Q465085 Q729958 Q12034 Q468563 Q2967 Q856583 Q918586 Q944264 Q943431 Q2099330 Q632621 Q581589 Q932808 Q122208 Q1616138 Q1794121 Q1229949 Q1751908 Q18288148 Q763 Q502975 Q1998520 Q477311 Q207257 Q15652 Q984529 Q1228759 Q49571 Q983473 Q695456 Q755695 Q3586 Q1026229 Q851020 Q643919 Q1312465 Q10863 Q515016 Q714538 Q928094 Q668324 Q582995 Q697126 Q484981 Q1272870 Q1651692 Q1649698 Q385923 Q677038 Q501674 Q1767561 Q550985 Q13804 Q741749 Q1628531 Q1601614 Q10445 Q574869 Q919046 Q497692 Q984821 Q837051 Q13936 Q2064788 Q13930 Q619692 Q1641746 Q15597 Q23042 Q1637309 Q1998560 Q211925 Q5785 Q835012 Q976534 Q1368982 Q202316 Q13149 Q290824 Q13755 Q986084 Q2244278 Q1368868 Q12711 Q1982975 Q13614 Q817302 Q6839 Q1630141 Q1757428 Q7911 Q596885 Q1646869 Q927800 Q749696 Q41161 Q28301 Q1613587 Q929759 Q622823 Q983433 Q15974 Q830776 Q242906 Q1228035 Q15623 Q15622 Q15621 Q3303729 Q15626 Q10485 Q671272 Q1657213 Q1607392 Q1605519 Q904212 Q946068 Q2044406 Q842211 Q1242382 Q203040 Q12335 Q229659 Q904130 Q13022 Q13159 Q778 Q15408 Q1751916 Q1768489 Q646564 Q215822 Q984642
(c(Q1048835),P190,c(Q515))
action argmin
action find_tuple_counts
relation P190
type Q1048835
type Q515
[ANSWERS] are sister town of min number of cities
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?c ) { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?u ) WHERE { ?b property:P190 ?q . ?b rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q515 } GROUP BY ?b } } . FILTER ( ?d = ?c ) . { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?d ) WHERE { ?l property:P190 ?f . ?l rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q515 } GROUP BY ?l } }
Macaé San Sebastián de los Reyes Mazaricos Hanover region Cangas Salvador Maracanaú Santa Coloma de Gramenet Algeciras Sant Adrià de Besòs Mundaka Monroy Arbúcies Cabra Zarautz Urussanga Göttingen Tres Cantos Guimarães Lüchow-Dannenberg Móstoles Alberic Cerdà Briviesca North Lanarkshire Coslada El Prat de Llobregat Novo Hamburgo Valverde Peñafiel, Spain Karrantza Arévalo Molina de Aragón Rhein-Pfalz-Kreis Malgrat de Mar Palafolls Algemesí Sanlúcar de Barrameda Santarém Lääne-Viru County San Bartolomé de Tirajana Ruente Vilafant Balmaseda L'Hospitalet de Llobregat Carlet Wrexham Itambé Arafo Castelló d'Empúries Gyeonggi Province Torrox Oñati Montilla Calatayud Parla Maringá Westerwaldkreis Mollet del Vallès Sant Sadurní d'Anoia Main-Taunus-Kreis Pelotas Marburg-Biedenkopf Peligros Lahn-Dill-Kreis Belinho Rheingau-Taunus-Kreis Sant Joan de les Abadesses Tocina Chiclana de la Frontera São João de Loure Arnedo Almagro, Ciudad Real Pomerode North Jeolla Province Ciutadella de Menorca Callosa de Segura Duruelo de la Sierra Torrelodones San Borja Tàrrega Vielha e Mijaran Iúna, Espírito Santo Porto Seguro Pastrana Brieskow-Finkenheerd Special Region of Yogyakarta Barreiro Macael Diamantina, Minas Gerais East Dunbartonshire Tomelloso Encantado Fuenlabrada Mondoñedo Salobreña Malpica de Bergantiños Criciúma Salvatierra/Agurain Crevillent Flintshire Arenys de Mar A Estrada Barberà del Vallès Candelaria Cassà de la Selva Farroupilha Jaca Harju County Quaraí Santa Amalia Sant Feliu de Guíxols Caudete Autol Veranópolis Vale of Glamorgan Gramado Monzón Vélez-Rubio Cigales Cavite Las Gabias Palmas Igualada Rivne Torrent Caspe Zafra Santana do Livramento Burgo de Osma-Ciudad de Osma Joinville Cehegín Canals Medina de Pomar Alcaudete Vila Nova de Cerveira Atarfe Alanís Sádaba Sort Tui Museros Torredonjimeno San Fernando Paiporta Cornellà de Llobregat Calanda Iznalloz Uncastillo Nova Pádua Alfaro, La Rioja Pedrajas de San Esteban Santa Maria Barakaldo Vic Oliveira do Douro, Vila Nova de Gaia Santa Susanna Sant Vicenç dels Horts Las Rozas de Madrid Manilva Casca, Rio Grande do Sul Segorbe Montgat Teià Padrón Kulmbach Benifaió Carcaixent Abanilla Pontarddulais Cascavel Los Palacios y Villafranca Recife Villafeliche Neath Port Talbot County Borough Roses Martorelles Mondorf-les-Bains Enz Rastatt Villa El Salvador District Massaranduba, Santa Catarina Aratiba Arroio do Meio Escalona Cella Hersfeld-Rotenburg Ouro Preto Collado Villalba Maracena Vilanova de Arousa Schwalm-Eder-Kreis Sitges Vilanova i la Geltrú Alcalá del Río Villanueva de la Cañada Cubelles Governador Valadares Graus Valdepeñas San Lorenzo de El Escorial Rhondda Cynon Taf Medina del Campo Viveiro João Pessoa Tortosa Bigastro Clavijo São Mateus, Espírito Santo Colmenar Viejo Mora Caldes d'Estrac Arenys de Munt Montblanc Linares Ilópolis Tartu County Catoira Comillas Falkirk Meliana Cerdanyola del Vallès Markina-Xemein San Sebastián de La Gomera Tolosa Villamanrique de la Condesa Natal Valencia de Don Juan Vilassar de Dalt Torrevieja Benalup-Casas Viejas Pozuelo de Alarcón Sigüenza Mataró Calahorra Argoncilhe Mostardas Luso Valverde del Camino Itiúba Andorra Peniscola Reus San Vicente del Raspeig / Sant Vicent del Raspeig Alcalá la Real Medina de Rioseco Ólvega Teresópolis Caruaru Ordizia Baiona Santa Margarita de Montbui Santa Cruz Cabrália La Muela Teror Sant Feliu de Llobregat Majadahonda São Pedro do Butiá Piraquara Oder-Spree Palafrugell Palamós Toro Fuentepelayo Calatorao Barcarrota Celanova Castril Torredembarra Almadén Mochola Alella Nova Friburgo Rendsburg-Eckernförde Gaspar, Santa Catarina Oliva Tacoronte, Santa Cruz de Tenerife Granadilla de Abona Vicente López Partido Archena Oyón-Oion Ormaiztegi Olocau Pilas Aquiraz El Perelló San Martín de Valdeiglesias Metropolitan City of Florence Saint Kitts and Nevis Barbastro L'Eliana Amposta East Lothian Viladecans Cariñena La Unión Sos del Rey Católico Novelda Bailén Fuenmayor East Java Miraflores Xàbia Torfaen County Borough Benifairó de la Valldigna Picassent Castuera Zapsonj Ponta Porã San Adrián Lanjarón Bridgend County Borough Láchar Santiago de Figueiró Tudela de Duero Alaquàs Alcúdia San Miguel de Abona Alhama de Granada Valverde de Júcar Armilla Manlleu Chipiona Quintanar de la Orden Gerena Forchheim Pedrola Consuegra Arganda del Rey Onda Mequinenza Sant Cugat del Vallès Lapa Almansa La Zubia Huelma Castelldefels Paterna Ezcaray Blanca East Renfrewshire Cayman Islands Vilafranca del Penedès Castrillo Mota de Judíos Azuaga Foz do Iguaçu Nerja Ondara Bulacan Bétera Tías, Las Palmas Berantevilla Vall de Boí Los Alcázares Banyoles Benicarló Figueres Sayalonga Monte Belo do Sul Main-Kinzig-Kreis Blaenau Gwent County Borough Les Alqueries Bronniki Albalat de la Ribera South Jeolla Province Olinda Fregenal de la Sierra El Vendrell Uruguaiana Güímar Vilanova del Camí Yanoshi Ponta Grossa Ugao-Miraballes Martorell Gavà Esplugues de Llobregat Magdalena del Mar Olesa de Montserrat Deggendorf Calp Venta de Baños Madridejos Zuera Fraga Lezama L'Alcúdia San Fernando de Henares Elorrio El Puerto de Santa María Ripoll Zumaia Ribeira Amer Cañete la Real The Bahamas Castellterçol Villanueva del Pardillo Utrillas Santo Domingo de la Calzada Puertollano Canfranc
Saint Kitts and Nevis, The Bahamas and Montblanc are sister town of min number of cities
Saint Kitts and Nevis The Bahamas Montblanc
action argmin
action find_tuple_counts
relation sister city
type political territorial entity
type city
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?c ) { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?u ) WHERE { ?b property:sister_city ?q . ?b rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:city } GROUP BY ?b } } . FILTER ( ?d = ?c ) . { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?d ) WHERE { ?l property:sister_city ?f . ?l rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:city } GROUP BY ?l } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P463
Q484652 Q43229
USER
How many international organizations or organizations were that political territory a member of ?
(Q778,P463,c(Q484652)) (Q778,P463,c(Q43229)) (Q763,P463,c(Q484652)) (Q763,P463,c(Q43229)) (Q778,P463,c(Q484652)) (Q778,P463,c(Q43229)) (Q761735,P463,c(Q484652)) (Q761735,P463,c(Q43229))
['Q778', 'P463', {'concept': 'Q484652'}] ['Q778', 'P463', {'concept': 'Q43229'}] ['Q763', 'P463', {'concept': 'Q484652'}] ['Q763', 'P463', {'concept': 'Q43229'}] ['Q778', 'P463', {'concept': 'Q484652'}] ['Q778', 'P463', {'concept': 'Q43229'}] ['Q761735', 'P463', {'concept': 'Q484652'}] ['Q761735', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q778 property:P463 ?z } UNION { resource:Q778 property:P463 ?y } UNION { resource:Q763 property:P463 ?z } UNION { resource:Q763 property:P463 ?y } UNION { resource:Q778 property:P463 ?z } UNION { resource:Q778 property:P463 ?y } UNION { resource:Q761735 property:P463 ?z } UNION { resource:Q761735 property:P463 ?y } } . ?z rdf:type ontology:Q484652 . ?y rdf:type ontology:Q43229 }
['The Bahamas', 'member of', {'concept': 'international organization'}] ['The Bahamas', 'member of', {'concept': 'organization'}] ['Saint Kitts and Nevis', 'member of', {'concept': 'international organization'}] ['Saint Kitts and Nevis', 'member of', {'concept': 'organization'}] ['The Bahamas', 'member of', {'concept': 'international organization'}] ['The Bahamas', 'member of', {'concept': 'organization'}] ['Montblanc', 'member of', {'concept': 'international organization'}] ['Montblanc', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:The_Bahamas property:member_of ?z } UNION { resource:The_Bahamas property:member_of ?y } UNION { resource:Saint_Kitts_and_Nevis property:member_of ?z } UNION { resource:Saint_Kitts_and_Nevis property:member_of ?y } UNION { resource:The_Bahamas property:member_of ?z } UNION { resource:The_Bahamas property:member_of ?y } UNION { resource:Montblanc property:member_of ?z } UNION { resource:Montblanc property:member_of ?y } } . ?z rdf:type ontology:international_organization . ?y rdf:type ontology:organization }
[]
international organization organization
Quantitative|Count|Mult. entity type|Clarification
Q778
SYSTEM
Did you mean The Bahamas ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q778 property:P463 ?z } UNION { resource:Q778 property:P463 ?y } UNION { resource:Q763 property:P463 ?z } UNION { resource:Q763 property:P463 ?y } UNION { resource:Q778 property:P463 ?z } UNION { resource:Q778 property:P463 ?y } UNION { resource:Q761735 property:P463 ?z } UNION { resource:Q761735 property:P463 ?y } } . ?z rdf:type ontology:Q484652 . ?y rdf:type ontology:Q43229 }
Did you mean The Bahamas ?
The Bahamas
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:The_Bahamas property:member_of ?z } UNION { resource:The_Bahamas property:member_of ?y } UNION { resource:Saint_Kitts_and_Nevis property:member_of ?z } UNION { resource:Saint_Kitts_and_Nevis property:member_of ?y } UNION { resource:The_Bahamas property:member_of ?z } UNION { resource:The_Bahamas property:member_of ?y } UNION { resource:Montblanc property:member_of ?z } UNION { resource:Montblanc property:member_of ?y } } . ?z rdf:type ontology:international_organization . ?y rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q778,P463,c(Q484652)) (Q778,P463,c(Q43229)) (Q763,P463,c(Q484652)) (Q763,P463,c(Q43229)) (Q778,P463,c(Q484652)) (Q778,P463,c(Q43229)) (Q761735,P463,c(Q484652)) (Q761735,P463,c(Q43229))
['Q778', 'P463', {'concept': 'Q484652'}] ['Q778', 'P463', {'concept': 'Q43229'}] ['Q763', 'P463', {'concept': 'Q484652'}] ['Q763', 'P463', {'concept': 'Q43229'}] ['Q778', 'P463', {'concept': 'Q484652'}] ['Q778', 'P463', {'concept': 'Q43229'}] ['Q761735', 'P463', {'concept': 'Q484652'}] ['Q761735', 'P463', {'concept': 'Q43229'}]
['The Bahamas', 'member of', {'concept': 'international organization'}] ['The Bahamas', 'member of', {'concept': 'organization'}] ['Saint Kitts and Nevis', 'member of', {'concept': 'international organization'}] ['Saint Kitts and Nevis', 'member of', {'concept': 'organization'}] ['The Bahamas', 'member of', {'concept': 'international organization'}] ['The Bahamas', 'member of', {'concept': 'organization'}] ['Montblanc', 'member of', {'concept': 'international organization'}] ['Montblanc', 'member of', {'concept': 'organization'}]
[]
SYSTEM
11
Q496967 Q191384 Q1065 Q656801 Q205995 Q899770 Q7785 Q3772571 Q294278 Q1043527 Q827525
(Q778,P463,c(Q484652)) (Q778,P463,c(Q43229)) (Q763,P463,c(Q484652)) (Q763,P463,c(Q43229)) (Q778,P463,c(Q484652)) (Q778,P463,c(Q43229)) (Q761735,P463,c(Q484652)) (Q761735,P463,c(Q43229))
[ANSWER]
['Q778', 'P463', {'concept': 'Q484652'}] ['Q778', 'P463', {'concept': 'Q43229'}] ['Q763', 'P463', {'concept': 'Q484652'}] ['Q763', 'P463', {'concept': 'Q43229'}] ['Q778', 'P463', {'concept': 'Q484652'}] ['Q778', 'P463', {'concept': 'Q43229'}] ['Q761735', 'P463', {'concept': 'Q484652'}] ['Q761735', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q778 property:P463 ?z } UNION { resource:Q778 property:P463 ?y } UNION { resource:Q763 property:P463 ?z } UNION { resource:Q763 property:P463 ?y } UNION { resource:Q778 property:P463 ?z } UNION { resource:Q778 property:P463 ?y } UNION { resource:Q761735 property:P463 ?z } UNION { resource:Q761735 property:P463 ?y } } . ?z rdf:type ontology:Q484652 . ?y rdf:type ontology:Q43229 }
Alliance of Small Island States International Bank for Reconstruction and Development United Nations International Finance Corporation Caribbean Community International Centre for Settlement of Investment Disputes Commonwealth of Nations Caribbean Development Bank African, Caribbean and Pacific Group of States Multilateral Investment Guarantee Agency International Development Association
11
['The Bahamas', 'member of', {'concept': 'international organization'}] ['The Bahamas', 'member of', {'concept': 'organization'}] ['Saint Kitts and Nevis', 'member of', {'concept': 'international organization'}] ['Saint Kitts and Nevis', 'member of', {'concept': 'organization'}] ['The Bahamas', 'member of', {'concept': 'international organization'}] ['The Bahamas', 'member of', {'concept': 'organization'}] ['Montblanc', 'member of', {'concept': 'international organization'}] ['Montblanc', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:The_Bahamas property:member_of ?z } UNION { resource:The_Bahamas property:member_of ?y } UNION { resource:Saint_Kitts_and_Nevis property:member_of ?z } UNION { resource:Saint_Kitts_and_Nevis property:member_of ?y } UNION { resource:The_Bahamas property:member_of ?z } UNION { resource:The_Bahamas property:member_of ?y } UNION { resource:Montblanc property:member_of ?z } UNION { resource:Montblanc property:member_of ?y } } . ?z rdf:type ontology:international_organization . ?y rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P941
Q3895768
USER
Who had France as a source of inspiration ?
(c(Q3895768),P941,Q142)
action filter_type
action find_reverse
entity Q142
relation P941
type Q3895768
[{'concept': 'Q3895768'}, 'P941', 'Q142']
SELECT DISTINCT ?e WHERE { ?e property:P941 resource:Q142 . ?e rdf:type ontology:Q3895768 }
France
action filter_type
action find_reverse
entity France
relation inspired by
type fictional location
[{'concept': 'fictional location'}, 'inspired by', 'France']
SELECT DISTINCT ?e WHERE { ?e property:inspired_by resource:France . ?e rdf:type ontology:fictional_location }
[]
fictional location
Q1144305
SYSTEM
Aquilonia
Q1144305
(c(Q3895768),P941,Q142)
action filter_type
action find_reverse
entity Q142
relation P941
type Q3895768
[ANSWER] had France as a source of inspiration
[{'concept': 'Q3895768'}, 'P941', 'Q142']
SELECT DISTINCT ?e WHERE { ?e property:P941 resource:Q142 . ?e rdf:type ontology:Q3895768 }
Aquilonia
Aquilonia had France as a source of inspiration
Aquilonia
action filter_type
action find_reverse
entity France
relation inspired by
type fictional location
[{'concept': 'fictional location'}, 'inspired by', 'France']
SELECT DISTINCT ?e WHERE { ?e property:inspired_by resource:France . ?e rdf:type ontology:fictional_location }
[]