Simple Question (Direct)
Simple Question
Q3723491
P1196
Q1931388
USER
What situation did Ellen Hanley die in ?
(Q3723491,P1196,c(Q1931388))
action filter_type
action find
entity Q3723491
relation P1196
type Q1931388
['Q3723491', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?z WHERE { resource:Q3723491 property:P1196 ?z . ?z rdf:type ontology:Q1931388 }
Ellen Hanley
action filter_type
action find
entity Ellen Hanley
relation manner of death
type cause of death
['Ellen Hanley', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?z WHERE { resource:Ellen_Hanley property:manner_of_death ?z . ?z rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q3723491,P1196,c(Q1931388))
action filter_type
action find
entity Q3723491
relation P1196
type Q1931388
Ellen Hanley died of [ANSWER]
['Q3723491', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?z WHERE { resource:Q3723491 property:P1196 ?z . ?z rdf:type ontology:Q1931388 }
natural causes
Ellen Hanley died of natural causes
natural causes
action filter_type
action find
entity Ellen Hanley
relation manner of death
type cause of death
['Ellen Hanley', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?z WHERE { resource:Ellen_Hanley property:manner_of_death ?z . ?z rdf:type ontology:cause_of_death }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3723491
P19
Q56061
USER
Where was that person born ?
(Q3739104,P19,c(Q56061))
action filter_type
action find
entity Q3723491
relation P19
type Q56061
['Q3739104', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q3723491 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Ellen Hanley
action filter_type
action find
entity Ellen Hanley
relation place of birth
type administrative territorial entity
['natural causes', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Ellen_Hanley property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q609698
SYSTEM
Lorain
Q609698
(Q3739104,P19,c(Q56061))
action filter_type
action find
entity Q3723491
relation P19
type Q56061
That person was born in [ANSWER]
['Q3739104', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q3723491 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Lorain
That person was born in Lorain
Lorain
action filter_type
action find
entity Ellen Hanley
relation place of birth
type administrative territorial entity
['natural causes', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Ellen_Hanley property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3723491
P20
Q56061
USER
Where did the expiration of that person occur ?
(Q609698,P20,c(Q56061))
action filter_type
action find
entity Q3723491
relation P20
type Q56061
['Q609698', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q3723491 property:P20 ?r . ?r rdf:type ontology:Q56061 }
Ellen Hanley
action filter_type
action find
entity Ellen Hanley
relation place of death
type administrative territorial entity
['Lorain', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Ellen_Hanley property:place_of_death ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q54217
SYSTEM
Norwalk
Q54217
(Q609698,P20,c(Q56061))
action filter_type
action find
entity Q3723491
relation P20
type Q56061
The expiration of that person occurred on [ANSWER]
['Q609698', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q3723491 property:P20 ?r . ?r rdf:type ontology:Q56061 }
Norwalk
The expiration of that person occurred on Norwalk
Norwalk
action filter_type
action find
entity Ellen Hanley
relation place of death
type administrative territorial entity
['Lorain', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Ellen_Hanley property:place_of_death ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q495
P417
Q502895 Q1445650 Q56061
USER
How many administrative territories have more number of people and holidays as their patron saint than Turin ?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action count
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_multi_types
action find
entity Q495
relation P417
type Q502895
type Q1445650
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?k ) WHERE { { ?i property:P417 ?w . ?i rdf:type ontology:Q56061 . ?w rdf:type ontology:Q502895 } UNION { ?i rdf:type ontology:Q56061 . ?w rdf:type ontology:Q1445650 . ?i property:P417 ?w } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Q495 property:P417 ?u . { VALUES ( ?g ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } . ?u rdf:type ?g } } } . FILTER ( ?k > ?v ) }
Turin
action count
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Turin
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?k ) WHERE { { ?i property:patron_saint ?w . ?i rdf:type ontology:administrative_territorial_entity . ?w rdf:type ontology:common_name } UNION { ?i rdf:type ontology:administrative_territorial_entity . ?w rdf:type ontology:holiday . ?i property:patron_saint ?w } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Turin property:patron_saint ?u . { VALUES ( ?g ) { ( ontology:common_name ) ( ontology:holiday ) } . ?u rdf:type ?g } } } . FILTER ( ?k > ?v ) }
[]
common name holiday administrative territorial entity
SYSTEM
2
Q39519 Q220
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action count
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_multi_types
action find
entity Q495
relation P417
type Q502895
type Q1445650
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?k ) WHERE { { ?i property:P417 ?w . ?i rdf:type ontology:Q56061 . ?w rdf:type ontology:Q502895 } UNION { ?i rdf:type ontology:Q56061 . ?w rdf:type ontology:Q1445650 . ?i property:P417 ?w } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Q495 property:P417 ?u . { VALUES ( ?g ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } . ?u rdf:type ?g } } } . FILTER ( ?k > ?v ) }
Brinzio Rome
2
action count
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Turin
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?k ) WHERE { { ?i property:patron_saint ?w . ?i rdf:type ontology:administrative_territorial_entity . ?w rdf:type ontology:common_name } UNION { ?i rdf:type ontology:administrative_territorial_entity . ?w rdf:type ontology:holiday . ?i property:patron_saint ?w } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Turin property:patron_saint ?u . { VALUES ( ?g ) { ( ontology:common_name ) ( ontology:holiday ) } . ?u rdf:type ?g } } } . FILTER ( ?k > ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q504216
P417
Q502895 Q1445650 Q56061
USER
And also tell me about St. Martin in Passeier?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action count
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_multi_types
action find
entity Q504216
relation P417
type Q502895
type Q1445650
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) ?u WHERE { ?i rdf:type ?c . VALUES ( ?c ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { resource:Q504216 property:P417 ?y . { { ?y rdf:type ontology:Q502895 } UNION { ?y rdf:type ontology:Q1445650 } } } } . FILTER ( ?z > ?k ) }
St. Martin in Passeier
action count
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity St. Martin in Passeier
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) ?u WHERE { ?i rdf:type ?c . VALUES ( ?c ) { ( ontology:common_name ) ( ontology:holiday ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { resource:St._Martin_in_Passeier property:patron_saint ?y . { { ?y rdf:type ontology:common_name } UNION { ?y rdf:type ontology:holiday } } } } . FILTER ( ?z > ?k ) }
[]
common name holiday administrative territorial entity
SYSTEM
2
Q39519 Q220
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action count
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_multi_types
action find
entity Q504216
relation P417
type Q502895
type Q1445650
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) ?u WHERE { ?i rdf:type ?c . VALUES ( ?c ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { resource:Q504216 property:P417 ?y . { { ?y rdf:type ontology:Q502895 } UNION { ?y rdf:type ontology:Q1445650 } } } } . FILTER ( ?z > ?k ) }
Brinzio Rome
2
action count
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity St. Martin in Passeier
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) ?u WHERE { ?i rdf:type ?c . VALUES ( ?c ) { ( ontology:common_name ) ( ontology:holiday ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { resource:St._Martin_in_Passeier property:patron_saint ?y . { { ?y rdf:type ontology:common_name } UNION { ?y rdf:type ontology:holiday } } } } . FILTER ( ?z > ?k ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q609698 Q659
P138
Q15617994
USER
How many administrative territories are the eponym of Lorain or north ?
(c(Q15617994),P138,Q609698) (c(Q15617994),P138,Q659)
action count
action union
action filter_type
action find_reverse
entity Q609698
relation P138
type Q15617994
action filter_type
action find_reverse
entity Q659
relation P138
type Q15617994
[{'concept': 'Q15617994'}, 'P138', 'Q609698'] [{'concept': 'Q15617994'}, 'P138', 'Q659']
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:P138 ?j . VALUES ( ?j ) { ( resource:Q609698 ) ( resource:Q659 ) } }
Lorain north
action count
action union
action filter_type
action find_reverse
entity Lorain
relation named after
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity north
relation named after
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'named after', 'Lorain'] [{'concept': 'designation for an administrative territorial entity'}, 'named after', 'north']
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:named_after ?j . VALUES ( ?j ) { ( resource:Lorain ) ( resource:north ) } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q20 Q12661
(c(Q15617994),P138,Q609698) (c(Q15617994),P138,Q659)
action count
action union
action filter_type
action find_reverse
entity Q609698
relation P138
type Q15617994
action filter_type
action find_reverse
entity Q659
relation P138
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P138', 'Q609698'] [{'concept': 'Q15617994'}, 'P138', 'Q659']
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:P138 ?j . VALUES ( ?j ) { ( resource:Q609698 ) ( resource:Q659 ) } }
Norway Nord
2
action count
action union
action filter_type
action find_reverse
entity Lorain
relation named after
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity north
relation named after
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'named after', 'Lorain'] [{'concept': 'designation for an administrative territorial entity'}, 'named after', 'north']
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:named_after ?j . VALUES ( ?j ) { ( resource:Lorain ) ( resource:north ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q609698
P740
Q43229
USER
What was formed at that administrative territory ?
action filter_type
action find_reverse
entity Q609698
relation P740
type Q43229
SELECT DISTINCT ?v WHERE { ?v property:P740 resource:Q609698 . ?v rdf:type ontology:Q43229 }
Lorain
action filter_type
action find_reverse
entity Lorain
relation location of formation
type organization
SELECT DISTINCT ?v WHERE { ?v property:location_of_formation resource:Lorain . ?v rdf:type ontology:organization }
[]
organization
Q3012303
SYSTEM
Waco Aircraft Company
Q3012303
action filter_type
action find_reverse
entity Q609698
relation P740
type Q43229
[ANSWER] was formed at that administrative territory
SELECT DISTINCT ?v WHERE { ?v property:P740 resource:Q609698 . ?v rdf:type ontology:Q43229 }
Waco Aircraft Company
Waco Aircraft Company was formed at that administrative territory
Waco Aircraft Company
action filter_type
action find_reverse
entity Lorain
relation location of formation
type organization
SELECT DISTINCT ?v WHERE { ?v property:location_of_formation resource:Lorain . ?v rdf:type ontology:organization }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q3012303 Q30 Q24054541
P17
Q15617994
USER
Is that organization present in United States of America and Mompiano ?
(Q3012303,P17,Q30) (Q3012303,P17,Q24054541)
action is_in
entity Q3012303
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q24054541
relation P17
['Q3012303', 'P17', 'Q30'] ['Q3012303', 'P17', 'Q24054541']
ASK WHERE { resource:Q3012303 property:P17 resource:Q30 . resource:Q3012303 property:P17 resource:Q24054541 }
Waco Aircraft Company United States of America Mompiano
action is_in
entity Waco Aircraft Company
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Mompiano
relation country
['Waco Aircraft Company', 'country', 'United States of America'] ['Waco Aircraft Company', 'country', 'Mompiano']
ASK WHERE { resource:Waco_Aircraft_Company property:country resource:United_States_of_America . resource:Waco_Aircraft_Company property:country resource:Mompiano }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q3012303,P17,Q30) (Q3012303,P17,Q24054541)
action is_in
entity Q3012303
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q24054541
relation P17
[ANSWER]
['Q3012303', 'P17', 'Q30'] ['Q3012303', 'P17', 'Q24054541']
ASK WHERE { resource:Q3012303 property:P17 resource:Q30 . resource:Q3012303 property:P17 resource:Q24054541 }
YES and NO respectively
action is_in
entity Waco Aircraft Company
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Mompiano
relation country
['Waco Aircraft Company', 'country', 'United States of America'] ['Waco Aircraft Company', 'country', 'Mompiano']
ASK WHERE { resource:Waco_Aircraft_Company property:country resource:United_States_of_America . resource:Waco_Aircraft_Company property:country resource:Mompiano }
[]