Simple Question (Direct)
Simple Question
Q23316755
P2416
Q31629
USER
Which type of sport did Mobolade Ajomale participate in ?
(Q23316755,P2416,c(Q31629))
action filter_type
action find
entity Q23316755
relation P2416
type Q31629
['Q23316755', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?w WHERE { resource:Q23316755 property:P2416 ?w . ?w rdf:type ontology:Q31629 }
Mobolade Ajomale
action filter_type
action find
entity Mobolade Ajomale
relation sports discipline competed in
type type of sport
['Mobolade Ajomale', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?w WHERE { resource:Mobolade_Ajomale property:sports_discipline_competed_in ?w . ?w rdf:type ontology:type_of_sport }
[]
type of sport
Q164761
SYSTEM
100 metres
Q164761
(Q23316755,P2416,c(Q31629))
action filter_type
action find
entity Q23316755
relation P2416
type Q31629
Mobolade Ajomale participated in [ANSWER]
['Q23316755', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?w WHERE { resource:Q23316755 property:P2416 ?w . ?w rdf:type ontology:Q31629 }
100 metres
Mobolade Ajomale participated in 100 metres
100 metres
action filter_type
action find
entity Mobolade Ajomale
relation sports discipline competed in
type type of sport
['Mobolade Ajomale', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?w WHERE { resource:Mobolade_Ajomale property:sports_discipline_competed_in ?w . ?w rdf:type ontology:type_of_sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23316755
P106
Q12737077
USER
What is the job of Mobolade Ajomale ?
(Q23316755,P106,c(Q12737077))
action filter_type
action find
entity Q23316755
relation P106
type Q12737077
['Q23316755', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q23316755 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Mobolade Ajomale
action filter_type
action find
entity Mobolade Ajomale
relation occupation
type occupation
['Mobolade Ajomale', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Mobolade_Ajomale property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q4009406
SYSTEM
sprinter
Q4009406
(Q23316755,P106,c(Q12737077))
action filter_type
action find
entity Q23316755
relation P106
type Q12737077
The job of Mobolade Ajomale is a [ANSWER]
['Q23316755', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q23316755 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
sprinter
The job of Mobolade Ajomale is a sprinter
sprinter
action filter_type
action find
entity Mobolade Ajomale
relation occupation
type occupation
['Mobolade Ajomale', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Mobolade_Ajomale property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1901844
Q12737077
USER
And what about Markus Unterrainer?
(Q1901844,P106,c(Q12737077))
action filter_type
action find
entity Q1901844
relation P106
type Q12737077
['Q1901844', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q1901844 property:P106 ?e }
Markus Unterrainer
action filter_type
action find
entity Markus Unterrainer
relation occupation
type occupation
['Markus Unterrainer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Markus_Unterrainer property:occupation ?e }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q1901844,P106,c(Q12737077))
action filter_type
action find
entity Q1901844
relation P106
type Q12737077
[ANSWER]
['Q1901844', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q1901844 property:P106 ?e }
association football player
association football player
action filter_type
action find
entity Markus Unterrainer
relation occupation
type occupation
['Markus Unterrainer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Markus_Unterrainer property:occupation ?e }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q164761 Q45996
P101
Q502895
USER
How many people works in the domain of 100 metres or mysticism ?
(c(Q502895),P101,Q164761) (c(Q502895),P101,Q45996)
action count
action union
action filter_type
action find_reverse
entity Q164761
relation P101
type Q502895
action filter_type
action find_reverse
entity Q45996
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q164761'] [{'concept': 'Q502895'}, 'P101', 'Q45996']
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { ?g property:P101 resource:Q164761 . ?g rdf:type ontology:Q502895 } UNION { ?g rdf:type ontology:Q502895 . ?g property:P101 resource:Q45996 } }
100 metres mysticism
action count
action union
action filter_type
action find_reverse
entity 100 metres
relation field of work
type common name
action filter_type
action find_reverse
entity mysticism
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', '100 metres'] [{'concept': 'common name'}, 'field of work', 'mysticism']
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { ?g property:field_of_work resource:100_metres . ?g rdf:type ontology:common_name } UNION { ?g rdf:type ontology:common_name . ?g property:field_of_work resource:mysticism } }
[]
common name
SYSTEM
19
Q21735912 Q20740593 Q21858388 Q21675869 Q21562098 Q22002462 Q466453 Q7423282 Q3350402 Q16211006 Q6758711 Q21620658 Q21534885 Q21623191 Q21705961 Q21606430 Q335282 Q11587974 Q21606426
(c(Q502895),P101,Q164761) (c(Q502895),P101,Q45996)
action count
action union
action filter_type
action find_reverse
entity Q164761
relation P101
type Q502895
action filter_type
action find_reverse
entity Q45996
relation P101
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P101', 'Q164761'] [{'concept': 'Q502895'}, 'P101', 'Q45996']
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { ?g property:P101 resource:Q164761 . ?g rdf:type ontology:Q502895 } UNION { ?g rdf:type ontology:Q502895 . ?g property:P101 resource:Q45996 } }
Angie Vaughn Sibel Ağan Peter Pulu Pavel Galkin Marina Filipović Ciara Sheehy Ruqaya Al-Ghasra Saraswati Saha Olga Kharitonova Jirapong Meenapra Mardy Scales Gemma Acheampong Ousmane Diarra Jesse Urikhob Maria Tsoni Éva Barati Abū-Sa'īd Abul-Khayr Hiromi Isozaki Monika Gachevska
19
action count
action union
action filter_type
action find_reverse
entity 100 metres
relation field of work
type common name
action filter_type
action find_reverse
entity mysticism
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', '100 metres'] [{'concept': 'common name'}, 'field of work', 'mysticism']
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { ?g property:field_of_work resource:100_metres . ?g rdf:type ontology:common_name } UNION { ?g rdf:type ontology:common_name . ?g property:field_of_work resource:mysticism } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P194
Q11204
USER
Which legislature is the legislative body for United States of America ?
(Q30,P194,c(Q11204))
action filter_type
action find
entity Q30
relation P194
type Q11204
['Q30', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?z WHERE { resource:Q30 property:P194 ?z . ?z rdf:type ontology:Q11204 }
United States of America
action filter_type
action find
entity United States of America
relation legislative body
type legislature
['United States of America', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?z WHERE { resource:United_States_of_America property:legislative_body ?z . ?z rdf:type ontology:legislature }
[]
legislature
Q11268
SYSTEM
United States Congress
Q11268
(Q30,P194,c(Q11204))
action filter_type
action find
entity Q30
relation P194
type Q11204
The [ANSWER] is the legislative body for United States of America
['Q30', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?z WHERE { resource:Q30 property:P194 ?z . ?z rdf:type ontology:Q11204 }
United States Congress
The United States Congress is the legislative body for United States of America
United States Congress
action filter_type
action find
entity United States of America
relation legislative body
type legislature
['United States of America', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?z WHERE { resource:United_States_of_America property:legislative_body ?z . ?z rdf:type ontology:legislature }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1001
Q56061 Q11204
USER
Which administrative territories are judicially linked to max number of legislatures ?
(c(Q11204),P1001,Q743236)
action argmax
action find_reverse_tuple_counts
relation P1001
type Q56061
type Q11204
[{'concept': 'Q11204'}, 'P1001', 'Q743236']
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?x ) { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?f ) WHERE { ?b property:P1001 ?m . ?m rdf:type ontology:Q56061 . ?b rdf:type ontology:Q11204 } GROUP BY ?m } } . { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:P1001 ?u . ?u rdf:type ontology:Q56061 . ?o rdf:type ontology:Q11204 } GROUP BY ?u } . FILTER ( ?l = ?x ) }
action argmax
action find_reverse_tuple_counts
relation applies to jurisdiction
type administrative territorial entity
type legislature
[{'concept': 'legislature'}, 'applies to jurisdiction', 'Diest']
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?x ) { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?f ) WHERE { ?b property:applies_to_jurisdiction ?m . ?m rdf:type ontology:administrative_territorial_entity . ?b rdf:type ontology:legislature } GROUP BY ?m } } . { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:applies_to_jurisdiction ?u . ?u rdf:type ontology:administrative_territorial_entity . ?o rdf:type ontology:legislature } GROUP BY ?u } . FILTER ( ?l = ?x ) }
[]
administrative territorial entity legislature
Q26
SYSTEM
Northern Ireland
Q26
(c(Q11204),P1001,Q743236)
action argmax
action find_reverse_tuple_counts
relation P1001
type Q56061
type Q11204
[ANSWER] is judicially linked to max number of legislatures
[{'concept': 'Q11204'}, 'P1001', 'Q743236']
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?x ) { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?f ) WHERE { ?b property:P1001 ?m . ?m rdf:type ontology:Q56061 . ?b rdf:type ontology:Q11204 } GROUP BY ?m } } . { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:P1001 ?u . ?u rdf:type ontology:Q56061 . ?o rdf:type ontology:Q11204 } GROUP BY ?u } . FILTER ( ?l = ?x ) }
Northern Ireland
Northern Ireland is judicially linked to max number of legislatures
Northern Ireland
action argmax
action find_reverse_tuple_counts
relation applies to jurisdiction
type administrative territorial entity
type legislature
[{'concept': 'legislature'}, 'applies to jurisdiction', 'Diest']
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?x ) { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?f ) WHERE { ?b property:applies_to_jurisdiction ?m . ?m rdf:type ontology:administrative_territorial_entity . ?b rdf:type ontology:legislature } GROUP BY ?m } } . { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:applies_to_jurisdiction ?u . ?u rdf:type ontology:administrative_territorial_entity . ?o rdf:type ontology:legislature } GROUP BY ?u } . FILTER ( ?l = ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q24027478
P532
Q56061 Q2235308
USER
Which ship types have greater number of administrative territories as registry port than Raymond ?
(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 Q24027478
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?l ) WHERE { ?u property:P532 ?s . ?u rdf:type ontology:Q2235308 . ?s rdf:type ontology:Q56061 } GROUP BY ?u } . FILTER ( ?l > ?f ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h rdf:type ontology:Q2235308 . resource:Q24027478 property:P532 ?h } } }
Raymond
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 Raymond
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?l ) WHERE { ?u property:port_of_registry ?s . ?u rdf:type ontology:ship_type . ?s rdf:type ontology:administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?l > ?f ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h rdf:type ontology:ship_type . resource:Raymond property:port_of_registry ?h } } }
[]
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 Q24027478
relation P532
type Q2235308
[ANSWERS] have greater number of administrative territories as registry port than Raymond
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?l ) WHERE { ?u property:P532 ?s . ?u rdf:type ontology:Q2235308 . ?s rdf:type ontology:Q56061 } GROUP BY ?u } . FILTER ( ?l > ?f ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h rdf:type ontology:Q2235308 . resource:Q24027478 property:P532 ?h } } }
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 Raymond
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 Raymond
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?l ) WHERE { ?u property:port_of_registry ?s . ?u rdf:type ontology:ship_type . ?s rdf:type ontology:administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?l > ?f ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h rdf:type ontology:ship_type . resource:Raymond property:port_of_registry ?h } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2596850 Q468026 Q35462
P532
Q56061
USER
Which administrative territories serves as the port of registry of MS Azura, SS Maxim Gorkiy and RMS Aquitania ?
(Q2596850,P532,c(Q56061)) (Q468026,P532,c(Q56061)) (Q35462,P532,c(Q56061))
action union
action filter_type
action find
entity Q2596850
relation P532
type Q56061
action filter_type
action find
entity Q468026
relation P532
type Q56061
action filter_type
action find
entity Q35462
relation P532
type Q56061
['Q2596850', 'P532', {'concept': 'Q56061'}] ['Q468026', 'P532', {'concept': 'Q56061'}] ['Q35462', 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { ?e property:P532 ?v . VALUES ( ?e ) { ( resource:Q2596850 ) ( resource:Q468026 ) } }
MS Azura SS Maxim Gorkiy RMS Aquitania
action union
action filter_type
action find
entity MS Azura
relation port of registry
type administrative territorial entity
action filter_type
action find
entity SS Maxim Gorkiy
relation port of registry
type administrative territorial entity
action filter_type
action find
entity RMS Aquitania
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 ?v WHERE { ?e property:port_of_registry ?v . VALUES ( ?e ) { ( resource:MS_Azura ) ( resource:SS_Maxim_Gorkiy ) } }
[]
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 union
action filter_type
action find
entity Q2596850
relation P532
type Q56061
action filter_type
action find
entity Q468026
relation P532
type Q56061
action filter_type
action find
entity Q35462
relation P532
type Q56061
[ANSWERS] serve as the port of registry of MS Azura, SS Maxim Gorkiy and RMS Aquitania
['Q2596850', 'P532', {'concept': 'Q56061'}] ['Q468026', 'P532', {'concept': 'Q56061'}] ['Q35462', 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { ?e property:P532 ?v . VALUES ( ?e ) { ( resource:Q2596850 ) ( resource:Q468026 ) } }
Hamilton Southampton Nassau Odessa Liverpool
Odessa, Southampton and Liverpool serve as the port of registry of MS Azura, SS Maxim Gorkiy and RMS Aquitania
Odessa Southampton Liverpool
action union
action filter_type
action find
entity MS Azura
relation port of registry
type administrative territorial entity
action filter_type
action find
entity SS Maxim Gorkiy
relation port of registry
type administrative territorial entity
action filter_type
action find
entity RMS Aquitania
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 ?v WHERE { ?e property:port_of_registry ?v . VALUES ( ?e ) { ( resource:MS_Azura ) ( resource:SS_Maxim_Gorkiy ) } }
[]