Simple Question (Direct)
Simple Question
Q5860414
P19
Q56061
USER
Which administrative territory was Fernando Walls born in ?
(Q5860414,P19,c(Q56061))
action filter_type
action find
entity Q5860414
relation P19
type Q56061
['Q5860414', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q5860414 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Fernando Walls
action filter_type
action find
entity Fernando Walls
relation place of birth
type administrative territorial entity
['Fernando Walls', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Fernando_Walls property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1489
SYSTEM
Mexico City
Q1489
(Q5860414,P19,c(Q56061))
action filter_type
action find
entity Q5860414
relation P19
type Q56061
Fernando Walls was born in [ANSWER]
['Q5860414', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q5860414 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Mexico City
Fernando Walls was born in Mexico City
Mexico City
action filter_type
action find
entity Fernando Walls
relation place of birth
type administrative territorial entity
['Fernando Walls', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Fernando_Walls property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1489
P237
Q17335294
USER
Which coat of arms serves as the ensign for that administrative territory ?
(Q1489,P237,c(Q17335294))
action filter_type
action find
entity Q1489
relation P237
type Q17335294
['Q1489', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?u WHERE { resource:Q1489 property:P237 ?u . ?u rdf:type ontology:Q17335294 }
Mexico City
action filter_type
action find
entity Mexico City
relation coat of arms
type flag or coat of arms
['Mexico City', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?u WHERE { resource:Mexico_City property:coat_of_arms ?u . ?u rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q1947763
SYSTEM
Coat of arms of Federal District
Q1947763
(Q1489,P237,c(Q17335294))
action filter_type
action find
entity Q1489
relation P237
type Q17335294
Of [ANSWER] serves as the ensign for that administrative territory
['Q1489', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?u WHERE { resource:Q1489 property:P237 ?u . ?u rdf:type ontology:Q17335294 }
Coat of arms of Federal District
Of Coat of arms of Federal District serves as the ensign for that administrative territory
Coat of arms of Federal District
action filter_type
action find
entity Mexico City
relation coat of arms
type flag or coat of arms
['Mexico City', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?u WHERE { resource:Mexico_City property:coat_of_arms ?u . ?u rdf:type ontology:flag_or_coat_of_arms }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q269 Q1489
P190
Q56061
USER
Which administrative territories are partner towns of Mexico City and Tashkent ?
AND((Q1489,P190,c(Q56061)), (Q269,P190,c(Q56061)))
action filter_type
action intersection
action find
entity Q1489
relation P190
action find
entity Q269
relation P190
type Q56061
{'AND': [['Q1489', 'P190', {'concept': 'Q56061'}], ['Q269', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?w WHERE { resource:Q1489 property:P190 ?w . resource:Q269 property:P190 ?w . ?w rdf:type ontology:Q56061 }
Tashkent Mexico City
action filter_type
action intersection
action find
entity Mexico City
relation sister city
action find
entity Tashkent
relation sister city
type administrative territorial entity
{'AND': [['Mexico City', 'sister city', {'concept': 'administrative territorial entity'}], ['Tashkent', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { resource:Mexico_City property:sister_city ?w . resource:Tashkent property:sister_city ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64 Q406
SYSTEM
Berlin, Istanbul
Q64 Q406
AND((Q1489,P190,c(Q56061)), (Q269,P190,c(Q56061)))
action filter_type
action intersection
action find
entity Q1489
relation P190
action find
entity Q269
relation P190
type Q56061
[ANSWERS] are partner towns of Mexico City and Tashkent
{'AND': [['Q1489', 'P190', {'concept': 'Q56061'}], ['Q269', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?w WHERE { resource:Q1489 property:P190 ?w . resource:Q269 property:P190 ?w . ?w rdf:type ontology:Q56061 }
Berlin Istanbul
Berlin and Istanbul are partner towns of Mexico City and Tashkent
Berlin Istanbul
action filter_type
action intersection
action find
entity Mexico City
relation sister city
action find
entity Tashkent
relation sister city
type administrative territorial entity
{'AND': [['Mexico City', 'sister city', {'concept': 'administrative territorial entity'}], ['Tashkent', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { resource:Mexico_City property:sister_city ?w . resource:Tashkent property:sister_city ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q15619164 Q14524493 Q56061
USER
How many administrative territories are named after approximately 2 abstract beings and terrains ?
(c(Q56061),P138,c(Q15619164)|c(Q14524493))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q56061
type Q15619164
action find_tuple_counts
relation P138
type Q56061
type Q14524493
value 2
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q15619164'}, {'concept': 'Q14524493'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?e ) WHERE { { ?y property:P138 ?n . ?y rdf:type ontology:Q56061 . ?n rdf:type ontology:Q15619164 } UNION { ?y property:P138 ?n . ?y rdf:type ontology:Q56061 . ?n rdf:type ontology:Q14524493 } } GROUP BY ?y } . FILTER ( ?e = 2 ) }
action count
action approx
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type abstract being
action find_tuple_counts
relation named after
type administrative territorial entity
type terrain
value 2
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'abstract being'}, {'concept': 'terrain'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?e ) WHERE { { ?y property:named_after ?n . ?y rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:abstract_being } UNION { ?y property:named_after ?n . ?y rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:terrain } } GROUP BY ?y } . FILTER ( ?e = 2 ) }
[]
abstract being terrain administrative territorial entity
SYSTEM
1
Q486860
(c(Q56061),P138,c(Q15619164)|c(Q14524493))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q56061
type Q15619164
action find_tuple_counts
relation P138
type Q56061
type Q14524493
value 2
[ANSWER]
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q15619164'}, {'concept': 'Q14524493'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?e ) WHERE { { ?y property:P138 ?n . ?y rdf:type ontology:Q56061 . ?n rdf:type ontology:Q15619164 } UNION { ?y property:P138 ?n . ?y rdf:type ontology:Q56061 . ?n rdf:type ontology:Q14524493 } } GROUP BY ?y } . FILTER ( ?e = 2 ) }
Mountain View
1
action count
action approx
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type abstract being
action find_tuple_counts
relation named after
type administrative territorial entity
type terrain
value 2
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'abstract being'}, {'concept': 'terrain'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?e ) WHERE { { ?y property:named_after ?n . ?y rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:abstract_being } UNION { ?y property:named_after ?n . ?y rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:terrain } } GROUP BY ?y } . FILTER ( ?e = 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P532
Q56061 Q2235308
USER
Which ship types have min number of administrative territories as their base harbour ?
(c(Q2235308),P532,c(Q56061))
action argmin
action find_tuple_counts
relation P532
type Q2235308
type Q56061
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?q ) { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?e ) WHERE { ?n property:P532 ?y . ?n rdf:type ontology:Q2235308 . ?y rdf:type ontology:Q56061 } GROUP BY ?n } } . FILTER ( ?l = ?q ) . { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?l ) WHERE { ?p rdf:type ontology:Q2235308 . ?r rdf:type ontology:Q56061 . ?p property:P532 ?r } GROUP BY ?p } }
action argmin
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?q ) { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?e ) WHERE { ?n property:port_of_registry ?y . ?n rdf:type ontology:ship_type . ?y rdf:type ontology:administrative_territorial_entity } GROUP BY ?n } } . FILTER ( ?l = ?q ) . { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?l ) WHERE { ?p rdf:type ontology:ship_type . ?r rdf:type ontology:administrative_territorial_entity . ?p property:port_of_registry ?r } GROUP BY ?p } }
[]
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 argmin
action find_tuple_counts
relation P532
type Q2235308
type Q56061
[ANSWERS] have min number of administrative territories as their base harbour
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?q ) { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?e ) WHERE { ?n property:P532 ?y . ?n rdf:type ontology:Q2235308 . ?y rdf:type ontology:Q56061 } GROUP BY ?n } } . FILTER ( ?l = ?q ) . { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?l ) WHERE { ?p rdf:type ontology:Q2235308 . ?r rdf:type ontology:Q56061 . ?p property:P532 ?r } GROUP BY ?p } }
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 min number of administrative territories as their base harbour
RV Polarstern T46 USNS Puerto Rico
action argmin
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?q ) { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?e ) WHERE { ?n property:port_of_registry ?y . ?n rdf:type ontology:ship_type . ?y rdf:type ontology:administrative_territorial_entity } GROUP BY ?n } } . FILTER ( ?l = ?q ) . { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?l ) WHERE { ?p rdf:type ontology:ship_type . ?r rdf:type ontology:administrative_territorial_entity . ?p property:port_of_registry ?r } GROUP BY ?p } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q10689324
P516
Q39546
USER
Which tool is used to power that ship type ?
(Q10689324,P516,c(Q39546))
action filter_type
action find
entity Q10689324
relation P516
type Q39546
['Q10689324', 'P516', {'concept': 'Q39546'}]
SELECT DISTINCT ?m WHERE { resource:Q10689324 property:P516 ?m . ?m rdf:type ontology:Q39546 }
T46
action filter_type
action find
entity T46
relation powerplant
type tool
['T46', 'powerplant', {'concept': 'tool'}]
SELECT DISTINCT ?m WHERE { resource:T46 property:powerplant ?m . ?m rdf:type ontology:tool }
[]
tool
Clarification for simple ques.
Q10689324
SYSTEM
Did you mean T46 ?
Q558338 Q10689324 Q56839
(Q558338,P516,c(Q39546)) (Q10689324,P516,c(Q39546)) (Q56839,P516,c(Q39546))
[ANSWER]
['Q558338', 'P516', {'concept': 'Q39546'}] ['Q10689324', 'P516', {'concept': 'Q39546'}] ['Q56839', 'P516', {'concept': 'Q39546'}]
SELECT DISTINCT ?m WHERE { resource:Q10689324 property:P516 ?m . ?m rdf:type ontology:Q39546 }
RV Polarstern T46 USNS Puerto Rico
Did you mean T46 ?
T46
['RV Polarstern', 'powerplant', {'concept': 'tool'}] ['T46', 'powerplant', {'concept': 'tool'}] ['USNS Puerto Rico', 'powerplant', {'concept': 'tool'}]
SELECT DISTINCT ?m WHERE { resource:T46 property:powerplant ?m . ?m rdf:type ontology:tool }
[]
Simple Question (Coreferenced)
USER
Yes
(Q10689324,P516,c(Q39546))
['Q10689324', 'P516', {'concept': 'Q39546'}]
['T46', 'powerplant', {'concept': 'tool'}]
[]
Q502048
SYSTEM
petrol engine
Q502048
(Q10689324,P516,c(Q39546))
action filter_type
action find
entity Q10689324
relation P516
type Q39546
[ANSWER] is used to power that ship type
['Q10689324', 'P516', {'concept': 'Q39546'}]
SELECT DISTINCT ?m WHERE { resource:Q10689324 property:P516 ?m . ?m rdf:type ontology:Q39546 }
petrol engine
Petrol engine is used to power that ship type
petrol engine
action filter_type
action find
entity T46
relation powerplant
type tool
['T46', 'powerplant', {'concept': 'tool'}]
SELECT DISTINCT ?m WHERE { resource:T46 property:powerplant ?m . ?m rdf:type ontology:tool }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q502048 Q3845729
P138
Q502895
USER
Is Marcelo Vido the etymology of that tool ?
(Q502048,P138,Q3845729)
action is_in
entity Q3845729
action find
entity Q502048
relation P138
['Q502048', 'P138', 'Q3845729']
ASK WHERE { resource:Q502048 property:P138 resource:Q3845729 }
petrol engine Marcelo Vido
action is_in
entity Marcelo Vido
action find
entity petrol engine
relation named after
['petrol engine', 'named after', 'Marcelo Vido']
ASK WHERE { resource:petrol_engine property:named_after resource:Marcelo_Vido }
[]
common name
SYSTEM
NO
(Q502048,P138,Q3845729)
action is_in
entity Q3845729
action find
entity Q502048
relation P138
[ANSWER]
['Q502048', 'P138', 'Q3845729']
ASK WHERE { resource:Q502048 property:P138 resource:Q3845729 }
No
action is_in
entity Marcelo Vido
action find
entity petrol engine
relation named after
['petrol engine', 'named after', 'Marcelo Vido']
ASK WHERE { resource:petrol_engine property:named_after resource:Marcelo_Vido }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q64
P127
Q3947
USER
Which house is owned by Berlin ?
(c(Q3947),P127,Q64)
action filter_type
action find_reverse
entity Q64
relation P127
type Q3947
[{'concept': 'Q3947'}, 'P127', 'Q64']
SELECT DISTINCT ?x WHERE { ?x property:P127 resource:Q64 . ?x rdf:type ontology:Q3947 }
Berlin
action filter_type
action find_reverse
entity Berlin
relation owned by
type house
[{'concept': 'house'}, 'owned by', 'Berlin']
SELECT DISTINCT ?x WHERE { ?x property:owned_by resource:Berlin . ?x rdf:type ontology:house }
[]
house
Q1467291
SYSTEM
Joachimstraße 6/8
Q1467291
(c(Q3947),P127,Q64)
action filter_type
action find_reverse
entity Q64
relation P127
type Q3947
[ANSWER] is owned by Berlin
[{'concept': 'Q3947'}, 'P127', 'Q64']
SELECT DISTINCT ?x WHERE { ?x property:P127 resource:Q64 . ?x rdf:type ontology:Q3947 }
Joachimstraße 6/8
Joachimstraße 6/8 is owned by Berlin
Joachimstraße 6/8
action filter_type
action find_reverse
entity Berlin
relation owned by
type house
[{'concept': 'house'}, 'owned by', 'Berlin']
SELECT DISTINCT ?x WHERE { ?x property:owned_by resource:Berlin . ?x rdf:type ontology:house }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q64
P840
Q838948
USER
Which works of art have their narrative set in that administrative territory ?
(c(Q838948),P840,Q1467291)
action filter_type
action find_reverse
entity Q64
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q1467291']
SELECT DISTINCT ?c WHERE { ?c property:P840 resource:Q64 . ?c rdf:type ontology:Q838948 }
Berlin
action filter_type
action find_reverse
entity Berlin
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Joachimstraße 6/8']
SELECT DISTINCT ?c WHERE { ?c property:narrative_location resource:Berlin . ?c rdf:type ontology:work_of_art }
[]
work of art
Q18407657 Q156608 Q591272
SYSTEM
Captain America: Civil War, The Bourne Supremacy, Casino Royale
Q2056924 Q325355 Q1304863 Q551992 Q325286 Q3232960 Q1217049 Q204958 Q124358 Q699685 Q663960 Q5605534 Q587566 Q203102 Q822177 Q1655170 Q766770 Q491442 Q1796408 Q320219 Q474425 Q1585569 Q1956156 Q885033 Q5246862 Q265440 Q1759358 Q671631 Q1192128 Q640762 Q1211810 Q442941 Q686125 Q163160 Q632375 Q204398 Q179017 Q154817 Q4655428 Q317816 Q7919734 Q232993 Q1341784 Q4811843 Q167411 Q870450 Q565088 Q1754840 Q3236613 Q538438 Q826943 Q1170124 Q1255939 Q2299137 Q20064350 Q554063 Q5493949 Q822580 Q159054 Q18786433 Q540624 Q574295 Q1196153 Q1470342 Q1167354 Q1193023 Q918363 Q2500178 Q558297 Q2587854 Q2147019 Q18202704 Q29600 Q1283810 Q5016445 Q158759 Q582569 Q694812 Q1683487 Q657477 Q1262985 Q7142853 Q157975 Q457003 Q4762136 Q591272 Q1475778 Q153882 Q7900685 Q1199657 Q3214254 Q1368194 Q1169101 Q3269372 Q443140 Q2592899 Q495924 Q18407657 Q673627 Q1319302 Q4892415 Q1720918 Q329007 Q656166 Q481328 Q820866 Q821356 Q831246 Q3575602 Q1066785 Q286141 Q457675 Q770965 Q833208 Q874050 Q19481099 Q2396099 Q638386 Q586960 Q705893 Q478536 Q2492744 Q1052682 Q3193421 Q835581 Q185658 Q7748911 Q3943872 Q7593166 Q3666654 Q318154 Q7622780 Q1436522 Q928508 Q320318 Q829979 Q7314135 Q166696 Q1170445 Q372174 Q246656 Q1269691 Q6690550 Q4959893 Q438033 Q156608 Q642559 Q681602 Q308681 Q13534360 Q2282098 Q3092 Q2134371 Q480273 Q173945 Q93539 Q163806 Q468697 Q158069 Q315299 Q2636971 Q455555 Q491338 Q2819825 Q323359 Q938856 Q1773078 Q683446 Q875253 Q869644 Q875444 Q698644 Q1672620 Q669619 Q288173 Q156911 Q539262 Q258389 Q875197 Q821420 Q1194147 Q1655247 Q467876 Q1229947 Q1718784 Q15847583 Q1759682 Q327882 Q1216995 Q875875 Q7979448 Q127021 Q734151 Q4120951 Q406920 Q327809 Q1592170 Q474127 Q3536572 Q689605 Q2549119 Q697393 Q7977485 Q697014 Q558280 Q5911256 Q2520906 Q1199186 Q152857 Q1475617 Q1455551 Q683461 Q567598 Q473966 Q1306837 Q25598 Q21065355 Q2227153 Q324540 Q8075022 Q478793 Q820298 Q7705911 Q876449 Q2515772 Q540191 Q1451856 Q2631364 Q1032779 Q1203252 Q461539 Q7426800 Q554975 Q2751308
(c(Q838948),P840,Q1467291)
action filter_type
action find_reverse
entity Q64
relation P840
type Q838948
[ANSWERS] have their narrative set in that administrative territory
[{'concept': 'Q838948'}, 'P840', 'Q1467291']
SELECT DISTINCT ?c WHERE { ?c property:P840 resource:Q64 . ?c rdf:type ontology:Q838948 }
A Dandy in Aspic The Promise Ein Lord am Alexanderplatz The Devil Came at Night David Night People Cracks in the Shell Funeral in Berlin Put on Ice Hitler: The Last Ten Days Cherry Blossoms Atomised Stroszek Zille and Me Big Girls Don't Cry Treffpunkt Aimée The Girl of Your Dreams Rosenstraße Star-Crossed Lovers The Captain from Köpenick Nekromantik 2 Husaren in Berlin Muxmäuschenstill Everyone Dies Alone Dear Friend Hitler Learning to Lie Our Willi Is the Best Ninja Assassin The Albanian Invincible The Beaverskin Kokowääh Lili Marleen 1. Mai – Helden bei der Arbeit Just a Gigolo Octopussy The Plot to Assassinate Hitler Good Bye, Lenin! A Berlin Romance Emil and the Detectives Venetian Nights Zweiohrküken Angels of Iron Asudem The Counterfeiters A Trick of Light Taking Sides Wild Geese II The Stars Shine Shining Through Inside Out The Quiller Memorandum Losing Balance Solo Sunny The Days Between Lola and Billy the Kid Fraulein The Three from the Filling Station Valkyrie Victoria Germany, Year Zero Berlin Calling The Passenger – Welcome to Germany The Good German The Bread of Those Early Years Her Third Cabaret Urban Explorer When We Leave The Fall of Berlin Revue um Mitternacht Phoenix Aimée & Jaguar One, Two, Three Cadets Unknown Kuhle Wampe Murderers Among Us Jargo Faraway, So Close! Hochzeitsnacht im Regen Passport to Destiny The Edukators The Legend of Paul and Paula Angel Express Casino Royale A Coffee in Berlin The Lives of Others Urlaub auf Ehrenwort Der tapfere Schulschwänzer Hitler Meine Frau macht Musik Dr. M Flirt Antibodies Sheriff Teddy The Big Lift Captain America: Civil War The International The Life and Death of Colonel Blimp Berlin Correspondent Kaddisch für einen Freund Comedian Harmonists Coming Out The Berlin Affair Story of A Young Couple Berlin, Schoenhauser Corner Des Teufels General The Fifth Estate Charlie & Louise – Das doppelte Lottchen Reclaim Your Brain It Is Not the Homosexual Who Is Perverse, But the Society in Which He Lives Confessions of a Dangerous Mind Jackboot Mutiny Der Einstein des Sex Jason Bourne Tatort Berlin Flightplan Unser täglich Brot The Serpent's Egg Three Und wieder 48 The Keys to the House Karl Liebknecht The Red Baron Indiana Jones and the Last Crusade The Love Express The Berlin File St George's Day Charlie Chan at the Olympics Nasser Asphalt Street Acquaintances For Eyes Only Ten Seconds to Hell Life is All You Get Friedemann Bach Reportage 57 The Baader Meinhof Complex Spider's Web Torn Curtain Grand Hotel Demons Love Fiction Breathful Old Barge, Young Love The Bourne Supremacy EuroTrip Love in Thoughts Lord of War The Night Belongs to Us Sie nannten ihn Amigo The Man Between Razzia We Are the Night A Foreign Affair Mein Führer – Die wirklich wahrste Wahrheit über Adolf Hitler The Last Ten Days Run Lola Run Olympia The Three from the Filling Station Alarm in the Circus Anatomy 2 Different from You and Me A Most Wanted Man Rotation Valerie Possession Die Schönste Die große Liebe A Woman in Flames I Was Nineteen Christiane F. – We Children from Bahnhof Zoo Somewhere in Berlin Hanussen Mission: Impossible III Wings of Desire Rosa Luxemburg Summer in the City Teenage Wolfpack The Berliner The Captain from Köpenick I Phone You Tough Enough Sun Seekers KLK Calling PTZ – The Red Orchestra Silent Youth Walk on Water Shahada No Place to Go Wunschkonzert Weekend Warriors M Fridericus Muppets Most Wanted Hitlerjunge Quex Men in the City He, Du! What to Do in Case of Fire? Night Train to Munich Keinohrhasen Goods for Catalonia Bent We Cellar Children Half Past Dead The Third Generation Hotel Berlin Love's Confusion The Little Punker Downfall The Young Lions Obsession In Those Days A Woman in Berlin Where Is Fred? The Debt Emil and the Detectives Look Who's Back Sauerbruch – Das war mein Leben Wolke Neun Zugverkehr unregelmäßig Berlin 36 Escape from East Berlin Herr Lehmann Rhythm Is It! Don't Forget My Little Traudel Sonnenallee Frauenschicksale 1914 Canaris Don 2 Alles auf Zucker! Saturn Returns Die Ratten Kokowääh 2
Captain America: Civil War, The Bourne Supremacy and Casino Royale have their narrative set in that administrative territory
Captain America: Civil War The Bourne Supremacy Casino Royale
action filter_type
action find_reverse
entity Berlin
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Joachimstraße 6/8']
SELECT DISTINCT ?c WHERE { ?c property:narrative_location resource:Berlin . ?c rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q64
P6
Q502895
USER
How many people are the heads of the government of Berlin ?
(Q64,P6,c(Q502895))
action count
action filter_type
action find
entity Q64
relation P6
type Q502895
['Q64', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { ?e rdf:type ontology:Q502895 . resource:Q64 property:P6 ?e }
Berlin
action count
action filter_type
action find
entity Berlin
relation head of government
type common name
['Berlin', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { ?e rdf:type ontology:common_name . resource:Berlin property:head_of_government ?e }
[]
common name
SYSTEM
14
Q705862 Q8863 Q552483 Q61085 Q2514 Q102844 Q650878 Q2567 Q96399 Q68748 Q60957 Q215756 Q69232 Q213561
(Q64,P6,c(Q502895))
action count
action filter_type
action find
entity Q64
relation P6
type Q502895
[ANSWER]
['Q64', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { ?e rdf:type ontology:Q502895 . resource:Q64 property:P6 ?e }
Heinrich Albertz Klaus Wowereit Hans-Jochen Vogel Walter Momper Willy Brandt Michael Müller Otto Suhr Richard von Weizsäcker Franz Amrehn Dietrich Stobbe Eberhard Diepgen Klaus Schütz Walther Schreiber Ernst Reuter
14
action count
action filter_type
action find
entity Berlin
relation head of government
type common name
['Berlin', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { ?e rdf:type ontology:common_name . resource:Berlin property:head_of_government ?e }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q247807
P6
Q502895
USER
And also tell me about Săveni?
(Q247807,P6,c(Q502895))
action count
action filter_type
action find
entity Q247807
relation P6
type Q502895
['Q247807', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { resource:Q247807 property:P6 ?j . ?j rdf:type ontology:Q502895 }
Săveni
action count
action filter_type
action find
entity Săveni
relation head of government
type common name
['Săveni', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { resource:Săveni property:head_of_government ?j . ?j rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q24174662
(Q247807,P6,c(Q502895))
action count
action filter_type
action find
entity Q247807
relation P6
type Q502895
[ANSWER]
['Q247807', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { resource:Q247807 property:P6 ?j . ?j rdf:type ontology:Q502895 }
Petru Relu Târzioru
1
action count
action filter_type
action find
entity Săveni
relation head of government
type common name
['Săveni', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { resource:Săveni property:head_of_government ?j . ?j rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q16594
Q502895
USER
And what about Montevideo Department?
(Q16594,P6,c(Q502895))
action count
action filter_type
action find
entity Q16594
relation P6
type Q502895
['Q16594', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:Q16594 property:P6 ?n . ?n rdf:type ontology:Q502895 }
Montevideo Department
action count
action filter_type
action find
entity Montevideo Department
relation head of government
type common name
['Montevideo Department', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:Montevideo_Department property:head_of_government ?n . ?n rdf:type ontology:common_name }
[]
common name
SYSTEM
1
(Q16594,P6,c(Q502895))
action count
action filter_type
action find
entity Q16594
relation P6
type Q502895
[ANSWER]
['Q16594', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:Q16594 property:P6 ?n . ?n rdf:type ontology:Q502895 }
1
action count
action filter_type
action find
entity Montevideo Department
relation head of government
type common name
['Montevideo Department', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:Montevideo_Department property:head_of_government ?n . ?n rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q4328478 Q10689324
P17
Q15617994
USER
Which administrative territories are T46 and Nydalasjön situated in ?
AND((Q10689324,P17,c(Q15617994)), (Q4328478,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q10689324
relation P17
action find
entity Q4328478
relation P17
type Q15617994
{'AND': [['Q10689324', 'P17', {'concept': 'Q15617994'}], ['Q4328478', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { resource:Q10689324 property:P17 ?i . resource:Q4328478 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Nydalasjön T46
action filter_type
action intersection
action find
entity T46
relation country
action find
entity Nydalasjön
relation country
type designation for an administrative territorial entity
{'AND': [['T46', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Nydalasjön', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { resource:T46 property:country ?i . resource:Nydalasjön property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
AND((Q10689324,P17,c(Q15617994)), (Q4328478,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q10689324
relation P17
action find
entity Q4328478
relation P17
type Q15617994
T46 and Nydalasjön are situated in [ANSWER]
{'AND': [['Q10689324', 'P17', {'concept': 'Q15617994'}], ['Q4328478', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { resource:Q10689324 property:P17 ?i . resource:Q4328478 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Sweden
T46 and Nydalasjön are situated in Sweden
Sweden
action filter_type
action intersection
action find
entity T46
relation country
action find
entity Nydalasjön
relation country
type designation for an administrative territorial entity
{'AND': [['T46', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Nydalasjön', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { resource:T46 property:country ?i . resource:Nydalasjön property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q34 Q1642236 Q6298722
P530
Q1048835
USER
Does that administrative territory have diplomatic associations with Jérez del Marquesado and Juagdan ?
(Q34,P530,Q1642236) (Q34,P530,Q6298722)
action is_in
entity Q34
action intersection
action find_reverse
entity Q1642236
relation P530
action find_reverse
entity Q6298722
relation P530
['Q34', 'P530', 'Q1642236'] ['Q34', 'P530', 'Q6298722']
ASK WHERE { resource:Q34 property:P530 resource:Q1642236 . resource:Q34 property:P530 resource:Q6298722 }
Sweden Jérez del Marquesado Juagdan
action is_in
entity Sweden
action intersection
action find_reverse
entity Jérez del Marquesado
relation diplomatic relation
action find_reverse
entity Juagdan
relation diplomatic relation
['Sweden', 'diplomatic relation', 'Jérez del Marquesado'] ['Sweden', 'diplomatic relation', 'Juagdan']
ASK WHERE { resource:Sweden property:diplomatic_relation resource:Jérez_del_Marquesado . resource:Sweden property:diplomatic_relation resource:Juagdan }
[]
political territorial entity
SYSTEM
NO
(Q34,P530,Q1642236) (Q34,P530,Q6298722)
action is_in
entity Q34
action intersection
action find_reverse
entity Q1642236
relation P530
action find_reverse
entity Q6298722
relation P530
[ANSWER]
['Q34', 'P530', 'Q1642236'] ['Q34', 'P530', 'Q6298722']
ASK WHERE { resource:Q34 property:P530 resource:Q1642236 . resource:Q34 property:P530 resource:Q6298722 }
No
action is_in
entity Sweden
action intersection
action find_reverse
entity Jérez del Marquesado
relation diplomatic relation
action find_reverse
entity Juagdan
relation diplomatic relation
['Sweden', 'diplomatic relation', 'Jérez del Marquesado'] ['Sweden', 'diplomatic relation', 'Juagdan']
ASK WHERE { resource:Sweden property:diplomatic_relation resource:Jérez_del_Marquesado . resource:Sweden property:diplomatic_relation resource:Juagdan }
[]