Simple Question (Direct)
Simple Question
Q4908509
P54
Q847017
USER
What is the team that Bill Cody is a member of ?
(Q4908509,P54,c(Q847017))
action filter_type
action find
entity Q4908509
relation P54
type Q847017
['Q4908509', 'P54', {'concept': 'Q847017'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q847017 . resource:Q4908509 property:P54 ?s }
Bill Cody
action filter_type
action find
entity Bill Cody
relation member of sports team
type sports club
['Bill Cody', 'member of sports team', {'concept': 'sports club'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sports_club . resource:Bill_Cody property:member_of_sports_team ?s }
[]
sports club
Q3528311
SYSTEM
Auburn Tigers
Q3528311
(Q4908509,P54,c(Q847017))
action filter_type
action find
entity Q4908509
relation P54
type Q847017
The team that Bill Cody is a member of is the [ANSWER]
['Q4908509', 'P54', {'concept': 'Q847017'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q847017 . resource:Q4908509 property:P54 ?s }
Auburn Tigers
The team that Bill Cody is a member of is the Auburn Tigers
Auburn Tigers
action filter_type
action find
entity Bill Cody
relation member of sports team
type sports club
['Bill Cody', 'member of sports team', {'concept': 'sports club'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sports_club . resource:Bill_Cody property:member_of_sports_team ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4908509
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q3528311,P27,c(Q15617994))
action filter_type
action find
entity Q4908509
relation P27
type Q15617994
['Q3528311', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q4908509 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Bill Cody
action filter_type
action find
entity Bill Cody
relation country of citizenship
type designation for an administrative territorial entity
['Auburn Tigers', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Bill_Cody property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q3528311,P27,c(Q15617994))
action filter_type
action find
entity Q4908509
relation P27
type Q15617994
The [ANSWER] is the native country of that person
['Q3528311', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q4908509 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
United States of America
The United States of America is the native country of that person
United States of America
action filter_type
action find
entity Bill Cody
relation country of citizenship
type designation for an administrative territorial entity
['Auburn Tigers', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Bill_Cody property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P47
Q15617994
USER
Who share the border with that one ?
(Q30,P47,c(Q15617994))
action filter_type
action find
entity Q30
relation P47
type Q15617994
['Q30', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q30 property:P47 ?m . ?m rdf:type ontology:Q15617994 }
United States of America
action filter_type
action find
entity United States of America
relation shares border with
type designation for an administrative territorial entity
['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:United_States_of_America property:shares_border_with ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159 Q17 Q96
SYSTEM
Russia, Japan, Mexico
Q702 Q804 Q159 Q96 Q17 Q786 Q241 Q683 Q710 Q678 Q717 Q790
(Q30,P47,c(Q15617994))
action filter_type
action find
entity Q30
relation P47
type Q15617994
[ANSWERS] share the border with that one
['Q30', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q30 property:P47 ?m . ?m rdf:type ontology:Q15617994 }
Federated States of Micronesia Panama Russia Mexico Japan Dominican Republic Cuba Samoa Kiribati Tonga Venezuela Haiti
Russia, Japan and Mexico share the border with that one
Russia Japan Mexico
action filter_type
action find
entity United States of America
relation shares border with
type designation for an administrative territorial entity
['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:United_States_of_America property:shares_border_with ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4908509
P106
Q12737077
USER
What is the job of Bill Cody ?
(Q4908509,P106,c(Q12737077))
action filter_type
action find
entity Q4908509
relation P106
type Q12737077
['Q4908509', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q4908509 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Bill Cody
action filter_type
action find
entity Bill Cody
relation occupation
type occupation
['Bill Cody', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Bill_Cody property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q19204627
SYSTEM
American football player
Q19204627
(Q4908509,P106,c(Q12737077))
action filter_type
action find
entity Q4908509
relation P106
type Q12737077
The job of Bill Cody is an [ANSWER]
['Q4908509', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q4908509 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
American football player
The job of Bill Cody is an American football player
American football player
action filter_type
action find
entity Bill Cody
relation occupation
type occupation
['Bill Cody', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Bill_Cody property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19204627
P425
Q349
USER
Which sport has that one as the associated field of occupation ?
(Q19204627,P425,c(Q349))
action filter_type
action find
entity Q19204627
relation P425
type Q349
['Q19204627', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q349 . resource:Q19204627 property:P425 ?d }
American football player
action filter_type
action find
entity American football player
relation field of this occupation
type sport
['American football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sport . resource:American_football_player property:field_of_this_occupation ?d }
[]
sport
Q41323
SYSTEM
American football
Q41323
(Q19204627,P425,c(Q349))
action filter_type
action find
entity Q19204627
relation P425
type Q349
[ANSWER] has that one as the associated field of occupation
['Q19204627', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q349 . resource:Q19204627 property:P425 ?d }
American football
American football has that one as the associated field of occupation
American football
action filter_type
action find
entity American football player
relation field of this occupation
type sport
['American football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sport . resource:American_football_player property:field_of_this_occupation ?d }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q4282480
P417
Q502895 Q12737077
USER
Which people are the names of person who are the patron saints of more number of occupations than Saint Martha ?
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q4282480
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:P417 ?u . ?x rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q502895 } GROUP BY ?u } . FILTER ( ?y > ?t ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { resource:Q4282480 property:P417 ?k . ?k rdf:type ontology:Q502895 } } }
Saint Martha
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint Martha
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:patron_saint ?u . ?x rdf:type ontology:occupation . ?u rdf:type ontology:common_name } GROUP BY ?u } . FILTER ( ?y > ?t ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { resource:Saint_Martha property:patron_saint ?k . ?k rdf:type ontology:common_name } } }
[]
common name occupation
Q9438 Q60059 Q166876
SYSTEM
Thomas Aquinas, Albertus Magnus, Isidore of Seville
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q4282480
relation P417
type Q502895
[ANSWERS] are the names of person who are the patron saints of more number of occupations than Saint Martha
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:P417 ?u . ?x rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q502895 } GROUP BY ?u } . FILTER ( ?y > ?t ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { resource:Q4282480 property:P417 ?k . ?k rdf:type ontology:Q502895 } } }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
Thomas Aquinas, Albertus Magnus and Isidore of Seville are the names of person who are the patron saints of more number of occupations than Saint Martha
Thomas Aquinas Albertus Magnus Isidore of Seville
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint Martha
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:patron_saint ?u . ?x rdf:type ontology:occupation . ?u rdf:type ontology:common_name } GROUP BY ?u } . FILTER ( ?y > ?t ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { resource:Saint_Martha property:patron_saint ?k . ?k rdf:type ontology:common_name } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1250520
P674
Q223393
USER
Are those people a character of Pokédex ?
(Q1250520,P674,Q9438) (Q1250520,P674,Q60059) (Q1250520,P674,Q166876)
action is_in
entity prev_answer
action find
entity Q1250520
relation P674
['Q1250520', 'P674', 'Q9438'] ['Q1250520', 'P674', 'Q60059'] ['Q1250520', 'P674', 'Q166876']
ASK WHERE { resource:Q1250520 property:P674 ?b . VALUES ( ?b ) { ( resource:Q453698 ) ( resource:Q229190 ) ( resource:Q152457 ) } }
Pokédex
action is_in
entity prev_answer
action find
entity Pokédex
relation characters
['Pokédex', 'characters', 'Thomas Aquinas'] ['Pokédex', 'characters', 'Albertus Magnus'] ['Pokédex', 'characters', 'Isidore of Seville']
ASK WHERE { resource:Pokédex property:characters ?b . VALUES ( ?b ) { ( resource:Saint_Amand ) ( resource:Catherine_of_Siena ) ( resource:Saint_Roch ) } }
[]
literary genre
SYSTEM
NO
(Q1250520,P674,Q9438) (Q1250520,P674,Q60059) (Q1250520,P674,Q166876)
action is_in
entity prev_answer
action find
entity Q1250520
relation P674
[ANSWER]
['Q1250520', 'P674', 'Q9438'] ['Q1250520', 'P674', 'Q60059'] ['Q1250520', 'P674', 'Q166876']
ASK WHERE { resource:Q1250520 property:P674 ?b . VALUES ( ?b ) { ( resource:Q453698 ) ( resource:Q229190 ) ( resource:Q152457 ) } }
No
action is_in
entity prev_answer
action find
entity Pokédex
relation characters
['Pokédex', 'characters', 'Thomas Aquinas'] ['Pokédex', 'characters', 'Albertus Magnus'] ['Pokédex', 'characters', 'Isidore of Seville']
ASK WHERE { resource:Pokédex property:characters ?b . VALUES ( ?b ) { ( resource:Saint_Amand ) ( resource:Catherine_of_Siena ) ( resource:Saint_Roch ) } }
[]