Simple Question (Direct)
Simple Question
Q888478
P20
Q56061
USER
Where did the expiration of Bobby Burgess occur ?
(Q888478,P20,c(Q56061))
action filter_type
action find
entity Q888478
relation P20
type Q56061
['Q888478', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q888478 property:P20 ?u . ?u rdf:type ontology:Q56061 }
Bobby Burgess
action filter_type
action find
entity Bobby Burgess
relation place of death
type administrative territorial entity
['Bobby Burgess', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Bobby_Burgess property:place_of_death ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q128306
SYSTEM
Denton
Q128306
(Q888478,P20,c(Q56061))
action filter_type
action find
entity Q888478
relation P20
type Q56061
The expiration of Bobby Burgess occurred in [ANSWER]
['Q888478', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q888478 property:P20 ?u . ?u rdf:type ontology:Q56061 }
Denton
The expiration of Bobby Burgess occurred in Denton
Denton
action filter_type
action find
entity Bobby Burgess
relation place of death
type administrative territorial entity
['Bobby Burgess', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Bobby_Burgess property:place_of_death ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q128306
P291
Q571
USER
Which book has that administrative territory as its publication location ?
(c(Q571),P291,Q128306)
action filter_type
action find_reverse
entity Q128306
relation P291
type Q571
[{'concept': 'Q571'}, 'P291', 'Q128306']
SELECT DISTINCT ?i WHERE { ?i property:P291 resource:Q128306 . ?i rdf:type ontology:Q571 }
Denton
action filter_type
action find_reverse
entity Denton
relation place of publication
type book
[{'concept': 'book'}, 'place of publication', 'Denton']
SELECT DISTINCT ?i WHERE { ?i property:place_of_publication resource:Denton . ?i rdf:type ontology:book }
[]
book
Q19320911
SYSTEM
Dennis Brain: A Life in Music (1st edition)
Q19320911
(c(Q571),P291,Q128306)
action filter_type
action find_reverse
entity Q128306
relation P291
type Q571
[ANSWER] has that administrative territory as its publication location
[{'concept': 'Q571'}, 'P291', 'Q128306']
SELECT DISTINCT ?i WHERE { ?i property:P291 resource:Q128306 . ?i rdf:type ontology:Q571 }
Dennis Brain: A Life in Music (1st edition)
Dennis Brain: A Life in Music (1st edition) has that administrative territory as its publication location
Dennis Brain: A Life in Music (1st edition)
action filter_type
action find_reverse
entity Denton
relation place of publication
type book
[{'concept': 'book'}, 'place of publication', 'Denton']
SELECT DISTINCT ?i WHERE { ?i property:place_of_publication resource:Denton . ?i rdf:type ontology:book }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q128306
P138
Q502895
USER
Which person is Denton named after ?
(Q128306,P138,c(Q502895))
action filter_type
action find
entity Q128306
relation P138
type Q502895
['Q128306', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q128306 property:P138 ?z . ?z rdf:type ontology:Q502895 }
Denton
action filter_type
action find
entity Denton
relation named after
type common name
['Denton', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Denton property:named_after ?z . ?z rdf:type ontology:common_name }
[]
common name
Q6219912
SYSTEM
John B. Denton
Q6219912
(Q128306,P138,c(Q502895))
action filter_type
action find
entity Q128306
relation P138
type Q502895
Denton is named after [ANSWER]
['Q128306', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q128306 property:P138 ?z . ?z rdf:type ontology:Q502895 }
John B. Denton
Denton is named after John B. Denton
John B. Denton
action filter_type
action find
entity Denton
relation named after
type common name
['Denton', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Denton property:named_after ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q128306
P47
Q56061
USER
Which administrative territory shares border with that one ?
(Q6219912,P47,c(Q56061))
action filter_type
action find
entity Q128306
relation P47
type Q56061
['Q6219912', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q128306 property:P47 ?d . ?d rdf:type ontology:Q56061 }
Denton
action filter_type
action find
entity Denton
relation shares border with
type administrative territorial entity
['John B. Denton', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Denton property:shares_border_with ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1015373
SYSTEM
Krum
Q1015373
(Q6219912,P47,c(Q56061))
action filter_type
action find
entity Q128306
relation P47
type Q56061
[ANSWER] shares border with that one
['Q6219912', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q128306 property:P47 ?d . ?d rdf:type ontology:Q56061 }
Krum
Krum shares border with that one
Krum
action filter_type
action find
entity Denton
relation shares border with
type administrative territorial entity
['John B. Denton', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Denton property:shares_border_with ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P110
Q502895 Q2342494 Q571
USER
Which people had done the illustration of atleast 15 collectables and books ?
(c(Q2342494)|c(Q571),P110,c(Q502895))
action atleast
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P110
type Q502895
type Q571
value 15
[[{'concept': 'Q2342494'}, {'concept': 'Q571'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) ?r WHERE { VALUES ( ?e ) { ( ontology:Q2342494 ) ( ontology:Q571 ) } . ?n rdf:type ?e } GROUP BY ?r } . FILTER ( ?q >= 15 ) }
action atleast
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
action find_reverse_tuple_counts
relation illustrator
type common name
type book
value 15
[[{'concept': 'collectable'}, {'concept': 'book'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) ?r WHERE { VALUES ( ?e ) { ( ontology:collectable ) ( ontology:book ) } . ?n rdf:type ?e } GROUP BY ?r } . FILTER ( ?q >= 15 ) }
[]
common name collectable book
Q453980 Q711830 Q841310
SYSTEM
Quentin Blake, Chris Riddell, Garth Williams
Q6104584 Q201157 Q841310 Q2831042 Q5231938 Q2340811 Q453980 Q5423369 Q711830 Q45111 Q7027914 Q966547
(c(Q2342494)|c(Q571),P110,c(Q502895))
action atleast
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P110
type Q502895
type Q571
value 15
[ANSWERS] had done the illustration of atleast 15 collectables and books
[[{'concept': 'Q2342494'}, {'concept': 'Q571'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) ?r WHERE { VALUES ( ?e ) { ( ontology:Q2342494 ) ( ontology:Q571 ) } . ?n rdf:type ?e } GROUP BY ?r } . FILTER ( ?q >= 15 ) }
J. Allen St. John George Roux Garth Williams Albert Chazelle David Burroughs Mattingly Brett Helquist Quentin Blake Ezra Jack Keats Chris Riddell John R. Neill Nick Sharratt Léon Benett
Quentin Blake, Chris Riddell and Garth Williams had done the illustration of atleast 15 collectables and books
Quentin Blake Chris Riddell Garth Williams
action atleast
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
action find_reverse_tuple_counts
relation illustrator
type common name
type book
value 15
[[{'concept': 'collectable'}, {'concept': 'book'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) ?r WHERE { VALUES ( ?e ) { ( ontology:collectable ) ( ontology:book ) } . ?n rdf:type ?e } GROUP BY ?r } . FILTER ( ?q >= 15 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P417
Q502895 Q56061 Q12737077
USER
Which people are the patron saint of max number of administrative territories and occupations ?
(c(Q56061)|c(Q12737077),P417,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[[{'concept': 'Q56061'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) ?r WHERE { ?m rdf:type ?k . VALUES ( ?k ) { ( ontology:Q12737077 ) ( ontology:Q56061 ) } } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) ?d WHERE { { ?f property:P417 ?d . ?f rdf:type ontology:Q56061 . ?d rdf:type ontology:Q502895 } UNION { ?f property:P417 ?d . ?f rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q502895 } } GROUP BY ?d } . FILTER ( ?c = ?v ) }
action argmax
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[[{'concept': 'administrative territorial entity'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) ?r WHERE { ?m rdf:type ?k . VALUES ( ?k ) { ( ontology:occupation ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) ?d WHERE { { ?f property:patron_saint ?d . ?f rdf:type ontology:administrative_territorial_entity . ?d rdf:type ontology:common_name } UNION { ?f property:patron_saint ?d . ?f rdf:type ontology:occupation . ?d rdf:type ontology:common_name } } GROUP BY ?d } . FILTER ( ?c = ?v ) }
[]
common name administrative territorial entity occupation
Q179718 Q40662
SYSTEM
Catherine of Alexandria, John the Baptist
Q179718 Q40662
(c(Q56061)|c(Q12737077),P417,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[ANSWERS] are the patron saint of max number of administrative territories and occupations
[[{'concept': 'Q56061'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) ?r WHERE { ?m rdf:type ?k . VALUES ( ?k ) { ( ontology:Q12737077 ) ( ontology:Q56061 ) } } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) ?d WHERE { { ?f property:P417 ?d . ?f rdf:type ontology:Q56061 . ?d rdf:type ontology:Q502895 } UNION { ?f property:P417 ?d . ?f rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q502895 } } GROUP BY ?d } . FILTER ( ?c = ?v ) }
Catherine of Alexandria John the Baptist
Catherine of Alexandria and John the Baptist are the patron saint of max number of administrative territories and occupations
Catherine of Alexandria John the Baptist
action argmax
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[[{'concept': 'administrative territorial entity'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) ?r WHERE { ?m rdf:type ?k . VALUES ( ?k ) { ( ontology:occupation ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) ?d WHERE { { ?f property:patron_saint ?d . ?f rdf:type ontology:administrative_territorial_entity . ?d rdf:type ontology:common_name } UNION { ?f property:patron_saint ?d . ?f rdf:type ontology:occupation . ?d rdf:type ontology:common_name } } GROUP BY ?d } . FILTER ( ?c = ?v ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q179718 Q40662
P825
Q44539
USER
Which temples have dedication towards Catherine of Alexandria and John the Baptist ?
(c(Q44539),P825,Q179718) (c(Q44539),P825,Q40662)
action union
action filter_type
action find_reverse
entity Q179718
relation P825
type Q44539
action filter_type
action find_reverse
entity Q40662
relation P825
type Q44539
[{'concept': 'Q44539'}, 'P825', 'Q179718'] [{'concept': 'Q44539'}, 'P825', 'Q40662']
SELECT DISTINCT ?j WHERE { VALUES ( ?s ) { ( resource:Q179718 ) ( resource:Q40662 ) } . ?j property:P825 ?s }
Catherine of Alexandria John the Baptist
action union
action filter_type
action find_reverse
entity Catherine of Alexandria
relation dedicated to
type temple
action filter_type
action find_reverse
entity John the Baptist
relation dedicated to
type temple
[{'concept': 'temple'}, 'dedicated to', 'Catherine of Alexandria'] [{'concept': 'temple'}, 'dedicated to', 'John the Baptist']
SELECT DISTINCT ?j WHERE { VALUES ( ?s ) { ( resource:Catherine_of_Alexandria ) ( resource:John_the_Baptist ) } . ?j property:dedicated_to ?s }
[]
temple
Q7593726 Q7593726 Q17742004
SYSTEM
St John the Baptist's Church for 1st, 2nd, St Catharine's Church for 3rd
Q24036452 Q17742004 Q7593726 Q51152 Q21551910 Q1698706 Q1554279 Q848290 Q17743806 Q7593750 Q7593726 Q7593753
(c(Q44539),P825,Q179718) (c(Q44539),P825,Q40662)
action union
action filter_type
action find_reverse
entity Q179718
relation P825
type Q44539
action filter_type
action find_reverse
entity Q40662
relation P825
type Q44539
[ANSWERS]
[{'concept': 'Q44539'}, 'P825', 'Q179718'] [{'concept': 'Q44539'}, 'P825', 'Q40662']
SELECT DISTINCT ?j WHERE { VALUES ( ?s ) { ( resource:Q179718 ) ( resource:Q40662 ) } . ?j property:P825 ?s }
St Catherine's Church St Catharine's Church St John the Baptist's Church Church of Saint John the Baptist Church of Saint John the Baptist St. John the Baptist Church St. John the Baptist Church Janskerk Church Of St John The Baptist St John the Baptist Church St John the Baptist's Church St John the Baptist Church
St John the Baptist's Church, St John the Baptist's Church and St Catharine's Church have dedication towards Catherine of Alexandria and John the Baptist
St John the Baptist's Church St John the Baptist's Church St Catharine's Church
action union
action filter_type
action find_reverse
entity Catherine of Alexandria
relation dedicated to
type temple
action filter_type
action find_reverse
entity John the Baptist
relation dedicated to
type temple
[{'concept': 'temple'}, 'dedicated to', 'Catherine of Alexandria'] [{'concept': 'temple'}, 'dedicated to', 'John the Baptist']
SELECT DISTINCT ?j WHERE { VALUES ( ?s ) { ( resource:Catherine_of_Alexandria ) ( resource:John_the_Baptist ) } . ?j property:dedicated_to ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q40662
P1441
Q234460
USER
Which text features John the Baptist ?
(Q40662,P1441,c(Q234460))
action filter_type
action find
entity Q40662
relation P1441
type Q234460
['Q40662', 'P1441', {'concept': 'Q234460'}]
SELECT DISTINCT ?s WHERE { resource:Q40662 property:P1441 ?s . ?s rdf:type ontology:Q234460 }
John the Baptist
action filter_type
action find
entity John the Baptist
relation present in work
type text
['John the Baptist', 'present in work', {'concept': 'text'}]
SELECT DISTINCT ?s WHERE { resource:John_the_Baptist property:present_in_work ?s . ?s rdf:type ontology:text }
[]
text
Q1845
SYSTEM
Bible
Q1845
(Q40662,P1441,c(Q234460))
action filter_type
action find
entity Q40662
relation P1441
type Q234460
The [ANSWER] features John the Baptist
['Q40662', 'P1441', {'concept': 'Q234460'}]
SELECT DISTINCT ?s WHERE { resource:Q40662 property:P1441 ?s . ?s rdf:type ontology:Q234460 }
Bible
The Bible features John the Baptist
Bible
action filter_type
action find
entity John the Baptist
relation present in work
type text
['John the Baptist', 'present in work', {'concept': 'text'}]
SELECT DISTINCT ?s WHERE { resource:John_the_Baptist property:present_in_work ?s . ?s rdf:type ontology:text }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1889647
Q234460
USER
And how about Achan?
(Q1889647,P1441,c(Q234460))
action filter_type
action find
entity Q1889647
relation P1441
type Q234460
['Q1889647', 'P1441', {'concept': 'Q234460'}]
SELECT DISTINCT ?k WHERE { resource:Q1889647 property:P1441 ?k . ?k rdf:type ontology:Q234460 }
Achan
action filter_type
action find
entity Achan
relation present in work
type text
['Achan', 'present in work', {'concept': 'text'}]
SELECT DISTINCT ?k WHERE { resource:Achan property:present_in_work ?k . ?k rdf:type ontology:text }
[]
text
Q1845
SYSTEM
Bible
Q1845
(Q1889647,P1441,c(Q234460))
action filter_type
action find
entity Q1889647
relation P1441
type Q234460
[ANSWER]
['Q1889647', 'P1441', {'concept': 'Q234460'}]
SELECT DISTINCT ?k WHERE { resource:Q1889647 property:P1441 ?k . ?k rdf:type ontology:Q234460 }
Bible
Bible
action filter_type
action find
entity Achan
relation present in work
type text
['Achan', 'present in work', {'concept': 'text'}]
SELECT DISTINCT ?k WHERE { resource:Achan property:present_in_work ?k . ?k rdf:type ontology:text }
[]