Simple Question (Direct)
Simple Question
Q5341606
P20
Q56061
USER
Where did the demise of Edward Arthur Lancaster occur ?
(Q5341606,P20,c(Q56061))
action filter_type
action find
entity Q5341606
relation P20
type Q56061
['Q5341606', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q5341606 property:P20 ?l . ?l rdf:type ontology:Q56061 }
Edward Arthur Lancaster
action filter_type
action find
entity Edward Arthur Lancaster
relation place of death
type administrative territorial entity
['Edward Arthur Lancaster', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Edward_Arthur_Lancaster property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q126805
SYSTEM
St. Catharines
Q126805
(Q5341606,P20,c(Q56061))
action filter_type
action find
entity Q5341606
relation P20
type Q56061
The demise of Edward Arthur Lancaster occurred at [ANSWER]
['Q5341606', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q5341606 property:P20 ?l . ?l rdf:type ontology:Q56061 }
St. Catharines
The demise of Edward Arthur Lancaster occurred at St. Catharines
St. Catharines
action filter_type
action find
entity Edward Arthur Lancaster
relation place of death
type administrative territorial entity
['Edward Arthur Lancaster', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Edward_Arthur_Lancaster property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5341606
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q126805,P19,c(Q56061))
action filter_type
action find
entity Q5341606
relation P19
type Q56061
['Q126805', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q5341606 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Edward Arthur Lancaster
action filter_type
action find
entity Edward Arthur Lancaster
relation place of birth
type administrative territorial entity
['St. Catharines', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Edward_Arthur_Lancaster property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q126805,P19,c(Q56061))
action filter_type
action find
entity Q5341606
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q126805', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q5341606 property:P19 ?c . ?c rdf:type ontology:Q56061 }
London
London is the birthplace of that person
London
action filter_type
action find
entity Edward Arthur Lancaster
relation place of birth
type administrative territorial entity
['St. Catharines', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Edward_Arthur_Lancaster property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5341606
P102
Q7210356
USER
Which party is that person affiliated with ?
(Q84,P102,c(Q7210356))
action filter_type
action find
entity Q5341606
relation P102
type Q7210356
['Q84', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?e WHERE { resource:Q5341606 property:P102 ?e . ?e rdf:type ontology:Q7210356 }
Edward Arthur Lancaster
action filter_type
action find
entity Edward Arthur Lancaster
relation member of political party
type political organization
['London', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?e WHERE { resource:Edward_Arthur_Lancaster property:member_of_political_party ?e . ?e rdf:type ontology:political_organization }
[]
political organization
Q909827
SYSTEM
Conservative Party of Canada
Q909827
(Q84,P102,c(Q7210356))
action filter_type
action find
entity Q5341606
relation P102
type Q7210356
That person is affiliated with [ANSWER]
['Q84', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?e WHERE { resource:Q5341606 property:P102 ?e . ?e rdf:type ontology:Q7210356 }
Conservative Party of Canada
That person is affiliated with Conservative Party of Canada
Conservative Party of Canada
action filter_type
action find
entity Edward Arthur Lancaster
relation member of political party
type political organization
['London', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?e WHERE { resource:Edward_Arthur_Lancaster property:member_of_political_party ?e . ?e rdf:type ontology:political_organization }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q5476889
P206
Q355304 Q337567 Q56061
USER
Which administrative territories are located in the neighbourhood of more number of watercourses and still waterss than Fox River, Nova Scotia ?
(c(Q56061),P206,c(Q355304)|c(Q337567))
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q355304
action find_tuple_counts
relation P206
type Q56061
type Q337567
action count
action filter_multi_types
action find
entity Q5476889
relation P206
type Q355304
type Q337567
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) ?a WHERE { { ?a property:P206 ?s . ?a rdf:type ontology:Q56061 . ?s rdf:type ontology:Q337567 } UNION { ?a property:P206 ?s . ?a rdf:type ontology:Q56061 . ?s rdf:type ontology:Q355304 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { resource:Q5476889 property:P206 ?f . { VALUES ( ?v ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } . ?f rdf:type ?v } } } . FILTER ( ?n > ?b ) }
Fox River, Nova Scotia
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Fox River, Nova Scotia
relation located next to body of water
type watercourse
type still waters
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) ?a WHERE { { ?a property:located_next_to_body_of_water ?s . ?a rdf:type ontology:administrative_territorial_entity . ?s rdf:type ontology:still_waters } UNION { ?a property:located_next_to_body_of_water ?s . ?a rdf:type ontology:administrative_territorial_entity . ?s rdf:type ontology:watercourse } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { resource:Fox_River,_Nova_Scotia property:located_next_to_body_of_water ?f . { VALUES ( ?v ) { ( ontology:still_waters ) ( ontology:watercourse ) } . ?f rdf:type ?v } } } . FILTER ( ?n > ?b ) }
[]
watercourse still waters administrative territorial entity
Q1085 Q649 Q2807
SYSTEM
Prague, Moscow, Madrid
Q165736 Q991950 Q1721578 Q84 Q2003600 Q18682792 Q157478 Q1718 Q2255397 Q2752171 Q539767 Q305067 Q3876 Q990253 Q898 Q1586529 Q3246724 Q740149 Q3711 Q23311 Q3238 Q3143983 Q41057 Q16650704 Q2207185 Q2222516 Q83178 Q3844 Q1395576 Q18682692 Q2047623 Q10014 Q643835 Q515728 Q321197 Q7054 Q2335714 Q2454052 Q11882295 Q1715 Q1520342 Q3150 Q18682889 Q16168559 Q10084 Q895123 Q846242 Q1083051 Q18808 Q253741 Q985642 Q369911 Q1309 Q991532 Q934511 Q4093 Q955992 Q144773 Q3659 Q609698 Q1780116 Q1667345 Q2415951 Q987 Q2451654 Q6672525 Q11874170 Q254734 Q577891 Q631517 Q13648690 Q175258 Q209176 Q1754096 Q746096 Q2135238 Q653025 Q387502 Q2284683 Q162857 Q1521199 Q1757 Q1025910 Q1754 Q4201085 Q1022 Q769631 Q7977 Q15377069 Q251091 Q571970 Q2987335 Q1685683 Q15241516 Q257034 Q2500974 Q1252635 Q9365 Q9361 Q47048 Q90 Q1519942 Q3563897 Q986645 Q2441552 Q588293 Q486792 Q1610396 Q371532 Q385386 Q3397397 Q956954 Q34820 Q2726062 Q9375247 Q625761 Q1930 Q786111 Q2007261 Q1033978 Q2539726 Q2305394 Q20205325 Q17332337 Q597 Q73462 Q3183256 Q2287228 Q3036324 Q20714928 Q185404 Q93347 Q3894 Q3748 Q11901685 Q15320 Q365 Q5836 Q1020231 Q641390 Q1845104 Q572034 Q26362 Q624065 Q11866294 Q2465220 Q617407 Q179454 Q3323 Q103255 Q2060859 Q8546656 Q206954 Q16015040 Q3026650 Q478036 Q18923859 Q9270 Q2886833 Q2599767 Q635806 Q1779522 Q2916660 Q968631 Q379531 Q24861 Q1526933 Q793407 Q1009524 Q7018666 Q427708 Q160642 Q14935628 Q903595 Q174054 Q163091 Q2078223 Q185582 Q3483520 Q73221 Q9326 Q156717 Q573599 Q9918 Q1520 Q11902175 Q1646181 Q925506 Q1776515 Q554655 Q1709 Q28218 Q4527424 Q2861 Q793 Q621483 Q13403152 Q6477002 Q18682920 Q1614071 Q43070 Q932008 Q3703 Q2227038 Q2059003 Q1963 Q37133 Q2069566 Q314367 Q1842 Q2525207 Q740066 Q2598092 Q997775 Q550373 Q2174345 Q2627252 Q504544 Q3630 Q200783 Q988658 Q18682241 Q4070552 Q16636995 Q1165854 Q5474003 Q755657 Q3832 Q239 Q4083 Q995806 Q1094123 Q733368 Q15377091 Q995159 Q508998 Q2300996 Q3037 Q2379952 Q3033 Q1004822 Q238803 Q932955 Q1908062 Q196397 Q542647 Q948468 Q145638 Q894535 Q1563 Q523651 Q1741 Q987797 Q987790 Q2543792 Q18682719 Q1223508 Q2335535 Q1042366 Q2391779 Q85 Q15241507 Q533456 Q9536 Q10707890 Q2090 Q11901984 Q2255057 Q2933890 Q1487909 Q629786 Q2229853 Q737877 Q2103 Q2918470 Q73031 Q2543086 Q1735 Q1143278 Q984973 Q773280 Q2950738 Q2924158 Q19297212 Q3856 Q3010939 Q1785679 Q36281 Q7481520 Q6278969 Q70 Q425780 Q3743068 Q1648515 Q1390389 Q1585348 Q1390387 Q2321706 Q12191 Q3674 Q7507390 Q15339 Q5912898 Q992474 Q172 Q270 Q60 Q1957 Q109535 Q2336499 Q23564 Q1519434 Q690 Q1906235 Q3828 Q3274 Q285323 Q961068 Q1807382 Q11899935 Q537214 Q18681966 Q109386 Q2729544 Q2160909 Q3051477 Q920968 Q192098 Q15241652 Q26296883 Q18663090 Q5189288 Q649738 Q715 Q567332 Q4374268 Q3001 Q21197 Q10717 Q1129607 Q1018225 Q180333 Q543904 Q592123 Q990651 Q2578642 Q252466 Q134620 Q7107283 Q654259 Q2842582 Q437 Q390588 Q3551 Q1265670 Q384 Q858775 Q865808 Q2329846 Q1780 Q1781 Q658902 Q6397865 Q2659563 Q1003576 Q2529554 Q2682753 Q1025014 Q11897598 Q4067724 Q914755 Q227064 Q1850 Q1070428 Q477232 Q244327 Q1314479 Q1490863 Q285778 Q2807 Q4357920 Q35381 Q259617 Q3604 Q3407596 Q4405293 Q959517 Q5638429 Q4207520 Q183104 Q17315652 Q2225806 Q1025055 Q2424732 Q2538313 Q208143 Q806414 Q593141 Q1785595 Q165486 Q3739 Q2637838 Q16015068 Q2787064 Q1823092 Q617 Q952497 Q181359 Q1243780 Q19613854 Q1012411 Q15241991 Q11902896 Q19906849 Q2574529 Q155955 Q34713 Q5068781 Q183199 Q1737 Q2350941 Q1545679 Q10690 Q915 Q1200892 Q161912 Q3028239 Q1997485 Q11889617 Q674395 Q2007254 Q14945 Q2911365 Q1538830 Q12047 Q2267399 Q671557 Q1043368 Q4454 Q1800099 Q9974 Q989288 Q987243 Q614706 Q2927534 Q276274 Q1726 Q503640 Q1792879 Q2511670 Q569804 Q1423660 Q345389 Q1729 Q1721184 Q3909 Q2931074 Q7056872 Q1026296 Q755389 Q64 Q1011866 Q61 Q736131 Q41572 Q306440 Q1567437 Q3766 Q9125 Q1861 Q15552182 Q1870405 Q868647 Q2194010 Q12439 Q83065 Q269 Q1794939 Q2392235 Q661700 Q1947 Q2674551 Q1981987 Q162065 Q1591499 Q50960 Q2751941 Q676689 Q2498737 Q939609 Q1533868 Q795623 Q840681 Q922981 Q2077402 Q2784834 Q2351343 Q166065 Q985659 Q971550 Q13400194 Q18681979 Q2868 Q1886770 Q3640 Q1394778 Q5132825 Q2682566 Q647 Q40747 Q2087380 Q820949 Q727 Q649 Q304108 Q77056 Q3012 Q58940 Q894955 Q2579332 Q504678 Q990527 Q2014445 Q2948574 Q140147 Q990130 Q427044 Q28848 Q3112541 Q598948 Q79848 Q12762569 Q806799 Q910997 Q766896 Q2830827 Q586 Q585 Q34370 Q954764 Q15287 Q1734018 Q1669399 Q16531502 Q630478 Q9279 Q820024 Q220 Q11901684 Q2124272 Q2704 Q1040 Q986675 Q1270505 Q1713141 Q579556 Q11900887 Q65502 Q464955 Q508056 Q100 Q506700 Q6899495 Q11873187 Q963894 Q2627415 Q2281721 Q2319224 Q204234 Q787279 Q750760 Q19613699 Q988100 Q1006998 Q353307 Q2235 Q1025353 Q2432955 Q55630 Q7618827 Q4100 Q216 Q4914513 Q16016733 Q3361880 Q878809 Q4998230 Q19612988 Q3726 Q57006 Q1742334 Q5674391 Q615732 Q570990 Q36168 Q956125 Q630334 Q2051589 Q1553283 Q2409481 Q1341 Q578026 Q1964137 Q503763 Q2355915 Q2303243 Q1531454 Q1017 Q4190 Q18399563 Q2350685 Q15241523 Q1850580 Q2585002 Q1522881 Q5646331 Q179385 Q1248930 Q11901400 Q1728043 Q1743660 Q1085
(c(Q56061),P206,c(Q355304)|c(Q337567))
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q355304
action find_tuple_counts
relation P206
type Q56061
type Q337567
action count
action filter_multi_types
action find
entity Q5476889
relation P206
type Q355304
type Q337567
[ANSWERS] are located in the neighbourhood of more number of watercourses and still waterss than Fox River, Nova Scotia
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) ?a WHERE { { ?a property:P206 ?s . ?a rdf:type ontology:Q56061 . ?s rdf:type ontology:Q337567 } UNION { ?a property:P206 ?s . ?a rdf:type ontology:Q56061 . ?s rdf:type ontology:Q355304 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { resource:Q5476889 property:P206 ?f . { VALUES ( ?v ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } . ?f rdf:type ?v } } } . FILTER ( ?n > ?b ) }
Doesburg Karczew Tagazar London Walton-on-Thames Vaattojärvi Lesozavodsk Düsseldorf Uitdam Ardnacrusha Ivalo Gniew Lilongwe Henley-on-Thames Omsk Rothneusiedl Bisham Södermalm Belgrade City of London Tegucigalpa Lekkerkerk Topeka Innokent'evka Terneuzen Sansané Haoussa Almere Brazzaville Nussdorf Kirkonkylä Strzyżów Kampen Arfurt Harburg-Wilhelmsburg Cieszyn Dalnegorsk Steeden Olney Metsäkylä Hanover Turvey Jena Väli-Olhava Novozhatkovo Vlissingen Boumba Nieuw-Lekkerland Swanscombe Pyongyang Grinzing Góra Kalwaria Athlone Maastricht Grays Papendrecht Glasgow Kobryn Zakroczym N'Djamena Lorain Cold Brayfield Marienwerder Whitchurch-on-Thames New Delhi Trentemoult Long Ditton Kätkäsuvanto Äkäslompolo East St. Louis Marivan Taradei Novosil Ely Weybridge North Shields East Tilbury Bergambacht Świecie Mobridge Kourfeye Centre Great Barford Helsinki Maïné-Soroa Stockholm Innishannon Stuttgart Drohiczyn Priozersk Zellerfeld Athy Torgelow East Cowes Jean Marie River Alchan Kemble Richmond Doulsou Dushanbe Bishkek Oulu Paris Bromham Vyadhapura Imanan Tondikandia Sonning Aranjuez Egham Hythe Lisala Spakenburg Radley Kaspi Santo Domingo Westmaas Winniki Bandipore Ottawa Kokorou N'Gonga Canvey Island Ashton Keynes Karesuvanto Hattian Dupatta Grand Forks, Yukon Lisbon Zaltbommel Opheusden Simmering Pangbourne Port Famine Bundaberg Mostar Kampala Monrovia Virkkula Syasstroy Cologne Toledo Newport Pagnell Breskens Little Thetford Eggesin Lebus Molesey Jeesiö Putney Eton Pitkyaranta Belgorod Alatyr Nieuw-Beijerland Hurley Kastoria Ariadnoye Lexmond Schoonhoven Busse Thimphu Basildon, Berkshire Yatakala Runkel Kolmane Brakel Corringham, Essex Heiligenstadt Albany Hacking Ayourou Whalley Newnham Murren Chamberlain Salisbury Lune River Volendam Isola Bella Zwiesel Kelmscott Knoxville Siggebohyttan Tiel Vientiane Khmelnytskyi Weilburg Enkhuizen Astana Väylä Worcester Brok New Bradwell Ronneburg Schwerin Baton Rouge Shuyskoye, Vologda Oblast Rostock Zwolle Villmar Loenen aan de Vecht Vuotso Yli-Olhava Dodewaard Donetsk Maarssen Bamako Warder, Netherlands Bourne End Khartoum Mariupol Penzing Tunxdorf Luxembourg Ochten Kinderdijk Shorne Palojoensuu Godstow Rudolfsheim Katwijk aan den Rijn Ellingen Jakarta Monschau Połaniec Mankila Arkhangelovka Glazovka Dargol Köngäs Athlunkard Bangui Brussels Eschweiler Dobrzyń nad Wisłą Rhoda Island Hoofdplaat Clausthal Ciechanowiec Marlow Caversham, Berkshire Kathmandu Moulsford Göttingen Bumba, Democratic Republic of the Congo Maidenhead Scharsterbrug Matankari Sortavala Méhana Carabane Kashira Bosso Havana St Mary Hoo Vienna Leixlip Inagh Youri Tepasto Ohrid Deest Lilla Essingen Tamou Cairo Arkhipovka Cricklade Bad Doberan Olhava Nuremberg Vuontisjärvi Iffley Stoneleigh Sinder Wraysbury Velsen-Noord Termunten Bochum Rossum, Gelderland Kessel Blanchland Innsbruck Twickenham Laleham Aumenau Waarde Bray Neuses Nicosia Salmon Arm Sambéra Roseau Wolvercote Jormua Bern 's-Gravendeel Muonio Tounouga Landön Harikanassou Fabidji Kingston upon Thames Nantes Niamey Sicamous, British Columbia Shlisselburg Houghton, Cambridgeshire Taplow Toronto Warsaw New York City Vologda Zutphen Higham, Kent Podgorica Carlton Delft Łomianki Dessau-Roßlau Managua Staines-upon-Thames Chétimari Muiderberg Vaalajärvi Prenzlau Kaukonen Nampho Rotterdam Centrum Rodaun Ellewoutsdijk Nellim Oymyakon Busse Deventer Ylikiiminki Crowmarsh Gifford Alto Douro Heilbronn Annopol Mapledurham Paramaribo Chișinău Georgetown Cookham St Neots Foča Bagdad, Tamaulipas Medmenham Kozienice Purley on Thames Treuchtlingen Jyväskylä Osney Bukoba Ameide Ljubljana Metković Rabat Dungass Skopje Dartford Birni N'Gaouré Sandford-on-Thames Bratislava Budapest Otley Keväjärvi Little Wittenham Say Old Windsor Werkendam Inari Tikkaperä Anuchino Dogo Zoutelande Phnom Penh Chertsey Aktobe Gorinchem Sorbon Haoussa Gaden bei Pförring Datchet Madrid Kuttura Colombo Wasserburg am Inn Djibouti Kennington, Oxfordshire Fobbing Koygolo Hafslundsøy Kazakevichevo Feldkirch Siikajoenkylä Sassoumbroum Kruiningen Zuilichem Wacha Wigan Bandé Philip Kourteye Kempston Bissau Vlissingen-Oost Venyukovo Long Wittenham Liboré Padua Letterkenny Talavera de la Reina Dorchester on Thames Bogoslovka Culham Nizhnie Luzhki Ylläsjärvi Novorossiyka Stanford-le-Hope Kuybyshev Salzburg Chalk, Kent Ioannina Bregenz Scharwoude, Koggenland Shepperton Cardiff Perm Dessa Solec Kujawski Greenhithe Littleport Raattama Bovenkarspel N'Dounga Merseburg Borssele Gothèye Mügeln Krimpen aan de Lek Brackley Stora Essingen Khabarovsk Wytham Weesp Yankton Kollo Anzourou Allhallows Wolverton Munich Gunzenhausen Canning Town Tima Wyszogród Hütteldorf Łochów Erfurt Kahlenbergerdorf Maseru Termunterzijl North Stoke, Oxfordshire Jinotega Athenry Berlin Tillabéri Washington, D.C. Alblasserdam Mykolaiv Abbeyfeale Hadersdorf-Weidlingau Damascus Winterthur Bangkok Tikhmenevo Lorrha Southport Sunbury-on-Thames Detroit Leicester Tashkent Kwaya Tanda Sankt Andreasberg Juba West Tilbury Neuwaldegg Dishoek Havelse Demmin South Stoke, Oxfordshire Gravesend Dorney Lechlade Godmanchester Oud-Beijerland Kinsale Mijnsheerenland Aldeburgh Dreumel Benson, Oxfordshire Lelystad Ciechocinek West Thurrock Dornbach Kelontekemä Lima Malawa Ankara Falmey Cliffe, Kent Clifton Hampden Rennes Pierre Northfleet Gougane Barra Amsterdam Moscow Isola dei Pescatori Edam Ulm Capolago Boubon Appleford-on-Thames Berwick-upon-Tweed Diffa Bath, Netherlands Champ d'Asile Brest Hook of Holland Guilladjé Saint Paul Vuren Wargrave Southampton Arenibek Bankilaré Wyszków Gaya Remenham Bonn Oslo Rotterdam Thames Ditton Novaya Ladoga Karma Killorglin Baryshevo Rixensart Bandar Seri Begawan Kupiškis Rome Virmaila Maasdam Pescara Karlsruhe Gorouol Deline Juliusplate Labasa Venetpalo Bönigen Windsor Filingué Boston Ueckermünde Mongewell Kuivaniemi Kilrush Schellinkhout Teddington Goring-on-Thames Milton Keynes Stony Stratford Sliedrecht Beloyarovo Wallingford Sutton Courtenay Addlestone Veliky Novgorod Cadzand-Bad Isleworth Novi Sad Stone, Kent Baden-Baden Vilnius Binsey, Oxfordshire Orlinoye Schardam Bitinkodji Burcot, Oxfordshire Abaykan Banjul Emmerich am Rhein Kiota Hartford, Cambridgeshire Breukelen Lakewood Bridgetown Kouré Bad Berka Streatley, Berkshire Gueskérou Little Thurrock Tolyatti Kleszczele Namaro Pappenheim Czyżew Shiplake Glin Aachen Passau Argunskoye Tolhuin Abramovka Hambleden Brockham Killaloe, County Clare Hampton Wick Greenwich Bishop's Waltham Vikajärvi Sheremetyevo Kirtachi Prague
Prague, Moscow and Madrid are located in the neighbourhood of more number of watercourses and still waterss than Fox River, Nova Scotia
Prague Moscow Madrid
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Fox River, Nova Scotia
relation located next to body of water
type watercourse
type still waters
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) ?a WHERE { { ?a property:located_next_to_body_of_water ?s . ?a rdf:type ontology:administrative_territorial_entity . ?s rdf:type ontology:still_waters } UNION { ?a property:located_next_to_body_of_water ?s . ?a rdf:type ontology:administrative_territorial_entity . ?s rdf:type ontology:watercourse } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { resource:Fox_River,_Nova_Scotia property:located_next_to_body_of_water ?f . { VALUES ( ?v ) { ( ontology:still_waters ) ( ontology:watercourse ) } . ?f rdf:type ?v } } } . FILTER ( ?n > ?b ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q2135238
P206
Q355304 Q337567 Q56061
USER
And what about East Tilbury?
(c(Q56061),P206,c(Q355304)|c(Q337567))
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q355304
action find_tuple_counts
relation P206
type Q56061
type Q337567
action count
action filter_multi_types
action find
entity Q2135238
relation P206
type Q355304
type Q337567
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) ?d WHERE { { ?d property:P206 ?i . ?d rdf:type ontology:Q56061 . ?i rdf:type ontology:Q355304 } UNION { ?d property:P206 ?i . ?d rdf:type ontology:Q56061 . ?i rdf:type ontology:Q337567 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { { { ?u rdf:type ontology:Q337567 } UNION { ?u rdf:type ontology:Q355304 } } . resource:Q2135238 property:P206 ?u } } . FILTER ( ?p > ?o ) }
East Tilbury
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity East Tilbury
relation located next to body of water
type watercourse
type still waters
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) ?d WHERE { { ?d property:located_next_to_body_of_water ?i . ?d rdf:type ontology:administrative_territorial_entity . ?i rdf:type ontology:watercourse } UNION { ?d property:located_next_to_body_of_water ?i . ?d rdf:type ontology:administrative_territorial_entity . ?i rdf:type ontology:still_waters } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { { { ?u rdf:type ontology:still_waters } UNION { ?u rdf:type ontology:watercourse } } . resource:East_Tilbury property:located_next_to_body_of_water ?u } } . FILTER ( ?p > ?o ) }
[]
watercourse still waters administrative territorial entity
Q216 Q64 Q647
SYSTEM
Vilnius, Berlin, Rennes
Q1718 Q305067 Q898 Q3711 Q83178 Q1395576 Q1715 Q895123 Q253741 Q934511 Q387502 Q1022 Q251091 Q103255 Q2599767 Q379531 Q793407 Q903595 Q925506 Q1709 Q13403152 Q1963 Q1842 Q740066 Q988658 Q995806 Q3037 Q3033 Q1741 Q987797 Q2090 Q2103 Q60 Q23564 Q3828 Q252466 Q134620 Q1025014 Q244327 Q1737 Q14945 Q1726 Q503640 Q569804 Q1729 Q64 Q61 Q1567437 Q1591499 Q50960 Q3640 Q1394778 Q647 Q727 Q3012 Q140147 Q79848 Q820024 Q220 Q1040 Q100 Q2235 Q216 Q615732 Q4190
(c(Q56061),P206,c(Q355304)|c(Q337567))
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q355304
action find_tuple_counts
relation P206
type Q56061
type Q337567
action count
action filter_multi_types
action find
entity Q2135238
relation P206
type Q355304
type Q337567
[ANSWERS]
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) ?d WHERE { { ?d property:P206 ?i . ?d rdf:type ontology:Q56061 . ?i rdf:type ontology:Q355304 } UNION { ?d property:P206 ?i . ?d rdf:type ontology:Q56061 . ?i rdf:type ontology:Q337567 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { { { ?u rdf:type ontology:Q337567 } UNION { ?u rdf:type ontology:Q355304 } } . resource:Q2135238 property:P206 ?u } } . FILTER ( ?p > ?o ) }
Düsseldorf Gniew Omsk Belgrade Almere Nussdorf Hanover Boumba Grinzing Papendrecht Świecie Stuttgart Athy Alatyr Yatakala Heiligenstadt Ayourou Volendam Brok Schwerin Loenen aan de Vecht Khartoum Luxembourg Kinderdijk Połaniec Dobrzyń nad Wisłą Kathmandu Göttingen Vienna Leixlip Nuremberg Bochum New York City Podgorica Dessau-Roßlau Treuchtlingen Jyväskylä Inari Gorinchem Bregenz Merseburg Munich Gunzenhausen Wyszogród Erfurt Berlin Washington, D.C. Hadersdorf-Weidlingau Havelse Demmin Ankara Falmey Rennes Amsterdam Ulm Brest Southampton Kupiškis Rome Karlsruhe Boston Veliky Novgorod Vilnius Breukelen Passau
Vilnius Berlin Rennes
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity East Tilbury
relation located next to body of water
type watercourse
type still waters
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) ?d WHERE { { ?d property:located_next_to_body_of_water ?i . ?d rdf:type ontology:administrative_territorial_entity . ?i rdf:type ontology:watercourse } UNION { ?d property:located_next_to_body_of_water ?i . ?d rdf:type ontology:administrative_territorial_entity . ?i rdf:type ontology:still_waters } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { { { ?u rdf:type ontology:still_waters } UNION { ?u rdf:type ontology:watercourse } } . resource:East_Tilbury property:located_next_to_body_of_water ?u } } . FILTER ( ?p > ?o ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q3937086 Q84
P19 P190
Q56061
USER
Which administrative territories are the sister cities of London and are the places of birth of Risto Radunović ?
AND((Q84,P190,c(Q56061)), (Q3937086,P19,c(Q56061)))
action filter_type
action intersection
action find
entity Q84
relation P190
action find
entity Q3937086
relation P19
type Q56061
{'AND': [['Q84', 'P190', {'concept': 'Q56061'}], ['Q3937086', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { resource:Q84 property:P190 ?v . resource:Q3937086 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Risto Radunović London
action filter_type
action intersection
action find
entity London
relation sister city
action find
entity Risto Radunović
relation place of birth
type administrative territorial entity
{'AND': [['London', 'sister city', {'concept': 'administrative territorial entity'}], ['Risto Radunović', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { resource:London property:sister_city ?v . resource:Risto_Radunović property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q23564
SYSTEM
Podgorica
Q23564
AND((Q84,P190,c(Q56061)), (Q3937086,P19,c(Q56061)))
action filter_type
action intersection
action find
entity Q84
relation P190
action find
entity Q3937086
relation P19
type Q56061
[ANSWER] is the sister cities of London and is the places of birth of Risto Radunović
{'AND': [['Q84', 'P190', {'concept': 'Q56061'}], ['Q3937086', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { resource:Q84 property:P190 ?v . resource:Q3937086 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Podgorica
Podgorica is the sister cities of London and is the places of birth of Risto Radunović
Podgorica
action filter_type
action intersection
action find
entity London
relation sister city
action find
entity Risto Radunović
relation place of birth
type administrative territorial entity
{'AND': [['London', 'sister city', {'concept': 'administrative territorial entity'}], ['Risto Radunović', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { resource:London property:sister_city ?v . resource:Risto_Radunović property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q23564 Q13495
P190
Q15617994
USER
Is Trani partner town of that administrative territory ?
(Q23564,P190,Q13495)
action is_in
entity Q13495
action find
entity Q23564
relation P190
['Q23564', 'P190', 'Q13495']
ASK WHERE { resource:Q23564 property:P190 resource:Q13495 }
Podgorica Trani
action is_in
entity Trani
action find
entity Podgorica
relation sister city
['Podgorica', 'sister city', 'Trani']
ASK WHERE { resource:Podgorica property:sister_city resource:Trani }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q23564,P190,Q13495)
action is_in
entity Q13495
action find
entity Q23564
relation P190
[ANSWER]
['Q23564', 'P190', 'Q13495']
ASK WHERE { resource:Q23564 property:P190 resource:Q13495 }
Yes
action is_in
entity Trani
action find
entity Podgorica
relation sister city
['Podgorica', 'sister city', 'Trani']
ASK WHERE { resource:Podgorica property:sister_city resource:Trani }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q84 Q472 Q987
P190
Q56061
USER
Is London partner town of Sofia and New Delhi ?
(Q84,P190,Q472) (Q84,P190,Q987)
action is_in
entity Q84
action intersection
action find_reverse
entity Q472
relation P190
action find_reverse
entity Q987
relation P190
['Q84', 'P190', 'Q472'] ['Q84', 'P190', 'Q987']
ASK WHERE { resource:Q84 property:P190 resource:Q472 . resource:Q84 property:P190 resource:Q987 }
London Sofia New Delhi
action is_in
entity London
action intersection
action find_reverse
entity Sofia
relation sister city
action find_reverse
entity New Delhi
relation sister city
['London', 'sister city', 'Sofia'] ['London', 'sister city', 'New Delhi']
ASK WHERE { resource:London property:sister_city resource:Sofia . resource:London property:sister_city resource:New_Delhi }
[]
administrative territorial entity
SYSTEM
YES
(Q84,P190,Q472) (Q84,P190,Q987)
action is_in
entity Q84
action intersection
action find_reverse
entity Q472
relation P190
action find_reverse
entity Q987
relation P190
[ANSWER]
['Q84', 'P190', 'Q472'] ['Q84', 'P190', 'Q987']
ASK WHERE { resource:Q84 property:P190 resource:Q472 . resource:Q84 property:P190 resource:Q987 }
Yes
action is_in
entity London
action intersection
action find_reverse
entity Sofia
relation sister city
action find_reverse
entity New Delhi
relation sister city
['London', 'sister city', 'Sofia'] ['London', 'sister city', 'New Delhi']
ASK WHERE { resource:London property:sister_city resource:Sofia . resource:London property:sister_city resource:New_Delhi }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2566857 Q2135238
P17
Q15617994
USER
Which administrative territories are East Tilbury or Krombeke present in ?
OR((Q2135238,P17,c(Q15617994)), (Q2566857,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2135238
relation P17
action find
entity Q2566857
relation P17
type Q15617994
{'OR': [['Q2135238', 'P17', {'concept': 'Q15617994'}], ['Q2566857', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { ?p property:P17 ?m . VALUES ( ?p ) { ( resource:Q2135238 ) ( resource:Q2566857 ) } } . ?m rdf:type ontology:Q15617994 }
Krombeke East Tilbury
action filter_type
action union
action find
entity East Tilbury
relation country
action find
entity Krombeke
relation country
type designation for an administrative territorial entity
{'OR': [['East Tilbury', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Krombeke', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { ?p property:country ?m . VALUES ( ?p ) { ( resource:East_Tilbury ) ( resource:Krombeke ) } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31 Q145
SYSTEM
Belgium, United Kingdom
Q31 Q145
OR((Q2135238,P17,c(Q15617994)), (Q2566857,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2135238
relation P17
action find
entity Q2566857
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q2135238', 'P17', {'concept': 'Q15617994'}], ['Q2566857', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { ?p property:P17 ?m . VALUES ( ?p ) { ( resource:Q2135238 ) ( resource:Q2566857 ) } } . ?m rdf:type ontology:Q15617994 }
Belgium United Kingdom
Which administrative territories are East Tilbury or Krombeke present in
Belgium United Kingdom
action filter_type
action union
action find
entity East Tilbury
relation country
action find
entity Krombeke
relation country
type designation for an administrative territorial entity
{'OR': [['East Tilbury', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Krombeke', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { ?p property:country ?m . VALUES ( ?p ) { ( resource:East_Tilbury ) ( resource:Krombeke ) } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7155101
P27
Q502895
USER
Are Pauline Wong a citizen of those administrative territories ?
(Q7155101,P27,Q31) (Q7155101,P27,Q145)
action is_in
entity prev_answer
action find
entity Q7155101
relation P27
['Q7155101', 'P27', 'Q31'] ['Q7155101', 'P27', 'Q145']
ASK WHERE { VALUES ( ?k ) { ( resource:Q31 ) ( resource:Q145 ) } . resource:Q7155101 property:P27 ?k }
Pauline Wong
action is_in
entity prev_answer
action find
entity Pauline Wong
relation country of citizenship
['Pauline Wong', 'country of citizenship', 'Belgium'] ['Pauline Wong', 'country of citizenship', 'United Kingdom']
ASK WHERE { VALUES ( ?k ) { ( resource:Belgium ) ( resource:United_Kingdom ) } . resource:Pauline_Wong property:country_of_citizenship ?k }
[]
common name
SYSTEM
NO
(Q7155101,P27,Q31) (Q7155101,P27,Q145)
action is_in
entity prev_answer
action find
entity Q7155101
relation P27
[ANSWER]
['Q7155101', 'P27', 'Q31'] ['Q7155101', 'P27', 'Q145']
ASK WHERE { VALUES ( ?k ) { ( resource:Q31 ) ( resource:Q145 ) } . resource:Q7155101 property:P27 ?k }
No
action is_in
entity prev_answer
action find
entity Pauline Wong
relation country of citizenship
['Pauline Wong', 'country of citizenship', 'Belgium'] ['Pauline Wong', 'country of citizenship', 'United Kingdom']
ASK WHERE { VALUES ( ?k ) { ( resource:Belgium ) ( resource:United_Kingdom ) } . resource:Pauline_Wong property:country_of_citizenship ?k }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q909827 Q16
P17
Q1048835
USER
Is Conservative Party of Canada present in Canada ?
(Q909827,P17,Q16)
action is_in
entity Q16
action find
entity Q909827
relation P17
['Q909827', 'P17', 'Q16']
ASK WHERE { resource:Q909827 property:P17 resource:Q16 }
Conservative Party of Canada Canada
action is_in
entity Canada
action find
entity Conservative Party of Canada
relation country
['Conservative Party of Canada', 'country', 'Canada']
ASK WHERE { resource:Conservative_Party_of_Canada property:country resource:Canada }
[]
political territorial entity
SYSTEM
YES
(Q909827,P17,Q16)
action is_in
entity Q16
action find
entity Q909827
relation P17
[ANSWER]
['Q909827', 'P17', 'Q16']
ASK WHERE { resource:Q909827 property:P17 resource:Q16 }
Yes
action is_in
entity Canada
action find
entity Conservative Party of Canada
relation country
['Conservative Party of Canada', 'country', 'Canada']
ASK WHERE { resource:Conservative_Party_of_Canada property:country resource:Canada }
[]