Simple Question (Direct)
Simple Question
Q325403
P39
Q12737077
USER
Which occupations were a position held by Aneurin Bevan ?
(Q325403,P39,c(Q12737077))
action filter_type
action find
entity Q325403
relation P39
type Q12737077
['Q325403', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q325403 property:P39 ?v }
Aneurin Bevan
action filter_type
action find
entity Aneurin Bevan
relation position held
type occupation
['Aneurin Bevan', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Aneurin_Bevan property:position_held ?v }
[]
occupation
Q16707842 Q3397406 Q7460514
SYSTEM
Member of Parliament in the United Kingdom, Secretary of State for Health, Shadow Foreign Secretary
Q16707842 Q7460514 Q7444342 Q5261043 Q3397406
(Q325403,P39,c(Q12737077))
action filter_type
action find
entity Q325403
relation P39
type Q12737077
[ANSWERS] were a position held by Aneurin Bevan
['Q325403', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q325403 property:P39 ?v }
Member of Parliament in the United Kingdom Shadow Foreign Secretary Secretary of State for Employment Deputy Leader of the Labour Party Secretary of State for Health
Member of Parliament in the United Kingdom, Secretary of State for Health and Shadow Foreign Secretary were a position held by Aneurin Bevan
Member of Parliament in the United Kingdom Secretary of State for Health Shadow Foreign Secretary
action filter_type
action find
entity Aneurin Bevan
relation position held
type occupation
['Aneurin Bevan', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Aneurin_Bevan property:position_held ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q325403
P937
Q56061
USER
Which is the work location of Aneurin Bevan ?
(Q325403,P937,c(Q56061))
action filter_type
action find
entity Q325403
relation P937
type Q56061
['Q325403', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q325403 property:P937 ?v . ?v rdf:type ontology:Q56061 }
Aneurin Bevan
action filter_type
action find
entity Aneurin Bevan
relation work location
type administrative territorial entity
['Aneurin Bevan', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Aneurin_Bevan property:work_location ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q325403,P937,c(Q56061))
action filter_type
action find
entity Q325403
relation P937
type Q56061
[ANSWER] is the work location of Aneurin Bevan
['Q325403', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q325403 property:P937 ?v . ?v rdf:type ontology:Q56061 }
London
London is the work location of Aneurin Bevan
London
action filter_type
action find
entity Aneurin Bevan
relation work location
type administrative territorial entity
['Aneurin Bevan', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Aneurin_Bevan property:work_location ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q325403
P102
Q7210356
USER
Which political organization is Aneurin Bevan a member of ?
(Q325403,P102,c(Q7210356))
action filter_type
action find
entity Q325403
relation P102
type Q7210356
['Q325403', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { resource:Q325403 property:P102 ?u . ?u rdf:type ontology:Q7210356 }
Aneurin Bevan
action filter_type
action find
entity Aneurin Bevan
relation member of political party
type political organization
['Aneurin Bevan', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { resource:Aneurin_Bevan property:member_of_political_party ?u . ?u rdf:type ontology:political_organization }
[]
political organization
Q9630
SYSTEM
Labour Party
Q9630
(Q325403,P102,c(Q7210356))
action filter_type
action find
entity Q325403
relation P102
type Q7210356
The [ANSWER] is Aneurin Bevan a member of
['Q325403', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { resource:Q325403 property:P102 ?u . ?u rdf:type ontology:Q7210356 }
Labour Party
The Labour Party is Aneurin Bevan a member of
Labour Party
action filter_type
action find
entity Aneurin Bevan
relation member of political party
type political organization
['Aneurin Bevan', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { resource:Aneurin_Bevan property:member_of_political_party ?u . ?u rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q325403
P138
Q327333
USER
Which government agency has that person as its namesake ?
(c(Q327333),P138,Q9630)
action filter_type
action find_reverse
entity Q325403
relation P138
type Q327333
[{'concept': 'Q327333'}, 'P138', 'Q9630']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q327333 . ?l property:P138 resource:Q325403 }
Aneurin Bevan
action filter_type
action find_reverse
entity Aneurin Bevan
relation named after
type government agency
[{'concept': 'government agency'}, 'named after', 'Labour Party']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:government_agency . ?l property:named_after resource:Aneurin_Bevan }
[]
government agency
Q4761763
SYSTEM
Aneurin Bevan University Health Board
Q4761763
(c(Q327333),P138,Q9630)
action filter_type
action find_reverse
entity Q325403
relation P138
type Q327333
[ANSWER] has that person as its namesake
[{'concept': 'Q327333'}, 'P138', 'Q9630']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q327333 . ?l property:P138 resource:Q325403 }
Aneurin Bevan University Health Board
Aneurin Bevan University Health Board has that person as its namesake
Aneurin Bevan University Health Board
action filter_type
action find_reverse
entity Aneurin Bevan
relation named after
type government agency
[{'concept': 'government agency'}, 'named after', 'Labour Party']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:government_agency . ?l property:named_after resource:Aneurin_Bevan }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P206
Q337567 Q355304 Q56061
USER
Which administrative territories are located in the neighbourhood of min number of still waterss and watercourses ?
(c(Q56061),P206,c(Q337567)|c(Q355304))
action argmin
action union
action find_tuple_counts
relation P206
type Q56061
type Q337567
action find_tuple_counts
relation P206
type Q56061
type Q355304
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) ?x WHERE { VALUES ( ?p ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } . ?r rdf:type ?p } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) ?w WHERE { { ?w property:P206 ?y . ?w rdf:type ontology:Q56061 . ?y rdf:type ontology:Q355304 } UNION { ?w property:P206 ?y . ?w rdf:type ontology:Q56061 . ?y rdf:type ontology:Q337567 } } GROUP BY ?w } . FILTER ( ?t = ?f ) }
action argmin
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) ?x WHERE { VALUES ( ?p ) { ( ontology:still_waters ) ( ontology:watercourse ) } . ?r rdf:type ?p } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) ?w WHERE { { ?w property:located_next_to_body_of_water ?y . ?w rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:watercourse } UNION { ?w property:located_next_to_body_of_water ?y . ?w rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:still_waters } } GROUP BY ?w } . FILTER ( ?t = ?f ) }
[]
still waters watercourse administrative territorial entity
Q2280 Q1874 Q8818
SYSTEM
Minsk, Odessa, Valencia
Q3579 Q9248 Q493544 Q957593 Q3718 Q12273 Q3818 Q4359610 Q770885 Q4083209 Q25231 Q501661 Q501744 Q1939468 Q3549178 Q1416753 Q622030 Q11974 Q548441 Q331556 Q2943426 Q17151 Q15982011 Q1636296 Q1521492 Q105342 Q38834 Q2088134 Q5350973 Q156325 Q985587 Q7673494 Q501090 Q73049 Q1113813 Q2357495 Q1650017 Q14621387 Q3929 Q328121 Q991661 Q1018010 Q47164 Q810309 Q3897 Q36433 Q2060910 Q23800 Q1020776 Q19613124 Q2921491 Q473914 Q8818 Q15981916 Q1718608 Q1335 Q208337 Q3761 Q28721 Q484799 Q14328 Q9911 Q997407 Q2467 Q3561 Q6465685 Q3021755 Q41295 Q131233 Q2482545 Q5465 Q20730670 Q12246 Q4975194 Q207998 Q3792 Q52437 Q2983392 Q463937 Q212096 Q986079 Q2280 Q49149 Q8851 Q10509 Q334 Q12994 Q5476889 Q282461 Q1454043 Q515229 Q35178 Q656709 Q2719861 Q4119405 Q846188 Q1748 Q210093 Q2677934 Q991274 Q3299785 Q849441 Q15068816 Q3947670 Q966534 Q969531 Q851034 Q3595479 Q14875773 Q3398922 Q614919 Q1000107 Q1442470 Q21060 Q5330523 Q14056 Q2021057 Q831527 Q200036 Q651997 Q517053 Q847085 Q105037 Q214843 Q39178 Q40921 Q2225013 Q119446 Q941967 Q2684898 Q14947347 Q301415 Q49414 Q9310 Q1052027 Q736906 Q1874 Q837211 Q586112 Q239496 Q791602 Q959 Q3932309 Q8745 Q38807 Q2745332 Q213707 Q1770 Q41699 Q491999 Q19613821 Q425786 Q6751200 Q938379 Q2191422 Q18419 Q3688 Q3306 Q647543 Q2893117 Q3780 Q7314172 Q840867 Q1732099 Q133123 Q986387 Q3825 Q19613231 Q865021 Q2590944 Q2238911 Q1330853 Q5379235 Q3733 Q1189066 Q25230 Q7230655 Q810092 Q492744 Q3854 Q4072448 Q10400 Q5926907 Q16953999 Q311809 Q15682 Q5493749 Q632489 Q2157144 Q724394 Q4347874 Q9347 Q2785515 Q2292517 Q13640603 Q2449 Q1624013 Q17483998 Q36526 Q3901 Q466046 Q2727978 Q2666506 Q1419813 Q62 Q3882 Q3889 Q1616324 Q216939 Q5813 Q767357 Q1160017 Q2928585 Q49550 Q37806 Q770518 Q79716 Q930204 Q2713838 Q10313 Q2423894 Q187251 Q9939 Q8050719 Q368275 Q2413248 Q34692 Q913649 Q8757 Q1764 Q3940 Q2236639 Q2729387 Q602314 Q176749 Q14452 Q8826 Q3820 Q36260 Q36262 Q123076 Q569080 Q18386455 Q3932 Q719379 Q54898 Q1572113 Q683125 Q230406 Q1867127 Q502398 Q2978763 Q222702 Q36600 Q3114 Q773919 Q743521 Q1807728 Q11901258 Q2084446 Q446232 Q41547 Q7823825 Q1552720 Q505601 Q14205508 Q670057 Q991400 Q1758944
(c(Q56061),P206,c(Q337567)|c(Q355304))
action argmin
action union
action find_tuple_counts
relation P206
type Q56061
type Q337567
action find_tuple_counts
relation P206
type Q56061
type Q355304
[ANSWERS] are located in the neighbourhood of min number of still waterss and watercourses
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) ?x WHERE { VALUES ( ?p ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } . ?r rdf:type ?p } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) ?w WHERE { { ?w property:P206 ?y . ?w rdf:type ontology:Q56061 . ?y rdf:type ontology:Q355304 } UNION { ?w property:P206 ?y . ?w rdf:type ontology:Q56061 . ?y rdf:type ontology:Q337567 } } GROUP BY ?w } . FILTER ( ?t = ?f ) }
Tripoli Baku Makkum Den Oever Dakar Gijón Malabo El Pescadero Bergen aan Zee Seymour Arm Svalbard Schleswig Alert Paravur Onari Sitra Palos de la Frontera Las Palmas de Gran Canaria Portugalete Bosaso Cayo Santa María Thessaloniki El Teso Hulhumalé Ghazaouet Bolshoy Kamen Nuku'alofa San José del Cabo El Centenario Juan Fernández Islands Lee-on-the-Solent Taboiaki Castro Urdiales Hindeloopen Come By Chance, Newfoundland and Labrador Paesens Sidi Abdelaziz Anna Port Louis Greater Tokyo Area Callantsoog Sidi Barrani Santa Monica Oberwurmbach Luanda Porto Fuvahmulah Valletta Cabo San Lucas Alekseyevka Katwijk aan Zee Ibiza Town Valencia El Sargento Speising Montevideo Koltur Accra Beeston Regis Marbella Santa Cruz de Tenerife Den Helder Bubaque Nassau Algiers La Ventana Dellys Basseterre South Tarawa Tortuguero Cape Town Glen Cove Huelva Brookville, Nova Scotia Fethiye Lomé Murano Colliers Saint Thomas Kastelorizo Castro Marim Municipality Minsk Nantucket Málaga Elche Singapore Bruges Fox River, Nova Scotia IJmuiden Paesens-Moddergat Ngerulmud Kuwait City Nukunonu Oost-Vlieland Nabih Saleh Wervershoof Copenhagen Motril Puttershoek Kalamos Halat Nuaim Saint John Norris Arm San Mauro Mare Elleholm Monster San Leandro Andrott Spencer's Island Y Felinheli Atokos Kijkduin Santoña Ouddorp Eastern Tickle Jan Mayen Hindersön Djurgården Volos Alcobaça, Portugal De Koog Heinenoord Callao Tipaza Port of Spain Honiara Thénia De Cocksdorp Peniche Ter Heijde Beetz Marken Ramsberg am Brombachsee Dili Cayo Largo del Sur Almonte Odessa Scheveningen Amini Sheringham Awala-Yalimapo Vladivostok Nieuw-Haamstede Vigo Suva Villa Las Estrellas Grímsey Tallinn Castries Andijk Bichura 's-Gravenzande Manoka Samarai Vingt Cinq Brooklyn Nouakchott Panama City Arrecife Beit Ummar Freetown Reposaari Rudnaya Pristan Twillingate Patras Cárdenas Libreville Antonovka Birchington-on-Sea Reimerswaal Kumta Vilsandi Ennore Conakry Point Cires Guernsey Port Greville Unterwurmbach Mijas Bujumbura Aurovka Almería Hubbards, Nova Scotia Daloloia Group Sidi Daoud Cádiz Fraserville, Nova Scotia Niulakita Almere Haven Poros Emäsalo Malé West-Terschelling Skikda Banevurovo Mogadishu Yampupata Ettling Port Moresby Moroni Salé Karwar Panaeati Island Roatán San Francisco Manama Maputo Egmond aan Zee Essaouira Canary Islands Caravela Perim Burnt Islands, Newfoundland and Labrador Maó-Mahón Port Vila Boumerdès Whittier Wells-next-the-Sea Vaghena Island Donostia/San Sebastián Funafala Vestmannaeyjar Huizen Ydrefors Spetses Cayo Romano Kingston Wijk aan Zee A Coruña Reykjavík Victoria Oosterdijk, Enkhuizen Huisduinen Ruo Villingili Easter Island Palma Beirut Apia St. John's Palmyra Atoll Koipsi Canoe Island São Tomé Sachs Harbour San Cristóbal de La Laguna Útila Ustronie Morskie Zurich, Friesland Lobsing Oranje, Drenthe Clearwater Beach Tarifa The Hague Canberra Aunu'u Scarborough Samhah Vihiluoto Arzew Petten St. George's Too Good Arm Guanaja Wassenaar Barra de Potosí Birgitz Puerto Barrios Rottumeroog
Minsk, Odessa and Valencia are located in the neighbourhood of min number of still waterss and watercourses
Minsk Odessa Valencia
action argmin
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) ?x WHERE { VALUES ( ?p ) { ( ontology:still_waters ) ( ontology:watercourse ) } . ?r rdf:type ?p } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) ?w WHERE { { ?w property:located_next_to_body_of_water ?y . ?w rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:watercourse } UNION { ?w property:located_next_to_body_of_water ?y . ?w rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:still_waters } } GROUP BY ?w } . FILTER ( ?t = ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q24026943
P532
Q56061 Q2235308
USER
Which ship types have their base port as more number of administrative territories than Primrose ?
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24026943
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?n ) WHERE { ?j property:P532 ?d . ?d rdf:type ontology:Q56061 . ?j rdf:type ontology:Q2235308 } GROUP BY ?j } . FILTER ( ?n > ?u ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { ?a rdf:type ontology:Q2235308 . resource:Q24026943 property:P532 ?a } } }
Primrose
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Primrose
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?n ) WHERE { ?j property:port_of_registry ?d . ?d rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:ship_type } GROUP BY ?j } . FILTER ( ?n > ?u ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { ?a rdf:type ontology:ship_type . resource:Primrose property:port_of_registry ?a } } }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q35462
SYSTEM
MS Azura, SS Maxim Gorkiy, RMS Aquitania
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24026943
relation P532
type Q2235308
[ANSWERS] have their base port as more number of administrative territories than Primrose
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?n ) WHERE { ?j property:P532 ?d . ?d rdf:type ontology:Q56061 . ?j rdf:type ontology:Q2235308 } GROUP BY ?j } . FILTER ( ?n > ?u ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { ?a rdf:type ontology:Q2235308 . resource:Q24026943 property:P532 ?a } } }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
MS Azura, SS Maxim Gorkiy and RMS Aquitania have their base port as more number of administrative territories than Primrose
MS Azura SS Maxim Gorkiy RMS Aquitania
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Primrose
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?n ) WHERE { ?j property:port_of_registry ?d . ?d rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:ship_type } GROUP BY ?j } . FILTER ( ?n > ?u ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { ?a rdf:type ontology:ship_type . resource:Primrose property:port_of_registry ?a } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q7394354
P532
Q56061 Q2235308
USER
And also tell me about SS Scharnhorst?
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q7394354
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { ?j rdf:type ontology:Q2235308 . resource:Q7394354 property:P532 ?j } } . FILTER ( ?e > ?h ) . { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?e ) WHERE { ?t property:P532 ?y . ?t rdf:type ontology:Q2235308 . ?y rdf:type ontology:Q56061 } GROUP BY ?t } }
SS Scharnhorst
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity SS Scharnhorst
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { ?j rdf:type ontology:ship_type . resource:SS_Scharnhorst property:port_of_registry ?j } } . FILTER ( ?e > ?h ) . { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?e ) WHERE { ?t property:port_of_registry ?y . ?t rdf:type ontology:ship_type . ?y rdf:type ontology:administrative_territorial_entity } GROUP BY ?t } }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q35462
SYSTEM
MS Azura, SS Maxim Gorkiy, RMS Aquitania
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q7394354
relation P532
type Q2235308
[ANSWERS]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { ?j rdf:type ontology:Q2235308 . resource:Q7394354 property:P532 ?j } } . FILTER ( ?e > ?h ) . { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?e ) WHERE { ?t property:P532 ?y . ?t rdf:type ontology:Q2235308 . ?y rdf:type ontology:Q56061 } GROUP BY ?t } }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
MS Azura SS Maxim Gorkiy RMS Aquitania
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity SS Scharnhorst
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { ?j rdf:type ontology:ship_type . resource:SS_Scharnhorst property:port_of_registry ?j } } . FILTER ( ?e > ?h ) . { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?e ) WHERE { ?t property:port_of_registry ?y . ?t rdf:type ontology:ship_type . ?y rdf:type ontology:administrative_territorial_entity } GROUP BY ?t } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2596850 Q468026 Q35462
P532
Q56061
USER
Which administrative territories serves as the port of registry of those ship types ?
(Q2596850,P532,c(Q56061)) (Q468026,P532,c(Q56061)) (Q35462,P532,c(Q56061))
action filter_type
action find
entity prev_answer
relation P532
type Q56061
['Q2596850', 'P532', {'concept': 'Q56061'}] ['Q468026', 'P532', {'concept': 'Q56061'}] ['Q35462', 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { ?m property:P532 ?w . ?w rdf:type ontology:Q56061 . VALUES ( ?m ) { ( resource:Q2992316 ) ( resource:Q2301456 ) ( resource:Q983141 ) } }
MS Azura SS Maxim Gorkiy RMS Aquitania
action filter_type
action find
entity prev_answer
relation port of registry
type administrative territorial entity
['MS Azura', 'port of registry', {'concept': 'administrative territorial entity'}] ['SS Maxim Gorkiy', 'port of registry', {'concept': 'administrative territorial entity'}] ['RMS Aquitania', 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?m property:port_of_registry ?w . ?w rdf:type ontology:administrative_territorial_entity . VALUES ( ?m ) { ( resource:HSC_Condor_Rapide ) ( resource:MS_Viking_XPRS ) ( resource:MY_Sam_Simon ) } }
[]
administrative territorial entity
Q1874 Q79848 Q24826
SYSTEM
Odessa, Southampton, Liverpool
Q30985 Q79848 Q2467 Q1874 Q24826
(Q2596850,P532,c(Q56061)) (Q468026,P532,c(Q56061)) (Q35462,P532,c(Q56061))
action filter_type
action find
entity prev_answer
relation P532
type Q56061
[ANSWERS] serve as the port of registry of those ship types
['Q2596850', 'P532', {'concept': 'Q56061'}] ['Q468026', 'P532', {'concept': 'Q56061'}] ['Q35462', 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { ?m property:P532 ?w . ?w rdf:type ontology:Q56061 . VALUES ( ?m ) { ( resource:Q2992316 ) ( resource:Q2301456 ) ( resource:Q983141 ) } }
Hamilton Southampton Nassau Odessa Liverpool
Odessa, Southampton and Liverpool serve as the port of registry of those ship types
Odessa Southampton Liverpool
action filter_type
action find
entity prev_answer
relation port of registry
type administrative territorial entity
['MS Azura', 'port of registry', {'concept': 'administrative territorial entity'}] ['SS Maxim Gorkiy', 'port of registry', {'concept': 'administrative territorial entity'}] ['RMS Aquitania', 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?m property:port_of_registry ?w . ?w rdf:type ontology:administrative_territorial_entity . VALUES ( ?m ) { ( resource:HSC_Condor_Rapide ) ( resource:MS_Viking_XPRS ) ( resource:MY_Sam_Simon ) } }
[]