Simple Question (Direct)
Simple Question
Q19602715
P641
Q349
USER
Which sport was Stefan Simič a part of ?
(Q19602715,P641,c(Q349))
action filter_type
action find
entity Q19602715
relation P641
type Q349
['Q19602715', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q19602715 property:P641 ?l . ?l rdf:type ontology:Q349 }
Stefan Simič
action filter_type
action find
entity Stefan Simič
relation sport
type sport
['Stefan Simič', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:Stefan_Simič property:sport ?l . ?l rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q19602715,P641,c(Q349))
action filter_type
action find
entity Q19602715
relation P641
type Q349
Which sport was Stefan Simič a part of
['Q19602715', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q19602715 property:P641 ?l . ?l rdf:type ontology:Q349 }
association football
Which sport was Stefan Simič a part of
association football
action filter_type
action find
entity Stefan Simič
relation sport
type sport
['Stefan Simič', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:Stefan_Simič property:sport ?l . ?l rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19602715
P106
Q12737077
USER
What is the profession of that person ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q19602715
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q19602715 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Stefan Simič
action filter_type
action find
entity Stefan Simič
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Stefan_Simič property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q19602715
relation P106
type Q12737077
The profession of that person is an [ANSWER]
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q19602715 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
association football player
The profession of that person is an association football player
association football player
action filter_type
action find
entity Stefan Simič
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Stefan_Simič property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1238570 Q937857
P106
Q502895
USER
Which people have the profession as association football player and political scientist ?
AND((c(Q502895),P106,Q937857), (c(Q502895),P106,Q1238570))
action filter_type
action intersection
action find_reverse
entity Q937857
relation P106
action find_reverse
entity Q1238570
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q937857'], [{'concept': 'Q502895'}, 'P106', 'Q1238570']]}
SELECT DISTINCT ?v WHERE { ?v property:P106 resource:Q937857 . ?v property:P106 resource:Q1238570 . ?v rdf:type ontology:Q502895 }
political scientist association football player
action filter_type
action intersection
action find_reverse
entity association football player
relation occupation
action find_reverse
entity political scientist
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'association football player'], [{'concept': 'common name'}, 'occupation', 'political scientist']]}
SELECT DISTINCT ?v WHERE { ?v property:occupation resource:association_football_player . ?v property:occupation resource:political_scientist . ?v rdf:type ontology:common_name }
[]
common name
Q1027982 Q6305761
SYSTEM
Martin Dobrotka, Jules Boykoff
Q1027982 Q6305761
AND((c(Q502895),P106,Q937857), (c(Q502895),P106,Q1238570))
action filter_type
action intersection
action find_reverse
entity Q937857
relation P106
action find_reverse
entity Q1238570
relation P106
type Q502895
[ANSWERS] have the profession as association football player and political scientist
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q937857'], [{'concept': 'Q502895'}, 'P106', 'Q1238570']]}
SELECT DISTINCT ?v WHERE { ?v property:P106 resource:Q937857 . ?v property:P106 resource:Q1238570 . ?v rdf:type ontology:Q502895 }
Martin Dobrotka Jules Boykoff
Martin Dobrotka and Jules Boykoff have the profession as association football player and political scientist
Martin Dobrotka Jules Boykoff
action filter_type
action intersection
action find_reverse
entity association football player
relation occupation
action find_reverse
entity political scientist
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'association football player'], [{'concept': 'common name'}, 'occupation', 'political scientist']]}
SELECT DISTINCT ?v WHERE { ?v property:occupation resource:association_football_player . ?v property:occupation resource:political_scientist . ?v rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2422230 Q19602715
P19
Q56061
USER
Which administrative territories are the places of birth of Stefan Simič or Gerard Hadders ?
OR((Q19602715,P19,c(Q56061)), (Q2422230,P19,c(Q56061)))
action filter_type
action union
action find
entity Q19602715
relation P19
action find
entity Q2422230
relation P19
type Q56061
{'OR': [['Q19602715', 'P19', {'concept': 'Q56061'}], ['Q2422230', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?w ) { ( resource:Q19602715 ) ( resource:Q2422230 ) } . ?w property:P19 ?r } . ?r rdf:type ontology:Q56061 }
Gerard Hadders Stefan Simič
action filter_type
action union
action find
entity Stefan Simič
relation place of birth
action find
entity Gerard Hadders
relation place of birth
type administrative territorial entity
{'OR': [['Stefan Simič', 'place of birth', {'concept': 'administrative territorial entity'}], ['Gerard Hadders', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?w ) { ( resource:Stefan_Simič ) ( resource:Gerard_Hadders ) } . ?w property:place_of_birth ?r } . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q34370 Q1085
SYSTEM
Rotterdam, Prague
Q34370 Q1085
OR((Q19602715,P19,c(Q56061)), (Q2422230,P19,c(Q56061)))
action filter_type
action union
action find
entity Q19602715
relation P19
action find
entity Q2422230
relation P19
type Q56061
[ANSWERS] are the places of birth of Stefan Simič or Gerard Hadders
{'OR': [['Q19602715', 'P19', {'concept': 'Q56061'}], ['Q2422230', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?w ) { ( resource:Q19602715 ) ( resource:Q2422230 ) } . ?w property:P19 ?r } . ?r rdf:type ontology:Q56061 }
Rotterdam Prague
Rotterdam and Prague are the places of birth of Stefan Simič or Gerard Hadders
Rotterdam Prague
action filter_type
action union
action find
entity Stefan Simič
relation place of birth
action find
entity Gerard Hadders
relation place of birth
type administrative territorial entity
{'OR': [['Stefan Simič', 'place of birth', {'concept': 'administrative territorial entity'}], ['Gerard Hadders', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?w ) { ( resource:Stefan_Simič ) ( resource:Gerard_Hadders ) } . ?w property:place_of_birth ?r } . ?r rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q24027260
P532
Q56061 Q2235308
USER
Which ship types have approximately the same number of administrative territories as their registry harbour as Convoy ?
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027260
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?y ) WHERE { ?k property:P532 ?l . ?l rdf:type ontology:Q56061 . ?k rdf:type ontology:Q2235308 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { ?s rdf:type ontology:Q2235308 . resource:Q24027260 property:P532 ?s } } . FILTER ( ?y = ?o ) }
Convoy
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Convoy
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?y ) WHERE { ?k property:port_of_registry ?l . ?l rdf:type ontology:administrative_territorial_entity . ?k rdf:type ontology:ship_type } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { ?s rdf:type ontology:ship_type . resource:Convoy property:port_of_registry ?s } } . FILTER ( ?y = ?o ) }
[]
administrative territorial entity ship type
Q558338 Q10689324 Q56839
SYSTEM
RV Polarstern, T46, USNS Puerto Rico
Q24027529 Q24027524 Q24027523 Q24027520 Q24027521 Q558338 Q24027098 Q5416 Q23935687 Q24027294 Q24027295 Q24027296 Q24027297 Q24027290 Q24027291 Q24027293 Q24027355 Q24027354 Q24027357 Q24027356 Q24027298 Q24027350 Q24027353 Q24027352 Q24027450 Q24027456 Q24027457 Q10659232 Q24027455 Q24027458 Q24027459 Q671137 Q24027390 Q24027188 Q24027189 Q23936292 Q24027181 Q24027183 Q24027184 Q24027185 Q24027186 Q24027187 Q24026972 Q21590707 Q24026970 Q24026971 Q24026976 Q24026974 Q24026975 Q24026978 Q24026979 Q24027078 Q24027079 Q24027075 Q24027076 Q24027077 Q24027070 Q24027071 Q24027072 Q24027073 Q24027175 Q24027174 Q24027177 Q24027279 Q24027171 Q24027170 Q24027173 Q24027172 Q24027272 Q24027270 Q24027179 Q24027178 Q24027274 Q24027275 Q24027269 Q24027009 Q24027008 Q24027001 Q24027000 Q24027003 Q24027386 Q24027005 Q24027004 Q24027007 Q24027006 Q24027467 Q24027418 Q24027416 Q24027414 Q24027412 Q24027413 Q24027410 Q3432142 Q21546160 Q7393645 Q24027302 Q24027303 Q24027300 Q24027301 Q24027306 Q24027307 Q24027304 Q24027305 Q24027359 Q24027308 Q24027309 Q24027358 Q25933427 Q64846 Q24027251 Q24027452 Q24027234 Q24027235 Q24027232 Q24027233 Q24027230 Q24027231 Q24027238 Q24027239 Q24027025 Q24027364 Q24026989 Q24026988 Q6720075 Q24026983 Q24026982 Q24026981 Q24026980 Q24026986 Q24026985 Q24026984 Q24027045 Q24027044 Q24027128 Q24027129 Q24027041 Q24027040 Q24027043 Q24027042 Q24027122 Q24027123 Q24027120 Q24027121 Q24027126 Q24027127 Q24027124 Q24027125 Q24026938 Q24026939 Q24026936 Q24026937 Q24027180 Q24026935 Q24026932 Q24026933 Q24026930 Q24026931 Q24027513 Q24027512 Q24027511 Q24027510 Q24027517 Q24027516 Q24027514 Q24027401 Q24027519 Q24027518 Q24027299 Q24027400 Q1376616 Q321512 Q24027118 Q24027349 Q24027346 Q24027347 Q24027344 Q24027345 Q24027343 Q24027340 Q24027112 Q7394354 Q24027466 Q24027465 Q24027464 Q24027463 Q24027462 Q24027461 Q24027460 Q24027059 Q24027469 Q24027468 Q26884343 Q24027438 Q24027439 Q2017178 Q24027249 Q23930851 Q24026947 Q24026946 Q24026945 Q24026943 Q24026942 Q24026941 Q24026940 Q24026949 Q24026948 Q24027081 Q24027080 Q24027083 Q24027082 Q24027085 Q24027084 Q24027087 Q24027086 Q24027088 Q24027050 Q24027166 Q24027167 Q24027164 Q24027162 Q24027163 Q24027160 Q24027161 Q24027247 Q24027246 Q24027245 Q24027244 Q24027243 Q24027242 Q24027168 Q24027240 Q23936293 Q24027051 Q24027237 Q24027437 Q24027018 Q24027019 Q887782 Q24027012 Q24027013 Q24026934 Q24027017 Q24683722 Q24027015 Q24027422 Q24027421 Q24027420 Q24027427 Q24027426 Q24027425 Q24027424 Q24027429 Q24027428 Q24027337 Q24027336 Q24027335 Q24027334 Q24027333 Q24027332 Q24027331 Q24027330 Q24027339 Q24027338 Q24027192 Q872070 Q24027328 Q56839 Q24027208 Q24027203 Q24027200 Q24027206 Q24027205 Q24027204 Q4922515 Q24026998 Q24026999 Q24026994 Q24026995 Q24026996 Q24026997 Q24026990 Q24026991 Q24026992 Q24026993 Q24027056 Q24027057 Q24027054 Q24027055 Q24027052 Q24027053 Q24027119 Q1926275 Q24027117 Q24027116 Q24027115 Q24027113 Q24027111 Q24027110 Q24027010 Q19896387 Q24027506 Q24027507 Q24027500 Q24027501 Q24027502 Q24027503 Q24027016 Q24027508 Q24027509 Q10659340 Q24027448 Q24027478 Q24027479 Q24027371 Q24027370 Q24027377 Q24027375 Q24027374 Q24027470 Q24027471 Q24027472 Q24027378 Q24027476 Q24027475 Q24027046 Q2714285 Q24027477 Q24027248 Q24027049 Q24027047 Q24027485 Q24027481 Q24027480 Q24027483 Q24027489 Q24027488 Q190542 Q19875522 Q24027278 Q24027092 Q24027093 Q24027090 Q24027091 Q24027096 Q24027097 Q24027094 Q24027095 Q24027153 Q24027152 Q24027151 Q24027150 Q24027157 Q24027156 Q24027155 Q24027154 Q24027398 Q24027252 Q24027253 Q24027254 Q24027256 Q24027257 Q24027391 Q24027259 Q24027393 Q24027392 Q24027395 Q24027394 Q24027397 Q24027396 Q1328104 Q23935690 Q24027276 Q24027277 Q24027029 Q24027027 Q24027026 Q24026973 Q24027024 Q24027023 Q24027022 Q24027021 Q24027020 Q24026958 Q24026959 Q3273204 Q24026950 Q24026951 Q24026952 Q24026953 Q24026954 Q24026955 Q24026956 Q24026957 Q24027434 Q24027435 Q24027436 Q24027241 Q24027430 Q24027433 Q24027531 Q24027227 Q24027533 Q24027226 Q24027408 Q24027197 Q15804931 Q24027222 Q24027218 Q24027283 Q24027281 Q24027280 Q24027287 Q24027285 Q24027284 Q24027320 Q24027321 Q24027322 Q24027288 Q24027324 Q24027326 Q24027327 Q24027441 Q24027440 Q24027443 Q24027442 Q24027444 Q24027447 Q24027446 Q24027449 Q644078 Q24027217 Q15806486 Q2859581 Q23936306 Q6717728 Q24027194 Q24027193 Q24027219 Q24027191 Q24027190 Q24027214 Q24027215 Q24027216 Q24027210 Q24027211 Q24027212 Q24027213 Q23930837 Q24026961 Q24026960 Q24026963 Q24026962 Q24026965 Q24026964 Q24026967 Q24026966 Q24026969 Q24027069 Q24027068 Q24027061 Q24027060 Q24027067 Q24027066 Q24027065 Q24027064 Q24027101 Q24027103 Q24027104 Q24027105 Q24027106 Q24027107 Q24027108 Q24027109 Q24027262 Q24027265 Q24027264 Q24027267 Q24027266 Q24026915 Q24026916 Q17374114 Q1094175 Q24026919 Q885761 Q19277222 Q10542891 Q24027365 Q24027366 Q24027367 Q24027360 Q24027361 Q24027362 Q24027363 Q24027405 Q24027404 Q24027407 Q24027368 Q24027369 Q24027402 Q7440002 Q10689319 Q6718072 Q4833112 Q24027030 Q1844689 Q24027138 Q24027342 Q24027311 Q24027310 Q24027313 Q24027312 Q24027315 Q24027314 Q24027317 Q24027316 Q24027319 Q24027318 Q24027341 Q10689326 Q10689324 Q24027497 Q24027494 Q24027495 Q24027493 Q24027490 Q24027491 Q24027037 Q24027498 Q24027499 Q24027038 Q24027039 Q24027134 Q24027148 Q24027144 Q24027145 Q24027146 Q24027147 Q24027140 Q24027141 Q24027142 Q24027143 Q24027225 Q24027224 Q24027388 Q24027389 Q24027221 Q24027220 Q24027223 Q23936316 Q24027382 Q24027380 Q24027381 Q24027229 Q24027387 Q24027384 Q24027385 Q24027100 Q24027268 Q469715 Q24027139 Q24027031 Q24027032 Q24027033 Q24027034 Q24027035 Q24027036 Q24027131 Q24027130 Q24027133 Q24027132 Q24027135 Q24027159 Q24027137 Q24027136 Q24027261 Q24027158 Q24026929 Q24026928 Q24027260 Q24026925 Q24026924 Q24026927 Q24026926 Q24026921 Q24026920 Q24026923 Q24026922
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027260
relation P532
type Q2235308
[ANSWERS] have approximately the same number of administrative territories as their registry harbour as Convoy
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?y ) WHERE { ?k property:P532 ?l . ?l rdf:type ontology:Q56061 . ?k rdf:type ontology:Q2235308 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { ?s rdf:type ontology:Q2235308 . resource:Q24027260 property:P532 ?s } } . FILTER ( ?y = ?o ) }
Claverdale Cliftonian Florrie Glantivy Cheltonian RV Polarstern Eagle MS Isabelle Elizabeth Ann Catherine Anne Charlotte Pilgrim Martha Jane Alert Mary Retina Noah Rowland Evans Jane Maria Crusader Progress Solway Pleiades Fairy Owny Belle Dora Ann Adela S Hills S/S Blidösund Maglona Conovium Morning Star MV Brigitte Bardot Dovey Belle Dreadnought Jane Williams Agenoria Leander John James Lettice Catherine Farmers Lass Orcadia Anne Davies Diligence Ardmore Sealeader Salathiel Energy Urgent Letitia Brothers Ceres Aeron Lass Ellen Owen Mantura Urania Mary Anne Elizabeth Lewis George Ann Margaretta Friendship Catherine & Mary Equity Eagle Eyed Glenaros Mary Davies Queen of the Isles Prima Donna Thomas Confidence Hannah Nive Naomi Dewi Lass Anne Jane Helena Taliesin Cambrian Belle Atalanta Bee Mountain Lass William & Mary Turtle Dove Friends Ellen Adelaide Martha Lloyd Courier Lerry Claudia Ivanhoe Ina Lass Cecil Brindley Golar Spirit MV Maritec SS Empire Endurance Hind Fairlina Joan Cunllo Prince of Wales Aurora Ann Davies Montego Gertrude Ceredig Martha Lloyd William Landreth Retriever High Barbaree MS Skåne Panthea Ann Jones Killia Lass Jane Belem Alberta Agnes Fraser Main Volunteer Eunice Mary Hughes Lovina Bee Hope MV Spreewald Fair Hope Beryl Dovey Packet Candace Lydia Speculation Clara Nanteos Carn Brea Lady of the Forest Nathaniel Ontario Herald Anna Maria Margaret Jones Jane Gwynne Arica Jane Davies Hawendale Elizabeth & Margaret Rheidol Vale Candor Prince Llewelyn Clarissa Elizabeth Thomas New Diligence Ella Pacific Maria George Reynolds Mary Anna Argo Towy Santon Glanyrafon Harperly Glanhafren Venus Glanystwyth Pluvier J. Llewellyn Alton Towers Feliciana Catherine Morgan J.W.A. SS Norge Alster Sarah Bridget Castle Eden Walter J. Cummins Sea Queen Hetty Mary Zingara Ocean Dart Zulette Sarah SS Scharnhorst Eleanor & Jane Agenoria Maggie Phillips Rheidol Nerissa Caroline Spooner General Nott Adoram Lady Agnes George & Lizzie STI Poplar Plover Maggie Cummings Oker Glenara Capricorn Prudence Jane Adroit Primrose John & Ann Levant Ellen Eaglet Jane Ellen Dove Glynaeron Padarn Arcturus Edward John Eleanor Jane Jones Cwmsymlog John & Margaret Loyalty Maria & Ann Marmion Claudia Albion Mary Rees Two sisters Puella Berlin Nimrod Jane Elizabeth Anne Jenkins Credo Cricket Louisa Jane Morben Providence Anne & Mary Lima Agnes Cairnes Mary Lloyd Jane MY Bob Barker Jane Ellen Pyrenee Two Brothers Gwalia Cirrus Gowerian Champion Gipsy King John Ewing Cygnet P.M. Willcock Lorne Derby Ella Swallow Fanny Fothergill Catherine Acorn Albatross Isabella Julianna Oronsa John Elias General Nott Ellen Beatrice Maid of Meirion German frigate Lübeck Sarah Phillips USNS Puerto Rico Heather Bell Ocean Belle Maria Anna Aretas Ann & Margaret Syren Blackadder Orion Prima Dudgeon Margaret Ann Aeron Maid Reform Lovely Lass Conovium Major Nanney Amity Henry & Dora Heart of Oak Ann & Elizabeth Ruby Anne Jones Catherine Beatrice MY Steve Irwin Mary Jones Peerless Eliza & Hannah Eliza Jenkins All Right Jane Owens Viscata Asta av Smögen Porpoise Norseman Etonian Rugbeian Carthusian Breconian Victoria Crescent Blue & White S/S Storskär Desdemona Raymond Comet Dreadnought Napoleon Leah Swell Rheidol Queen Hero Isobel Queen's Cliff Hope Adrienne Pearl Ellen MS Rosella Lynwood Prairie Flower Active Egcrateia Glanwern Miss Hughes Advance Edith Eleanor Glanrheidol Cadwgan Costa Concordia Big Fish Susannah Knapp Philanthropist Magdalen Esther Eleanor Anne Warren Myra Union Packet Ellen Edwards Hagar Hedessa Messenger Spread Eagle Nymph Faithful Sister Caroline Maria Roseina Lizzie Jane Sarah Jane Wellington Bessie Messenger Bezaleel Jane Rowland Ann & Mary Antelope Jane Lois Henry E. Taylor Jane Catherine Alfa Nero Azorean J.W. James Bristol Packet Aeron Queen Melodia Malvina Velocity Jane & Mary Gleaner Dart Margaret Evans Martin Omnibus MV Barfleur Ospray Integrity Lively Lass Anne Elizabeth Waterloo John & Mary Faithful Mother Industry Eastward Ianthe Resolven Ionian Belle Alice & Eliza Fleetwing Erycina Utopia Mela Hetty Ellen Ethel Anne Eliza Jane Linzerin Thomas & Sons Elizabeth Jane Margaretta Bertie Squirrel Ann Eliza Emily Agnes Alicia Summer Cloud Ada & Alice Catherine Hendry George Evans Prince Cadwgan U. Larsing Annie Maude Sophia & Emily Nymph Cambrian Doris Shon Quilt Excelsior Martha & Harriet Lady Pryse Preußen Aeron Vale Dortmund Arawak Zouave MSC Geneva Heedful Emrys Eleanor Thomas Anne Catherine Ada Letitia Sarah Davies Eleanor Francis Margaret Jane John James Industry Marwood Rosina Jane Morriston Affines Excellent Nymph Mary Jane Alert Ann Sylph Bristol Trader Hope Enterprise Aeron Belle Fanny Taylor Ellen Express Brothers Castle Annsboro Drusus Jane Morgans Elizabeth Davies Meridian Strata Florida Majestic Mary Botwood Laura John William John William Keldhead Ceres Susanna Gwenllian Velocity M/S Elfkungen MV City of St. Petersburg Kate MV Blue Marlin Ceona Amazon Kalmarsund VIII Glad Tidings Star of Wales Sir Robert McClure Naomi Rheidol Queen Ellen Anne Levant Rosland Zenobia Clarita Patriot Priscilla M.A. Jones Sea Shepherd II T26 MS Gemini Azurite FDPSO Alice RV Farley Mowat Britannia Mela Kate Sophia Principality Elizabeth Gwladys Madona Native M. A. Evans Clarovine Annie Ramsay Maelota Isabel T56 T46 Johann Caradog Theodore Engels Glanystwyth General Picton Eleanor & Jane Ifor Firefly Jubilee Ceylon Susanna Nell Lois Mary Sarah Mary Jane Eigen Cambria Eugenia Battus Jane Griffiths Severn John Pierce Blue Jacket Mediterranean Triton Ann & Betsy Tirsah Jane Herbert Eliza Francis Rebecca Native Pearl Oneida Aberystwyth Emma Alice Rachel Lewis Sarah Ann Favourite Atlantic MV Colombo Express Sisters John & Mary Ellen Catherine Camden Marys Resolute MARY & ELLEN Truant Wasp Louisa Ann Countess of Lisburne Sarah & Mary Favourite Anne Bodotria Ystwyth Burncoose Exchange Honora Convoy Valentine Gambia Catherine & Jane Mair Perseverance Idea Pandora Ellen
RV Polarstern, T46 and USNS Puerto Rico have approximately the same number of administrative territories as their registry harbour as Convoy
RV Polarstern T46 USNS Puerto Rico
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Convoy
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?y ) WHERE { ?k property:port_of_registry ?l . ?l rdf:type ontology:administrative_territorial_entity . ?k rdf:type ontology:ship_type } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { ?s rdf:type ontology:ship_type . resource:Convoy property:port_of_registry ?s } } . FILTER ( ?y = ?o ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q26884343
P532
Q56061 Q2235308
USER
And how about STI Poplar?
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q26884343
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?v ) WHERE { ?d property:P532 ?s . ?s rdf:type ontology:Q56061 . ?d rdf:type ontology:Q2235308 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { resource:Q26884343 property:P532 ?j . ?j rdf:type ontology:Q2235308 } } . FILTER ( ?v = ?z ) }
STI Poplar
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity STI Poplar
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?v ) WHERE { ?d property:port_of_registry ?s . ?s rdf:type ontology:administrative_territorial_entity . ?d rdf:type ontology:ship_type } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { resource:STI_Poplar property:port_of_registry ?j . ?j rdf:type ontology:ship_type } } . FILTER ( ?v = ?z ) }
[]
administrative territorial entity ship type
Q558338 Q10689324 Q56839
SYSTEM
RV Polarstern, T46, USNS Puerto Rico
Q24027529 Q24027524 Q24027523 Q24027520 Q24027521 Q558338 Q24027098 Q5416 Q23935687 Q24027294 Q24027295 Q24027296 Q24027297 Q24027290 Q24027291 Q24027293 Q24027355 Q24027354 Q24027357 Q24027356 Q24027298 Q24027350 Q24027353 Q24027352 Q24027450 Q24027456 Q24027457 Q10659232 Q24027455 Q24027458 Q24027459 Q671137 Q24027390 Q24027188 Q24027189 Q23936292 Q24027181 Q24027183 Q24027184 Q24027185 Q24027186 Q24027187 Q24026972 Q21590707 Q24026970 Q24026971 Q24026976 Q24026974 Q24026975 Q24026978 Q24026979 Q24027078 Q24027079 Q24027075 Q24027076 Q24027077 Q24027070 Q24027071 Q24027072 Q24027073 Q24027175 Q24027174 Q24027177 Q24027279 Q24027171 Q24027170 Q24027173 Q24027172 Q24027272 Q24027270 Q24027179 Q24027178 Q24027274 Q24027275 Q24027269 Q24027009 Q24027008 Q24027001 Q24027000 Q24027003 Q24027386 Q24027005 Q24027004 Q24027007 Q24027006 Q24027467 Q24027418 Q24027416 Q24027414 Q24027412 Q24027413 Q24027410 Q3432142 Q21546160 Q7393645 Q24027302 Q24027303 Q24027300 Q24027301 Q24027306 Q24027307 Q24027304 Q24027305 Q24027359 Q24027308 Q24027309 Q24027358 Q25933427 Q64846 Q24027251 Q24027452 Q24027234 Q24027235 Q24027232 Q24027233 Q24027230 Q24027231 Q24027238 Q24027239 Q24027025 Q24027364 Q24026989 Q24026988 Q6720075 Q24026983 Q24026982 Q24026981 Q24026980 Q24026986 Q24026985 Q24026984 Q24027045 Q24027044 Q24027128 Q24027129 Q24027041 Q24027040 Q24027043 Q24027042 Q24027122 Q24027123 Q24027120 Q24027121 Q24027126 Q24027127 Q24027124 Q24027125 Q24026938 Q24026939 Q24026936 Q24026937 Q24027180 Q24026935 Q24026932 Q24026933 Q24026930 Q24026931 Q24027513 Q24027512 Q24027511 Q24027510 Q24027517 Q24027516 Q24027514 Q24027401 Q24027519 Q24027518 Q24027299 Q24027400 Q1376616 Q321512 Q24027118 Q24027349 Q24027346 Q24027347 Q24027344 Q24027345 Q24027343 Q24027340 Q24027112 Q7394354 Q24027466 Q24027465 Q24027464 Q24027463 Q24027462 Q24027461 Q24027460 Q24027059 Q24027469 Q24027468 Q26884343 Q24027438 Q24027439 Q2017178 Q24027249 Q23930851 Q24026947 Q24026946 Q24026945 Q24026943 Q24026942 Q24026941 Q24026940 Q24026949 Q24026948 Q24027081 Q24027080 Q24027083 Q24027082 Q24027085 Q24027084 Q24027087 Q24027086 Q24027088 Q24027050 Q24027166 Q24027167 Q24027164 Q24027162 Q24027163 Q24027160 Q24027161 Q24027247 Q24027246 Q24027245 Q24027244 Q24027243 Q24027242 Q24027168 Q24027240 Q23936293 Q24027051 Q24027237 Q24027437 Q24027018 Q24027019 Q887782 Q24027012 Q24027013 Q24026934 Q24027017 Q24683722 Q24027015 Q24027422 Q24027421 Q24027420 Q24027427 Q24027426 Q24027425 Q24027424 Q24027429 Q24027428 Q24027337 Q24027336 Q24027335 Q24027334 Q24027333 Q24027332 Q24027331 Q24027330 Q24027339 Q24027338 Q24027192 Q872070 Q24027328 Q56839 Q24027208 Q24027203 Q24027200 Q24027206 Q24027205 Q24027204 Q4922515 Q24026998 Q24026999 Q24026994 Q24026995 Q24026996 Q24026997 Q24026990 Q24026991 Q24026992 Q24026993 Q24027056 Q24027057 Q24027054 Q24027055 Q24027052 Q24027053 Q24027119 Q1926275 Q24027117 Q24027116 Q24027115 Q24027113 Q24027111 Q24027110 Q24027010 Q19896387 Q24027506 Q24027507 Q24027500 Q24027501 Q24027502 Q24027503 Q24027016 Q24027508 Q24027509 Q10659340 Q24027448 Q24027478 Q24027479 Q24027371 Q24027370 Q24027377 Q24027375 Q24027374 Q24027470 Q24027471 Q24027472 Q24027378 Q24027476 Q24027475 Q24027046 Q2714285 Q24027477 Q24027248 Q24027049 Q24027047 Q24027485 Q24027481 Q24027480 Q24027483 Q24027489 Q24027488 Q190542 Q19875522 Q24027278 Q24027092 Q24027093 Q24027090 Q24027091 Q24027096 Q24027097 Q24027094 Q24027095 Q24027153 Q24027152 Q24027151 Q24027150 Q24027157 Q24027156 Q24027155 Q24027154 Q24027398 Q24027252 Q24027253 Q24027254 Q24027256 Q24027257 Q24027391 Q24027259 Q24027393 Q24027392 Q24027395 Q24027394 Q24027397 Q24027396 Q1328104 Q23935690 Q24027276 Q24027277 Q24027029 Q24027027 Q24027026 Q24026973 Q24027024 Q24027023 Q24027022 Q24027021 Q24027020 Q24026958 Q24026959 Q3273204 Q24026950 Q24026951 Q24026952 Q24026953 Q24026954 Q24026955 Q24026956 Q24026957 Q24027434 Q24027435 Q24027436 Q24027241 Q24027430 Q24027433 Q24027531 Q24027227 Q24027533 Q24027226 Q24027408 Q24027197 Q15804931 Q24027222 Q24027218 Q24027283 Q24027281 Q24027280 Q24027287 Q24027285 Q24027284 Q24027320 Q24027321 Q24027322 Q24027288 Q24027324 Q24027326 Q24027327 Q24027441 Q24027440 Q24027443 Q24027442 Q24027444 Q24027447 Q24027446 Q24027449 Q644078 Q24027217 Q15806486 Q2859581 Q23936306 Q6717728 Q24027194 Q24027193 Q24027219 Q24027191 Q24027190 Q24027214 Q24027215 Q24027216 Q24027210 Q24027211 Q24027212 Q24027213 Q23930837 Q24026961 Q24026960 Q24026963 Q24026962 Q24026965 Q24026964 Q24026967 Q24026966 Q24026969 Q24027069 Q24027068 Q24027061 Q24027060 Q24027067 Q24027066 Q24027065 Q24027064 Q24027101 Q24027103 Q24027104 Q24027105 Q24027106 Q24027107 Q24027108 Q24027109 Q24027262 Q24027265 Q24027264 Q24027267 Q24027266 Q24026915 Q24026916 Q17374114 Q1094175 Q24026919 Q885761 Q19277222 Q10542891 Q24027365 Q24027366 Q24027367 Q24027360 Q24027361 Q24027362 Q24027363 Q24027405 Q24027404 Q24027407 Q24027368 Q24027369 Q24027402 Q7440002 Q10689319 Q6718072 Q4833112 Q24027030 Q1844689 Q24027138 Q24027342 Q24027311 Q24027310 Q24027313 Q24027312 Q24027315 Q24027314 Q24027317 Q24027316 Q24027319 Q24027318 Q24027341 Q10689326 Q10689324 Q24027497 Q24027494 Q24027495 Q24027493 Q24027490 Q24027491 Q24027037 Q24027498 Q24027499 Q24027038 Q24027039 Q24027134 Q24027148 Q24027144 Q24027145 Q24027146 Q24027147 Q24027140 Q24027141 Q24027142 Q24027143 Q24027225 Q24027224 Q24027388 Q24027389 Q24027221 Q24027220 Q24027223 Q23936316 Q24027382 Q24027380 Q24027381 Q24027229 Q24027387 Q24027384 Q24027385 Q24027100 Q24027268 Q469715 Q24027139 Q24027031 Q24027032 Q24027033 Q24027034 Q24027035 Q24027036 Q24027131 Q24027130 Q24027133 Q24027132 Q24027135 Q24027159 Q24027137 Q24027136 Q24027261 Q24027158 Q24026929 Q24026928 Q24027260 Q24026925 Q24026924 Q24026927 Q24026926 Q24026921 Q24026920 Q24026923 Q24026922
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q26884343
relation P532
type Q2235308
[ANSWERS]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?v ) WHERE { ?d property:P532 ?s . ?s rdf:type ontology:Q56061 . ?d rdf:type ontology:Q2235308 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { resource:Q26884343 property:P532 ?j . ?j rdf:type ontology:Q2235308 } } . FILTER ( ?v = ?z ) }
Claverdale Cliftonian Florrie Glantivy Cheltonian RV Polarstern Eagle MS Isabelle Elizabeth Ann Catherine Anne Charlotte Pilgrim Martha Jane Alert Mary Retina Noah Rowland Evans Jane Maria Crusader Progress Solway Pleiades Fairy Owny Belle Dora Ann Adela S Hills S/S Blidösund Maglona Conovium Morning Star MV Brigitte Bardot Dovey Belle Dreadnought Jane Williams Agenoria Leander John James Lettice Catherine Farmers Lass Orcadia Anne Davies Diligence Ardmore Sealeader Salathiel Energy Urgent Letitia Brothers Ceres Aeron Lass Ellen Owen Mantura Urania Mary Anne Elizabeth Lewis George Ann Margaretta Friendship Catherine & Mary Equity Eagle Eyed Glenaros Mary Davies Queen of the Isles Prima Donna Thomas Confidence Hannah Nive Naomi Dewi Lass Anne Jane Helena Taliesin Cambrian Belle Atalanta Bee Mountain Lass William & Mary Turtle Dove Friends Ellen Adelaide Martha Lloyd Courier Lerry Claudia Ivanhoe Ina Lass Cecil Brindley Golar Spirit MV Maritec SS Empire Endurance Hind Fairlina Joan Cunllo Prince of Wales Aurora Ann Davies Montego Gertrude Ceredig Martha Lloyd William Landreth Retriever High Barbaree MS Skåne Panthea Ann Jones Killia Lass Jane Belem Alberta Agnes Fraser Main Volunteer Eunice Mary Hughes Lovina Bee Hope MV Spreewald Fair Hope Beryl Dovey Packet Candace Lydia Speculation Clara Nanteos Carn Brea Lady of the Forest Nathaniel Ontario Herald Anna Maria Margaret Jones Jane Gwynne Arica Jane Davies Hawendale Elizabeth & Margaret Rheidol Vale Candor Prince Llewelyn Clarissa Elizabeth Thomas New Diligence Ella Pacific Maria George Reynolds Mary Anna Argo Towy Santon Glanyrafon Harperly Glanhafren Venus Glanystwyth Pluvier J. Llewellyn Alton Towers Feliciana Catherine Morgan J.W.A. SS Norge Alster Sarah Bridget Castle Eden Walter J. Cummins Sea Queen Hetty Mary Zingara Ocean Dart Zulette Sarah SS Scharnhorst Eleanor & Jane Agenoria Maggie Phillips Rheidol Nerissa Caroline Spooner General Nott Adoram Lady Agnes George & Lizzie STI Poplar Plover Maggie Cummings Oker Glenara Capricorn Prudence Jane Adroit Primrose John & Ann Levant Ellen Eaglet Jane Ellen Dove Glynaeron Padarn Arcturus Edward John Eleanor Jane Jones Cwmsymlog John & Margaret Loyalty Maria & Ann Marmion Claudia Albion Mary Rees Two sisters Puella Berlin Nimrod Jane Elizabeth Anne Jenkins Credo Cricket Louisa Jane Morben Providence Anne & Mary Lima Agnes Cairnes Mary Lloyd Jane MY Bob Barker Jane Ellen Pyrenee Two Brothers Gwalia Cirrus Gowerian Champion Gipsy King John Ewing Cygnet P.M. Willcock Lorne Derby Ella Swallow Fanny Fothergill Catherine Acorn Albatross Isabella Julianna Oronsa John Elias General Nott Ellen Beatrice Maid of Meirion German frigate Lübeck Sarah Phillips USNS Puerto Rico Heather Bell Ocean Belle Maria Anna Aretas Ann & Margaret Syren Blackadder Orion Prima Dudgeon Margaret Ann Aeron Maid Reform Lovely Lass Conovium Major Nanney Amity Henry & Dora Heart of Oak Ann & Elizabeth Ruby Anne Jones Catherine Beatrice MY Steve Irwin Mary Jones Peerless Eliza & Hannah Eliza Jenkins All Right Jane Owens Viscata Asta av Smögen Porpoise Norseman Etonian Rugbeian Carthusian Breconian Victoria Crescent Blue & White S/S Storskär Desdemona Raymond Comet Dreadnought Napoleon Leah Swell Rheidol Queen Hero Isobel Queen's Cliff Hope Adrienne Pearl Ellen MS Rosella Lynwood Prairie Flower Active Egcrateia Glanwern Miss Hughes Advance Edith Eleanor Glanrheidol Cadwgan Costa Concordia Big Fish Susannah Knapp Philanthropist Magdalen Esther Eleanor Anne Warren Myra Union Packet Ellen Edwards Hagar Hedessa Messenger Spread Eagle Nymph Faithful Sister Caroline Maria Roseina Lizzie Jane Sarah Jane Wellington Bessie Messenger Bezaleel Jane Rowland Ann & Mary Antelope Jane Lois Henry E. Taylor Jane Catherine Alfa Nero Azorean J.W. James Bristol Packet Aeron Queen Melodia Malvina Velocity Jane & Mary Gleaner Dart Margaret Evans Martin Omnibus MV Barfleur Ospray Integrity Lively Lass Anne Elizabeth Waterloo John & Mary Faithful Mother Industry Eastward Ianthe Resolven Ionian Belle Alice & Eliza Fleetwing Erycina Utopia Mela Hetty Ellen Ethel Anne Eliza Jane Linzerin Thomas & Sons Elizabeth Jane Margaretta Bertie Squirrel Ann Eliza Emily Agnes Alicia Summer Cloud Ada & Alice Catherine Hendry George Evans Prince Cadwgan U. Larsing Annie Maude Sophia & Emily Nymph Cambrian Doris Shon Quilt Excelsior Martha & Harriet Lady Pryse Preußen Aeron Vale Dortmund Arawak Zouave MSC Geneva Heedful Emrys Eleanor Thomas Anne Catherine Ada Letitia Sarah Davies Eleanor Francis Margaret Jane John James Industry Marwood Rosina Jane Morriston Affines Excellent Nymph Mary Jane Alert Ann Sylph Bristol Trader Hope Enterprise Aeron Belle Fanny Taylor Ellen Express Brothers Castle Annsboro Drusus Jane Morgans Elizabeth Davies Meridian Strata Florida Majestic Mary Botwood Laura John William John William Keldhead Ceres Susanna Gwenllian Velocity M/S Elfkungen MV City of St. Petersburg Kate MV Blue Marlin Ceona Amazon Kalmarsund VIII Glad Tidings Star of Wales Sir Robert McClure Naomi Rheidol Queen Ellen Anne Levant Rosland Zenobia Clarita Patriot Priscilla M.A. Jones Sea Shepherd II T26 MS Gemini Azurite FDPSO Alice RV Farley Mowat Britannia Mela Kate Sophia Principality Elizabeth Gwladys Madona Native M. A. Evans Clarovine Annie Ramsay Maelota Isabel T56 T46 Johann Caradog Theodore Engels Glanystwyth General Picton Eleanor & Jane Ifor Firefly Jubilee Ceylon Susanna Nell Lois Mary Sarah Mary Jane Eigen Cambria Eugenia Battus Jane Griffiths Severn John Pierce Blue Jacket Mediterranean Triton Ann & Betsy Tirsah Jane Herbert Eliza Francis Rebecca Native Pearl Oneida Aberystwyth Emma Alice Rachel Lewis Sarah Ann Favourite Atlantic MV Colombo Express Sisters John & Mary Ellen Catherine Camden Marys Resolute MARY & ELLEN Truant Wasp Louisa Ann Countess of Lisburne Sarah & Mary Favourite Anne Bodotria Ystwyth Burncoose Exchange Honora Convoy Valentine Gambia Catherine & Jane Mair Perseverance Idea Pandora Ellen
RV Polarstern T46 USNS Puerto Rico
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity STI Poplar
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?v ) WHERE { ?d property:port_of_registry ?s . ?s rdf:type ontology:administrative_territorial_entity . ?d rdf:type ontology:ship_type } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { resource:STI_Poplar property:port_of_registry ?j . ?j rdf:type ontology:ship_type } } . FILTER ( ?v = ?z ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P532
Q515 Q2235308
USER
Which cities serves as the port of registry of max number of ship types ?
(c(Q2235308),P532,Q1773)
action argmax
action find_reverse_tuple_counts
relation P532
type Q515
type Q2235308
[{'concept': 'Q2235308'}, 'P532', 'Q1773']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?v ) WHERE { ?k property:P532 ?l . ?l rdf:type ontology:Q515 . ?k rdf:type ontology:Q2235308 } GROUP BY ?l } . FILTER ( ?v = ?f ) . { SELECT DISTINCT ( MAX ( ?s ) AS ?f ) { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:P532 ?u . ?u rdf:type ontology:Q515 . ?r rdf:type ontology:Q2235308 } GROUP BY ?u } } }
action argmax
action find_reverse_tuple_counts
relation port of registry
type city
type ship type
[{'concept': 'ship type'}, 'port of registry', 'Riga']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?v ) WHERE { ?k property:port_of_registry ?l . ?l rdf:type ontology:city . ?k rdf:type ontology:ship_type } GROUP BY ?l } . FILTER ( ?v = ?f ) . { SELECT DISTINCT ( MAX ( ?s ) AS ?f ) { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:port_of_registry ?u . ?u rdf:type ontology:city . ?r rdf:type ontology:ship_type } GROUP BY ?u } } }
[]
city ship type
Q1773 Q23482 Q2706
SYSTEM
Riga, Marseille, Bremerhaven
Q1410 Q3857 Q23482 Q606212 Q2706 Q1773
(c(Q2235308),P532,Q1773)
action argmax
action find_reverse_tuple_counts
relation P532
type Q515
type Q2235308
[ANSWERS] serve as the port of registry of max number of ship types
[{'concept': 'Q2235308'}, 'P532', 'Q1773']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?v ) WHERE { ?k property:P532 ?l . ?l rdf:type ontology:Q515 . ?k rdf:type ontology:Q2235308 } GROUP BY ?l } . FILTER ( ?v = ?f ) . { SELECT DISTINCT ( MAX ( ?s ) AS ?f ) { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:P532 ?u . ?u rdf:type ontology:Q515 . ?r rdf:type ontology:Q2235308 } GROUP BY ?u } } }
Gibraltar Wilhelmshaven Marseille Fremantle Bremerhaven Riga
Riga, Marseille and Bremerhaven serve as the port of registry of max number of ship types
Riga Marseille Bremerhaven
action argmax
action find_reverse_tuple_counts
relation port of registry
type city
type ship type
[{'concept': 'ship type'}, 'port of registry', 'Riga']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?v ) WHERE { ?k property:port_of_registry ?l . ?l rdf:type ontology:city . ?k rdf:type ontology:ship_type } GROUP BY ?l } . FILTER ( ?v = ?f ) . { SELECT DISTINCT ( MAX ( ?s ) AS ?f ) { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:port_of_registry ?u . ?u rdf:type ontology:city . ?r rdf:type ontology:ship_type } GROUP BY ?u } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P190
Q515 Q1048835
USER
Which political territories are twin town of atleast 2 cities ?
(c(Q1048835),P190,c(Q515))
action atleast
action find_tuple_counts
relation P190
type Q1048835
type Q515
value 2
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?y >= 2 ) . { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?y ) WHERE { ?v property:P190 ?i . ?v rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q515 } GROUP BY ?v } }
action atleast
action find_tuple_counts
relation sister city
type political territorial entity
type city
value 2
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?y >= 2 ) . { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?y ) WHERE { ?v property:sister_city ?i . ?v rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:city } GROUP BY ?v } }
[]
city political territorial entity
Q436491 Q16572 Q30002
SYSTEM
Altea, Guangzhou, Chengdu
Q842713 Q30002 Q168376 Q11746 Q436491 Q170247 Q92161 Q16572 Q74881 Q192387
(c(Q1048835),P190,c(Q515))
action atleast
action find_tuple_counts
relation P190
type Q1048835
type Q515
value 2
[ANSWERS] are twin town of atleast 2 cities
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?y >= 2 ) . { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?y ) WHERE { ?v property:P190 ?i . ?v rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q515 } GROUP BY ?v } }
Itajaí Chengdu Vitória Wuhan Altea Jinan Changchun Guangzhou Dalian Londrina
Altea, Guangzhou and Chengdu are twin town of atleast 2 cities
Altea Guangzhou Chengdu
action atleast
action find_tuple_counts
relation sister city
type political territorial entity
type city
value 2
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?y >= 2 ) . { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?y ) WHERE { ?v property:sister_city ?i . ?v rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:city } GROUP BY ?v } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q436491
P47
Q1048835
USER
Which political territories are next to the border of that one ?
(c(Q1048835),P47,Q436491)
action filter_type
action find
entity Q436491
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q436491']
SELECT DISTINCT ?u WHERE { resource:Q436491 property:P47 ?u . ?u rdf:type ontology:Q1048835 }
Altea
action filter_type
action find
entity Altea
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Altea']
SELECT DISTINCT ?u WHERE { resource:Altea property:shares_border_with ?u . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Clarification for simple ques.
Q30002
SYSTEM
Did you mean Chengdu ?
Q436491 Q16572 Q30002
(c(Q1048835),P47,Q436491) (c(Q1048835),P47,Q16572) (c(Q1048835),P47,Q30002)
[ANSWER]
[{'concept': 'Q1048835'}, 'P47', 'Q436491'] [{'concept': 'Q1048835'}, 'P47', 'Q16572'] [{'concept': 'Q1048835'}, 'P47', 'Q30002']
SELECT DISTINCT ?u WHERE { resource:Q436491 property:P47 ?u . ?u rdf:type ontology:Q1048835 }
Altea Guangzhou Chengdu
Did you mean Chengdu ?
Chengdu
[{'concept': 'political territorial entity'}, 'shares border with', 'Altea'] [{'concept': 'political territorial entity'}, 'shares border with', 'Guangzhou'] [{'concept': 'political territorial entity'}, 'shares border with', 'Chengdu']
SELECT DISTINCT ?u WHERE { resource:Altea property:shares_border_with ?u . ?u rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Altea. Could you tell me the answer for that?
(c(Q1048835),P47,Q436491)
Q436491
[{'concept': 'Q1048835'}, 'P47', 'Q436491']
[{'concept': 'political territorial entity'}, 'shares border with', 'Altea']
[]
Q1752098 Q1649406 Q1770160
SYSTEM
Xaló, Benissa, Callosa d'en Sarrià
Q671272 Q1752098 Q1649406 Q984403 Q1770160 Q619126
(c(Q1048835),P47,Q436491)
action filter_type
action find
entity Q436491
relation P47
type Q1048835
[ANSWERS] are next to the border of that one
[{'concept': 'Q1048835'}, 'P47', 'Q436491']
SELECT DISTINCT ?u WHERE { resource:Q436491 property:P47 ?u . ?u rdf:type ontology:Q1048835 }
Calp Xaló Benissa La Nucia Callosa d'en Sarrià l'Alfàs del Pi
Xaló, Benissa and Callosa d'en Sarrià are next to the border of that one
Xaló Benissa Callosa d'en Sarrià
action filter_type
action find
entity Altea
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Altea']
SELECT DISTINCT ?u WHERE { resource:Altea property:shares_border_with ?u . ?u rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q954175
P47
Q1048835
USER
Does Calaceite share border with those ones ?
(Q954175,P47,Q1752098) (Q954175,P47,Q1649406) (Q954175,P47,Q1770160)
action is_in
entity prev_answer
action find
entity Q954175
relation P47
['Q954175', 'P47', 'Q1752098'] ['Q954175', 'P47', 'Q1649406'] ['Q954175', 'P47', 'Q1770160']
ASK WHERE { resource:Q954175 property:P47 ?b . VALUES ( ?b ) { ( resource:Q671272 ) ( resource:Q1752098 ) ( resource:Q1649406 ) } }
Calaceite
action is_in
entity prev_answer
action find
entity Calaceite
relation shares border with
['Calaceite', 'shares border with', 'Xaló'] ['Calaceite', 'shares border with', 'Benissa'] ['Calaceite', 'shares border with', "Callosa d'en Sarrià"]
ASK WHERE { resource:Calaceite property:shares_border_with ?b . VALUES ( ?b ) { ( resource:Calp ) ( resource:Xaló ) ( resource:Benissa ) } }
[]
political territorial entity
SYSTEM
NO
(Q954175,P47,Q1752098) (Q954175,P47,Q1649406) (Q954175,P47,Q1770160)
action is_in
entity prev_answer
action find
entity Q954175
relation P47
[ANSWER]
['Q954175', 'P47', 'Q1752098'] ['Q954175', 'P47', 'Q1649406'] ['Q954175', 'P47', 'Q1770160']
ASK WHERE { resource:Q954175 property:P47 ?b . VALUES ( ?b ) { ( resource:Q671272 ) ( resource:Q1752098 ) ( resource:Q1649406 ) } }
No
action is_in
entity prev_answer
action find
entity Calaceite
relation shares border with
['Calaceite', 'shares border with', 'Xaló'] ['Calaceite', 'shares border with', 'Benissa'] ['Calaceite', 'shares border with', "Callosa d'en Sarrià"]
ASK WHERE { resource:Calaceite property:shares_border_with ?b . VALUES ( ?b ) { ( resource:Calp ) ( resource:Xaló ) ( resource:Benissa ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q477173
P516
Q151885 Q11019 Q2235308
USER
How many ship types are powered by less number of concepts or machines than Emma Mærsk ?
(c(Q2235308),P516,c(Q151885)|c(Q11019))
action count
action less
action union
action find_tuple_counts
relation P516
type Q2235308
type Q151885
action find_tuple_counts
relation P516
type Q2235308
type Q11019
action count
action filter_multi_types
action find
entity Q477173
relation P516
type Q151885
type Q11019
[{'concept': 'Q2235308'}, 'P516', [{'concept': 'Q151885'}, {'concept': 'Q11019'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?j WHERE { { ?j property:P516 ?l . ?j rdf:type ontology:Q2235308 . ?l rdf:type ontology:Q151885 } UNION { ?j property:P516 ?l . ?j rdf:type ontology:Q2235308 . ?l rdf:type ontology:Q11019 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { resource:Q477173 property:P516 ?y . { { ?y rdf:type ontology:Q11019 } UNION { ?y rdf:type ontology:Q151885 } } } } . FILTER ( ?n < ?d ) }
Emma Mærsk
action count
action less
action union
action find_tuple_counts
relation powerplant
type ship type
type concept
action find_tuple_counts
relation powerplant
type ship type
type machine
action count
action filter_multi_types
action find
entity Emma Mærsk
relation powerplant
type concept
type machine
[{'concept': 'ship type'}, 'powerplant', [{'concept': 'concept'}, {'concept': 'machine'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?j WHERE { { ?j property:powerplant ?l . ?j rdf:type ontology:ship_type . ?l rdf:type ontology:concept } UNION { ?j property:powerplant ?l . ?j rdf:type ontology:ship_type . ?l rdf:type ontology:machine } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { resource:Emma_Mærsk property:powerplant ?y . { { ?y rdf:type ontology:machine } UNION { ?y rdf:type ontology:concept } } } } . FILTER ( ?n < ?d ) }
[]
concept machine ship type
SYSTEM
300
Q4282419 Q10573040 Q1754034 Q10573209 Q7869984 Q1260634 Q902746 Q10573203 Q5632224 Q499055 Q820203 Q757554 Q10659340 Q2302386 Q2034758 Q1935618 Q678015 Q1683284 Q10515102 Q1971557 Q6144946 Q5232273 Q2005518 Q639502 Q10515073 Q6138496 Q10515071 Q2340616 Q10515077 Q3496868 Q10515075 Q5968178 Q10474880 Q1711338 Q4384713 Q10515141 Q441871 Q1971589 Q1780217 Q976846 Q5964938 Q1601564 Q210426 Q1789356 Q368419 Q4052175 Q10659232 Q7872657 Q2003758 Q5632099 Q10513229 Q301073 Q6138349 Q1422734 Q980570 Q4355091 Q6019761 Q1806597 Q19563487 Q10515262 Q1718601 Q6144738 Q1422739 Q510214 Q3381131 Q1783702 Q1564691 Q847672 Q10515274 Q3006912 Q10513142 Q2004210 Q10573163 Q18355867 Q19896387 Q7870354 Q1379656 Q2596850 Q7867460 Q748913 Q5231481 Q1141754 Q521029 Q598581 Q10513092 Q1467248 Q5227796 Q10513095 Q974939 Q10513098 Q567967 Q2000932 Q2093829 Q2301794 Q11409539 Q165916 Q1272420 Q2099267 Q1973096 Q6141356 Q2712823 Q10573144 Q1437413 Q783637 Q10573179 Q17374114 Q924151 Q10513150 Q1778502 Q975988 Q15661475 Q1314702 Q1787992 Q2471518 Q5971123 Q1725498 Q503453 Q508531 Q498760 Q968667 Q587557 Q6132017 Q7869705 Q10513087 Q7874949 Q10659318 Q616899 Q1363423 Q1596193 Q2091889 Q6144695 Q10659251 Q632457 Q1739268 Q10433049 Q7868451 Q2469792 Q1715770 Q10515253 Q1459982 Q11323769 Q1854315 Q6138608 Q2005990 Q10515088 Q7873660 Q4346742 Q10515231 Q1573507 Q10515237 Q5970896 Q1356916 Q993944 Q32770 Q2166261 Q204342 Q7058635 Q2000900 Q5636039 Q978610 Q7867378 Q942737 Q844743 Q1971215 Q5636031 Q1453075 Q2301237 Q6138545 Q2302353 Q10513079 Q174818 Q604857 Q10515211 Q1327349 Q20568 Q1786716 Q1386072 Q1444474 Q280710 Q2470102 Q667833 Q10573151 Q308909 Q6138306 Q217132 Q632503 Q1999797 Q371294 Q10515055 Q163738 Q6138393 Q7869683 Q7869682 Q1784063 Q10515187 Q748373 Q1783713 Q5636029 Q1287639 Q11288203 Q15662618 Q10515264 Q1781111 Q478298 Q919768 Q7875454 Q10689326 Q10689324 Q632460 Q10515053 Q2003791 Q1761221 Q378465 Q2003799 Q24683722 Q15661350 Q2091881 Q7870379 Q1578014 Q7874906 Q631540 Q1474340 Q12318402 Q10513109 Q1862142 Q6290718 Q1249407 Q3500597 Q21979631 Q7874470 Q7875315 Q15218573 Q570993 Q10515157 Q10723800 Q1472052 Q4442824 Q472986 Q685632 Q463161 Q5971096 Q7873770 Q6138564 Q7870497 Q253500 Q7871781 Q1755178 Q600125 Q7869921 Q2001200 Q5229866 Q7874656 Q710732 Q6138562 Q7874261 Q1687136 Q7868733 Q821843 Q1645144 Q1674076 Q3544864 Q1760185 Q935791 Q2696171 Q749868 Q7874855 Q4352397 Q10515051 Q2003808 Q10573052 Q7870122 Q6144928 Q747983 Q1566425 Q6141293 Q10514984 Q7874158 Q2117295 Q18355874 Q1971094 Q7868812 Q13230646 Q1788001 Q1029271 Q2001217 Q2006011 Q1337120 Q2297167 Q5226794 Q1628755 Q663075 Q10689319 Q7605392 Q10659292 Q1470212 Q3275455 Q5971155 Q2471257 Q1380250 Q2302375
(c(Q2235308),P516,c(Q151885)|c(Q11019))
action count
action less
action union
action find_tuple_counts
relation P516
type Q2235308
type Q151885
action find_tuple_counts
relation P516
type Q2235308
type Q11019
action count
action filter_multi_types
action find
entity Q477173
relation P516
type Q151885
type Q11019
[ANSWER]
[{'concept': 'Q2235308'}, 'P516', [{'concept': 'Q151885'}, {'concept': 'Q11019'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?j WHERE { { ?j property:P516 ?l . ?j rdf:type ontology:Q2235308 . ?l rdf:type ontology:Q151885 } UNION { ?j property:P516 ?l . ?j rdf:type ontology:Q2235308 . ?l rdf:type ontology:Q11019 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { resource:Q477173 property:P516 ?y . { { ?y rdf:type ontology:Q11019 } UNION { ?y rdf:type ontology:Q151885 } } } } . FILTER ( ?n < ?d ) }
K-123 Mars M/S Angantyr K-222 M/S Östanå I USS Hammerhead USS Helena Bravo-class submarine M/S Västan HMS Duncan USS Pintado USS Andrew Jackson nuclear submarine S/S Storskär USS Pasadena USS New Hampshire USS Pennsylvania USS Virginia USS Georgia HMS Sirius USS La Jolla USS Casimir Pulaski USS Bluefish USS Baltimore USS Abraham Lincoln HMS Plejad USS Queenfish HMS Piteå USS North Dakota HMS Pollux SS Sankt Erik HMS Polaris USS Batfish Djurgården 3 USS Lewis and Clark USS Patrick Henry HMS Sprängaren rotor ship USS Charlotte Octopus USS Grayling USS Spadefish USS Atlanta Japanese cruiser Yūbari USS Omaha USS Seahorse USS Bancroft S/S Blidösund USS Pargo USS Santa Fe HMS Defender HMS Halmstad Spica-class torpedo boat USS Lapon USS Michigan USS Cheyenne HMS Blake Indian USS Philadelphia USS Hyman G. Rickover HMS Västervik USS Buffalo USS Billfish USS Ohio USS Alexandria HNoMS Svenner USS Salt Lake City HMS Exmoor HMS Ark Royal HMS Ystad USS Drum HMS Capella USS Stout M/S Solöga USS Oregon Asta av Smögen USS Illinois USS Indianapolis MS Azura USS Aspro USS Harry S. Truman USS Sea Devil HMS Illustrious Kirov-class battlecruiser USS Dallas HMS Antares USS Parche USS Bergall HMS Arcturus Kortenaer-class frigate HMS Argo USS Chicago USS Ramage USS Tullibee USS George Washington nuclear-powered aircraft carrier USS Montpelier USS Asheville Plejad-class torpedo boat USS Henry M. Jackson USS Henry Clay USS Tautog M/S Roslagen USS Jacksonville USS Texas M/S Söderarm M/S Elfkungen USS Maine HMS Castor USS Nebraska USS Puffer MS Silverö USS Truxtun USS Tennessee USS Von Steuben USS Sturgeon USS Louisiana USS Kamehameha USS Nevada USS Guitarro USS Maryland USS Abraham Lincoln USS Theodore Roosevelt USS George Washington Carver HMS Altair USS Ulysses S. Grant S/S Norrskär USS City of Corpus Christi USS Connecticut USS Glenard P. Lipscomb USS Sand Lance USS L. Mendel Rivers S/S Drottningholm USS Thomas A. Edison Norrköping-class missile boat Bore USS Colorado USS John C. Calhoun USS Wyoming HMS Virgo USS Kentucky USS Nathanael Greene Tûranor PlanetSolar USS Woodrow Wilson USS Albany HMS Regulus USS SC-18 USS Lafayette HMS Varberg USS Minneapolis–Saint Paul HMS Vega USS Ray USS Baton Rouge USS San Juan HNLMS O 19 USS Los Angeles USS Enterprise Northern Light USS Key West HMS Uppland USS New Mexico USS Archerfish USS Missouri USS Robert E. Lee USS Seawolf HMS Halland USS Hampton USS Bainbridge USS Haddock USS Memphis HMS Aldebaran USS Hyman G. Rickover USS Boise HMS Umeå HMS Tireless Uthlande USS Alaska USS Merrill HMS Queen Elizabeth HMS Invincible USS Mariano G. Vallejo USS Daniel Webster M/S Saxaren HMS Dreadnought USS Nathan Hale USS George H.W. Bush USS John Marshall USS Tucson USS Providence HMS Nynäshamn USS Hawaii USS Cavalla USS George C. Marshall USS George Bancroft USS Cincinnati HMS Södermanland USS Topeka USS Phoenix HMS Gotland USS Groton USS Will Rogers Djurgården 8 HMS Västerås USS Birmingham USS Samuel B. Roberts USS New York City USS Whale T56 T46 USS Sam Houston HMS Norrtälje USS Albuquerque USS Alabama USS Jimmy Carter USS Newport News Cirrus MS Gällnö USS Finback USS Indiana USS California USS Tunny USS Thomas Jefferson USS Ethan Allen inrigger HMS Astrea USS Boston Japanese cruiser Tenryū USS Miami HMS Daring Project 03160 Raptor USS Sunfish USS Washington MS Grisslan USS James Monroe HMS Strömstad Ystad-class missile boat USS Springfield HMS Spica USS Bremerton USS Olympia USS Nimitz USS William H. Bates USS Sam Rayburn USS John Adams USS James Madison USS John Warner USS Michael Monsoor USS Florida USS Silversides USS Gurnard USS Jefferson City USS James K. Polk USS Tecumseh HMS Glowworm USS Alexander Hamilton USS South Dakota USS Houston USS Daniel Boone USS Francis Scott Key HMS Enterprise USS Augusta USS Minnesota USS Portsmouth USS San Francisco Blanco Encalada USS Scranton USS Trepang HMS Artful HMS Norrköping USS Columbus M/S Dalarö USS Henry L. Stimson USS Flying Fish USS Columbia USS Rhode Island USS Benjamin Franklin HMS Luleå USS Simon Bolivar USS Hartford USS Vermont USS Oklahoma City USS Delaware HMS Rigel USS West Virginia USS Greeneville USS Pittsburgh USS Annapolis USS Narwhal USS North Carolina USS Hawkbill USS Mississippi USS Richard B. Russell T26 steam yacht SS Mariefred USS Honolulu Japanese cruiser Tatsuta USS Pogy USS Stonewall Jackson USS Louisville USS Toledo
300
action count
action less
action union
action find_tuple_counts
relation powerplant
type ship type
type concept
action find_tuple_counts
relation powerplant
type ship type
type machine
action count
action filter_multi_types
action find
entity Emma Mærsk
relation powerplant
type concept
type machine
[{'concept': 'ship type'}, 'powerplant', [{'concept': 'concept'}, {'concept': 'machine'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?j WHERE { { ?j property:powerplant ?l . ?j rdf:type ontology:ship_type . ?l rdf:type ontology:concept } UNION { ?j property:powerplant ?l . ?j rdf:type ontology:ship_type . ?l rdf:type ontology:machine } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { resource:Emma_Mærsk property:powerplant ?y . { { ?y rdf:type ontology:machine } UNION { ?y rdf:type ontology:concept } } } } . FILTER ( ?n < ?d ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q4161425
P516
Q151885 Q11019 Q2235308
USER
And how about diesel electric submarine?
(c(Q2235308),P516,c(Q151885)|c(Q11019))
action count
action less
action union
action find_tuple_counts
relation P516
type Q2235308
type Q151885
action find_tuple_counts
relation P516
type Q2235308
type Q11019
action count
action filter_multi_types
action find
entity Q4161425
relation P516
type Q151885
type Q11019
[{'concept': 'Q2235308'}, 'P516', [{'concept': 'Q151885'}, {'concept': 'Q11019'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?d ) WHERE { VALUES ( ?b ) { ( ontology:Q151885 ) ( ontology:Q11019 ) } . ?i rdf:type ?b } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { resource:Q4161425 property:P516 ?p . { { ?p rdf:type ontology:Q151885 } UNION { ?p rdf:type ontology:Q11019 } } } } . FILTER ( ?d < ?e ) }
diesel electric submarine
action count
action less
action union
action find_tuple_counts
relation powerplant
type ship type
type concept
action find_tuple_counts
relation powerplant
type ship type
type machine
action count
action filter_multi_types
action find
entity diesel electric submarine
relation powerplant
type concept
type machine
[{'concept': 'ship type'}, 'powerplant', [{'concept': 'concept'}, {'concept': 'machine'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?d ) WHERE { VALUES ( ?b ) { ( ontology:concept ) ( ontology:machine ) } . ?i rdf:type ?b } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { resource:diesel_electric_submarine property:powerplant ?p . { { ?p rdf:type ontology:concept } UNION { ?p rdf:type ontology:machine } } } } . FILTER ( ?d < ?e ) }
[]
concept machine ship type
SYSTEM
300
Q4282419 Q10573040 Q1754034 Q10573209 Q7869984 Q1260634 Q902746 Q10573203 Q5632224 Q499055 Q820203 Q757554 Q10659340 Q2302386 Q2034758 Q1935618 Q678015 Q1683284 Q10515102 Q1971557 Q6144946 Q5232273 Q2005518 Q639502 Q10515073 Q6138496 Q10515071 Q2340616 Q10515077 Q3496868 Q10515075 Q5968178 Q10474880 Q1711338 Q4384713 Q10515141 Q441871 Q1971589 Q1780217 Q976846 Q5964938 Q1601564 Q210426 Q1789356 Q368419 Q4052175 Q10659232 Q7872657 Q2003758 Q5632099 Q10513229 Q301073 Q6138349 Q1422734 Q980570 Q4355091 Q6019761 Q1806597 Q19563487 Q10515262 Q1718601 Q6144738 Q1422739 Q510214 Q3381131 Q1783702 Q1564691 Q847672 Q10515274 Q3006912 Q10513142 Q2004210 Q10573163 Q18355867 Q19896387 Q7870354 Q1379656 Q2596850 Q7867460 Q748913 Q5231481 Q1141754 Q521029 Q598581 Q10513092 Q1467248 Q5227796 Q10513095 Q974939 Q10513098 Q567967 Q2000932 Q2093829 Q2301794 Q11409539 Q165916 Q1272420 Q2099267 Q1973096 Q6141356 Q2712823 Q10573144 Q1437413 Q783637 Q10573179 Q17374114 Q924151 Q10513150 Q1778502 Q975988 Q15661475 Q1314702 Q1787992 Q2471518 Q5971123 Q1725498 Q503453 Q508531 Q498760 Q968667 Q587557 Q6132017 Q7869705 Q10513087 Q7874949 Q10659318 Q616899 Q1363423 Q1596193 Q2091889 Q6144695 Q10659251 Q632457 Q1739268 Q10433049 Q7868451 Q2469792 Q1715770 Q10515253 Q1459982 Q11323769 Q1854315 Q6138608 Q2005990 Q10515088 Q7873660 Q4346742 Q10515231 Q1573507 Q10515237 Q5970896 Q1356916 Q993944 Q32770 Q2166261 Q204342 Q7058635 Q2000900 Q5636039 Q978610 Q7867378 Q942737 Q844743 Q1971215 Q5636031 Q1453075 Q2301237 Q6138545 Q2302353 Q10513079 Q174818 Q604857 Q10515211 Q1327349 Q20568 Q1786716 Q1386072 Q1444474 Q280710 Q2470102 Q667833 Q10573151 Q308909 Q6138306 Q217132 Q632503 Q1999797 Q371294 Q10515055 Q163738 Q6138393 Q7869683 Q7869682 Q1784063 Q10515187 Q748373 Q1783713 Q5636029 Q1287639 Q11288203 Q15662618 Q10515264 Q1781111 Q478298 Q919768 Q7875454 Q10689326 Q10689324 Q632460 Q10515053 Q2003791 Q1761221 Q378465 Q2003799 Q24683722 Q15661350 Q2091881 Q7870379 Q1578014 Q7874906 Q631540 Q1474340 Q12318402 Q10513109 Q1862142 Q6290718 Q1249407 Q3500597 Q21979631 Q7874470 Q7875315 Q15218573 Q570993 Q10515157 Q10723800 Q1472052 Q4442824 Q472986 Q685632 Q463161 Q5971096 Q7873770 Q6138564 Q7870497 Q253500 Q7871781 Q1755178 Q600125 Q7869921 Q2001200 Q5229866 Q7874656 Q710732 Q6138562 Q7874261 Q1687136 Q7868733 Q821843 Q1645144 Q1674076 Q3544864 Q1760185 Q935791 Q2696171 Q749868 Q7874855 Q4352397 Q10515051 Q2003808 Q10573052 Q7870122 Q6144928 Q747983 Q1566425 Q6141293 Q10514984 Q7874158 Q2117295 Q18355874 Q1971094 Q7868812 Q13230646 Q1788001 Q1029271 Q2001217 Q2006011 Q1337120 Q2297167 Q5226794 Q1628755 Q663075 Q10689319 Q7605392 Q10659292 Q1470212 Q3275455 Q5971155 Q2471257 Q1380250 Q2302375
(c(Q2235308),P516,c(Q151885)|c(Q11019))
action count
action less
action union
action find_tuple_counts
relation P516
type Q2235308
type Q151885
action find_tuple_counts
relation P516
type Q2235308
type Q11019
action count
action filter_multi_types
action find
entity Q4161425
relation P516
type Q151885
type Q11019
[ANSWER]
[{'concept': 'Q2235308'}, 'P516', [{'concept': 'Q151885'}, {'concept': 'Q11019'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?d ) WHERE { VALUES ( ?b ) { ( ontology:Q151885 ) ( ontology:Q11019 ) } . ?i rdf:type ?b } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { resource:Q4161425 property:P516 ?p . { { ?p rdf:type ontology:Q151885 } UNION { ?p rdf:type ontology:Q11019 } } } } . FILTER ( ?d < ?e ) }
K-123 Mars M/S Angantyr K-222 M/S Östanå I USS Hammerhead USS Helena Bravo-class submarine M/S Västan HMS Duncan USS Pintado USS Andrew Jackson nuclear submarine S/S Storskär USS Pasadena USS New Hampshire USS Pennsylvania USS Virginia USS Georgia HMS Sirius USS La Jolla USS Casimir Pulaski USS Bluefish USS Baltimore USS Abraham Lincoln HMS Plejad USS Queenfish HMS Piteå USS North Dakota HMS Pollux SS Sankt Erik HMS Polaris USS Batfish Djurgården 3 USS Lewis and Clark USS Patrick Henry HMS Sprängaren rotor ship USS Charlotte Octopus USS Grayling USS Spadefish USS Atlanta Japanese cruiser Yūbari USS Omaha USS Seahorse USS Bancroft S/S Blidösund USS Pargo USS Santa Fe HMS Defender HMS Halmstad Spica-class torpedo boat USS Lapon USS Michigan USS Cheyenne HMS Blake Indian USS Philadelphia USS Hyman G. Rickover HMS Västervik USS Buffalo USS Billfish USS Ohio USS Alexandria HNoMS Svenner USS Salt Lake City HMS Exmoor HMS Ark Royal HMS Ystad USS Drum HMS Capella USS Stout M/S Solöga USS Oregon Asta av Smögen USS Illinois USS Indianapolis MS Azura USS Aspro USS Harry S. Truman USS Sea Devil HMS Illustrious Kirov-class battlecruiser USS Dallas HMS Antares USS Parche USS Bergall HMS Arcturus Kortenaer-class frigate HMS Argo USS Chicago USS Ramage USS Tullibee USS George Washington nuclear-powered aircraft carrier USS Montpelier USS Asheville Plejad-class torpedo boat USS Henry M. Jackson USS Henry Clay USS Tautog M/S Roslagen USS Jacksonville USS Texas M/S Söderarm M/S Elfkungen USS Maine HMS Castor USS Nebraska USS Puffer MS Silverö USS Truxtun USS Tennessee USS Von Steuben USS Sturgeon USS Louisiana USS Kamehameha USS Nevada USS Guitarro USS Maryland USS Abraham Lincoln USS Theodore Roosevelt USS George Washington Carver HMS Altair USS Ulysses S. Grant S/S Norrskär USS City of Corpus Christi USS Connecticut USS Glenard P. Lipscomb USS Sand Lance USS L. Mendel Rivers S/S Drottningholm USS Thomas A. Edison Norrköping-class missile boat Bore USS Colorado USS John C. Calhoun USS Wyoming HMS Virgo USS Kentucky USS Nathanael Greene Tûranor PlanetSolar USS Woodrow Wilson USS Albany HMS Regulus USS SC-18 USS Lafayette HMS Varberg USS Minneapolis–Saint Paul HMS Vega USS Ray USS Baton Rouge USS San Juan HNLMS O 19 USS Los Angeles USS Enterprise Northern Light USS Key West HMS Uppland USS New Mexico USS Archerfish USS Missouri USS Robert E. Lee USS Seawolf HMS Halland USS Hampton USS Bainbridge USS Haddock USS Memphis HMS Aldebaran USS Hyman G. Rickover USS Boise HMS Umeå HMS Tireless Uthlande USS Alaska USS Merrill HMS Queen Elizabeth HMS Invincible USS Mariano G. Vallejo USS Daniel Webster M/S Saxaren HMS Dreadnought USS Nathan Hale USS George H.W. Bush USS John Marshall USS Tucson USS Providence HMS Nynäshamn USS Hawaii USS Cavalla USS George C. Marshall USS George Bancroft USS Cincinnati HMS Södermanland USS Topeka USS Phoenix HMS Gotland USS Groton USS Will Rogers Djurgården 8 HMS Västerås USS Birmingham USS Samuel B. Roberts USS New York City USS Whale T56 T46 USS Sam Houston HMS Norrtälje USS Albuquerque USS Alabama USS Jimmy Carter USS Newport News Cirrus MS Gällnö USS Finback USS Indiana USS California USS Tunny USS Thomas Jefferson USS Ethan Allen inrigger HMS Astrea USS Boston Japanese cruiser Tenryū USS Miami HMS Daring Project 03160 Raptor USS Sunfish USS Washington MS Grisslan USS James Monroe HMS Strömstad Ystad-class missile boat USS Springfield HMS Spica USS Bremerton USS Olympia USS Nimitz USS William H. Bates USS Sam Rayburn USS John Adams USS James Madison USS John Warner USS Michael Monsoor USS Florida USS Silversides USS Gurnard USS Jefferson City USS James K. Polk USS Tecumseh HMS Glowworm USS Alexander Hamilton USS South Dakota USS Houston USS Daniel Boone USS Francis Scott Key HMS Enterprise USS Augusta USS Minnesota USS Portsmouth USS San Francisco Blanco Encalada USS Scranton USS Trepang HMS Artful HMS Norrköping USS Columbus M/S Dalarö USS Henry L. Stimson USS Flying Fish USS Columbia USS Rhode Island USS Benjamin Franklin HMS Luleå USS Simon Bolivar USS Hartford USS Vermont USS Oklahoma City USS Delaware HMS Rigel USS West Virginia USS Greeneville USS Pittsburgh USS Annapolis USS Narwhal USS North Carolina USS Hawkbill USS Mississippi USS Richard B. Russell T26 steam yacht SS Mariefred USS Honolulu Japanese cruiser Tatsuta USS Pogy USS Stonewall Jackson USS Louisville USS Toledo
300
action count
action less
action union
action find_tuple_counts
relation powerplant
type ship type
type concept
action find_tuple_counts
relation powerplant
type ship type
type machine
action count
action filter_multi_types
action find
entity diesel electric submarine
relation powerplant
type concept
type machine
[{'concept': 'ship type'}, 'powerplant', [{'concept': 'concept'}, {'concept': 'machine'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?d ) WHERE { VALUES ( ?b ) { ( ontology:concept ) ( ontology:machine ) } . ?i rdf:type ?b } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { resource:diesel_electric_submarine property:powerplant ?p . { { ?p rdf:type ontology:concept } UNION { ?p rdf:type ontology:machine } } } } . FILTER ( ?d < ?e ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q5075
P206
Q355304 Q1267889 Q1048835
USER
Which political territories are situated close to more number of watercourses or waterways than South East Sulawesi Province ?
(c(Q1048835),P206,c(Q355304)|c(Q1267889))
action greater
action union
action find_tuple_counts
relation P206
type Q1048835
type Q355304
action find_tuple_counts
relation P206
type Q1048835
type Q1267889
action count
action filter_multi_types
action find
entity Q5075
relation P206
type Q355304
type Q1267889
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { resource:Q5075 property:P206 ?a . { VALUES ( ?f ) { ( ontology:Q355304 ) ( ontology:Q1267889 ) } . ?a rdf:type ?f } } } . FILTER ( ?t > ?b ) . { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?t ) WHERE { { ?s property:P206 ?l . ?s rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q355304 } UNION { ?s property:P206 ?l . ?s rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q1267889 } } GROUP BY ?s } }
South East Sulawesi Province
action greater
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type political territorial entity
type waterway
action count
action filter_multi_types
action find
entity South East Sulawesi Province
relation located next to body of water
type watercourse
type waterway
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { resource:South_East_Sulawesi_Province property:located_next_to_body_of_water ?a . { VALUES ( ?f ) { ( ontology:watercourse ) ( ontology:waterway ) } . ?a rdf:type ?f } } } . FILTER ( ?t > ?b ) . { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?t ) WHERE { { ?s property:located_next_to_body_of_water ?l . ?s rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:watercourse } UNION { ?s property:located_next_to_body_of_water ?l . ?s rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:waterway } } GROUP BY ?s } }
[]
watercourse waterway political territorial entity
Q40 Q643919 Q168159
SYSTEM
Austria, Torfaen County Borough, Anglesey
Q691567 Q2044159 Q1866 Q1470810 Q5065 Q5062 Q4359878 Q5068 Q4524665 Q40 Q1905388 Q898856 Q4408930 Q2898 Q11294004 Q4321529 Q1768232 Q1606460 Q1628788 Q24342199 Q1823 Q3540 Q13424648 Q5078 Q904566 Q4469165 Q505610 Q168159 Q109128 Q3586 Q994034 Q586584 Q213361 Q42314 Q615916 Q643919 Q3906 Q207176
(c(Q1048835),P206,c(Q355304)|c(Q1267889))
action greater
action union
action find_tuple_counts
relation P206
type Q1048835
type Q355304
action find_tuple_counts
relation P206
type Q1048835
type Q1267889
action count
action filter_multi_types
action find
entity Q5075
relation P206
type Q355304
type Q1267889
[ANSWERS] are situated close to more number of watercourses or waterways than South East Sulawesi Province
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { resource:Q5075 property:P206 ?a . { VALUES ( ?f ) { ( ontology:Q355304 ) ( ontology:Q1267889 ) } . ?a rdf:type ?f } } } . FILTER ( ?t > ?b ) . { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?t ) WHERE { { ?s property:P206 ?l . ?s rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q355304 } UNION { ?s property:P206 ?l . ?s rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q1267889 } } GROUP BY ?s } }
Les Dirouilles Llanybydder Bangka–Belitung Islands Pierres de Lecq Central Sulawesi Province West Nusa Tenggara Pisocine North Sulawesi Province Szychtory Austria L'Alcúdia de Crespins Jethou Sasiv Rostock District Newport City Nuśmice Trillo Malpica de Tajo El Puente del Arzobispo City and County of Cardiff Aceh Banten Province Troitske South Sulawesi Brecqhou Uhrynów Flintshire Anglesey Gwynedd East Java Variazh Nînovîci, Pembrokeshire Channel Islands Vasilivka Torfaen County Borough Kalimantan Selatan Monmouthshire
Austria, Torfaen County Borough and Anglesey are situated close to more number of watercourses or waterways than South East Sulawesi Province
Austria Torfaen County Borough Anglesey
action greater
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type political territorial entity
type waterway
action count
action filter_multi_types
action find
entity South East Sulawesi Province
relation located next to body of water
type watercourse
type waterway
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { resource:South_East_Sulawesi_Province property:located_next_to_body_of_water ?a . { VALUES ( ?f ) { ( ontology:watercourse ) ( ontology:waterway ) } . ?a rdf:type ?f } } } . FILTER ( ?t > ?b ) . { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?t ) WHERE { { ?s property:located_next_to_body_of_water ?l . ?s rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:watercourse } UNION { ?s property:located_next_to_body_of_water ?l . ?s rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:waterway } } GROUP BY ?s } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q582901
P206
Q355304 Q1267889 Q1048835
USER
And how about Lújar?
(c(Q1048835),P206,c(Q355304)|c(Q1267889))
action greater
action union
action find_tuple_counts
relation P206
type Q1048835
type Q355304
action find_tuple_counts
relation P206
type Q1048835
type Q1267889
action count
action filter_multi_types
action find
entity Q582901
relation P206
type Q355304
type Q1267889
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?i ) WHERE { { ?q property:P206 ?z . ?z rdf:type ontology:Q355304 . ?q rdf:type ontology:Q1048835 } UNION { ?q property:P206 ?z . ?z rdf:type ontology:Q1267889 . ?q rdf:type ontology:Q1048835 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { resource:Q582901 property:P206 ?w . { ?w rdf:type ?a . VALUES ( ?a ) { ( ontology:Q355304 ) ( ontology:Q1267889 ) } } } } . FILTER ( ?i > ?f ) }
Lújar
action greater
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type political territorial entity
type waterway
action count
action filter_multi_types
action find
entity Lújar
relation located next to body of water
type watercourse
type waterway
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?i ) WHERE { { ?q property:located_next_to_body_of_water ?z . ?z rdf:type ontology:watercourse . ?q rdf:type ontology:political_territorial_entity } UNION { ?q property:located_next_to_body_of_water ?z . ?z rdf:type ontology:waterway . ?q rdf:type ontology:political_territorial_entity } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { resource:Lújar property:located_next_to_body_of_water ?w . { ?w rdf:type ?a . VALUES ( ?a ) { ( ontology:watercourse ) ( ontology:waterway ) } } } } . FILTER ( ?i > ?f ) }
[]
watercourse waterway political territorial entity
Q40 Q643919 Q168159
SYSTEM
Austria, Torfaen County Borough, Anglesey
Q691567 Q2044159 Q1866 Q1470810 Q5065 Q5062 Q4359878 Q5068 Q4524665 Q40 Q1905388 Q898856 Q4408930 Q2898 Q11294004 Q4321529 Q1768232 Q1606460 Q1628788 Q24342199 Q1823 Q3540 Q13424648 Q5078 Q904566 Q4469165 Q505610 Q168159 Q109128 Q3586 Q994034 Q586584 Q213361 Q42314 Q615916 Q643919 Q3906 Q207176
(c(Q1048835),P206,c(Q355304)|c(Q1267889))
action greater
action union
action find_tuple_counts
relation P206
type Q1048835
type Q355304
action find_tuple_counts
relation P206
type Q1048835
type Q1267889
action count
action filter_multi_types
action find
entity Q582901
relation P206
type Q355304
type Q1267889
[ANSWERS]
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?i ) WHERE { { ?q property:P206 ?z . ?z rdf:type ontology:Q355304 . ?q rdf:type ontology:Q1048835 } UNION { ?q property:P206 ?z . ?z rdf:type ontology:Q1267889 . ?q rdf:type ontology:Q1048835 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { resource:Q582901 property:P206 ?w . { ?w rdf:type ?a . VALUES ( ?a ) { ( ontology:Q355304 ) ( ontology:Q1267889 ) } } } } . FILTER ( ?i > ?f ) }
Les Dirouilles Llanybydder Bangka–Belitung Islands Pierres de Lecq Central Sulawesi Province West Nusa Tenggara Pisocine North Sulawesi Province Szychtory Austria L'Alcúdia de Crespins Jethou Sasiv Rostock District Newport City Nuśmice Trillo Malpica de Tajo El Puente del Arzobispo City and County of Cardiff Aceh Banten Province Troitske South Sulawesi Brecqhou Uhrynów Flintshire Anglesey Gwynedd East Java Variazh Nînovîci, Pembrokeshire Channel Islands Vasilivka Torfaen County Borough Kalimantan Selatan Monmouthshire
Austria Torfaen County Borough Anglesey
action greater
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type political territorial entity
type waterway
action count
action filter_multi_types
action find
entity Lújar
relation located next to body of water
type watercourse
type waterway
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?i ) WHERE { { ?q property:located_next_to_body_of_water ?z . ?z rdf:type ontology:watercourse . ?q rdf:type ontology:political_territorial_entity } UNION { ?q property:located_next_to_body_of_water ?z . ?z rdf:type ontology:waterway . ?q rdf:type ontology:political_territorial_entity } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { resource:Lújar property:located_next_to_body_of_water ?w . { ?w rdf:type ?a . VALUES ( ?a ) { ( ontology:watercourse ) ( ontology:waterway ) } } } } . FILTER ( ?i > ?f ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q40 Q643919 Q168159
P47
Q1048835
USER
Which political territories are adjacent to those ones ?
(Q40,P47,c(Q1048835)) (Q643919,P47,c(Q1048835)) (Q168159,P47,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P47
type Q1048835
['Q40', 'P47', {'concept': 'Q1048835'}] ['Q643919', 'P47', {'concept': 'Q1048835'}] ['Q168159', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { ?k property:P47 ?g . ?g rdf:type ontology:Q1048835 . VALUES ( ?k ) { ( resource:Q691567 ) ( resource:Q2044159 ) ( resource:Q1866 ) } }
Austria Torfaen County Borough Anglesey
action filter_type
action find
entity prev_answer
relation shares border with
type political territorial entity
['Austria', 'shares border with', {'concept': 'political territorial entity'}] ['Torfaen County Borough', 'shares border with', {'concept': 'political territorial entity'}] ['Anglesey', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { ?k property:shares_border_with ?g . ?g rdf:type ontology:political_territorial_entity . VALUES ( ?k ) { ( resource:Les_Dirouilles ) ( resource:Llanybydder ) ( resource:Bangka–Belitung_Islands ) } }
[]
political territorial entity
Q183 Q748065 Q207176
SYSTEM
Germany, Caerphilly County Borough, Monmouthshire
Q183 Q748065 Q207176 Q11294004 Q596885 Q109128
(Q40,P47,c(Q1048835)) (Q643919,P47,c(Q1048835)) (Q168159,P47,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P47
type Q1048835
[ANSWERS] are adjacent to those ones
['Q40', 'P47', {'concept': 'Q1048835'}] ['Q643919', 'P47', {'concept': 'Q1048835'}] ['Q168159', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { ?k property:P47 ?g . ?g rdf:type ontology:Q1048835 . VALUES ( ?k ) { ( resource:Q691567 ) ( resource:Q2044159 ) ( resource:Q1866 ) } }
Germany Caerphilly County Borough Monmouthshire Newport City Blaenau Gwent County Borough Gwynedd
Germany, Caerphilly County Borough and Monmouthshire are adjacent to those ones
Germany Caerphilly County Borough Monmouthshire
action filter_type
action find
entity prev_answer
relation shares border with
type political territorial entity
['Austria', 'shares border with', {'concept': 'political territorial entity'}] ['Torfaen County Borough', 'shares border with', {'concept': 'political territorial entity'}] ['Anglesey', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { ?k property:shares_border_with ?g . ?g rdf:type ontology:political_territorial_entity . VALUES ( ?k ) { ( resource:Les_Dirouilles ) ( resource:Llanybydder ) ( resource:Bangka–Belitung_Islands ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q40
P194
Q11204
USER
Which legislature is the legislative body for Austria ?
(Q40,P194,c(Q11204))
action filter_type
action find
entity Q40
relation P194
type Q11204
['Q40', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?k WHERE { resource:Q40 property:P194 ?k . ?k rdf:type ontology:Q11204 }
Austria
action filter_type
action find
entity Austria
relation legislative body
type legislature
['Austria', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?k WHERE { resource:Austria property:legislative_body ?k . ?k rdf:type ontology:legislature }
[]
legislature
Q4817650
SYSTEM
Austrian Parliament
Q4817650
(Q40,P194,c(Q11204))
action filter_type
action find
entity Q40
relation P194
type Q11204
The [ANSWER] is the legislative body for Austria
['Q40', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?k WHERE { resource:Q40 property:P194 ?k . ?k rdf:type ontology:Q11204 }
Austrian Parliament
The Austrian Parliament is the legislative body for Austria
Austrian Parliament
action filter_type
action find
entity Austria
relation legislative body
type legislature
['Austria', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?k WHERE { resource:Austria property:legislative_body ?k . ?k rdf:type ontology:legislature }
[]