Simple Question (Direct)
Simple Question
Q541596
P1196
Q1190554
USER
Which situation led to the death of John Moisant ?
(Q541596,P1196,c(Q1190554))
action filter_type
action find
entity Q541596
relation P1196
type Q1190554
['Q541596', 'P1196', {'concept': 'Q1190554'}]
SELECT DISTINCT ?i WHERE { resource:Q541596 property:P1196 ?i . ?i rdf:type ontology:Q1190554 }
John Moisant
action filter_type
action find
entity John Moisant
relation manner of death
type event
['John Moisant', 'manner of death', {'concept': 'event'}]
SELECT DISTINCT ?i WHERE { resource:John_Moisant property:manner_of_death ?i . ?i rdf:type ontology:event }
[]
event
Q171558
SYSTEM
accident
Q171558
(Q541596,P1196,c(Q1190554))
action filter_type
action find
entity Q541596
relation P1196
type Q1190554
The [ANSWER] led to the death of John Moisant
['Q541596', 'P1196', {'concept': 'Q1190554'}]
SELECT DISTINCT ?i WHERE { resource:Q541596 property:P1196 ?i . ?i rdf:type ontology:Q1190554 }
accident
The accident led to the death of John Moisant
accident
action filter_type
action find
entity John Moisant
relation manner of death
type event
['John Moisant', 'manner of death', {'concept': 'event'}]
SELECT DISTINCT ?i WHERE { resource:John_Moisant property:manner_of_death ?i . ?i rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q541596
P19
Q56061
USER
Which administrative territory was John Moisant born in ?
(Q541596,P19,c(Q56061))
action filter_type
action find
entity Q541596
relation P19
type Q56061
['Q541596', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q541596 property:P19 ?c . ?c rdf:type ontology:Q56061 }
John Moisant
action filter_type
action find
entity John Moisant
relation place of birth
type administrative territorial entity
['John Moisant', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:John_Moisant property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q578351
SYSTEM
Kankakee
Q578351
(Q541596,P19,c(Q56061))
action filter_type
action find
entity Q541596
relation P19
type Q56061
John Moisant was born in [ANSWER]
['Q541596', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q541596 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Kankakee
John Moisant was born in Kankakee
Kankakee
action filter_type
action find
entity John Moisant
relation place of birth
type administrative territorial entity
['John Moisant', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:John_Moisant property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q578351
P931
Q62447
USER
Which city do that administrative territory serve ?
(c(Q62447),P931,Q578351)
action filter_type
action find_reverse
entity Q578351
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q578351']
SELECT DISTINCT ?b WHERE { ?b property:P931 resource:Q578351 . ?b rdf:type ontology:Q62447 }
Kankakee
action filter_type
action find_reverse
entity Kankakee
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Kankakee']
SELECT DISTINCT ?b WHERE { ?b property:place_served_by_airport resource:Kankakee . ?b rdf:type ontology:aerodrome }
[]
aerodrome
Q3913789 Q14687721
SYSTEM
Greater Kankakee Airport, Kankakee Airport
Q3913789 Q14687721
(c(Q62447),P931,Q578351)
action filter_type
action find_reverse
entity Q578351
relation P931
type Q62447
That administrative territory serve the [ANSWERS]
[{'concept': 'Q62447'}, 'P931', 'Q578351']
SELECT DISTINCT ?b WHERE { ?b property:P931 resource:Q578351 . ?b rdf:type ontology:Q62447 }
Greater Kankakee Airport Kankakee Airport
That administrative territory serve the Greater Kankakee Airport and Kankakee Airport
Greater Kankakee Airport Kankakee Airport
action filter_type
action find_reverse
entity Kankakee
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Kankakee']
SELECT DISTINCT ?b WHERE { ?b property:place_served_by_airport resource:Kankakee . ?b rdf:type ontology:aerodrome }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P137
Q874405 Q62447
USER
How many social groups are the facility operator of approximately 1 aerodrome ?
(c(Q62447),P137,c(Q874405))
action count
action approx
action find_reverse_tuple_counts
relation P137
type Q874405
type Q62447
value 1
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?k ) WHERE { ?w rdf:type ontology:Q874405 . ?x rdf:type ontology:Q62447 . ?x property:P137 ?w } GROUP BY ?w } . FILTER ( ?k = 1 ) }
action count
action approx
action find_reverse_tuple_counts
relation operator
type social group
type aerodrome
value 1
[{'concept': 'aerodrome'}, 'operator', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?k ) WHERE { ?w rdf:type ontology:social_group . ?x rdf:type ontology:aerodrome . ?x property:operator ?w } GROUP BY ?w } . FILTER ( ?k = 1 ) }
[]
social group aerodrome
SYSTEM
6
Q12177622 Q11773243 Q5916359 Q5124432 Q6825146 Q5260355
(c(Q62447),P137,c(Q874405))
action count
action approx
action find_reverse_tuple_counts
relation P137
type Q874405
type Q62447
value 1
[ANSWER]
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?k ) WHERE { ?w rdf:type ontology:Q874405 . ?x rdf:type ontology:Q62447 . ?x property:P137 ?w } GROUP BY ?w } . FILTER ( ?k = 1 ) }
Metropolitan Washington Airports Authority Hellenic Civil Aviation Authority Houston Airport System Civil Aviation Authority of the Philippines Metropolitan Nashville Airport Authority Department of Infrastructure
6
action count
action approx
action find_reverse_tuple_counts
relation operator
type social group
type aerodrome
value 1
[{'concept': 'aerodrome'}, 'operator', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?k ) WHERE { ?w rdf:type ontology:social_group . ?x rdf:type ontology:aerodrome . ?x property:operator ?w } GROUP BY ?w } . FILTER ( ?k = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P608
Q62447 Q2424752 Q3084961
USER
How many aerodromes were exactly 1 products or product linings exhibited at ?
(c(Q2424752)|c(Q3084961),P608,c(Q62447))
action count
action equal
action union
action find_reverse_tuple_counts
relation P608
type Q62447
type Q2424752
action find_reverse_tuple_counts
relation P608
type Q62447
type Q3084961
value 1
[[{'concept': 'Q2424752'}, {'concept': 'Q3084961'}], 'P608', {'concept': 'Q62447'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?t WHERE { VALUES ( ?l ) { ( ontology:Q2424752 ) ( ontology:Q3084961 ) } . ?y rdf:type ?l } GROUP BY ?t } . FILTER ( ?s = 1 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation exhibition history
type aerodrome
type product
action find_reverse_tuple_counts
relation exhibition history
type aerodrome
type product lining
value 1
[[{'concept': 'product'}, {'concept': 'product lining'}], 'exhibition history', {'concept': 'aerodrome'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?t WHERE { VALUES ( ?l ) { ( ontology:product ) ( ontology:product_lining ) } . ?y rdf:type ?l } GROUP BY ?t } . FILTER ( ?s = 1 ) }
[]
aerodrome product product lining
SYSTEM
21
Q577946 Q1032113 Q650056 Q3565266 Q3497392 Q12694513 Q1836849 Q919059 Q17440 Q1032108 Q1061846 Q1431444 Q652649 Q2875950 Q7306992 Q1032127 Q5010470 Q1999664 Q1785757 Q5138107 Q1268666
(c(Q2424752)|c(Q3084961),P608,c(Q62447))
action count
action equal
action union
action find_reverse_tuple_counts
relation P608
type Q62447
type Q2424752
action find_reverse_tuple_counts
relation P608
type Q62447
type Q3084961
value 1
[ANSWER]
[[{'concept': 'Q2424752'}, {'concept': 'Q3084961'}], 'P608', {'concept': 'Q62447'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?t WHERE { VALUES ( ?l ) { ( ontology:Q2424752 ) ( ontology:Q3084961 ) } . ?y rdf:type ?l } GROUP BY ?t } . FILTER ( ?s = 1 ) }
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
21
action count
action equal
action union
action find_reverse_tuple_counts
relation exhibition history
type aerodrome
type product
action find_reverse_tuple_counts
relation exhibition history
type aerodrome
type product lining
value 1
[[{'concept': 'product'}, {'concept': 'product lining'}], 'exhibition history', {'concept': 'aerodrome'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?t WHERE { VALUES ( ?l ) { ( ontology:product ) ( ontology:product_lining ) } . ?y rdf:type ?l } GROUP BY ?t } . FILTER ( ?s = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q578351
P17
Q15617994
USER
Which administrative territory does Kankakee belong to ?
(Q578351,P17,c(Q15617994))
action filter_type
action find
entity Q578351
relation P17
type Q15617994
['Q578351', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q578351 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
Kankakee
action filter_type
action find
entity Kankakee
relation country
type designation for an administrative territorial entity
['Kankakee', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Kankakee property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q578351,P17,c(Q15617994))
action filter_type
action find
entity Q578351
relation P17
type Q15617994
Kankakee belongs to [ANSWER]
['Q578351', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q578351 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
United States of America
Kankakee belongs to United States of America
United States of America
action filter_type
action find
entity Kankakee
relation country
type designation for an administrative territorial entity
['Kankakee', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Kankakee property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q30 Q367757
P495
Q201658
USER
Is that administrative territory a country of origin of The Mouse from H.U.N.G.E.R. ?
(Q367757,P495,Q30)
action is_in
entity Q30
action find
entity Q367757
relation P495
['Q367757', 'P495', 'Q30']
ASK WHERE { resource:Q367757 property:P495 resource:Q30 }
United States of America The Mouse from H.U.N.G.E.R.
action is_in
entity United States of America
action find
entity The Mouse from H.U.N.G.E.R.
relation country of origin
['The Mouse from H.U.N.G.E.R.', 'country of origin', 'United States of America']
ASK WHERE { resource:The_Mouse_from_H.U.N.G.E.R. property:country_of_origin resource:United_States_of_America }
[]
film genre
SYSTEM
YES
(Q367757,P495,Q30)
action is_in
entity Q30
action find
entity Q367757
relation P495
[ANSWER]
['Q367757', 'P495', 'Q30']
ASK WHERE { resource:Q367757 property:P495 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity The Mouse from H.U.N.G.E.R.
relation country of origin
['The Mouse from H.U.N.G.E.R.', 'country of origin', 'United States of America']
ASK WHERE { resource:The_Mouse_from_H.U.N.G.E.R. property:country_of_origin resource:United_States_of_America }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q16557546 Q541596
P19 P20
Q56061
USER
Which administrative territories did the demise of John Moisant occur or are the places of birth of Franco Salvotti ?
OR((Q541596,P20,c(Q56061)), (Q16557546,P19,c(Q56061)))
action filter_type
action union
action find
entity Q541596
relation P20
action find
entity Q16557546
relation P19
type Q56061
{'OR': [['Q541596', 'P20', {'concept': 'Q56061'}], ['Q16557546', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . { { resource:Q16557546 property:P19 ?d } UNION { resource:Q541596 property:P20 ?d } } }
Franco Salvotti John Moisant
action filter_type
action union
action find
entity John Moisant
relation place of death
action find
entity Franco Salvotti
relation place of birth
type administrative territorial entity
{'OR': [['John Moisant', 'place of death', {'concept': 'administrative territorial entity'}], ['Franco Salvotti', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . { { resource:Franco_Salvotti property:place_of_birth ?d } UNION { resource:John_Moisant property:place_of_death ?d } } }
[]
administrative territorial entity
Q34404 Q6221
SYSTEM
New Orleans, Brescia
Q34404 Q6221
OR((Q541596,P20,c(Q56061)), (Q16557546,P19,c(Q56061)))
action filter_type
action union
action find
entity Q541596
relation P20
action find
entity Q16557546
relation P19
type Q56061
Or are the places of birth of Franco Salvotti in [ANSWERS] the demise of John Moisant occurred
{'OR': [['Q541596', 'P20', {'concept': 'Q56061'}], ['Q16557546', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . { { resource:Q16557546 property:P19 ?d } UNION { resource:Q541596 property:P20 ?d } } }
New Orleans Brescia
Or are the places of birth of Franco Salvotti in New Orleans and Brescia the demise of John Moisant occurred
New Orleans Brescia
action filter_type
action union
action find
entity John Moisant
relation place of death
action find
entity Franco Salvotti
relation place of birth
type administrative territorial entity
{'OR': [['John Moisant', 'place of death', {'concept': 'administrative territorial entity'}], ['Franco Salvotti', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . { { resource:Franco_Salvotti property:place_of_birth ?d } UNION { resource:John_Moisant property:place_of_death ?d } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q34404 Q6221
P1001
Q12737077
USER
Which occupations apply to jurisdiction over those administrative territories ?
(c(Q12737077),P1001,Q34404) (c(Q12737077),P1001,Q6221)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q34404'] [{'concept': 'Q12737077'}, 'P1001', 'Q6221']
SELECT DISTINCT ?k WHERE { ?k property:P1001 ?z . VALUES ( ?z ) { ( resource:Q34404 ) ( resource:Q6221 ) } . ?k rdf:type ontology:Q12737077 }
New Orleans Brescia
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'New Orleans'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Brescia']
SELECT DISTINCT ?k WHERE { ?k property:applies_to_jurisdiction ?z . VALUES ( ?z ) { ( resource:New_Orleans ) ( resource:Brescia ) } . ?k rdf:type ontology:occupation }
[]
occupation
Q6627627 Q23015483
SYSTEM
mayor of New Orleans, Mayor of Brescia
Q6627627 Q23015483
(c(Q12737077),P1001,Q34404) (c(Q12737077),P1001,Q6221)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q12737077
The [ANSWERS] apply to jurisdiction over those administrative territories
[{'concept': 'Q12737077'}, 'P1001', 'Q34404'] [{'concept': 'Q12737077'}, 'P1001', 'Q6221']
SELECT DISTINCT ?k WHERE { ?k property:P1001 ?z . VALUES ( ?z ) { ( resource:Q34404 ) ( resource:Q6221 ) } . ?k rdf:type ontology:Q12737077 }
mayor of New Orleans Mayor of Brescia
The mayor of New Orleans and Mayor of Brescia apply to jurisdiction over those administrative territories
mayor of New Orleans Mayor of Brescia
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'New Orleans'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Brescia']
SELECT DISTINCT ?k WHERE { ?k property:applies_to_jurisdiction ?z . VALUES ( ?z ) { ( resource:New_Orleans ) ( resource:Brescia ) } . ?k rdf:type ontology:occupation }
[]