Simple Question (Direct)
Simple Question
Q880952
P20
Q56061
USER
Where did the demise of Thomas Kilby occur ?
(Q880952,P20,c(Q56061))
action filter_type
action find
entity Q880952
relation P20
type Q56061
['Q880952', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q880952 property:P20 ?i . ?i rdf:type ontology:Q56061 }
Thomas Kilby
action filter_type
action find
entity Thomas Kilby
relation place of death
type administrative territorial entity
['Thomas Kilby', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Thomas_Kilby property:place_of_death ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q79474
SYSTEM
Anniston
Q79474
(Q880952,P20,c(Q56061))
action filter_type
action find
entity Q880952
relation P20
type Q56061
The demise of Thomas Kilby occurred at [ANSWER]
['Q880952', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q880952 property:P20 ?i . ?i rdf:type ontology:Q56061 }
Anniston
The demise of Thomas Kilby occurred at Anniston
Anniston
action filter_type
action find
entity Thomas Kilby
relation place of death
type administrative territorial entity
['Thomas Kilby', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Thomas_Kilby property:place_of_death ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q880952
P19
Q56061
USER
Where was Thomas Kilby born ?
(Q880952,P19,c(Q56061))
action filter_type
action find
entity Q880952
relation P19
type Q56061
['Q880952', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q880952 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Thomas Kilby
action filter_type
action find
entity Thomas Kilby
relation place of birth
type administrative territorial entity
['Thomas Kilby', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Thomas_Kilby property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1520670
SYSTEM
Lebanon
Q1520670
(Q880952,P19,c(Q56061))
action filter_type
action find
entity Q880952
relation P19
type Q56061
Thomas Kilby was born in [ANSWER]
['Q880952', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q880952 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Lebanon
Thomas Kilby was born in Lebanon
Lebanon
action filter_type
action find
entity Thomas Kilby
relation place of birth
type administrative territorial entity
['Thomas Kilby', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Thomas_Kilby property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1520670
P931
Q62447
USER
Which city does that administrative territory serve ?
(c(Q62447),P931,Q1520670)
action filter_type
action find_reverse
entity Q1520670
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q1520670']
SELECT DISTINCT ?g WHERE { ?g property:P931 resource:Q1520670 . ?g rdf:type ontology:Q62447 }
Lebanon
action filter_type
action find_reverse
entity Lebanon
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Lebanon']
SELECT DISTINCT ?g WHERE { ?g property:place_served_by_airport resource:Lebanon . ?g rdf:type ontology:aerodrome }
[]
aerodrome
Q6511114
SYSTEM
Lebanon Municipal Airport
Q6511114
(c(Q62447),P931,Q1520670)
action filter_type
action find_reverse
entity Q1520670
relation P931
type Q62447
That administrative territory serves the [ANSWER]
[{'concept': 'Q62447'}, 'P931', 'Q1520670']
SELECT DISTINCT ?g WHERE { ?g property:P931 resource:Q1520670 . ?g rdf:type ontology:Q62447 }
Lebanon Municipal Airport
That administrative territory serves the Lebanon Municipal Airport
Lebanon Municipal Airport
action filter_type
action find_reverse
entity Lebanon
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Lebanon']
SELECT DISTINCT ?g WHERE { ?g property:place_served_by_airport resource:Lebanon . ?g rdf:type ontology:aerodrome }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P608
Q62447 Q3084961 Q2424752
USER
Which aerodromes were max number of product linings or products displayed at ?
(c(Q3084961)|c(Q2424752),P608,c(Q62447))
action argmax
action union
action find_reverse_tuple_counts
relation P608
type Q62447
type Q3084961
action find_reverse_tuple_counts
relation P608
type Q62447
type Q2424752
[[{'concept': 'Q3084961'}, {'concept': 'Q2424752'}], 'P608', {'concept': 'Q62447'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) ?f WHERE { { ?m property:P608 ?f . ?f rdf:type ontology:Q62447 . ?m rdf:type ontology:Q3084961 } UNION { ?m property:P608 ?f . ?m rdf:type ontology:Q2424752 . ?f rdf:type ontology:Q62447 } } GROUP BY ?f } . FILTER ( ?e = ?y ) . { SELECT DISTINCT ( MAX ( ?b ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) ?a WHERE { { ?k property:P608 ?a . ?a rdf:type ontology:Q62447 . ?k rdf:type ontology:Q3084961 } UNION { ?k property:P608 ?a . ?a rdf:type ontology:Q62447 . ?k rdf:type ontology:Q2424752 } } GROUP BY ?a } } }
action argmax
action union
action find_reverse_tuple_counts
relation exhibition history
type aerodrome
type product lining
action find_reverse_tuple_counts
relation exhibition history
type aerodrome
type product
[[{'concept': 'product lining'}, {'concept': 'product'}], 'exhibition history', {'concept': 'aerodrome'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) ?f WHERE { { ?m property:exhibition_history ?f . ?f rdf:type ontology:aerodrome . ?m rdf:type ontology:product_lining } UNION { ?m property:exhibition_history ?f . ?m rdf:type ontology:product . ?f rdf:type ontology:aerodrome } } GROUP BY ?f } . FILTER ( ?e = ?y ) . { SELECT DISTINCT ( MAX ( ?b ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) ?a WHERE { { ?k property:exhibition_history ?a . ?a rdf:type ontology:aerodrome . ?k rdf:type ontology:product_lining } UNION { ?k property:exhibition_history ?a . ?a rdf:type ontology:aerodrome . ?k rdf:type ontology:product } } GROUP BY ?a } } }
[]
aerodrome product lining product
Q1061846 Q577946 Q1032113
SYSTEM
Ngurah Rai International Airport, Kirtland Air Force Base, CFB Bagotville
Q577946 Q1032113 Q650056 Q3565266 Q3497392 Q12694513 Q1836849 Q919059 Q17440 Q1032108 Q1061846 Q1431444 Q652649 Q2875950 Q7306992 Q1032127 Q5010470 Q1999664 Q1785757 Q5138107 Q1268666
(c(Q3084961)|c(Q2424752),P608,c(Q62447))
action argmax
action union
action find_reverse_tuple_counts
relation P608
type Q62447
type Q3084961
action find_reverse_tuple_counts
relation P608
type Q62447
type Q2424752
Max number of product linings or products displayed at were [ANSWERS]
[[{'concept': 'Q3084961'}, {'concept': 'Q2424752'}], 'P608', {'concept': 'Q62447'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) ?f WHERE { { ?m property:P608 ?f . ?f rdf:type ontology:Q62447 . ?m rdf:type ontology:Q3084961 } UNION { ?m property:P608 ?f . ?m rdf:type ontology:Q2424752 . ?f rdf:type ontology:Q62447 } } GROUP BY ?f } . FILTER ( ?e = ?y ) . { SELECT DISTINCT ( MAX ( ?b ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) ?a WHERE { { ?k property:P608 ?a . ?a rdf:type ontology:Q62447 . ?k rdf:type ontology:Q3084961 } UNION { ?k property:P608 ?a . ?a rdf:type ontology:Q62447 . ?k rdf:type ontology:Q2424752 } } GROUP BY ?a } } }
Kirtland Air Force Base CFB Bagotville Langley Field Middleton Field Vance Air Force Base Prachuap Khiri Khan Airport CFB Winnipeg Loei Airport Albury Airport CFB Cold Lake Ngurah Rai International Airport John C. Munro Hamilton International Airport McConnell Air Force Base Summerside Airport Reese Air Force Base CFB Greenwood CFB St. Hubert Tinker Air Force Base Maxwell Air Force Base Coast Guard Air Station Elizabeth City Dyess Air Force Base
Max number of product linings or products displayed at were Ngurah Rai International Airport, Kirtland Air Force Base and CFB Bagotville
Ngurah Rai International Airport Kirtland Air Force Base CFB Bagotville
action argmax
action union
action find_reverse_tuple_counts
relation exhibition history
type aerodrome
type product lining
action find_reverse_tuple_counts
relation exhibition history
type aerodrome
type product
[[{'concept': 'product lining'}, {'concept': 'product'}], 'exhibition history', {'concept': 'aerodrome'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) ?f WHERE { { ?m property:exhibition_history ?f . ?f rdf:type ontology:aerodrome . ?m rdf:type ontology:product_lining } UNION { ?m property:exhibition_history ?f . ?m rdf:type ontology:product . ?f rdf:type ontology:aerodrome } } GROUP BY ?f } . FILTER ( ?e = ?y ) . { SELECT DISTINCT ( MAX ( ?b ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) ?a WHERE { { ?k property:exhibition_history ?a . ?a rdf:type ontology:aerodrome . ?k rdf:type ontology:product_lining } UNION { ?k property:exhibition_history ?a . ?a rdf:type ontology:aerodrome . ?k rdf:type ontology:product } } GROUP BY ?a } } }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P113
Q62447 Q1269299
USER
How many aerodromes act as a hub for more number of business organizations than that aerodrome ?
(c(Q1269299),P113,c(Q62447))
[{'concept': 'Q1269299'}, 'P113', {'concept': 'Q62447'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q4811588 ?y . ?z rdf:type ontology:Q1269299 . ?y rdf:type ontology:Q62447 }
[{'concept': 'type of business entity'}, 'airline hub', {'concept': 'aerodrome'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:airline_hub ?y . ?z rdf:type ontology:type_of_business_entity . ?y rdf:type ontology:aerodrome }
[]
aerodrome type of business entity
Comparative|Count over More/Less|Single entity type|Clarification
Q1061846
SYSTEM
Did you mean Ngurah Rai International Airport ?
(c(Q1269299),P113,c(Q62447))
[ANSWER]
[{'concept': 'Q1269299'}, 'P113', {'concept': 'Q62447'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q4811588 ?y . ?z rdf:type ontology:Q1269299 . ?y rdf:type ontology:Q62447 }
Did you mean Ngurah Rai International Airport ?
Ngurah Rai International Airport
[{'concept': 'type of business entity'}, 'airline hub', {'concept': 'aerodrome'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:airline_hub ?y . ?z rdf:type ontology:type_of_business_entity . ?y rdf:type ontology:aerodrome }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q1269299),P113,c(Q62447))
[{'concept': 'Q1269299'}, 'P113', {'concept': 'Q62447'}]
[{'concept': 'type of business entity'}, 'airline hub', {'concept': 'aerodrome'}]
[]
SYSTEM
2
Q8694 Q178021
(c(Q1269299),P113,c(Q62447))
[ANSWER]
[{'concept': 'Q1269299'}, 'P113', {'concept': 'Q62447'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q4811588 ?y . ?z rdf:type ontology:Q1269299 . ?y rdf:type ontology:Q62447 }
Manchester Airport Dublin Airport
2
[{'concept': 'type of business entity'}, 'airline hub', {'concept': 'aerodrome'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:airline_hub ?y . ?z rdf:type ontology:type_of_business_entity . ?y rdf:type ontology:aerodrome }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6511114
P17
Q15617994
USER
Which administrative territory is Lebanon Municipal Airport situated in ?
(Q6511114,P17,c(Q15617994))
action filter_type
action find
entity Q6511114
relation P17
type Q15617994
['Q6511114', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q6511114 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Lebanon Municipal Airport
action filter_type
action find
entity Lebanon Municipal Airport
relation country
type designation for an administrative territorial entity
['Lebanon Municipal Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Lebanon_Municipal_Airport property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q6511114,P17,c(Q15617994))
action filter_type
action find
entity Q6511114
relation P17
type Q15617994
Lebanon Municipal Airport is situated in [ANSWER]
['Q6511114', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q6511114 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
United States of America
Lebanon Municipal Airport is situated in United States of America
United States of America
action filter_type
action find
entity Lebanon Municipal Airport
relation country
type designation for an administrative territorial entity
['Lebanon Municipal Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Lebanon_Municipal_Airport property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q27030768
Q15617994
USER
And also tell me about 1972 Portuguese Badminton Championships?
(Q27030768,P17,c(Q15617994))
action filter_type
action find
entity Q27030768
relation P17
type Q15617994
['Q27030768', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q27030768 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
1972 Portuguese Badminton Championships
action filter_type
action find
entity 1972 Portuguese Badminton Championships
relation country
type designation for an administrative territorial entity
['1972 Portuguese Badminton Championships', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:1972_Portuguese_Badminton_Championships property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q45
SYSTEM
Portugal
Q45
(Q27030768,P17,c(Q15617994))
action filter_type
action find
entity Q27030768
relation P17
type Q15617994
[ANSWER]
['Q27030768', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q27030768 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Portugal
Portugal
action filter_type
action find
entity 1972 Portuguese Badminton Championships
relation country
type designation for an administrative territorial entity
['1972 Portuguese Badminton Championships', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:1972_Portuguese_Badminton_Championships property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]