Simple Question (Direct)
Simple Question
Q16107153
P106
Q12737077
USER
What is the profession of Dave Tennant ?
(Q16107153,P106,c(Q12737077))
action filter_type
action find
entity Q16107153
relation P106
type Q12737077
['Q16107153', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q16107153 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Dave Tennant
action filter_type
action find
entity Dave Tennant
relation occupation
type occupation
['Dave Tennant', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Dave_Tennant property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q16107153,P106,c(Q12737077))
action filter_type
action find
entity Q16107153
relation P106
type Q12737077
The profession of Dave Tennant is an [ANSWER]
['Q16107153', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q16107153 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
association football player
The profession of Dave Tennant is an association football player
association football player
action filter_type
action find
entity Dave Tennant
relation occupation
type occupation
['Dave Tennant', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Dave_Tennant property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16107153
P641
Q349
USER
Which sport did that person participate in ?
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q16107153
relation P641
type Q349
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q349 . resource:Q16107153 property:P641 ?d }
Dave Tennant
action filter_type
action find
entity Dave Tennant
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sport . resource:Dave_Tennant property:sport ?d }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q16107153
relation P641
type Q349
That person participated in [ANSWER]
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q349 . resource:Q16107153 property:P641 ?d }
association football
That person participated in association football
association football
action filter_type
action find
entity Dave Tennant
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sport . resource:Dave_Tennant property:sport ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16107153
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q2736,P19,c(Q56061))
action filter_type
action find
entity Q16107153
relation P19
type Q56061
['Q2736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q16107153 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Dave Tennant
action filter_type
action find
entity Dave Tennant
relation place of birth
type administrative territorial entity
['association football', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Dave_Tennant property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q504530
SYSTEM
Walsall
Q504530
(Q2736,P19,c(Q56061))
action filter_type
action find
entity Q16107153
relation P19
type Q56061
That person was born in [ANSWER]
['Q2736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q16107153 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Walsall
That person was born in Walsall
Walsall
action filter_type
action find
entity Dave Tennant
relation place of birth
type administrative territorial entity
['association football', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Dave_Tennant property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P641
Q349 Q502895 Q500834
USER
Which sports were exactly 7 people or tournaments a part of ?
(c(Q502895)|c(Q500834),P641,c(Q349))
action equal
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
value 7
[[{'concept': 'Q502895'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) ?x WHERE { VALUES ( ?s ) { ( ontology:Q502895 ) ( ontology:Q500834 ) } . ?j rdf:type ?s } GROUP BY ?x } . FILTER ( ?y = 7 ) }
action equal
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type tournament
value 7
[[{'concept': 'common name'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) ?x WHERE { VALUES ( ?s ) { ( ontology:common_name ) ( ontology:tournament ) } . ?j rdf:type ?s } GROUP BY ?x } . FILTER ( ?y = 7 ) }
[]
sport common name tournament
Q206763 Q2701632 Q183018
SYSTEM
floorball, muggle quidditch, bandy
Q206763 Q2701632 Q183018
(c(Q502895)|c(Q500834),P641,c(Q349))
action equal
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
value 7
[ANSWERS] were exactly 7 people or tournaments a part of
[[{'concept': 'Q502895'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) ?x WHERE { VALUES ( ?s ) { ( ontology:Q502895 ) ( ontology:Q500834 ) } . ?j rdf:type ?s } GROUP BY ?x } . FILTER ( ?y = 7 ) }
floorball muggle quidditch bandy
Floorball, muggle quidditch and bandy were exactly 7 people or tournaments a part of
floorball muggle quidditch bandy
action equal
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type tournament
value 7
[[{'concept': 'common name'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) ?x WHERE { VALUES ( ?s ) { ( ontology:common_name ) ( ontology:tournament ) } . ?j rdf:type ?s } GROUP BY ?x } . FILTER ( ?y = 7 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q504530 Q8249663
P19
Q502895
USER
How many people were born at Walsall or Oberbilk ?
(c(Q502895),P19,Q504530) (c(Q502895),P19,Q8249663)
action count
action union
action filter_type
action find_reverse
entity Q504530
relation P19
type Q502895
action filter_type
action find_reverse
entity Q8249663
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q504530'] [{'concept': 'Q502895'}, 'P19', 'Q8249663']
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { ?s property:P19 ?j . VALUES ( ?j ) { ( resource:Q504530 ) ( resource:Q8249663 ) } }
Walsall Oberbilk
action count
action union
action filter_type
action find_reverse
entity Walsall
relation place of birth
type common name
action filter_type
action find_reverse
entity Oberbilk
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Walsall'] [{'concept': 'common name'}, 'place of birth', 'Oberbilk']
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { ?s property:place_of_birth ?j . VALUES ( ?j ) { ( resource:Walsall ) ( resource:Oberbilk ) } }
[]
common name
SYSTEM
119
Q7608942 Q7407926 Q7152333 Q6176054 Q16196085 Q16734755 Q3376750 Q507845 Q4797866 Q10556932 Q7634224 Q16107153 Q6762860 Q6776296 Q7817512 Q19664731 Q16196872 Q4934313 Q2324604 Q6212558 Q6989059 Q5561725 Q5085422 Q506695 Q74894 Q6989419 Q1452896 Q6208468 Q3433162 Q5394750 Q5490439 Q12635559 Q1347587 Q5080198 Q430500 Q7329399 Q5485995 Q785771 Q10552761 Q4706216 Q19518635 Q174333 Q5292671 Q7488226 Q7298097 Q2830914 Q1167952 Q5673515 Q6145805 Q5498107 Q7436430 Q1165474 Q7153941 Q7177325 Q387655 Q3051481 Q4798068 Q5666854 Q5537146 Q7694020 Q7340632 Q4749312 Q173234 Q4346118 Q5246265 Q7924942 Q7814911 Q16214237 Q4662130 Q5673590 Q271576 Q7363669 Q5237744 Q12054266 Q218698 Q6834937 Q18217125 Q4965452 Q387288 Q5544601 Q7436701 Q4800736 Q6271772 Q8073264 Q6384015 Q7932106 Q1134364 Q6777664 Q19757587 Q5539627 Q7509410 Q20022508 Q6195668 Q15501138 Q5131427 Q191963 Q334348 Q3837600 Q6769950 Q4910897 Q6397570 Q583452 Q16058808 Q10869 Q219352 Q5108264 Q1457254 Q3760447 Q6386855 Q6519912 Q6208853 Q7175938 Q6524618 Q475618 Q19654994 Q5669587 Q710490 Q7693315 Q4912194
(c(Q502895),P19,Q504530) (c(Q502895),P19,Q8249663)
action count
action union
action filter_type
action find_reverse
entity Q504530
relation P19
type Q502895
action filter_type
action find_reverse
entity Q8249663
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q504530'] [{'concept': 'Q502895'}, 'P19', 'Q8249663']
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { ?s property:P19 ?j . VALUES ( ?j ) { ( resource:Q504530 ) ( resource:Q8249663 ) } }
Stephen Cooke Sam Mitchinson Paul McDonald Jeffrey Holland Paul Jones Blak Prophetz Peter McEnery Goldie Arthur Attwood Ken Fencott Sue Nicholls Dave Tennant Marie Hardiman Martin O'Connor Tom Scrivens William Draper Box Nicky Clarke Bob Warman Alan Rollinson Joe Summers Neil Morris Jack Aston Charlie Radford Andrew Parrott Martin Fowler Neil Tolson Frederick Goodfellow Joe Ball Edna Hughes Ernie Steventon Frank Windsor Lisa Bayliss Peter Radford Charles Leonard Huskins Amar Richard Taundry Frank Coulton Karl Hawley Darren Simkin Alan Boswell Norman Ashe Lee Naylor Don Gilet Shane Paul Ray Shaw Albert Aldridge Dave Walker Harry Wood James Wootton Frederick J. Gibbs Scott Green Mark Warren Paul Taylor Peter Till Noddy Holder Ellie Simmonds Arthur Bradford Harry Alcock George Bowen Teddy Groves William James Amy McCann Mo Nunn Martin Ennals Dean Keates Vic Wright Tom Bayley Paul Thomson Aaron Jones Harry Yates Rob Halford Ron Crutchley David Morris John Henry Carless Jerome K. Jerome Michael Townsend Ted Price Brian Taylor Andy C George Slater Scott Lindsey Arthur Wood Jon Willis Zoe Dawson Keith Ball Vincent White Nick Gillingham Martyn Naylor James Hogarth-Wren George Garratly Sidney Webster Andrew Tift Jim Hingerty Jane Lane, Lady Fisher Clement W. Payton John Edward Gray Jenny Tonge, Baroness Tonge Louis Holmes Mark Taylor Bill Slade Kevin Summerfield Arthur Russell William Henry Duignan Rachel Unitt Harry Allen Chris Thompson Friedhelm Riegel George Howells Broadhurst Kemar Roofe Leila Williams Joe Burchell Peter Moore Leon Drysdale John Byrne Jack Lewis Harry Haynes Michael L. Fitzgerald Ted Hough Billy Benton
119
action count
action union
action filter_type
action find_reverse
entity Walsall
relation place of birth
type common name
action filter_type
action find_reverse
entity Oberbilk
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Walsall'] [{'concept': 'common name'}, 'place of birth', 'Oberbilk']
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { ?s property:place_of_birth ?j . VALUES ( ?j ) { ( resource:Walsall ) ( resource:Oberbilk ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q504530
P190
Q56061
USER
Which administrative territories are sister town of that one ?
action filter_type
action find
entity Q504530
relation P190
type Q56061
SELECT DISTINCT ?e WHERE { resource:Q504530 property:P190 ?e . ?e rdf:type ontology:Q56061 }
Walsall
action filter_type
action find
entity Walsall
relation sister city
type administrative territorial entity
SELECT DISTINCT ?e WHERE { resource:Walsall property:sister_city ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2579925 Q48403
SYSTEM
Mirpur, Amritsar
Q2579925 Q48403
action filter_type
action find
entity Q504530
relation P190
type Q56061
[ANSWERS] are sister town of that one
SELECT DISTINCT ?e WHERE { resource:Q504530 property:P190 ?e . ?e rdf:type ontology:Q56061 }
Mirpur Amritsar
Mirpur and Amritsar are sister town of that one
Mirpur Amritsar
action filter_type
action find
entity Walsall
relation sister city
type administrative territorial entity
SELECT DISTINCT ?e WHERE { resource:Walsall property:sister_city ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q25933427
P532
Q56061 Q2235308
USER
Which ship types have greater number of administrative territories as registry port than High Barbaree ?
(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 Q25933427
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?i ) WHERE { ?v property:P532 ?o . ?o rdf:type ontology:Q56061 . ?v rdf:type ontology:Q2235308 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { resource:Q25933427 property:P532 ?d . ?d rdf:type ontology:Q2235308 } } . FILTER ( ?i > ?g ) }
High Barbaree
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 High Barbaree
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?i ) WHERE { ?v property:port_of_registry ?o . ?o rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:ship_type } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { resource:High_Barbaree property:port_of_registry ?d . ?d rdf:type ontology:ship_type } } . FILTER ( ?i > ?g ) }
[]
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 Q25933427
relation P532
type Q2235308
[ANSWERS] have greater number of administrative territories as registry port than High Barbaree
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?i ) WHERE { ?v property:P532 ?o . ?o rdf:type ontology:Q56061 . ?v rdf:type ontology:Q2235308 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { resource:Q25933427 property:P532 ?d . ?d rdf:type ontology:Q2235308 } } . FILTER ( ?i > ?g ) }
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 greater number of administrative territories as registry port than High Barbaree
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 High Barbaree
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?i ) WHERE { ?v property:port_of_registry ?o . ?o rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:ship_type } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { resource:High_Barbaree property:port_of_registry ?d . ?d rdf:type ontology:ship_type } } . FILTER ( ?i > ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q24026957
P532
Q56061 Q2235308
USER
And what about Industry?
(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 Q24026957
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?j ) WHERE { ?i property:P532 ?l . ?l rdf:type ontology:Q56061 . ?i rdf:type ontology:Q2235308 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { resource:Q24026957 property:P532 ?m . ?m rdf:type ontology:Q2235308 } } . FILTER ( ?j > ?b ) }
Industry
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 Industry
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?j ) WHERE { ?i property:port_of_registry ?l . ?l rdf:type ontology:administrative_territorial_entity . ?i rdf:type ontology:ship_type } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { resource:Industry property:port_of_registry ?m . ?m rdf:type ontology:ship_type } } . FILTER ( ?j > ?b ) }
[]
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 Q24026957
relation P532
type Q2235308
[ANSWERS]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?j ) WHERE { ?i property:P532 ?l . ?l rdf:type ontology:Q56061 . ?i rdf:type ontology:Q2235308 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { resource:Q24026957 property:P532 ?m . ?m rdf:type ontology:Q2235308 } } . FILTER ( ?j > ?b ) }
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 Industry
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?j ) WHERE { ?i property:port_of_registry ?l . ?l rdf:type ontology:administrative_territorial_entity . ?i rdf:type ontology:ship_type } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { resource:Industry property:port_of_registry ?m . ?m rdf:type ontology:ship_type } } . FILTER ( ?j > ?b ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q736723
P138
Q2235308 Q5962346
USER
Which classification schemes are the eponym of less number of ship types than Benjamin Franklin-class submarine ?
(c(Q5962346),P138,c(Q2235308))
action less
action find_tuple_counts
relation P138
type Q5962346
type Q2235308
action count
action filter_type
action find
entity Q736723
relation P138
type Q2235308
[{'concept': 'Q5962346'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?z ) WHERE { ?x property:P138 ?j . ?x rdf:type ontology:Q5962346 . ?j rdf:type ontology:Q2235308 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Q736723 property:P138 ?t . ?t rdf:type ontology:Q2235308 } } . FILTER ( ?z < ?n ) }
Benjamin Franklin-class submarine
action less
action find_tuple_counts
relation named after
type classification scheme
type ship type
action count
action filter_type
action find
entity Benjamin Franklin-class submarine
relation named after
type ship type
[{'concept': 'classification scheme'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?z ) WHERE { ?x property:named_after ?j . ?x rdf:type ontology:classification_scheme . ?j rdf:type ontology:ship_type } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Benjamin_Franklin-class_submarine property:named_after ?t . ?t rdf:type ontology:ship_type } } . FILTER ( ?z < ?n ) }
[]
ship type classification scheme
Q1070632 Q913512 Q513869
SYSTEM
Sierra-class submarine, Victor II class submarine, Oscar-class submarine
Q2657561 Q16334444 Q913512 Q5196943 Q4001385 Q2663305 Q442303 Q2975881 Q15631817 Q1194287 Q1070632 Q33248 Q5551288 Q20065339 Q2975771 Q1279940 Q1144934 Q6676568 Q2443866 Q621080 Q1785843 Q1720127 Q513869 Q16334439 Q1191194 Q3504745 Q2257275 Q2481447 Q2520129 Q4353003 Q19623641 Q1968562 Q55520 Q167991 Q3503826 Q842423 Q16334497 Q5551289 Q5551283 Q5551285 Q264912 Q10374571 Q10374570 Q2590674 Q2299009 Q2915004 Q10374569 Q16102075 Q2257235 Q2522520
(c(Q5962346),P138,c(Q2235308))
action less
action find_tuple_counts
relation P138
type Q5962346
type Q2235308
action count
action filter_type
action find
entity Q736723
relation P138
type Q2235308
[ANSWERS] are the eponym of less number of ship types than Benjamin Franklin-class submarine
[{'concept': 'Q5962346'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?z ) WHERE { ?x property:P138 ?j . ?x rdf:type ontology:Q5962346 . ?j rdf:type ontology:Q2235308 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Q736723 property:P138 ?t . ?t rdf:type ontology:Q2235308 } } . FILTER ( ?z < ?n ) }
British C-class submarine German Type VIID submarine Victor II class submarine Cutter Expansive Classification German Type UC I submarine British U-class submarine Beluga-class submarine British H-class submarine German Type UE I submarine Tango-class submarine Sierra-class submarine Cushitic languages German Type UC III submarine Bekker numbering British B-class submarine India-class submarine Gato-class submarine Delta I-class submarine Norwegian A-class submarine Library of Congress Classification British S-class submarine British J-class submarine Oscar-class submarine German Type VIIC/41 submarine Hamitic German Type UB III submarine British D-class submarine British A-class submarine British L-class submarine Norwegian B-class submarine Oscar-I-class submarine Delta III-class submarine Kilo-class submarine German Type VII submarine German Type UB II submarine Foxtrot-class submarine Type IXC/40 submarine German Type UC II submarine Type IXA submarine Type IXB submarine November-class submarine German Type VIIC submarine German Type VIIB submarine British E-class submarine British T-class submarine Potvis-class submarine German Type VIIA submarine German Type UC submarine German Type UB I submarine Music Genome Project
Sierra-class submarine, Victor II class submarine and Oscar-class submarine are the eponym of less number of ship types than Benjamin Franklin-class submarine
Sierra-class submarine Victor II class submarine Oscar-class submarine
action less
action find_tuple_counts
relation named after
type classification scheme
type ship type
action count
action filter_type
action find
entity Benjamin Franklin-class submarine
relation named after
type ship type
[{'concept': 'classification scheme'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?z ) WHERE { ?x property:named_after ?j . ?x rdf:type ontology:classification_scheme . ?j rdf:type ontology:ship_type } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Benjamin_Franklin-class_submarine property:named_after ?t . ?t rdf:type ontology:ship_type } } . FILTER ( ?z < ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q917315
P138
Q2235308 Q5962346
USER
And how about Brin-class submarine?
(c(Q5962346),P138,c(Q2235308))
action less
action find_tuple_counts
relation P138
type Q5962346
type Q2235308
action count
action filter_type
action find
entity Q917315
relation P138
type Q2235308
[{'concept': 'Q5962346'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?h ) WHERE { ?l property:P138 ?w . ?w rdf:type ontology:Q2235308 . ?l rdf:type ontology:Q5962346 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Q917315 property:P138 ?x . ?x rdf:type ontology:Q2235308 } } . FILTER ( ?h < ?j ) }
Brin-class submarine
action less
action find_tuple_counts
relation named after
type classification scheme
type ship type
action count
action filter_type
action find
entity Brin-class submarine
relation named after
type ship type
[{'concept': 'classification scheme'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?h ) WHERE { ?l property:named_after ?w . ?w rdf:type ontology:ship_type . ?l rdf:type ontology:classification_scheme } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Brin-class_submarine property:named_after ?x . ?x rdf:type ontology:ship_type } } . FILTER ( ?h < ?j ) }
[]
ship type classification scheme
Q1070632 Q913512 Q513869
SYSTEM
Sierra-class submarine, Victor II class submarine, Oscar-class submarine
Q2657561 Q16334444 Q913512 Q5196943 Q4001385 Q2663305 Q442303 Q2975881 Q15631817 Q1194287 Q1070632 Q33248 Q5551288 Q20065339 Q2975771 Q1279940 Q1144934 Q6676568 Q2443866 Q621080 Q1785843 Q1720127 Q513869 Q16334439 Q1191194 Q3504745 Q2257275 Q2481447 Q2520129 Q4353003 Q19623641 Q1968562 Q55520 Q167991 Q3503826 Q842423 Q16334497 Q5551289 Q5551283 Q5551285 Q264912 Q10374571 Q10374570 Q2590674 Q2299009 Q2915004 Q10374569 Q16102075 Q2257235 Q2522520
(c(Q5962346),P138,c(Q2235308))
action less
action find_tuple_counts
relation P138
type Q5962346
type Q2235308
action count
action filter_type
action find
entity Q917315
relation P138
type Q2235308
[ANSWERS]
[{'concept': 'Q5962346'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?h ) WHERE { ?l property:P138 ?w . ?w rdf:type ontology:Q2235308 . ?l rdf:type ontology:Q5962346 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Q917315 property:P138 ?x . ?x rdf:type ontology:Q2235308 } } . FILTER ( ?h < ?j ) }
British C-class submarine German Type VIID submarine Victor II class submarine Cutter Expansive Classification German Type UC I submarine British U-class submarine Beluga-class submarine British H-class submarine German Type UE I submarine Tango-class submarine Sierra-class submarine Cushitic languages German Type UC III submarine Bekker numbering British B-class submarine India-class submarine Gato-class submarine Delta I-class submarine Norwegian A-class submarine Library of Congress Classification British S-class submarine British J-class submarine Oscar-class submarine German Type VIIC/41 submarine Hamitic German Type UB III submarine British D-class submarine British A-class submarine British L-class submarine Norwegian B-class submarine Oscar-I-class submarine Delta III-class submarine Kilo-class submarine German Type VII submarine German Type UB II submarine Foxtrot-class submarine Type IXC/40 submarine German Type UC II submarine Type IXA submarine Type IXB submarine November-class submarine German Type VIIC submarine German Type VIIB submarine British E-class submarine British T-class submarine Potvis-class submarine German Type VIIA submarine German Type UC submarine German Type UB I submarine Music Genome Project
Sierra-class submarine Victor II class submarine Oscar-class submarine
action less
action find_tuple_counts
relation named after
type classification scheme
type ship type
action count
action filter_type
action find
entity Brin-class submarine
relation named after
type ship type
[{'concept': 'classification scheme'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?h ) WHERE { ?l property:named_after ?w . ?w rdf:type ontology:ship_type . ?l rdf:type ontology:classification_scheme } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Brin-class_submarine property:named_after ?x . ?x rdf:type ontology:ship_type } } . FILTER ( ?h < ?j ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1637765 Q35462
P17
Q15617994
USER
Which administrative territories are RMS Aquitania or 2001 Hungarian International Badminton Championships a part of ?
OR((Q35462,P17,c(Q15617994)), (Q1637765,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q35462
relation P17
action find
entity Q1637765
relation P17
type Q15617994
{'OR': [['Q35462', 'P17', {'concept': 'Q15617994'}], ['Q1637765', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q35462 property:P17 ?i } UNION { resource:Q1637765 property:P17 ?i } } . ?i rdf:type ontology:Q15617994 }
2001 Hungarian International Badminton Championships RMS Aquitania
action filter_type
action union
action find
entity RMS Aquitania
relation country
action find
entity 2001 Hungarian International Badminton Championships
relation country
type designation for an administrative territorial entity
{'OR': [['RMS Aquitania', 'country', {'concept': 'designation for an administrative territorial entity'}], ['2001 Hungarian International Badminton Championships', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:RMS_Aquitania property:country ?i } UNION { resource:2001_Hungarian_International_Badminton_Championships property:country ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28 Q145
SYSTEM
Hungary, United Kingdom
Q28 Q145
OR((Q35462,P17,c(Q15617994)), (Q1637765,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q35462
relation P17
action find
entity Q1637765
relation P17
type Q15617994
[ANSWERS] are RMS Aquitania or 2001 Hungarian International Badminton Championships a part of
{'OR': [['Q35462', 'P17', {'concept': 'Q15617994'}], ['Q1637765', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q35462 property:P17 ?i } UNION { resource:Q1637765 property:P17 ?i } } . ?i rdf:type ontology:Q15617994 }
Hungary United Kingdom
Hungary and United Kingdom are RMS Aquitania or 2001 Hungarian International Badminton Championships a part of
Hungary United Kingdom
action filter_type
action union
action find
entity RMS Aquitania
relation country
action find
entity 2001 Hungarian International Badminton Championships
relation country
type designation for an administrative territorial entity
{'OR': [['RMS Aquitania', 'country', {'concept': 'designation for an administrative territorial entity'}], ['2001 Hungarian International Badminton Championships', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:RMS_Aquitania property:country ?i } UNION { resource:2001_Hungarian_International_Badminton_Championships property:country ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]