Simple Question (Direct)
Simple Question
Q1954738
P641
Q349
USER
What did Takashi Seki participate in ?
(Q1954738,P641,c(Q349))
action filter_type
action find
entity Q1954738
relation P641
type Q349
['Q1954738', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q1954738 property:P641 ?g . ?g rdf:type ontology:Q349 }
Takashi Seki
action filter_type
action find
entity Takashi Seki
relation sport
type sport
['Takashi Seki', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Takashi_Seki property:sport ?g . ?g rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1954738,P641,c(Q349))
action filter_type
action find
entity Q1954738
relation P641
type Q349
Takashi Seki participated in [ANSWER]
['Q1954738', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q1954738 property:P641 ?g . ?g rdf:type ontology:Q349 }
association football
Takashi Seki participated in association football
association football
action filter_type
action find
entity Takashi Seki
relation sport
type sport
['Takashi Seki', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Takashi_Seki property:sport ?g . ?g rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1954738
P21
Q290
USER
Which sex does that person belong to ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q1954738
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q290 . resource:Q1954738 property:P21 ?b }
Takashi Seki
action filter_type
action find
entity Takashi Seki
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sex . resource:Takashi_Seki property:gender ?b }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q1954738
relation P21
type Q290
That person belongs to [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q290 . resource:Q1954738 property:P21 ?b }
male
That person belongs to male
male
action filter_type
action find
entity Takashi Seki
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sex . resource:Takashi_Seki property:gender ?b }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q7524
P169
Q502895 Q43229 Q11032
USER
Which people are the CEO of less number of organizations and newspapers than Sue Gardner ?
(c(Q43229)|c(Q11032),P169,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q43229
action find_reverse_tuple_counts
relation P169
type Q502895
type Q11032
action count
action filter_multi_types
action find_reverse
entity Q7524
relation P169
type Q43229
type Q11032
[[{'concept': 'Q43229'}, {'concept': 'Q11032'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?x ) WHERE { { ?n property:P169 ?w . ?n rdf:type ontology:Q43229 . ?w rdf:type ontology:Q502895 } UNION { ?n property:P169 ?w . ?w rdf:type ontology:Q502895 . ?n rdf:type ontology:Q11032 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { ?h property:P169 resource:Q7524 . { { ?h rdf:type ontology:Q43229 } UNION { ?h rdf:type ontology:Q11032 } } } } . FILTER ( ?x < ?r ) }
Sue Gardner
action less
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type organization
action find_reverse_tuple_counts
relation chief executive officer
type common name
type newspaper
action count
action filter_multi_types
action find_reverse
entity Sue Gardner
relation chief executive officer
type organization
type newspaper
[[{'concept': 'organization'}, {'concept': 'newspaper'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?x ) WHERE { { ?n property:chief_executive_officer ?w . ?n rdf:type ontology:organization . ?w rdf:type ontology:common_name } UNION { ?n property:chief_executive_officer ?w . ?w rdf:type ontology:common_name . ?n rdf:type ontology:newspaper } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { ?h property:chief_executive_officer resource:Sue_Gardner . { { ?h rdf:type ontology:organization } UNION { ?h rdf:type ontology:newspaper } } } } . FILTER ( ?x < ?r ) }
[]
common name organization newspaper
Q317521 Q952737 Q103473
SYSTEM
Elon Musk, Diego Abad de Santillán, Georg August Zenker
Q19896671 Q19896679 Q6767603 Q18582318 Q2593207 Q4682572 Q23416738 Q7803096 Q4117176 Q3309313 Q7586364 Q7279392 Q19609868 Q626113 Q6180981 Q16886381 Q26722512 Q6195201 Q21000395 Q9024946 Q7803316 Q19803807 Q3170168 Q15966868 Q729842 Q1929047 Q6193526 Q21192348 Q55183 Q11898683 Q5300803 Q782805 Q7612483 Q16200426 Q17059044 Q2622748 Q6237227 Q5211708 Q952737 Q4980260 Q7024365 Q4487 Q18342983 Q16236293 Q21781591 Q19665536 Q3021823 Q597242 Q6227807 Q2745626 Q23664152 Q4707007 Q1901431 Q9000717 Q3369699 Q418622 Q5677222 Q5627332 Q1443742 Q6131851 Q103473 Q5524807 Q21263939 Q17627170 Q9097127 Q3507411 Q7340146 Q15439301 Q21066734 Q65445 Q524263 Q16163305 Q59474 Q7426870 Q435716 Q347418 Q49971 Q1392181 Q6274218 Q681012 Q450628 Q3658951 Q7668816 Q109782 Q4699676 Q20726318 Q12384244 Q18175766 Q5577535 Q711976 Q1710229 Q5619138 Q16733044 Q8421760 Q15293536 Q111695 Q17508950 Q7519396 Q16876158 Q491580 Q5231122 Q429046 Q6765006 Q12588013 Q19594969 Q46000 Q5619555 Q17627778 Q4228233 Q346081 Q5872324 Q6956802 Q6699092 Q3318585 Q1666888 Q1355678 Q26218178 Q11202781 Q4117408 Q19663497 Q23048203 Q251711 Q1701254 Q1150479 Q5959106 Q8051043 Q19664216 Q716082 Q6356756 Q16193869 Q3047406 Q181162 Q7810321 Q1572591 Q7688294 Q7329143 Q2324303 Q7340307 Q17486463 Q1443067 Q1721259 Q26903671 Q4777034 Q16937727 Q5045423 Q7341739 Q293679 Q5675607 Q2078625 Q912811 Q5214356 Q16148720 Q4452881 Q7804077 Q15064277 Q7608947 Q3159840 Q6491586 Q1173809 Q472330 Q4954314 Q1363852 Q7496573 Q389597 Q16999646 Q18324728 Q26207337 Q5704388 Q901670 Q732157 Q16011625 Q1608491 Q2849007 Q1701260 Q1700049 Q1344392 Q1074632 Q1692250 Q593330 Q20962527 Q709063 Q18233674 Q2165536 Q6181992 Q3340804 Q1223089 Q4760775 Q7159630 Q16195575 Q8070360 Q1239543 Q14927550 Q12606246 Q18755123 Q11875054 Q312556 Q2850820 Q1680807 Q6175245 Q3185348 Q186601 Q4948829 Q8992399 Q10297071 Q18344447 Q6090854 Q3218882 Q500976 Q7306657 Q20975613 Q19854934 Q118816 Q2756226 Q7608884 Q7176651 Q4090816 Q21278777 Q1376418 Q1575930 Q4400069 Q6206566 Q6768102 Q9631179 Q1328888 Q26908223 Q1575640 Q7456439 Q6183209 Q18222074 Q4191933 Q26208348 Q6307615 Q20970812 Q107571 Q317521 Q4805143 Q4888662 Q10950854 Q22958497 Q5273200 Q7609478 Q1889898 Q6273164 Q26132792 Q20215432 Q18654783 Q10858630 Q2800420 Q4245 Q16730634 Q23759747 Q7794754 Q4482287 Q1586568 Q10321870 Q107797 Q5867981 Q18921689 Q117289 Q4655570 Q2468051 Q1386366 Q5618950 Q20743254 Q1169885 Q516550 Q17988783 Q449120 Q4935260 Q3023213 Q4123823 Q96270 Q92995 Q3082719 Q6172644 Q6708744 Q7698068 Q716902 Q313915 Q18091304 Q776008 Q4297328 Q17119772 Q6113311 Q4716022 Q16337998 Q6178460 Q1690188 Q17114394 Q16855193 Q22096796 Q19878836
(c(Q43229)|c(Q11032),P169,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q43229
action find_reverse_tuple_counts
relation P169
type Q502895
type Q11032
action count
action filter_multi_types
action find_reverse
entity Q7524
relation P169
type Q43229
type Q11032
[ANSWERS] are the CEO of less number of organizations and newspapers than Sue Gardner
[[{'concept': 'Q43229'}, {'concept': 'Q11032'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?x ) WHERE { { ?n property:P169 ?w . ?n rdf:type ontology:Q43229 . ?w rdf:type ontology:Q502895 } UNION { ?n property:P169 ?w . ?w rdf:type ontology:Q502895 . ?n rdf:type ontology:Q11032 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { ?h property:P169 resource:Q7524 . { { ?h rdf:type ontology:Q43229 } UNION { ?h rdf:type ontology:Q11032 } } } } . FILTER ( ?x < ?r ) }
Tim Jenkins Zaw Thet Mark Fields Giuliana Mancini Peter Hartman Adhyaksa Dault Jason Barnard Tim Armstrong Robert Kotick Michel Combes Sridhar Vembu Rachel Schofield Chandra Shekhar Ghosh Cho Yang-ho Jeremiah Slaczka Erik Voorhees Antoni Cases Jim Gianopulos Franz Borgias Mayer Luis Bello Tim Clark Steven H. Gunby Jean-Yves Le Gall David Schraven Mark Pincus Michael Rockenschaub Jim Bankoff Ahmet Furkan Tarhan Susan Wojcicki Tuomo Saikkonen Doug Parker Samuel J. Palmisano Steve Ells Fraser Brown Nick Woodman Shantanu Narayen John Hailer Dalton Philips Diego Abad de Santillán Bryan Morrison Nicandro Durante Federico Gamboa Patrick Pouyanné William LeGate Lyubomir Penev Dan Siroker Delphine Ernotte Michael O'Leary John Cryan Bruce Chizen Andrew Conrad Alan Joyce Markus Dohle Lei Jun Patrick Michel Akio Toyoda Harvey Golub Justin King Philipp Kässbohrer James Cracchiolo Georg August Zenker Gary C. Kelly Paul Vogt Jim Zemlin Yoichi Erikawa Šimon Pánek Rob Fyfe Evan Spiegel Oscar Munoz Dieter Zetsche Joan Carreras i Martí Albert Royo i Mariné Bjørn Kjos Satya Nadella Thomas J. Watson Gabe Newell Ginni Rometty Muhtar Kent Jonathan Reckford Walter Isaacson Safra A. Catz Sergey Gaplikov T. Vincent Learson Heinrich Hiesinger Ajaypal Singh Banga Maximo Cavazzani Basilio Álvarez Kiyoshi Asai Goh Choon Phong Mark Hurd João do Rio Gunnar Svedberg James Murren Jay Walder Martyn Harrow Jakob Augstein Emmanuel Roman Simon Moutter Ryan Merkley Eric Mun David Barger Jay Park Mario Vella Kim Youngmin Ulrich Spiesshofer Thomas Watson Gunvor Ulstein Mark Darby Viktor Kolodyazhny Christophe de Margerie Félix Lorenzo Nabeel Gareeb Ludvig G. Braathen Mohamed Hassan Bensalah Stuart Gulliver Jim Skinner Maged Gamani Juha Wuolijoki Akbar Al Baker Bill Block Youssef al-Raissouni Ángel Herrera Oria John Oliver Driss Benhima Jan Ling Yechiel Eckstein Jason Kothari Eliezer Shkedi Ken Kobayashi Sophie Turner Laing Joseph Blanco White Steve Ballmer Titus Naikuni René Obermann Tatsumi Kimishima Richard Solomons Jørgen Vig Knudstorp Rob Lewis Binny Bansal Frank T. Cary Kai-Uwe Ricke Shubham Badal Antonio Vázquez Romero Thomas Jorberg Carolyn McCall Robert B. Pamplin, Jr. Al-Waleed bin Talal Andrés Borrego Peter Terium Brian Moynihan Dan Schulman Arnold W. Donald Vasil Tatsiy Tim O'Toole Andrew Wilson Stephen Cooper Jacques Rapoport Lars Kobberstad David Braben Howard Schultz Brad Tilden Louis V. Gerstner Shikha Sharma Russell Coutts Víctor Pérez i Pallarés Boyan Slat Aleksander Kutela Helga Stephenson Daniel Ek Yevgeny Adamov A. C. N. Nambiar Mike Davis Andrés Conesa Labastida John R. Opel John Fellows Akers John Warnock Jean-Cyril Spinetta Kjeld Kirk Kristiansen Jordi Carbonell i de Ballester Alex Algard Arthur D. Levinson Wu Xiaohui Ron Sommer Jeremy Vine Nicolas Surcouf Dieter von Holtzbrinck Andy Harrison Pedro Heilbron Muzzammil Hassan Zhang Xin Don Thompson Michael Lynton Yang Min-suk Harpal Kumar Lauri Kivinen Jeff Bezos Anne-Marie Bertrand James McNerney Jeff Weiner Joseph Mayer Lee Min-woo Pam Fredman Yoshitaka Kitao Jeremy Darroch Michael Seifert Bo Samuelsson Laurence D. Fink Andreas Treichl Reed Hastings Seyed Salman Sadad Lincoln Leong Manfred Bischoff Simon Dominic Stephen Chan Peter Rogers Taymuraz Bolloyev Damien Duhamel Jeffrey Bewkes Hannes Ametsreiter Alexander Rumyantsev Joaquín Xaudaró Mark Hoplamazian Zhou Jiping Ulrich Lehner Alireza Salehi Nejad Marc Walder Seth Berkley Jerry Atkin Günther Greindl Dmitry Zimin Bartosz Skwarczek Julian Stone Jacques Branciard Wolfgang Reitzle Elon Musk Paul E. Jacobs José Lázaro Galdiano Natalia Majluf Peyush Bansal Dick Millman Stephen Hester Manfred Schneider Jonathan Ornstein Jonathan Seaton Scott Ernest Jeremy Reaves Barbara Byrd-Bennett Semyon Vaynshtok Jean-Michel Aulas Brad Katsuyama Alisa Miller Thomas Horton Yuri Fedutinov Harry Hohmeister Lyor Cohen Mathias Döpfner Francisco de Luis Díaz Steve Easterbrook Sergio Ermotti Christine Loh Steve O'Rourke Timotheus Höttges Gunnar Bovim Yves Alix Lewis E. Platt Kenneth Chenault Haruna Yukawa Irene Rosenfeld Bobby Koch Dennis Woodside Arkady Volozh Richard Kund Wolfgang Wahlster Frank Melloul Jed York Lyndon Rive Temel Kotil Lucio Tan Sergey Kiriyenko Victor Galasyuk Nasser Al-Khelaifi Viktor Mikhaylov Theodor Haagaas Jack J. Pelton Aleksi Bardy Philippe Clerget Jennifer Hyman Joachim Hoof Randi S. Øgrey Frédéric Gagey Lewis Von Thaer Colin Seery
Elon Musk, Diego Abad de Santillán and Georg August Zenker are the CEO of less number of organizations and newspapers than Sue Gardner
Elon Musk Diego Abad de Santillán Georg August Zenker
action less
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type organization
action find_reverse_tuple_counts
relation chief executive officer
type common name
type newspaper
action count
action filter_multi_types
action find_reverse
entity Sue Gardner
relation chief executive officer
type organization
type newspaper
[[{'concept': 'organization'}, {'concept': 'newspaper'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?x ) WHERE { { ?n property:chief_executive_officer ?w . ?n rdf:type ontology:organization . ?w rdf:type ontology:common_name } UNION { ?n property:chief_executive_officer ?w . ?w rdf:type ontology:common_name . ?n rdf:type ontology:newspaper } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { ?h property:chief_executive_officer resource:Sue_Gardner . { { ?h rdf:type ontology:organization } UNION { ?h rdf:type ontology:newspaper } } } } . FILTER ( ?x < ?r ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q103473
P551
Q56061
USER
Where did that person reside ?
(Q103473,P551,c(Q56061))
action filter_type
action find
entity Q103473
relation P551
type Q56061
['Q103473', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q103473 property:P551 ?e . ?e rdf:type ontology:Q56061 }
Georg August Zenker
action filter_type
action find
entity Georg August Zenker
relation residence
type administrative territorial entity
['Georg August Zenker', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Georg_August_Zenker property:residence ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q952737
SYSTEM
Did you mean Diego Abad de Santillán ?
Q317521 Q952737 Q103473
(Q317521,P551,c(Q56061)) (Q952737,P551,c(Q56061)) (Q103473,P551,c(Q56061))
[ANSWER]
['Q317521', 'P551', {'concept': 'Q56061'}] ['Q952737', 'P551', {'concept': 'Q56061'}] ['Q103473', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q103473 property:P551 ?e . ?e rdf:type ontology:Q56061 }
Elon Musk Diego Abad de Santillán Georg August Zenker
Did you mean Diego Abad de Santillán ?
Diego Abad de Santillán
['Elon Musk', 'residence', {'concept': 'administrative territorial entity'}] ['Diego Abad de Santillán', 'residence', {'concept': 'administrative territorial entity'}] ['Georg August Zenker', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Georg_August_Zenker property:residence ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Georg August Zenker. Could you tell me the answer for that?
(Q103473,P551,c(Q56061))
Q103473
['Q103473', 'P551', {'concept': 'Q56061'}]
['Georg August Zenker', 'residence', {'concept': 'administrative territorial entity'}]
[]
Q2634 Q3825 Q3808
SYSTEM
Naples, Libreville, Yaoundé
Q1100812 Q3825 Q3808 Q4915448 Q2634
(Q103473,P551,c(Q56061))
action filter_type
action find
entity Q103473
relation P551
type Q56061
That person resided in [ANSWERS]
['Q103473', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q103473 property:P551 ?e . ?e rdf:type ontology:Q56061 }
Campo Libreville Yaoundé Bipindi Naples
That person resided in Naples, Libreville and Yaoundé
Naples Libreville Yaoundé
action filter_type
action find
entity Georg August Zenker
relation residence
type administrative territorial entity
['Georg August Zenker', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Georg_August_Zenker property:residence ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q24027436
P532
Q56061 Q2235308
USER
Which ship types are the registry port of more number of administrative territories than Resolven ?
(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 Q24027436
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?f ) WHERE { ?j property:P532 ?g . ?j rdf:type ontology:Q2235308 . ?g rdf:type ontology:Q56061 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { ?i rdf:type ontology:Q2235308 . resource:Q24027436 property:P532 ?i } } . FILTER ( ?f > ?y ) }
Resolven
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 Resolven
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 ( ?g ) AS ?f ) WHERE { ?j property:port_of_registry ?g . ?j rdf:type ontology:ship_type . ?g rdf:type ontology:administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { ?i rdf:type ontology:ship_type . resource:Resolven property:port_of_registry ?i } } . FILTER ( ?f > ?y ) }
[]
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 Q24027436
relation P532
type Q2235308
[ANSWERS] are the registry port of more number of administrative territories than Resolven
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?f ) WHERE { ?j property:P532 ?g . ?j rdf:type ontology:Q2235308 . ?g rdf:type ontology:Q56061 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { ?i rdf:type ontology:Q2235308 . resource:Q24027436 property:P532 ?i } } . FILTER ( ?f > ?y ) }
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 are the registry port of more number of administrative territories than Resolven
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 Resolven
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 ( ?g ) AS ?f ) WHERE { ?j property:port_of_registry ?g . ?j rdf:type ontology:ship_type . ?g rdf:type ontology:administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { ?i rdf:type ontology:ship_type . resource:Resolven property:port_of_registry ?i } } . FILTER ( ?f > ?y ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q2235308 Q17444909 Q83620
USER
How many ship types are around 1 astronomical object types and thoroughfares named after ?
(c(Q17444909)|c(Q83620),P138,c(Q2235308))
action count
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q17444909
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q83620
value 1
[[{'concept': 'Q17444909'}, {'concept': 'Q83620'}], 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?o ) WHERE { ?p rdf:type ?i . VALUES ( ?i ) { ( ontology:Q17444909 ) ( ontology:Q83620 ) } } GROUP BY ?e } . FILTER ( ?o = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation named after
type ship type
type astronomical object type
action find_reverse_tuple_counts
relation named after
type ship type
type thoroughfare
value 1
[[{'concept': 'astronomical object type'}, {'concept': 'thoroughfare'}], 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?o ) WHERE { ?p rdf:type ?i . VALUES ( ?i ) { ( ontology:astronomical_object_type ) ( ontology:thoroughfare ) } } GROUP BY ?e } . FILTER ( ?o = 1 ) }
[]
ship type astronomical object type thoroughfare
SYSTEM
6
Q827360 Q900379 Q3206808 Q557286 Q1500360 Q449016
(c(Q17444909)|c(Q83620),P138,c(Q2235308))
action count
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q17444909
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q83620
value 1
[ANSWER]
[[{'concept': 'Q17444909'}, {'concept': 'Q83620'}], 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?o ) WHERE { ?p rdf:type ?i . VALUES ( ?i ) { ( ontology:Q17444909 ) ( ontology:Q83620 ) } } GROUP BY ?e } . FILTER ( ?o = 1 ) }
USS Nautilus HMS Bounty French ship Astrolabe Gorch Fock I Nautilus DSV Alvin
6
action count
action approx
action union
action find_reverse_tuple_counts
relation named after
type ship type
type astronomical object type
action find_reverse_tuple_counts
relation named after
type ship type
type thoroughfare
value 1
[[{'concept': 'astronomical object type'}, {'concept': 'thoroughfare'}], 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?o ) WHERE { ?p rdf:type ?i . VALUES ( ?i ) { ( ontology:astronomical_object_type ) ( ontology:thoroughfare ) } } GROUP BY ?e } . FILTER ( ?o = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2634
P1376
Q15617994
USER
Which administrative territory has Naples has its center of administration ?
(Q2634,P1376,c(Q15617994))
action filter_type
action find
entity Q2634
relation P1376
type Q15617994
['Q2634', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q2634 property:P1376 ?i . ?i rdf:type ontology:Q15617994 }
Naples
action filter_type
action find
entity Naples
relation capital of
type designation for an administrative territorial entity
['Naples', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Naples property:capital_of ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1438
SYSTEM
Campania
Q1438
(Q2634,P1376,c(Q15617994))
action filter_type
action find
entity Q2634
relation P1376
type Q15617994
The [ANSWER] has Naples has its center of administration
['Q2634', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q2634 property:P1376 ?i . ?i rdf:type ontology:Q15617994 }
Campania
The Campania has Naples has its center of administration
Campania
action filter_type
action find
entity Naples
relation capital of
type designation for an administrative territorial entity
['Naples', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Naples property:capital_of ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1438
P1001
Q17335294
USER
Which coat of arms has jurisdiction over that administrative territory ?
(c(Q17335294),P1001,Q1438)
action filter_type
action find_reverse
entity Q1438
relation P1001
type Q17335294
[{'concept': 'Q17335294'}, 'P1001', 'Q1438']
SELECT DISTINCT ?q WHERE { ?q property:P1001 resource:Q1438 . ?q rdf:type ontology:Q17335294 }
Campania
action filter_type
action find_reverse
entity Campania
relation applies to jurisdiction
type flag or coat of arms
[{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', 'Campania']
SELECT DISTINCT ?q WHERE { ?q property:applies_to_jurisdiction resource:Campania . ?q rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q857778
SYSTEM
flag of Campania
Q857778
(c(Q17335294),P1001,Q1438)
action filter_type
action find_reverse
entity Q1438
relation P1001
type Q17335294
The [ANSWER] has jurisdiction over that administrative territory
[{'concept': 'Q17335294'}, 'P1001', 'Q1438']
SELECT DISTINCT ?q WHERE { ?q property:P1001 resource:Q1438 . ?q rdf:type ontology:Q17335294 }
flag of Campania
The flag of Campania has jurisdiction over that administrative territory
flag of Campania
action filter_type
action find_reverse
entity Campania
relation applies to jurisdiction
type flag or coat of arms
[{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', 'Campania']
SELECT DISTINCT ?q WHERE { ?q property:applies_to_jurisdiction resource:Campania . ?q rdf:type ontology:flag_or_coat_of_arms }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q183 Q3808
P530 P1376
Q15617994
USER
Which administrative territories have Yaoundé as their capital and have a diplomatic relationship with Germany ?
AND((Q3808,P1376,c(Q15617994)), (Q183,P530,c(Q15617994)))
action filter_type
action intersection
action find
entity Q3808
relation P1376
action find
entity Q183
relation P530
type Q15617994
{'AND': [['Q3808', 'P1376', {'concept': 'Q15617994'}], ['Q183', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { resource:Q3808 property:P1376 ?r . resource:Q183 property:P530 ?r . ?r rdf:type ontology:Q15617994 }
Germany Yaoundé
action filter_type
action intersection
action find
entity Yaoundé
relation capital of
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [['Yaoundé', 'capital of', {'concept': 'designation for an administrative territorial entity'}], ['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { resource:Yaoundé property:capital_of ?r . resource:Germany property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1009
SYSTEM
Cameroon
Q1009
AND((Q3808,P1376,c(Q15617994)), (Q183,P530,c(Q15617994)))
action filter_type
action intersection
action find
entity Q3808
relation P1376
action find
entity Q183
relation P530
type Q15617994
[ANSWER] have Yaoundé as their capital and have a diplomatic relationship with Germany
{'AND': [['Q3808', 'P1376', {'concept': 'Q15617994'}], ['Q183', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { resource:Q3808 property:P1376 ?r . resource:Q183 property:P530 ?r . ?r rdf:type ontology:Q15617994 }
Cameroon
Cameroon have Yaoundé as their capital and have a diplomatic relationship with Germany
Cameroon
action filter_type
action intersection
action find
entity Yaoundé
relation capital of
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [['Yaoundé', 'capital of', {'concept': 'designation for an administrative territorial entity'}], ['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { resource:Yaoundé property:capital_of ?r . resource:Germany property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1009 Q23017346
P27
Q502895
USER
Is Alamine Ousmane Mey a citizen of that administrative territory ?
(Q23017346,P27,Q1009)
action is_in
entity Q1009
action find
entity Q23017346
relation P27
['Q23017346', 'P27', 'Q1009']
ASK WHERE { resource:Q23017346 property:P27 resource:Q1009 }
Cameroon Alamine Ousmane Mey
action is_in
entity Cameroon
action find
entity Alamine Ousmane Mey
relation country of citizenship
['Alamine Ousmane Mey', 'country of citizenship', 'Cameroon']
ASK WHERE { resource:Alamine_Ousmane_Mey property:country_of_citizenship resource:Cameroon }
[]
common name
SYSTEM
YES
(Q23017346,P27,Q1009)
action is_in
entity Q1009
action find
entity Q23017346
relation P27
[ANSWER]
['Q23017346', 'P27', 'Q1009']
ASK WHERE { resource:Q23017346 property:P27 resource:Q1009 }
Yes
action is_in
entity Cameroon
action find
entity Alamine Ousmane Mey
relation country of citizenship
['Alamine Ousmane Mey', 'country of citizenship', 'Cameroon']
ASK WHERE { resource:Alamine_Ousmane_Mey property:country_of_citizenship resource:Cameroon }
[]