Simple Question (Direct)
Simple Question
Q761677
P27
Q1048835
USER
Which political territory is the native country of August Heinrich Bruinier ?
(Q761677,P27,c(Q1048835))
action filter_type
action find
entity Q761677
relation P27
type Q1048835
['Q761677', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { resource:Q761677 property:P27 ?r . ?r rdf:type ontology:Q1048835 }
August Heinrich Bruinier
action filter_type
action find
entity August Heinrich Bruinier
relation country of citizenship
type political territorial entity
['August Heinrich Bruinier', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:August_Heinrich_Bruinier property:country_of_citizenship ?r . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q761677,P27,c(Q1048835))
action filter_type
action find
entity Q761677
relation P27
type Q1048835
The [ANSWER] is the native country of August Heinrich Bruinier
['Q761677', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { resource:Q761677 property:P27 ?r . ?r rdf:type ontology:Q1048835 }
Germany
The Germany is the native country of August Heinrich Bruinier
Germany
action filter_type
action find
entity August Heinrich Bruinier
relation country of citizenship
type political territorial entity
['August Heinrich Bruinier', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:August_Heinrich_Bruinier property:country_of_citizenship ?r . ?r rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q761677
P1303
Q34379
USER
Which musical instrument is played by August Heinrich Bruinier ?
(Q761677,P1303,c(Q34379))
action filter_type
action find
entity Q761677
relation P1303
type Q34379
['Q761677', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { resource:Q761677 property:P1303 ?l . ?l rdf:type ontology:Q34379 }
August Heinrich Bruinier
action filter_type
action find
entity August Heinrich Bruinier
relation instrument
type musical instrument
['August Heinrich Bruinier', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { resource:August_Heinrich_Bruinier property:instrument ?l . ?l rdf:type ontology:musical_instrument }
[]
musical instrument
Q8355
SYSTEM
violin
Q8355
(Q761677,P1303,c(Q34379))
action filter_type
action find
entity Q761677
relation P1303
type Q34379
The [ANSWER] is played by August Heinrich Bruinier
['Q761677', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { resource:Q761677 property:P1303 ?l . ?l rdf:type ontology:Q34379 }
violin
The violin is played by August Heinrich Bruinier
violin
action filter_type
action find
entity August Heinrich Bruinier
relation instrument
type musical instrument
['August Heinrich Bruinier', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { resource:August_Heinrich_Bruinier property:instrument ?l . ?l rdf:type ontology:musical_instrument }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P190
Q20667921 Q486972 Q1048835
USER
Which political territories are sister town of min number of french administrative divisions or human settlements ?
(c(Q1048835),P190,c(Q20667921)|c(Q486972))
action argmin
action union
action find_tuple_counts
relation P190
type Q1048835
type Q20667921
action find_tuple_counts
relation P190
type Q1048835
type Q486972
[{'concept': 'Q1048835'}, 'P190', [{'concept': 'Q20667921'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) ?i WHERE { VALUES ( ?z ) { ( ontology:Q486972 ) ( ontology:Q20667921 ) } . ?r rdf:type ?z } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) ?c WHERE { ?n rdf:type ?p . VALUES ( ?p ) { ( ontology:Q20667921 ) ( ontology:Q486972 ) } } GROUP BY ?c } . FILTER ( ?y = ?m ) }
action argmin
action union
action find_tuple_counts
relation sister city
type political territorial entity
type type of french administrative division
action find_tuple_counts
relation sister city
type political territorial entity
type human settlement
[{'concept': 'political territorial entity'}, 'sister city', [{'concept': 'type of french administrative division'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) ?i WHERE { VALUES ( ?z ) { ( ontology:human_settlement ) ( ontology:type_of_french_administrative_division ) } . ?r rdf:type ?z } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) ?c WHERE { ?n rdf:type ?p . VALUES ( ?p ) { ( ontology:type_of_french_administrative_division ) ( ontology:human_settlement ) } } GROUP BY ?c } . FILTER ( ?y = ?m ) }
[]
type of french administrative division human settlement political territorial entity
Q16572 Q763 Q778
SYSTEM
Guangzhou, Saint Kitts and Nevis, The Bahamas
Q473250 Q484717 Q1442814 Q1628188 Q1794732 Q484552 Q15471 Q786126 Q1643855 Q927931 Q1765078 Q6022 Q2101408 Q5913 Q187826 Q2047561 Q1391501 Q207111 Q164197 Q926713 Q15619 Q321331 Q1853429 Q667682 Q686837 Q8554 Q433632 Q12595 Q842713 Q210887 Q30002 Q659450 Q189952 Q693258 Q12153 Q4480 Q496368 Q686304 Q624967 Q11286 Q20937 Q13156 Q824651 Q208669 Q8602 Q15430 Q984508 Q7909 Q109188 Q7902 Q538809 Q7905 Q7907 Q63004 Q752280 Q326651 Q41157 Q899884 Q832246 Q542958 Q2566267 Q164867 Q1793709 Q499922 Q1655081 Q376393 Q3741 Q2392504 Q34028 Q226009 Q54902 Q1439157 Q398698 Q505610 Q1621191 Q13916 Q487268 Q13424 Q535531 Q180200 Q1637478 Q1407143 Q1101945 Q694833 Q1110343 Q13785 Q574340 Q178993 Q15950 Q3850873 Q161945 Q917693 Q156819 Q1757489 Q258722 Q1613282 Q550974 Q254699 Q824122 Q1010314 Q1915208 Q478818 Q102848 Q15602 Q1750269 Q180981 Q1651727 Q489839 Q740833 Q487801 Q13855 Q15649 Q913492 Q1786658 Q12028 Q1919317 Q1635711 Q3397684 Q205681 Q48344 Q1650316 Q11822 Q15429 Q8182 Q691525 Q980131 Q33961 Q1758806 Q616621 Q7898 Q583032 Q739495 Q7894 Q1386351 Q462218 Q817960 Q167436 Q1763754 Q840373 Q767222 Q1763574 Q189848 Q1641529 Q12102 Q1757392 Q192370 Q377244 Q847329 Q1993019 Q13922 Q604810 Q512009 Q131620 Q385017 Q12075 Q1632577 Q170247 Q4068849 Q1754551 Q844038 Q1807777 Q492533 Q638181 Q1648251 Q622836 Q622830 Q672483 Q15968 Q993466 Q1639365 Q430147 Q1758141 Q2004395 Q6178 Q13491 Q936624 Q1641454 Q534483 Q1605505 Q555913 Q729958 Q12034 Q468563 Q2967 Q856583 Q944264 Q2099330 Q632621 Q581589 Q932808 Q122208 Q696797 Q1616138 Q1794121 Q1229949 Q18288148 Q763 Q207257 Q1228759 Q488555 Q49571 Q983473 Q3586 Q1026229 Q643919 Q10863 Q5978 Q515016 Q714538 Q928094 Q668324 Q582995 Q484981 Q1649698 Q385923 Q677038 Q12534 Q1767561 Q550985 Q13804 Q1601614 Q574869 Q13936 Q2064788 Q619692 Q16572 Q1641746 Q23042 Q1998560 Q211925 Q5783 Q5785 Q835012 Q976534 Q202316 Q290824 Q13755 Q986084 Q2244278 Q1368868 Q12711 Q1982975 Q817302 Q1630141 Q1757428 Q7911 Q596885 Q77433 Q318314 Q1646869 Q927800 Q41161 Q28301 Q1613587 Q929759 Q622823 Q983433 Q15974 Q830776 Q242906 Q1228035 Q15623 Q15622 Q15621 Q3303729 Q10485 Q671272 Q240 Q1605519 Q946068 Q192387 Q2044406 Q842211 Q1242382 Q201149 Q68744 Q229659 Q904130 Q13159 Q778 Q15408 Q1751916 Q714613 Q646564 Q984642
(c(Q1048835),P190,c(Q20667921)|c(Q486972))
action argmin
action union
action find_tuple_counts
relation P190
type Q1048835
type Q20667921
action find_tuple_counts
relation P190
type Q1048835
type Q486972
[ANSWERS] are sister town of min number of french administrative divisions or human settlements
[{'concept': 'Q1048835'}, 'P190', [{'concept': 'Q20667921'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) ?i WHERE { VALUES ( ?z ) { ( ontology:Q486972 ) ( ontology:Q20667921 ) } . ?r rdf:type ?z } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) ?c WHERE { ?n rdf:type ?p . VALUES ( ?p ) { ( ontology:Q20667921 ) ( ontology:Q486972 ) } } GROUP BY ?c } . FILTER ( ?y = ?m ) }
Macaé San Sebastián de los Reyes Mazaricos Cangas Maracanaú Algeciras Sant Adrià de Besòs Mundaka Monroy Cabra Urussanga Göttingen Guimarães Lüchow-Dannenberg Móstoles Cerdà Briviesca North Lanarkshire Coslada Parintins El Prat de Llobregat Novo Hamburgo Valverde Peñafiel, Spain Karrantza Rhein-Pfalz-Kreis Santa Cruz de La Palma Palafolls Itajaí Sanlúcar de Barrameda Chengdu Santarém Lääne-Viru County San Bartolomé de Tirajana Vilafant Balmaseda Wrexham Itambé Arafo Castelló d'Empúries Gyeonggi Province Montilla Parla Maringá Westerwaldkreis Mollet del Vallès Sant Sadurní d'Anoia Main-Taunus-Kreis Pelotas Marburg-Biedenkopf Peligros Lahn-Dill-Kreis Rheingau-Taunus-Kreis Tocina Almagro, Ciudad Real Pomerode North Jeolla Province Ciutadella de Menorca Duruelo de la Sierra Torrelodones San Borja Rügen Iúna, Espírito Santo Porto Seguro Pastrana Brieskow-Finkenheerd Special Region of Yogyakarta Barreiro Diamantina, Minas Gerais Encantado Fuenlabrada Criciúma Salvatierra/Agurain Flintshire A Estrada Barberà del Vallès Candelaria Cassà de la Selva Farroupilha Harju County Quaraí Santa Amalia Veranópolis Gramado Vélez-Rubio Cavite Las Gabias Palmas Igualada Rivne Torrent Santana do Livramento Joinville Cehegín Canals Alcaudete Atarfe Alanís Tui Museros Torredonjimeno São José dos Pinhais Paiporta Cornellà de Llobregat Nova Pádua Kirovohrad Oblast Pedrajas de San Esteban Torrejón de Ardoz Santa Maria Barakaldo Vic Sant Vicenç dels Horts Manilva Casca, Rio Grande do Sul Teià Benifaió Abanilla Pontarddulais Cascavel Recife Villafeliche Roses Martorelles Rastatt Villa El Salvador District Massaranduba, Santa Catarina Aratiba Arroio do Meio Escalona Hersfeld-Rotenburg Maracena Vilanova de Arousa Schwalm-Eder-Kreis Alcalá del Río Governador Valadares Rhondda Cynon Taf João Pessoa Bigastro Valdemoro Clavijo São Mateus, Espírito Santo Guernica Mora Caldes d'Estrac Ilópolis Tartu County Catoira Comillas Meliana Cerdanyola del Vallès Markina-Xemein San Sebastián de La Gomera Natal Valencia de Don Juan Vilassar de Dalt Benalup-Casas Viejas Jinan Argoncilhe Mostardas Valverde del Camino Itiúba Andorra Alcalá la Real Medina de Rioseco Teresópolis Caruaru Ordizia Santa Margarita de Montbui Santa Cruz Cabrália La Muela Teror São Pedro do Butiá Piraquara Oder-Spree Palamós Fuentepelayo Calatorao Barcarrota Celanova Castril Mochola Alella Nova Friburgo Rendsburg-Eckernförde Gaspar, Santa Catarina Tacoronte, Santa Cruz de Tenerife Vicente López Partido Archena Oyón-Oion Ormaiztegi Olocau Balaguer Pilas Aquiraz El Perelló Metropolitan City of Florence Saint Kitts and Nevis East Lothian La Unión Baeza Sos del Rey Católico Novelda East Java Miraflores Torfaen County Borough Picassent Hildesheim Castuera Zapsonj Ponta Porã San Adrián Lanjarón Láchar Alaquàs Alcúdia San Miguel de Abona Sant Pol de Mar Valverde de Júcar Armilla Manlleu Gerena Pedrola Sant Cugat del Vallès Lapa La Zubia Guangzhou Huelma Paterna Blanca East Renfrewshire Andalusia Cayman Islands Vilafranca del Penedès Castrillo Mota de Judíos Foz do Iguaçu Ondara Bulacan Bétera Tías, Las Palmas Berantevilla Vall de Boí Los Alcázares Benicarló Sayalonga Monte Belo do Sul Main-Kinzig-Kreis Blaenau Gwent County Borough Leganés Ipatinga Les Alqueries Bronniki 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 Deggendorf Calp Brussels Zuera Lezama Londrina L'Alcúdia San Fernando de Henares Elorrio Fife Xiamen Zumaia Ribeira Cañete la Real The Bahamas Castellterçol Villanueva del Pardillo Serne Santo Domingo de la Calzada Canfranc
Guangzhou, Saint Kitts and Nevis and The Bahamas are sister town of min number of french administrative divisions or human settlements
Guangzhou Saint Kitts and Nevis The Bahamas
action argmin
action union
action find_tuple_counts
relation sister city
type political territorial entity
type type of french administrative division
action find_tuple_counts
relation sister city
type political territorial entity
type human settlement
[{'concept': 'political territorial entity'}, 'sister city', [{'concept': 'type of french administrative division'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) ?i WHERE { VALUES ( ?z ) { ( ontology:human_settlement ) ( ontology:type_of_french_administrative_division ) } . ?r rdf:type ?z } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) ?c WHERE { ?n rdf:type ?p . VALUES ( ?p ) { ( ontology:type_of_french_administrative_division ) ( ontology:human_settlement ) } } GROUP BY ?c } . FILTER ( ?y = ?m ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1582176 Q761677
P20
Q56061
USER
Which administrative territories did August Heinrich Bruinier and Hans Rößner expire ?
AND((Q761677,P20,c(Q56061)), (Q1582176,P20,c(Q56061)))
action filter_type
action intersection
action find
entity Q761677
relation P20
action find
entity Q1582176
relation P20
type Q56061
{'AND': [['Q761677', 'P20', {'concept': 'Q56061'}], ['Q1582176', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q1582176 property:P20 ?t . resource:Q761677 property:P20 ?t }
Hans Rößner August Heinrich Bruinier
action filter_type
action intersection
action find
entity August Heinrich Bruinier
relation place of death
action find
entity Hans Rößner
relation place of death
type administrative territorial entity
{'AND': [['August Heinrich Bruinier', 'place of death', {'concept': 'administrative territorial entity'}], ['Hans Rößner', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:Hans_Rößner property:place_of_death ?t . resource:August_Heinrich_Bruinier property:place_of_death ?t }
[]
administrative territorial entity
Q1726
SYSTEM
Munich
Q1726
AND((Q761677,P20,c(Q56061)), (Q1582176,P20,c(Q56061)))
action filter_type
action intersection
action find
entity Q761677
relation P20
action find
entity Q1582176
relation P20
type Q56061
August Heinrich Bruinier and Hans Rößner expired in [ANSWER]
{'AND': [['Q761677', 'P20', {'concept': 'Q56061'}], ['Q1582176', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q1582176 property:P20 ?t . resource:Q761677 property:P20 ?t }
Munich
August Heinrich Bruinier and Hans Rößner expired in Munich
Munich
action filter_type
action intersection
action find
entity August Heinrich Bruinier
relation place of death
action find
entity Hans Rößner
relation place of death
type administrative territorial entity
{'AND': [['August Heinrich Bruinier', 'place of death', {'concept': 'administrative territorial entity'}], ['Hans Rößner', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:Hans_Rößner property:place_of_death ?t . resource:August_Heinrich_Bruinier property:place_of_death ?t }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1726 Q6699338
P19
Q502895
USER
Was Ludwig Spindler born at that administrative territory ?
(Q6699338,P19,Q1726)
action is_in
entity Q1726
action find
entity Q6699338
relation P19
['Q6699338', 'P19', 'Q1726']
ASK WHERE { resource:Q6699338 property:P19 resource:Q1726 }
Munich Ludwig Spindler
action is_in
entity Munich
action find
entity Ludwig Spindler
relation place of birth
['Ludwig Spindler', 'place of birth', 'Munich']
ASK WHERE { resource:Ludwig_Spindler property:place_of_birth resource:Munich }
[]
common name
SYSTEM
YES
(Q6699338,P19,Q1726)
action is_in
entity Q1726
action find
entity Q6699338
relation P19
[ANSWER]
['Q6699338', 'P19', 'Q1726']
ASK WHERE { resource:Q6699338 property:P19 resource:Q1726 }
Yes
action is_in
entity Munich
action find
entity Ludwig Spindler
relation place of birth
['Ludwig Spindler', 'place of birth', 'Munich']
ASK WHERE { resource:Ludwig_Spindler property:place_of_birth resource:Munich }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q24026990
P532
Q56061 Q2235308
USER
How many ship types have more number of administrative territories as their base harbour than Lovely Lass ?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24026990
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?k ) WHERE { ?n property:P532 ?i . ?n rdf:type ontology:Q2235308 . ?i rdf:type ontology:Q56061 } GROUP BY ?n } . FILTER ( ?k > ?a ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { resource:Q24026990 property:P532 ?t . ?t rdf:type ontology:Q2235308 } } }
Lovely Lass
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Lovely Lass
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?k ) WHERE { ?n property:port_of_registry ?i . ?n rdf:type ontology:ship_type . ?i rdf:type ontology:administrative_territorial_entity } GROUP BY ?n } . FILTER ( ?k > ?a ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { resource:Lovely_Lass property:port_of_registry ?t . ?t rdf:type ontology:ship_type } } }
[]
administrative territorial entity ship type
SYSTEM
70
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24026990
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?k ) WHERE { ?n property:P532 ?i . ?n rdf:type ontology:Q2235308 . ?i rdf:type ontology:Q56061 } GROUP BY ?n } . FILTER ( ?k > ?a ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { resource:Q24026990 property:P532 ?t . ?t rdf:type ontology:Q2235308 } } }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
70
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Lovely Lass
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?k ) WHERE { ?n property:port_of_registry ?i . ?n rdf:type ontology:ship_type . ?i rdf:type ontology:administrative_territorial_entity } GROUP BY ?n } . FILTER ( ?k > ?a ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { resource:Lovely_Lass property:port_of_registry ?t . ?t rdf:type ontology:ship_type } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q778
P35
Q502895
USER
Which person has the highest formal authority in The Bahamas ?
(Q778,P35,c(Q502895))
action filter_type
action find
entity Q778
relation P35
type Q502895
['Q778', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q778 property:P35 ?w . ?w rdf:type ontology:Q502895 }
The Bahamas
action filter_type
action find
entity The Bahamas
relation head of state
type common name
['The Bahamas', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:The_Bahamas property:head_of_state ?w . ?w rdf:type ontology:common_name }
[]
common name
Q9682
SYSTEM
Elizabeth II
Q9682
(Q778,P35,c(Q502895))
action filter_type
action find
entity Q778
relation P35
type Q502895
[ANSWER] has the highest formal authority in The Bahamas
['Q778', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q778 property:P35 ?w . ?w rdf:type ontology:Q502895 }
Elizabeth II
Elizabeth II has the highest formal authority in The Bahamas
Elizabeth II
action filter_type
action find
entity The Bahamas
relation head of state
type common name
['The Bahamas', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:The_Bahamas property:head_of_state ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q778
P1532
Q6979593
USER
Whose national association football team is that political territory ?
(c(Q6979593),P1532,Q9682)
action filter_type
action find_reverse
entity Q778
relation P1532
type Q6979593
[{'concept': 'Q6979593'}, 'P1532', 'Q9682']
SELECT DISTINCT ?l WHERE { ?l property:P1532 resource:Q778 . ?l rdf:type ontology:Q6979593 }
The Bahamas
action filter_type
action find_reverse
entity The Bahamas
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Elizabeth II']
SELECT DISTINCT ?l WHERE { ?l property:country_for_sport resource:The_Bahamas . ?l rdf:type ontology:national_association_football_team }
[]
national association football team
Q3277264
SYSTEM
Bahamas women's national football team
Q3277264
(c(Q6979593),P1532,Q9682)
action filter_type
action find_reverse
entity Q778
relation P1532
type Q6979593
[ANSWER] is that political territory
[{'concept': 'Q6979593'}, 'P1532', 'Q9682']
SELECT DISTINCT ?l WHERE { ?l property:P1532 resource:Q778 . ?l rdf:type ontology:Q6979593 }
Bahamas women's national football team
Bahamas women's national football team is that political territory
Bahamas women's national football team
action filter_type
action find_reverse
entity The Bahamas
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Elizabeth II']
SELECT DISTINCT ?l WHERE { ?l property:country_for_sport resource:The_Bahamas . ?l rdf:type ontology:national_association_football_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3277264
P641
Q349
USER
Which sport was that national association football team a part of ?
(Q3277264,P641,c(Q349))
action filter_type
action find
entity Q3277264
relation P641
type Q349
['Q3277264', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q3277264 property:P641 ?p . ?p rdf:type ontology:Q349 }
Bahamas women's national football team
action filter_type
action find
entity Bahamas women's national football team
relation sport
type sport
["Bahamas women's national football team", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Bahamas_women's_national_football_team property:sport ?p . ?p rdf:type ontology:sport }
[]
sport
Q606060
SYSTEM
women's association football
Q606060
(Q3277264,P641,c(Q349))
action filter_type
action find
entity Q3277264
relation P641
type Q349
[ANSWER] was that national association football team a part of
['Q3277264', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q3277264 property:P641 ?p . ?p rdf:type ontology:Q349 }
women's association football
Women's association football was that national association football team a part of
women's association football
action filter_type
action find
entity Bahamas women's national football team
relation sport
type sport
["Bahamas women's national football team", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Bahamas_women's_national_football_team property:sport ?p . ?p rdf:type ontology:sport }
[]