Simple Question (Direct)
Simple Question
Q1737287
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Árni Böðvarsson ?
(Q1737287,P27,c(Q15617994))
action filter_type
action find
entity Q1737287
relation P27
type Q15617994
['Q1737287', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q1737287 property:P27 ?z }
Árni Böðvarsson
action filter_type
action find
entity Árni Böðvarsson
relation country of citizenship
type designation for an administrative territorial entity
['Árni Böðvarsson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Árni_Böðvarsson property:country_of_citizenship ?z }
[]
designation for an administrative territorial entity
Q189
SYSTEM
Iceland
Q189
(Q1737287,P27,c(Q15617994))
action filter_type
action find
entity Q1737287
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Árni Böðvarsson
['Q1737287', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q1737287 property:P27 ?z }
Iceland
Iceland is the country of citizenship of Árni Böðvarsson
Iceland
action filter_type
action find
entity Árni Böðvarsson
relation country of citizenship
type designation for an administrative territorial entity
['Árni Böðvarsson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Árni_Böðvarsson property:country_of_citizenship ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1737287
P20
Q56061
USER
Where did Árni Böðvarsson die ?
(Q1737287,P20,c(Q56061))
action filter_type
action find
entity Q1737287
relation P20
type Q56061
['Q1737287', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q1737287 property:P20 ?a . ?a rdf:type ontology:Q56061 }
Árni Böðvarsson
action filter_type
action find
entity Árni Böðvarsson
relation place of death
type administrative territorial entity
['Árni Böðvarsson', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Árni_Böðvarsson property:place_of_death ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1764
SYSTEM
Reykjavík
Q1764
(Q1737287,P20,c(Q56061))
action filter_type
action find
entity Q1737287
relation P20
type Q56061
Árni Böðvarsson died in [ANSWER]
['Q1737287', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q1737287 property:P20 ?a . ?a rdf:type ontology:Q56061 }
Reykjavík
Árni Böðvarsson died in Reykjavík
Reykjavík
action filter_type
action find
entity Árni Böðvarsson
relation place of death
type administrative territorial entity
['Árni Böðvarsson', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Árni_Böðvarsson property:place_of_death ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3984290
Q56061
USER
And what about Teresa Gullace?
(Q3984290,P20,c(Q56061))
action filter_type
action find
entity Q3984290
relation P20
type Q56061
['Q3984290', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q3984290 property:P20 ?h . ?h rdf:type ontology:Q56061 }
Teresa Gullace
action filter_type
action find
entity Teresa Gullace
relation place of death
type administrative territorial entity
['Teresa Gullace', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Teresa_Gullace property:place_of_death ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q3984290,P20,c(Q56061))
action filter_type
action find
entity Q3984290
relation P20
type Q56061
[ANSWER]
['Q3984290', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q3984290 property:P20 ?h . ?h rdf:type ontology:Q56061 }
Rome
Rome
action filter_type
action find
entity Teresa Gullace
relation place of death
type administrative territorial entity
['Teresa Gullace', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Teresa_Gullace property:place_of_death ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q24027355
P532
Q56061 Q2235308
USER
Which ship types have greater number of administrative territories as their base harbour than Noah ?
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027355
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?y ) AS ?n ) WHERE { ?v property:P532 ?y . ?v rdf:type ontology:Q2235308 . ?y rdf:type ontology:Q56061 } GROUP BY ?v } . FILTER ( ?n > ?x ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { resource:Q24027355 property:P532 ?w . ?w rdf:type ontology:Q2235308 } } }
Noah
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 Noah
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?y ) AS ?n ) WHERE { ?v property:port_of_registry ?y . ?v rdf:type ontology:ship_type . ?y rdf:type ontology:administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?n > ?x ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { resource:Noah property:port_of_registry ?w . ?w rdf:type ontology:ship_type } } }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q35462
SYSTEM
MS Azura, SS Maxim Gorkiy, RMS Aquitania
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 greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027355
relation P532
type Q2235308
[ANSWERS] have greater number of administrative territories as their base harbour than Noah
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?y ) AS ?n ) WHERE { ?v property:P532 ?y . ?v rdf:type ontology:Q2235308 . ?y rdf:type ontology:Q56061 } GROUP BY ?v } . FILTER ( ?n > ?x ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { resource:Q24027355 property:P532 ?w . ?w 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
MS Azura, SS Maxim Gorkiy and RMS Aquitania have greater number of administrative territories as their base harbour than Noah
MS Azura SS Maxim Gorkiy RMS Aquitania
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 Noah
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?y ) AS ?n ) WHERE { ?v property:port_of_registry ?y . ?v rdf:type ontology:ship_type . ?y rdf:type ontology:administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?n > ?x ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { resource:Noah property:port_of_registry ?w . ?w rdf:type ontology:ship_type } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q23936316
P532
Q56061 Q2235308
USER
And also tell me about Eliza Francis?
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q23936316
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?u ) WHERE { ?f rdf:type ontology:Q2235308 . ?m rdf:type ontology:Q56061 . ?f property:P532 ?m } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { ?v rdf:type ontology:Q2235308 . resource:Q23936316 property:P532 ?v } } . FILTER ( ?u > ?h ) }
Eliza Francis
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 Eliza Francis
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?u ) WHERE { ?f rdf:type ontology:ship_type . ?m rdf:type ontology:administrative_territorial_entity . ?f property:port_of_registry ?m } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { ?v rdf:type ontology:ship_type . resource:Eliza_Francis property:port_of_registry ?v } } . FILTER ( ?u > ?h ) }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q35462
SYSTEM
MS Azura, SS Maxim Gorkiy, RMS Aquitania
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 greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q23936316
relation P532
type Q2235308
[ANSWERS]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?u ) WHERE { ?f rdf:type ontology:Q2235308 . ?m rdf:type ontology:Q56061 . ?f property:P532 ?m } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { ?v rdf:type ontology:Q2235308 . resource:Q23936316 property:P532 ?v } } . FILTER ( ?u > ?h ) }
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
MS Azura SS Maxim Gorkiy RMS Aquitania
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 Eliza Francis
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?u ) WHERE { ?f rdf:type ontology:ship_type . ?m rdf:type ontology:administrative_territorial_entity . ?f property:port_of_registry ?m } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { ?v rdf:type ontology:ship_type . resource:Eliza_Francis property:port_of_registry ?v } } . FILTER ( ?u > ?h ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P291
Q56061 Q1002697 Q11032
USER
Which administrative territories are the locations of publication of atmost 346 periodical literatures and newspapers ?
(c(Q1002697)|c(Q11032),P291,c(Q56061))
action atmost
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action find_reverse_tuple_counts
relation P291
type Q56061
type Q11032
value 346
[[{'concept': 'Q1002697'}, {'concept': 'Q11032'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) ?h WHERE { { ?h rdf:type ontology:Q56061 . ?x rdf:type ontology:Q1002697 . ?x property:P291 ?h } UNION { ?x property:P291 ?h . ?h rdf:type ontology:Q56061 . ?x rdf:type ontology:Q11032 } } GROUP BY ?h } . FILTER ( ?d <= 346 ) }
action atmost
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type newspaper
value 346
[[{'concept': 'periodical literature'}, {'concept': 'newspaper'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) ?h WHERE { { ?h rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:periodical_literature . ?x property:place_of_publication ?h } UNION { ?x property:place_of_publication ?h . ?h rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:newspaper } } GROUP BY ?h } . FILTER ( ?d <= 346 ) }
[]
administrative territorial entity periodical literature newspaper
Q1085 Q72 Q649
SYSTEM
Prague, Zürich, Moscow
Q807 Q909146 Q2536016 Q2512312 Q190583 Q27918 Q736775 Q2035368 Q3897 Q38511 Q3711 Q130191 Q203619 Q393 Q80670 Q25286 Q1544563 Q490595 Q3808 Q501661 Q982367 Q3150 Q484678 Q11974 Q151920 Q13375 Q36378 Q4093 Q2560090 Q10305 Q3404679 Q23337 Q33959 Q987 Q8692 Q23051 Q586 Q2656 Q1289 Q4581188 Q8851 Q10690 Q25748 Q9920 Q15688 Q12155 Q323801 Q15682 Q15684 Q170497 Q1757 Q41876 Q1754 Q1022 Q749 Q99151 Q90 Q39561 Q48329 Q3992 Q2132 Q7880 Q1930 Q949651 Q3846 Q81046 Q597 Q5831 Q22889 Q12892 Q365 Q5836 Q132572 Q6157 Q12411 Q1718 Q43631 Q8818 Q11125 Q8810 Q15283655 Q4713350 Q428829 Q1335 Q1895 Q1034159 Q1155 Q103717 Q28911 Q3400328 Q14323 Q186237 Q14325 Q180233 Q484799 Q14328 Q576110 Q5083 Q1524 Q1489 Q209055 Q2020203 Q3561 Q40347 Q406 Q234178 Q739452 Q8678 Q15468 Q490 Q6346 Q495 Q2044 Q887 Q576165 Q5465 Q2141 Q54217 Q23436 Q1679567 Q2814 Q15093 Q2280 Q162279 Q3141 Q671288 Q72 Q17151 Q1490 Q1191195 Q102217 Q237 Q334 Q239 Q16559 Q16554 Q16555 Q16557 Q486306 Q621 Q8686 Q994 Q1513 Q3130 Q192517 Q1296 Q1297 Q3033 Q936183 Q1563 Q170263 Q35381 Q1748 Q45412 Q87 Q84 Q40269 Q2081145 Q1024911 Q193478 Q5112 Q2103 Q1741 Q178093 Q191133 Q11959 Q35493 Q538915 Q78 Q49111 Q71 Q2617448 Q37100 Q38022 Q36405 Q270 Q286048 Q1235510 Q15678 Q1931927 Q49241 Q3183 Q172157 Q1781 Q33935 Q582121 Q16567 Q1861 Q14318 Q14314 Q5092 Q15090 Q134620 Q956 Q15095 Q15098 Q1492 Q437 Q8745 Q1479 Q13580 Q2766547 Q18419 Q2941325 Q12258 Q202158 Q1017331 Q2090 Q2807 Q49145 Q42735 Q242478 Q327022 Q12225 Q23154 Q220 Q340 Q342 Q10282 Q26421 Q429676 Q672545 Q188304 Q617 Q634054 Q472 Q37995 Q6576 Q6761 Q28249 Q13666 Q761 Q9580 Q569661 Q2634 Q8356 Q3584 Q49179 Q735583 Q1726 Q1724 Q11967 Q1729 Q8717 Q3519 Q64 Q65 Q159232 Q207891 Q2028 Q61 Q62 Q3395358 Q683512 Q18125 Q3889 Q9125 Q5818 Q1867 Q204382 Q12439 Q269 Q27393 Q470445 Q126148 Q1352 Q771986 Q49229 Q33405 Q79990 Q8385 Q493794 Q6537 Q6106 Q2391194 Q10313 Q72259 Q1295 Q19785 Q647 Q641 Q193367 Q727 Q649 Q59169 Q669171 Q204720 Q206988 Q3012 Q24826 Q15699 Q485329 Q15696 Q15695 Q985271 Q28848 Q128306 Q15088 Q3366952 Q997170 Q203263 Q580 Q213898 Q193180 Q585 Q8757 Q34370 Q47048 Q178277 Q192155 Q883 Q207639 Q41262 Q6441 Q125080 Q2066 Q12303 Q100 Q156990 Q3834 Q81137 Q40840 Q955640 Q281839 Q485172 Q26793 Q3426 Q10686 Q211020 Q181854 Q648 Q487786 Q12233 Q172 Q216 Q646620 Q350 Q720627 Q13972 Q215277 Q8826 Q129610 Q179385 Q1348 Q29303 Q628667 Q127159 Q14336 Q34647 Q1085
(c(Q1002697)|c(Q11032),P291,c(Q56061))
action atmost
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action find_reverse_tuple_counts
relation P291
type Q56061
type Q11032
value 346
[ANSWERS] are the locations of publication of atmost 346 periodical literatures and newspapers
[[{'concept': 'Q1002697'}, {'concept': 'Q11032'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) ?h WHERE { { ?h rdf:type ontology:Q56061 . ?x rdf:type ontology:Q1002697 . ?x property:P291 ?h } UNION { ?x property:P291 ?h . ?h rdf:type ontology:Q56061 . ?x rdf:type ontology:Q11032 } } GROUP BY ?h } . FILTER ( ?d <= 346 ) }
Lausanne Godalming Crickhowell Eppegem Mikkeli Bad Rappenau Toronto Tremadog Luanda Turku Belgrade Norwich Kemi Szczecin Mühlacker Uppsala Hellerup Daytona Beach Yaoundé Schleswig Mineola Jena Berkeley Las Palmas de Gran Canaria Tiberias Pisa Fribourg Glasgow Athol Zaragoza Crumlin Salt Lake City Nice New Delhi Bilbao Swansea Bonn Palermo Grenoble Straume Málaga Cardiff Gävle Haarlem Ávila Soria Nampula Cádiz Segovia Gloucester Helsinki Reims Stockholm Stuttgart Groningen Ourense Paris Burbank Mariehamn Liège Victoria Toulouse Ottawa Wilmington Minden Charleroi Lisbon Melilla Bath Antwerp Cologne Toledo Tiraspol Seinäjoki Pontevedra Düsseldorf Leiden Valencia Lugo Granada Elverum Alcones Caernarfon Montevideo Petrozavodsk Harstad Busto Arsizio Rovaniemi Lahti St Athan Mérida Joensuu Logroño Pori Marbella Santa Cruz de Tenerife Nauvoo Seattle Athens Mexico City Torquay Rhyl Algiers Norman Istanbul Bangor Garden City Rio de Janeiro Badalona Milan Indianapolis Turin Florence Yekaterinburg Warsaw Cape Town Halifax Norwalk Edinburgh Jakobstad Halle (Saale) Ciudad Real Minsk Kuopio Melbourne Bend Zürich Thessaloniki Tokyo Mold Vitebsk Vatican City Singapore Brussels Austin Denver Houston Dallas Pensacola Versailles Shanghai Tbilisi Nagpur Sydney Boulder Ghent Chicago Göttingen Tonbridge Havana Chester Colombo Copenhagen Coimbra Alexandria London Porto Alegre Milborne Port Welshpool Buda Adelaide Bochum Vienna Poughkeepsie Fátima Alicante Almaty Mjölby Basel Cambridge Geneva Edinburgh Auckland St. Louis Aberdeen Warsaw New Glasgow, Nova Scotia Dolgellau Cáceres Bracon Ash Lexington Perth Winchester Budapest Tel Aviv Bradenton Columbus Bangkok Vitoria-Gasteiz Santiago de Compostela Baltimore Lleida Jyväskylä Beijing Albacete Cuenca Barcelona Ljubljana Vigo Bordeaux Metro Manila 's-Hertogenbosch Brooklyn Corbin Sabadell Hämeenlinna Westport, County Mayo Nuremberg Madrid New Haven Olympia Levoča Rockville Murcia Bristol Rome Montreal Quimper Pamplona Dordrecht Sereď Barmouth Sunderland Padua Conwy Sofia Yangon Irkutsk Livorno Concord Messina Białystok Burgos Königstein im Taunus Naples Valladolid Nový Jičín Worcester Ylivieska Munich Saarbrücken Huesca Erfurt Seville Bari Berlin Los Angeles Santa Cruz Kokkola Verona Washington, D.C. San Francisco Kidwelly Savonlinna Manchester Maputo Winterthur Córdoba Taipei Kouvola Detroit Tashkent Herning Prostějov Tangier Chennai Chepstow Durham Little Rock Christchurch Ostrava Dubuque Vicenza Portland Saint-Idesbald Donostia/San Sebastián Portsmouth Dortmund Harpenden Rennes Venice Porvoo Amsterdam Moscow Mo i Rana Newtown Hereford Cheltenham Ulm Liverpool León Ferrol Zamora Salamanca The Dalles Saint Paul Denton Tarragona Alta Waterville Athens Łódź Preveza Kajaani Oslo A Coruña Rotterdam Oulu Montvale Kotka Novosibirsk Chichester Nottingham Montpellier Vaasa Essen Jerez de la Frontera Boston Monmouth Konstanz Olomouc Tampere Glasgow Englewood Cliffs, New Jersey Ann Arbor Bergen Voronezh Belfast Imatra Lappeenranta Lille Orihuela Santander Toronto Vilnius Estella-Lizarra Cambridge Kanhangad Tartu Jaffna Palma Galway Greenwich Kolkata Canterbury Spangenberg Bletchley Teruel Johannesburg Prague
Prague, Zürich and Moscow are the locations of publication of atmost 346 periodical literatures and newspapers
Prague Zürich Moscow
action atmost
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type newspaper
value 346
[[{'concept': 'periodical literature'}, {'concept': 'newspaper'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) ?h WHERE { { ?h rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:periodical_literature . ?x property:place_of_publication ?h } UNION { ?x property:place_of_publication ?h . ?h rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:newspaper } } GROUP BY ?h } . FILTER ( ?d <= 346 ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5237234
P1303
Q34379
USER
Which musical instrument can that person perform with ?
(Q1085,P1303,c(Q34379)) (Q72,P1303,c(Q34379)) (Q649,P1303,c(Q34379))
action filter_type
action find
entity Q5237234
relation P1303
type Q34379
['Q1085', 'P1303', {'concept': 'Q34379'}] ['Q72', 'P1303', {'concept': 'Q34379'}] ['Q649', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?m WHERE { resource:Q5237234 property:P1303 ?m . ?m rdf:type ontology:Q34379 }
David Matthews
action filter_type
action find
entity David Matthews
relation instrument
type musical instrument
['Prague', 'instrument', {'concept': 'musical instrument'}] ['Zürich', 'instrument', {'concept': 'musical instrument'}] ['Moscow', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?m WHERE { resource:David_Matthews property:instrument ?m . ?m rdf:type ontology:musical_instrument }
[]
musical instrument
Q5994
SYSTEM
piano
Q5994
(Q1085,P1303,c(Q34379)) (Q72,P1303,c(Q34379)) (Q649,P1303,c(Q34379))
action filter_type
action find
entity Q5237234
relation P1303
type Q34379
That person can perform a [ANSWER]
['Q1085', 'P1303', {'concept': 'Q34379'}] ['Q72', 'P1303', {'concept': 'Q34379'}] ['Q649', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?m WHERE { resource:Q5237234 property:P1303 ?m . ?m rdf:type ontology:Q34379 }
piano
That person can perform a piano
piano
action filter_type
action find
entity David Matthews
relation instrument
type musical instrument
['Prague', 'instrument', {'concept': 'musical instrument'}] ['Zürich', 'instrument', {'concept': 'musical instrument'}] ['Moscow', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?m WHERE { resource:David_Matthews property:instrument ?m . ?m rdf:type ontology:musical_instrument }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5994 Q1490445
P61
Q502895
USER
Did Ina Borrmann discover or invented piano ?
(Q5994,P61,Q1490445)
action is_in
entity Q1490445
action find
entity Q5994
relation P61
['Q5994', 'P61', 'Q1490445']
ASK WHERE { resource:Q5994 property:P61 resource:Q1490445 }
piano Ina Borrmann
action is_in
entity Ina Borrmann
action find
entity piano
relation discoverer or inventor
['piano', 'discoverer or inventor', 'Ina Borrmann']
ASK WHERE { resource:piano property:discoverer_or_inventor resource:Ina_Borrmann }
[]
common name
SYSTEM
NO
(Q5994,P61,Q1490445)
action is_in
entity Q1490445
action find
entity Q5994
relation P61
[ANSWER]
['Q5994', 'P61', 'Q1490445']
ASK WHERE { resource:Q5994 property:P61 resource:Q1490445 }
No
action is_in
entity Ina Borrmann
action find
entity piano
relation discoverer or inventor
['piano', 'discoverer or inventor', 'Ina Borrmann']
ASK WHERE { resource:piano property:discoverer_or_inventor resource:Ina_Borrmann }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1085 Q5836649
P190
Q56061
USER
Is Jolmarz partner town of Prague ?
(Q1085,P190,Q5836649)
action is_in
entity Q5836649
action find
entity Q1085
relation P190
['Q1085', 'P190', 'Q5836649']
ASK WHERE { resource:Q1085 property:P190 resource:Q5836649 }
Prague Jolmarz
action is_in
entity Jolmarz
action find
entity Prague
relation sister city
['Prague', 'sister city', 'Jolmarz']
ASK WHERE { resource:Prague property:sister_city resource:Jolmarz }
[]
administrative territorial entity
SYSTEM
NO
(Q1085,P190,Q5836649)
action is_in
entity Q5836649
action find
entity Q1085
relation P190
[ANSWER]
['Q1085', 'P190', 'Q5836649']
ASK WHERE { resource:Q1085 property:P190 resource:Q5836649 }
No
action is_in
entity Jolmarz
action find
entity Prague
relation sister city
['Prague', 'sister city', 'Jolmarz']
ASK WHERE { resource:Prague property:sister_city resource:Jolmarz }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q858047 Q5994
P61 P161
Q502895
USER
Which people discovered or invented piano or starred in The Canterbury Tales ?
OR((Q5994,P61,c(Q502895)), (Q858047,P161,c(Q502895)))
action filter_type
action union
action find
entity Q5994
relation P61
action find
entity Q858047
relation P161
type Q502895
{'OR': [['Q5994', 'P61', {'concept': 'Q502895'}], ['Q858047', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q5994 property:P61 ?v } UNION { resource:Q858047 property:P161 ?v } } . ?v rdf:type ontology:Q502895 }
The Canterbury Tales piano
action filter_type
action union
action find
entity piano
relation discoverer or inventor
action find
entity The Canterbury Tales
relation cast member
type common name
{'OR': [['piano', 'discoverer or inventor', {'concept': 'common name'}], ['The Canterbury Tales', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?v WHERE { { { resource:piano property:discoverer_or_inventor ?v } UNION { resource:The_Canterbury_Tales property:cast_member ?v } } . ?v rdf:type ontology:common_name }
[]
common name
Q25120 Q358421 Q2409879 Q301597 Q3749315 Q370869 Q431841 Q554430 Q18161447 Q372481
SYSTEM
Some of them are Pier Paolo Pasolini, Tom Baker, Derek Deadman, Bartolomeo Cristofori, Franca Sciutto, Robin Askwith, Jenny Runacre, Franco Citti, Michael Balfour, Ninetto Davoli
Q301597 Q3809276 Q431841 Q358421 Q285431 Q2409879 Q372481 Q2830615 Q461259 Q554430 Q5482921 Q25120 Q205868 Q310934 Q18161447 Q370869 Q3749315
OR((Q5994,P61,c(Q502895)), (Q858047,P161,c(Q502895)))
action filter_type
action union
action find
entity Q5994
relation P61
action find
entity Q858047
relation P161
type Q502895
[ANSWERS] discovered or invented piano or starred in The Canterbury Tales
{'OR': [['Q5994', 'P61', {'concept': 'Q502895'}], ['Q858047', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q5994 property:P61 ?v } UNION { resource:Q858047 property:P161 ?v } } . ?v rdf:type ontology:Q502895 }
Bartolomeo Cristofori John Francis Lane Jenny Runacre Tom Baker Laura Betti Derek Deadman Ninetto Davoli Alan Webb Josephine Chaplin Franco Citti Francis de Wolff Pier Paolo Pasolini Vernon Dobtcheff Hugh Griffith Michael Balfour Robin Askwith Franca Sciutto
Pier Paolo Pasolini, Tom Baker, Derek Deadman, Bartolomeo Cristofori, Franca Sciutto, Robin Askwith, Jenny Runacre, Franco Citti, Michael Balfour and Ninetto Davoli discovered or invented piano or starred in The Canterbury Tales
Pier Paolo Pasolini Tom Baker Derek Deadman Bartolomeo Cristofori Franca Sciutto Robin Askwith Jenny Runacre Franco Citti Michael Balfour Ninetto Davoli
action filter_type
action union
action find
entity piano
relation discoverer or inventor
action find
entity The Canterbury Tales
relation cast member
type common name
{'OR': [['piano', 'discoverer or inventor', {'concept': 'common name'}], ['The Canterbury Tales', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?v WHERE { { { resource:piano property:discoverer_or_inventor ?v } UNION { resource:The_Canterbury_Tales property:cast_member ?v } } . ?v rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q370869
P26
Q502895
USER
Which person is the spouse of that one ?
(Q370869,P26,c(Q502895))
action filter_type
action find
entity Q370869
relation P26
type Q502895
['Q370869', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q370869 property:P26 ?h }
Robin Askwith
action filter_type
action find
entity Robin Askwith
relation spouse
type common name
['Robin Askwith', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Robin_Askwith property:spouse ?h }
[]
common name
Clarification for simple ques.
Q370869
SYSTEM
Did you mean Robin Askwith ?
Q25120 Q358421 Q2409879 Q301597 Q3749315 Q370869 Q431841 Q554430 Q18161447 Q372481
(Q25120,P26,c(Q502895)) (Q358421,P26,c(Q502895)) (Q2409879,P26,c(Q502895)) (Q301597,P26,c(Q502895)) (Q3749315,P26,c(Q502895)) (Q370869,P26,c(Q502895)) (Q431841,P26,c(Q502895)) (Q554430,P26,c(Q502895)) (Q18161447,P26,c(Q502895)) (Q372481,P26,c(Q502895))
[ANSWER]
['Q25120', 'P26', {'concept': 'Q502895'}] ['Q358421', 'P26', {'concept': 'Q502895'}] ['Q2409879', 'P26', {'concept': 'Q502895'}] ['Q301597', 'P26', {'concept': 'Q502895'}] ['Q3749315', 'P26', {'concept': 'Q502895'}] ['Q370869', 'P26', {'concept': 'Q502895'}] ['Q431841', 'P26', {'concept': 'Q502895'}] ['Q554430', 'P26', {'concept': 'Q502895'}] ['Q18161447', 'P26', {'concept': 'Q502895'}] ['Q372481', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q370869 property:P26 ?h }
Pier Paolo Pasolini Tom Baker Derek Deadman Bartolomeo Cristofori Franca Sciutto Robin Askwith Jenny Runacre Franco Citti Michael Balfour Ninetto Davoli
Did you mean Robin Askwith ?
Robin Askwith
['Pier Paolo Pasolini', 'spouse', {'concept': 'common name'}] ['Tom Baker', 'spouse', {'concept': 'common name'}] ['Derek Deadman', 'spouse', {'concept': 'common name'}] ['Bartolomeo Cristofori', 'spouse', {'concept': 'common name'}] ['Franca Sciutto', 'spouse', {'concept': 'common name'}] ['Robin Askwith', 'spouse', {'concept': 'common name'}] ['Jenny Runacre', 'spouse', {'concept': 'common name'}] ['Franco Citti', 'spouse', {'concept': 'common name'}] ['Michael Balfour', 'spouse', {'concept': 'common name'}] ['Ninetto Davoli', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Robin_Askwith property:spouse ?h }
[]
Simple Question (Coreferenced)
USER
Yes
(Q370869,P26,c(Q502895))
['Q370869', 'P26', {'concept': 'Q502895'}]
['Robin Askwith', 'spouse', {'concept': 'common name'}]
[]
Q15485486
SYSTEM
Leonie Mellinger
Q15485486
(Q370869,P26,c(Q502895))
action filter_type
action find
entity Q370869
relation P26
type Q502895
[ANSWER] is the spouse of that one
['Q370869', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q370869 property:P26 ?h }
Leonie Mellinger
Leonie Mellinger is the spouse of that one
Leonie Mellinger
action filter_type
action find
entity Robin Askwith
relation spouse
type common name
['Robin Askwith', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Robin_Askwith property:spouse ?h }
[]