Simple Question (Direct)
Simple Question
Q3188955
P106
Q12737077
USER
Which occupation has Jules Vannérus as his/her 's career ?
(Q3188955,P106,c(Q12737077))
action filter_type
action find
entity Q3188955
relation P106
type Q12737077
['Q3188955', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q3188955 property:P106 ?s }
Jules Vannérus
action filter_type
action find
entity Jules Vannérus
relation occupation
type occupation
['Jules Vannérus', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Jules_Vannérus property:occupation ?s }
[]
occupation
Q635734
SYSTEM
archivist
Q635734
(Q3188955,P106,c(Q12737077))
action filter_type
action find
entity Q3188955
relation P106
type Q12737077
[ANSWER] has Jules Vannérus as his/her 's career
['Q3188955', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q3188955 property:P106 ?s }
archivist
Archivist has Jules Vannérus as his/her 's career
archivist
action filter_type
action find
entity Jules Vannérus
relation occupation
type occupation
['Jules Vannérus', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Jules_Vannérus property:occupation ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3188955
P21
Q290
USER
Which sex does that person possess ?
(Q635734,P21,c(Q290))
action filter_type
action find
entity Q3188955
relation P21
type Q290
['Q635734', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q3188955 property:P21 ?v . ?v rdf:type ontology:Q290 }
Jules Vannérus
action filter_type
action find
entity Jules Vannérus
relation gender
type sex
['archivist', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Jules_Vannérus property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q635734,P21,c(Q290))
action filter_type
action find
entity Q3188955
relation P21
type Q290
That person possesses a [ANSWER]
['Q635734', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q3188955 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Jules Vannérus
relation gender
type sex
['archivist', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Jules_Vannérus property:gender ?v . ?v rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q5566022 Q3188955
P21
Q290
USER
And also Joseph Barnby
AND((Q3188955,P21,c(Q290)), (Q5566022,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q3188955
relation P21
action find
entity Q5566022
relation P21
type Q290
{'AND': [['Q3188955', 'P21', {'concept': 'Q290'}], ['Q5566022', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?a WHERE { resource:Q3188955 property:P21 ?a . resource:Q5566022 property:P21 ?a . ?a rdf:type ontology:Q290 }
Joseph Barnby Jules Vannérus
action filter_type
action intersection
action find
entity Jules Vannérus
relation gender
action find
entity Joseph Barnby
relation gender
type sex
{'AND': [['Jules Vannérus', 'gender', {'concept': 'sex'}], ['Joseph Barnby', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?a WHERE { resource:Jules_Vannérus property:gender ?a . resource:Joseph_Barnby property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q3188955,P21,c(Q290)), (Q5566022,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q3188955
relation P21
action find
entity Q5566022
relation P21
type Q290
[ANSWER]
{'AND': [['Q3188955', 'P21', {'concept': 'Q290'}], ['Q5566022', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?a WHERE { resource:Q3188955 property:P21 ?a . resource:Q5566022 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
male
action filter_type
action intersection
action find
entity Jules Vannérus
relation gender
action find
entity Joseph Barnby
relation gender
type sex
{'AND': [['Jules Vannérus', 'gender', {'concept': 'sex'}], ['Joseph Barnby', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?a WHERE { resource:Jules_Vannérus property:gender ?a . resource:Joseph_Barnby property:gender ?a . ?a rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q635734
P425
Q5962346
USER
How many classification schemes are associated with the field of occupation archivist ?
(Q635734,P425,c(Q5962346))
action count
action filter_type
action find
entity Q635734
relation P425
type Q5962346
['Q635734', 'P425', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { resource:Q635734 property:P425 ?j . ?j rdf:type ontology:Q5962346 }
archivist
action count
action filter_type
action find
entity archivist
relation field of this occupation
type classification scheme
['archivist', 'field of this occupation', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { resource:archivist property:field_of_this_occupation ?j . ?j rdf:type ontology:classification_scheme }
[]
classification scheme
SYSTEM
1
Q380313
(Q635734,P425,c(Q5962346))
action count
action filter_type
action find
entity Q635734
relation P425
type Q5962346
[ANSWER]
['Q635734', 'P425', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { resource:Q635734 property:P425 ?j . ?j rdf:type ontology:Q5962346 }
archival science
1
action count
action filter_type
action find
entity archivist
relation field of this occupation
type classification scheme
['archivist', 'field of this occupation', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { resource:archivist property:field_of_this_occupation ?j . ?j rdf:type ontology:classification_scheme }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q327029
P425
Q5962346
USER
And also tell me about mechanic?
(Q327029,P425,c(Q5962346))
action count
action filter_type
action find
entity Q327029
relation P425
type Q5962346
['Q327029', 'P425', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Q327029 property:P425 ?u . ?u rdf:type ontology:Q5962346 }
mechanic
action count
action filter_type
action find
entity mechanic
relation field of this occupation
type classification scheme
['mechanic', 'field of this occupation', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:mechanic property:field_of_this_occupation ?u . ?u rdf:type ontology:classification_scheme }
[]
classification scheme
SYSTEM
1
Q41217
(Q327029,P425,c(Q5962346))
action count
action filter_type
action find
entity Q327029
relation P425
type Q5962346
[ANSWER]
['Q327029', 'P425', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Q327029 property:P425 ?u . ?u rdf:type ontology:Q5962346 }
mechanics
1
action count
action filter_type
action find
entity mechanic
relation field of this occupation
type classification scheme
['mechanic', 'field of this occupation', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:mechanic property:field_of_this_occupation ?u . ?u rdf:type ontology:classification_scheme }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q7019111
Q5962346
USER
And what about social worker?
(Q7019111,P425,c(Q5962346))
action count
action filter_type
action find
entity Q7019111
relation P425
type Q5962346
['Q7019111', 'P425', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Q7019111 property:P425 ?a . ?a rdf:type ontology:Q5962346 }
social worker
action count
action filter_type
action find
entity social worker
relation field of this occupation
type classification scheme
['social worker', 'field of this occupation', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:social_worker property:field_of_this_occupation ?a . ?a rdf:type ontology:classification_scheme }
[]
classification scheme
SYSTEM
1
(Q7019111,P425,c(Q5962346))
action count
action filter_type
action find
entity Q7019111
relation P425
type Q5962346
[ANSWER]
['Q7019111', 'P425', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Q7019111 property:P425 ?a . ?a rdf:type ontology:Q5962346 }
1
action count
action filter_type
action find
entity social worker
relation field of this occupation
type classification scheme
['social worker', 'field of this occupation', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:social_worker property:field_of_this_occupation ?a . ?a rdf:type ontology:classification_scheme }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6506380 Q3188955
P20
Q515
USER
Which cities did the expiration of Jules Vannérus or LeMoine FitzGerald occur ?
OR((Q3188955,P20,c(Q515)), (Q6506380,P20,c(Q515)))
action filter_type
action union
action find
entity Q3188955
relation P20
action find
entity Q6506380
relation P20
type Q515
{'OR': [['Q3188955', 'P20', {'concept': 'Q515'}], ['Q6506380', 'P20', {'concept': 'Q515'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q3188955 property:P20 ?p } UNION { resource:Q6506380 property:P20 ?p } } . ?p rdf:type ontology:Q515 }
LeMoine FitzGerald Jules Vannérus
action filter_type
action union
action find
entity Jules Vannérus
relation place of death
action find
entity LeMoine FitzGerald
relation place of death
type city
{'OR': [['Jules Vannérus', 'place of death', {'concept': 'city'}], ['LeMoine FitzGerald', 'place of death', {'concept': 'city'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Jules_Vannérus property:place_of_death ?p } UNION { resource:LeMoine_FitzGerald property:place_of_death ?p } } . ?p rdf:type ontology:city }
[]
city
Q9005 Q2135
SYSTEM
Brussels, Winnipeg
Q9005 Q2135
OR((Q3188955,P20,c(Q515)), (Q6506380,P20,c(Q515)))
action filter_type
action union
action find
entity Q3188955
relation P20
action find
entity Q6506380
relation P20
type Q515
The expiration of Jules Vannérus or LeMoine FitzGerald occurred in [ANSWERS]
{'OR': [['Q3188955', 'P20', {'concept': 'Q515'}], ['Q6506380', 'P20', {'concept': 'Q515'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q3188955 property:P20 ?p } UNION { resource:Q6506380 property:P20 ?p } } . ?p rdf:type ontology:Q515 }
Brussels Winnipeg
The expiration of Jules Vannérus or LeMoine FitzGerald occurred in Brussels and Winnipeg
Brussels Winnipeg
action filter_type
action union
action find
entity Jules Vannérus
relation place of death
action find
entity LeMoine FitzGerald
relation place of death
type city
{'OR': [['Jules Vannérus', 'place of death', {'concept': 'city'}], ['LeMoine FitzGerald', 'place of death', {'concept': 'city'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Jules_Vannérus property:place_of_death ?p } UNION { resource:LeMoine_FitzGerald property:place_of_death ?p } } . ?p rdf:type ontology:city }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1793709
P190
Q515 Q1048835
USER
Which political territories are partner town of approximately the same number of cities as Iúna, Espírito Santo ?
(c(Q1048835),P190,c(Q515))
action approx
action find_tuple_counts
relation P190
type Q1048835
type Q515
action count
action filter_type
action find
entity Q1793709
relation P190
type Q1048835
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?y ) WHERE { ?r property:P190 ?g . ?r rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q515 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { resource:Q1793709 property:P190 ?p . ?p rdf:type ontology:Q1048835 } } . FILTER ( ?y = ?z ) }
Iúna, Espírito Santo
action approx
action find_tuple_counts
relation sister city
type political territorial entity
type city
action count
action filter_type
action find
entity Iúna, Espírito Santo
relation sister city
type political territorial entity
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?y ) WHERE { ?r property:sister_city ?g . ?r rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:city } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { resource:Iúna,_Espírito_Santo property:sister_city ?p . ?p rdf:type ontology:political_territorial_entity } } . FILTER ( ?y = ?z ) }
[]
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 approx
action find_tuple_counts
relation P190
type Q1048835
type Q515
action count
action filter_type
action find
entity Q1793709
relation P190
type Q1048835
[ANSWERS] are partner town of approximately the same number of cities as Iúna, Espírito Santo
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?y ) WHERE { ?r property:P190 ?g . ?r rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q515 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { resource:Q1793709 property:P190 ?p . ?p rdf:type ontology:Q1048835 } } . FILTER ( ?y = ?z ) }
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 partner town of approximately the same number of cities as Iúna, Espírito Santo
Saint Kitts and Nevis The Bahamas Montblanc
action approx
action find_tuple_counts
relation sister city
type political territorial entity
type city
action count
action filter_type
action find
entity Iúna, Espírito Santo
relation sister city
type political territorial entity
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?y ) WHERE { ?r property:sister_city ?g . ?r rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:city } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { resource:Iúna,_Espírito_Santo property:sister_city ?p . ?p rdf:type ontology:political_territorial_entity } } . FILTER ( ?y = ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q13022
P190
Q515 Q1048835
USER
And also tell me about Amer?
(c(Q1048835),P190,c(Q515))
action approx
action find_tuple_counts
relation P190
type Q1048835
type Q515
action count
action filter_type
action find
entity Q13022
relation P190
type Q1048835
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?e ) WHERE { ?u property:P190 ?s . ?u rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q515 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { resource:Q13022 property:P190 ?w . ?w rdf:type ontology:Q1048835 } } . FILTER ( ?e = ?v ) }
Amer
action approx
action find_tuple_counts
relation sister city
type political territorial entity
type city
action count
action filter_type
action find
entity Amer
relation sister city
type political territorial entity
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?e ) WHERE { ?u property:sister_city ?s . ?u rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:city } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { resource:Amer property:sister_city ?w . ?w rdf:type ontology:political_territorial_entity } } . FILTER ( ?e = ?v ) }
[]
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 approx
action find_tuple_counts
relation P190
type Q1048835
type Q515
action count
action filter_type
action find
entity Q13022
relation P190
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?e ) WHERE { ?u property:P190 ?s . ?u rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q515 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { resource:Q13022 property:P190 ?w . ?w rdf:type ontology:Q1048835 } } . FILTER ( ?e = ?v ) }
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 Montblanc
action approx
action find_tuple_counts
relation sister city
type political territorial entity
type city
action count
action filter_type
action find
entity Amer
relation sister city
type political territorial entity
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?e ) WHERE { ?u property:sister_city ?s . ?u rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:city } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { resource:Amer property:sister_city ?w . ?w rdf:type ontology:political_territorial_entity } } . FILTER ( ?e = ?v ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q763 Q778 Q761735
P6
Q502895
USER
Which people do Saint Kitts and Nevis, The Bahamas and Montblanc serve as the head of government for ?
(Q763,P6,c(Q502895)) (Q778,P6,c(Q502895)) (Q761735,P6,c(Q502895))
action union
action filter_type
action find
entity Q763
relation P6
type Q502895
action filter_type
action find
entity Q778
relation P6
type Q502895
action filter_type
action find
entity Q761735
relation P6
type Q502895
['Q763', 'P6', {'concept': 'Q502895'}] ['Q778', 'P6', {'concept': 'Q502895'}] ['Q761735', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?x property:P6 ?d . VALUES ( ?x ) { ( resource:Q763 ) ( resource:Q778 ) } }
Saint Kitts and Nevis The Bahamas Montblanc
action union
action filter_type
action find
entity Saint Kitts and Nevis
relation head of government
type common name
action filter_type
action find
entity The Bahamas
relation head of government
type common name
action filter_type
action find
entity Montblanc
relation head of government
type common name
['Saint Kitts and Nevis', 'head of government', {'concept': 'common name'}] ['The Bahamas', 'head of government', {'concept': 'common name'}] ['Montblanc', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?x property:head_of_government ?d . VALUES ( ?x ) { ( resource:Saint_Kitts_and_Nevis ) ( resource:The_Bahamas ) } }
[]
common name
Q57738 Q57705 Q11037788
SYSTEM
Denzil Douglas, Perry Christie, Josep Andreu Domingo
Q57738 Q57705 Q11037788
(Q763,P6,c(Q502895)) (Q778,P6,c(Q502895)) (Q761735,P6,c(Q502895))
action union
action filter_type
action find
entity Q763
relation P6
type Q502895
action filter_type
action find
entity Q778
relation P6
type Q502895
action filter_type
action find
entity Q761735
relation P6
type Q502895
Saint Kitts and Nevis , The Bahamas and Montblanc serve as the head of government for [ANSWERS]
['Q763', 'P6', {'concept': 'Q502895'}] ['Q778', 'P6', {'concept': 'Q502895'}] ['Q761735', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?x property:P6 ?d . VALUES ( ?x ) { ( resource:Q763 ) ( resource:Q778 ) } }
Denzil Douglas Perry Christie Josep Andreu Domingo
Saint Kitts and Nevis , The Bahamas and Montblanc serve as the head of government for Denzil Douglas, Perry Christie and Josep Andreu Domingo
Denzil Douglas Perry Christie Josep Andreu Domingo
action union
action filter_type
action find
entity Saint Kitts and Nevis
relation head of government
type common name
action filter_type
action find
entity The Bahamas
relation head of government
type common name
action filter_type
action find
entity Montblanc
relation head of government
type common name
['Saint Kitts and Nevis', 'head of government', {'concept': 'common name'}] ['The Bahamas', 'head of government', {'concept': 'common name'}] ['Montblanc', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?x property:head_of_government ?d . VALUES ( ?x ) { ( resource:Saint_Kitts_and_Nevis ) ( resource:The_Bahamas ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q57705
P991
Q1076105
USER
Which general election had that person as its successful candidate ?
(c(Q1076105),P991,Q57705)
action filter_type
action find_reverse
entity Q57705
relation P991
type Q1076105
[{'concept': 'Q1076105'}, 'P991', 'Q57705']
SELECT DISTINCT ?k WHERE { ?k property:P991 resource:Q57705 . ?k rdf:type ontology:Q1076105 }
Perry Christie
action filter_type
action find_reverse
entity Perry Christie
relation successful candidate
type general election
[{'concept': 'general election'}, 'successful candidate', 'Perry Christie']
SELECT DISTINCT ?k WHERE { ?k property:successful_candidate resource:Perry_Christie . ?k rdf:type ontology:general_election }
[]
general election
Clarification for simple ques.
Q11037788
SYSTEM
Did you mean Josep Andreu Domingo ?
Q57738 Q57705 Q11037788
(c(Q1076105),P991,Q57738) (c(Q1076105),P991,Q57705) (c(Q1076105),P991,Q11037788)
[ANSWER]
[{'concept': 'Q1076105'}, 'P991', 'Q57738'] [{'concept': 'Q1076105'}, 'P991', 'Q57705'] [{'concept': 'Q1076105'}, 'P991', 'Q11037788']
SELECT DISTINCT ?k WHERE { ?k property:P991 resource:Q57705 . ?k rdf:type ontology:Q1076105 }
Denzil Douglas Perry Christie Josep Andreu Domingo
Did you mean Josep Andreu Domingo ?
Josep Andreu Domingo
[{'concept': 'general election'}, 'successful candidate', 'Denzil Douglas'] [{'concept': 'general election'}, 'successful candidate', 'Perry Christie'] [{'concept': 'general election'}, 'successful candidate', 'Josep Andreu Domingo']
SELECT DISTINCT ?k WHERE { ?k property:successful_candidate resource:Perry_Christie . ?k rdf:type ontology:general_election }
[]
Simple Question (Coreferenced)
USER
No, I meant Perry Christie. Could you tell me the answer for that?
(c(Q1076105),P991,Q57705)
Q57705
[{'concept': 'Q1076105'}, 'P991', 'Q57705']
[{'concept': 'general election'}, 'successful candidate', 'Perry Christie']
[]
Q4842398
SYSTEM
Bahamian general election, 2012
Q4842398
(c(Q1076105),P991,Q57705)
action filter_type
action find_reverse
entity Q57705
relation P991
type Q1076105
[ANSWER] had that person as its successful candidate
[{'concept': 'Q1076105'}, 'P991', 'Q57705']
SELECT DISTINCT ?k WHERE { ?k property:P991 resource:Q57705 . ?k rdf:type ontology:Q1076105 }
Bahamian general election, 2012
Bahamian general election, 2012 had that person as its successful candidate
Bahamian general election, 2012
action filter_type
action find_reverse
entity Perry Christie
relation successful candidate
type general election
[{'concept': 'general election'}, 'successful candidate', 'Perry Christie']
SELECT DISTINCT ?k WHERE { ?k property:successful_candidate resource:Perry_Christie . ?k rdf:type ontology:general_election }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4842398
P991
Q502895
USER
Who was the elected person from that general election ?
(Q4842398,P991,c(Q502895))
action filter_type
action find
entity Q4842398
relation P991
type Q502895
['Q4842398', 'P991', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q4842398 property:P991 ?y . ?y rdf:type ontology:Q502895 }
Bahamian general election, 2012
action filter_type
action find
entity Bahamian general election, 2012
relation successful candidate
type common name
['Bahamian general election, 2012', 'successful candidate', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Bahamian_general_election,_2012 property:successful_candidate ?y . ?y rdf:type ontology:common_name }
[]
common name
Q57705
SYSTEM
Perry Christie
Q57705
(Q4842398,P991,c(Q502895))
action filter_type
action find
entity Q4842398
relation P991
type Q502895
The elected person from that general election was the [ANSWER]
['Q4842398', 'P991', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q4842398 property:P991 ?y . ?y rdf:type ontology:Q502895 }
Perry Christie
The elected person from that general election was the Perry Christie
Perry Christie
action filter_type
action find
entity Bahamian general election, 2012
relation successful candidate
type common name
['Bahamian general election, 2012', 'successful candidate', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Bahamian_general_election,_2012 property:successful_candidate ?y . ?y rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q14128049 Q57705
P6
Q1048835
USER
Which political territories are Perry Christie or Victorino Martinez Lopez the head of the goverment of ?
OR((c(Q1048835),P6,Q57705), (c(Q1048835),P6,Q14128049))
action filter_type
action union
action find_reverse
entity Q57705
relation P6
action find_reverse
entity Q14128049
relation P6
type Q1048835
{'OR': [[{'concept': 'Q1048835'}, 'P6', 'Q57705'], [{'concept': 'Q1048835'}, 'P6', 'Q14128049']]}
SELECT DISTINCT ?f WHERE { { ?f property:P6 ?r . VALUES ( ?r ) { ( resource:Q57705 ) ( resource:Q14128049 ) } } . ?f rdf:type ontology:Q1048835 }
Victorino Martinez Lopez Perry Christie
action filter_type
action union
action find_reverse
entity Perry Christie
relation head of government
action find_reverse
entity Victorino Martinez Lopez
relation head of government
type political territorial entity
{'OR': [[{'concept': 'political territorial entity'}, 'head of government', 'Perry Christie'], [{'concept': 'political territorial entity'}, 'head of government', 'Victorino Martinez Lopez']]}
SELECT DISTINCT ?f WHERE { { ?f property:head_of_government ?r . VALUES ( ?r ) { ( resource:Perry_Christie ) ( resource:Victorino_Martinez_Lopez ) } } . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1921039 Q778
SYSTEM
Monasterio de Vega, The Bahamas
Q1921039 Q778
OR((c(Q1048835),P6,Q57705), (c(Q1048835),P6,Q14128049))
action filter_type
action union
action find_reverse
entity Q57705
relation P6
action find_reverse
entity Q14128049
relation P6
type Q1048835
Are Perry Christie or Victorino Martinez Lopez the head of the goverment of El [ANSWERS]
{'OR': [[{'concept': 'Q1048835'}, 'P6', 'Q57705'], [{'concept': 'Q1048835'}, 'P6', 'Q14128049']]}
SELECT DISTINCT ?f WHERE { { ?f property:P6 ?r . VALUES ( ?r ) { ( resource:Q57705 ) ( resource:Q14128049 ) } } . ?f rdf:type ontology:Q1048835 }
Monasterio de Vega The Bahamas
Are Perry Christie or Victorino Martinez Lopez the head of the goverment of El Monasterio de Vega and The Bahamas
Monasterio de Vega The Bahamas
action filter_type
action union
action find_reverse
entity Perry Christie
relation head of government
action find_reverse
entity Victorino Martinez Lopez
relation head of government
type political territorial entity
{'OR': [[{'concept': 'political territorial entity'}, 'head of government', 'Perry Christie'], [{'concept': 'political territorial entity'}, 'head of government', 'Victorino Martinez Lopez']]}
SELECT DISTINCT ?f WHERE { { ?f property:head_of_government ?r . VALUES ( ?r ) { ( resource:Perry_Christie ) ( resource:Victorino_Martinez_Lopez ) } } . ?f rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1921039 Q778
P1001
Q12737077
USER
Which occupations have jurisdiction over Monasterio de Vega and The Bahamas ?
(c(Q12737077),P1001,Q1921039) (c(Q12737077),P1001,Q778)
action union
action filter_type
action find_reverse
entity Q1921039
relation P1001
type Q12737077
action filter_type
action find_reverse
entity Q778
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q1921039'] [{'concept': 'Q12737077'}, 'P1001', 'Q778']
SELECT DISTINCT ?d WHERE { ?d property:P1001 ?y . VALUES ( ?y ) { ( resource:Q1921039 ) ( resource:Q778 ) } }
Monasterio de Vega The Bahamas
action union
action filter_type
action find_reverse
entity Monasterio de Vega
relation applies to jurisdiction
type occupation
action filter_type
action find_reverse
entity The Bahamas
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Monasterio de Vega'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'The Bahamas']
SELECT DISTINCT ?d WHERE { ?d property:applies_to_jurisdiction ?y . VALUES ( ?y ) { ( resource:Monasterio_de_Vega ) ( resource:The_Bahamas ) } }
[]
occupation
Q26869642 Q5589512 Q17601986
SYSTEM
monarch of the Bahamas, Governor-General of the Bahamas, Member of the House of Assembly of the Bahamas
Q26697242 Q26869642 Q5589512 Q17601986 Q20725063
(c(Q12737077),P1001,Q1921039) (c(Q12737077),P1001,Q778)
action union
action filter_type
action find_reverse
entity Q1921039
relation P1001
type Q12737077
action filter_type
action find_reverse
entity Q778
relation P1001
type Q12737077
The [ANSWERS] have jurisdiction over Monasterio de Vega and The Bahamas
[{'concept': 'Q12737077'}, 'P1001', 'Q1921039'] [{'concept': 'Q12737077'}, 'P1001', 'Q778']
SELECT DISTINCT ?d WHERE { ?d property:P1001 ?y . VALUES ( ?y ) { ( resource:Q1921039 ) ( resource:Q778 ) } }
mayor of Monasterio de Vega monarch of the Bahamas Governor-General of the Bahamas Member of the House of Assembly of the Bahamas senator of the Bahamas
The monarch of the Bahamas, Governor-General of the Bahamas and Member of the House of Assembly of the Bahamas have jurisdiction over Monasterio de Vega and The Bahamas
monarch of the Bahamas Governor-General of the Bahamas Member of the House of Assembly of the Bahamas
action union
action filter_type
action find_reverse
entity Monasterio de Vega
relation applies to jurisdiction
type occupation
action filter_type
action find_reverse
entity The Bahamas
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Monasterio de Vega'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'The Bahamas']
SELECT DISTINCT ?d WHERE { ?d property:applies_to_jurisdiction ?y . VALUES ( ?y ) { ( resource:Monasterio_de_Vega ) ( resource:The_Bahamas ) } }
[]