Simple Question (Direct)
Simple Question
Q7299222
P27
Q15617994
USER
Which administrative territory is the native country of Raymond Webber ?
(Q7299222,P27,c(Q15617994))
action filter_type
action find
entity Q7299222
relation P27
type Q15617994
['Q7299222', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q7299222 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Raymond Webber
action filter_type
action find
entity Raymond Webber
relation country of citizenship
type designation for an administrative territorial entity
['Raymond Webber', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Raymond_Webber property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q7299222,P27,c(Q15617994))
action filter_type
action find
entity Q7299222
relation P27
type Q15617994
The [ANSWER] is the native country of Raymond Webber
['Q7299222', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q7299222 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
United States of America
The United States of America is the native country of Raymond Webber
United States of America
action filter_type
action find
entity Raymond Webber
relation country of citizenship
type designation for an administrative territorial entity
['Raymond Webber', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Raymond_Webber property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7299222
P106
Q12737077
USER
What is the job of Raymond Webber ?
(Q7299222,P106,c(Q12737077))
action filter_type
action find
entity Q7299222
relation P106
type Q12737077
['Q7299222', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q7299222 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Raymond Webber
action filter_type
action find
entity Raymond Webber
relation occupation
type occupation
['Raymond Webber', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Raymond_Webber property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q19204627
SYSTEM
American football player
Q19204627
(Q7299222,P106,c(Q12737077))
action filter_type
action find
entity Q7299222
relation P106
type Q12737077
The job of Raymond Webber is an [ANSWER]
['Q7299222', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q7299222 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
American football player
The job of Raymond Webber is an American football player
American football player
action filter_type
action find
entity Raymond Webber
relation occupation
type occupation
['Raymond Webber', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Raymond_Webber property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19204627
P425
Q349
USER
Who 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 ?s WHERE { resource:Q19204627 property:P425 ?s . ?s rdf:type ontology:Q349 }
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 ?s WHERE { resource:American_football_player property:field_of_this_occupation ?s . ?s rdf:type ontology:sport }
[]
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 ?s WHERE { resource:Q19204627 property:P425 ?s . ?s rdf:type ontology:Q349 }
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 ?s WHERE { resource:American_football_player property:field_of_this_occupation ?s . ?s rdf:type ontology:sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P101
Q349 Q2342494 Q502895
USER
Which sports are the field of work of less number of collectables and people than that sport ?
(c(Q2342494)|c(Q502895),P101,c(Q349))
action less
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action find_reverse_tuple_counts
relation P101
type Q349
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q41323
relation P101
type Q2342494
type Q502895
[[{'concept': 'Q2342494'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?d WHERE { ?k rdf:type ?g . VALUES ( ?g ) { ( ontology:Q502895 ) ( ontology:Q2342494 ) } } GROUP BY ?d } . FILTER ( ?s < ?c ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { ?u property:P101 resource:Q41323 . { { ?u rdf:type ontology:Q502895 } UNION { ?u rdf:type ontology:Q2342494 } } } } }
action less
action union
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action find_reverse_tuple_counts
relation field of work
type sport
type common name
action count
action filter_multi_types
action find_reverse
entity American football
relation field of work
type collectable
type common name
[[{'concept': 'collectable'}, {'concept': 'common name'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?d WHERE { ?k rdf:type ?g . VALUES ( ?g ) { ( ontology:common_name ) ( ontology:collectable ) } } GROUP BY ?d } . FILTER ( ?s < ?c ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { ?u property:field_of_work resource:American_football . { { ?u rdf:type ontology:common_name } UNION { ?u rdf:type ontology:collectable } } } } }
[]
sport collectable common name
Q809831 Q136851 Q1109032
SYSTEM
BASE jumping, curling, college football
Q136851 Q1109032 Q22857 Q14300548 Q12100 Q8418 Q15991265 Q2215841 Q108429 Q592031 Q7707 Q809831 Q847 Q3177899 Q177275 Q42486 Q5372 Q2167372 Q130949 Q1497658 Q178678 Q41466 Q114466 Q328716 Q131359 Q2922870 Q204686 Q11420 Q1541373
(c(Q2342494)|c(Q502895),P101,c(Q349))
action less
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action find_reverse_tuple_counts
relation P101
type Q349
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q41323
relation P101
type Q2342494
type Q502895
[ANSWERS] are the field of work of less number of collectables and people than that sport
[[{'concept': 'Q2342494'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?d WHERE { ?k rdf:type ?g . VALUES ( ?g ) { ( ontology:Q502895 ) ( ontology:Q2342494 ) } } GROUP BY ?d } . FILTER ( ?s < ?c ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { ?u property:P101 resource:Q41323 . { { ?u rdf:type ontology:Q502895 } UNION { ?u rdf:type ontology:Q2342494 } } } } }
curling college football climbing skating fencing handball amateur football cycle sport archery wingsuit flying water polo BASE jumping tennis bowling bobsleigh wrestling basketball fell running skiing memory sport kick boxing ice hockey mixed martial arts motorcycle sport professional wrestling boxe winter sport judo sport climbing
BASE jumping, curling and college football are the field of work of less number of collectables and people than that sport
BASE jumping curling college football
action less
action union
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action find_reverse_tuple_counts
relation field of work
type sport
type common name
action count
action filter_multi_types
action find_reverse
entity American football
relation field of work
type collectable
type common name
[[{'concept': 'collectable'}, {'concept': 'common name'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?d WHERE { ?k rdf:type ?g . VALUES ( ?g ) { ( ontology:common_name ) ( ontology:collectable ) } } GROUP BY ?d } . FILTER ( ?s < ?c ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { ?u property:field_of_work resource:American_football . { { ?u rdf:type ontology:common_name } UNION { ?u rdf:type ontology:collectable } } } } }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P101
Q349 Q2342494
USER
How many sports are the area of approximately the same number of collectables as that sport ?
(c(Q2342494),P101,c(Q349))
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q1567764 }
[{'concept': 'collectable'}, 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:sport }
[]
sport collectable
Comparative|Count over More/Less|Single entity type|Clarification
Q809831
SYSTEM
Did you mean BASE jumping ?
(c(Q2342494),P101,c(Q349))
[ANSWER]
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q1567764 }
Did you mean BASE jumping ?
BASE jumping
[{'concept': 'collectable'}, 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:sport }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q2342494),P101,c(Q349))
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q349'}]
[{'concept': 'collectable'}, 'field of work', {'concept': 'sport'}]
[]
SYSTEM
40
Q10962 Q136851 Q43450 Q4543 Q170737 Q5375 Q22857 Q14300548 Q1734 Q31920 Q12100 Q8418 Q15991265 Q2215841 Q500050 Q108429 Q592031 Q7707 Q809831 Q847 Q3177899 Q2736 Q177275 Q42486 Q5372 Q2167372 Q130949 Q1497658 Q178678 Q41466 Q114466 Q328716 Q131359 Q201965 Q2922870 Q204686 Q11420 Q124100 Q1541373 Q41323
(c(Q2342494),P101,c(Q349))
[ANSWER]
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q1567764 }
rugby league curling gymnastics beach volleyball long jump cricket climbing skating volleyball swimming fencing handball amateur football cycle sport cross country running archery wingsuit flying water polo BASE jumping tennis bowling association football bobsleigh wrestling basketball fell running skiing memory sport kick boxing ice hockey mixed martial arts motorcycle sport professional wrestling Nordic combined boxe winter sport judo bodybuilding sport climbing American football
40
[{'concept': 'collectable'}, 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P276
Q3914
USER
Which schools are situated at United States of America ?
(c(Q3914),P276,Q30)
action filter_type
action find_reverse
entity Q30
relation P276
type Q3914
[{'concept': 'Q3914'}, 'P276', 'Q30']
SELECT DISTINCT ?l WHERE { ?l property:P276 resource:Q30 . ?l rdf:type ontology:Q3914 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation location
type school
[{'concept': 'school'}, 'location', 'United States of America']
SELECT DISTINCT ?l WHERE { ?l property:location resource:United_States_of_America . ?l rdf:type ontology:school }
[]
school
Q23303133 Q26248553
SYSTEM
Jake Jabs College of Business and Entrepreneurship, The Graduate School at Montana State University
Q23303133 Q26248553
(c(Q3914),P276,Q30)
action filter_type
action find_reverse
entity Q30
relation P276
type Q3914
[ANSWERS] are situated at United States of America
[{'concept': 'Q3914'}, 'P276', 'Q30']
SELECT DISTINCT ?l WHERE { ?l property:P276 resource:Q30 . ?l rdf:type ontology:Q3914 }
Jake Jabs College of Business and Entrepreneurship The Graduate School at Montana State University
Jake Jabs College of Business and Entrepreneurship and The Graduate School at Montana State University are situated at United States of America
Jake Jabs College of Business and Entrepreneurship The Graduate School at Montana State University
action filter_type
action find_reverse
entity United States of America
relation location
type school
[{'concept': 'school'}, 'location', 'United States of America']
SELECT DISTINCT ?l WHERE { ?l property:location resource:United_States_of_America . ?l rdf:type ontology:school }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q23303133 Q26248553
P276
Q56061
USER
Which administrative territories are the locations of those schools ?
(Q23303133,P276,c(Q56061)) (Q26248553,P276,c(Q56061))
action filter_type
action find
entity prev_answer
relation P276
type Q56061
['Q23303133', 'P276', {'concept': 'Q56061'}] ['Q26248553', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?u property:P276 ?i . ?i rdf:type ontology:Q56061 . VALUES ( ?u ) { ( resource:Q23303133 ) ( resource:Q26248553 ) } }
Jake Jabs College of Business and Entrepreneurship The Graduate School at Montana State University
action filter_type
action find
entity prev_answer
relation location
type administrative territorial entity
['Jake Jabs College of Business and Entrepreneurship', 'location', {'concept': 'administrative territorial entity'}] ['The Graduate School at Montana State University', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?u property:location ?i . ?i rdf:type ontology:administrative_territorial_entity . VALUES ( ?u ) { ( resource:Jake_Jabs_College_of_Business_and_Entrepreneurship ) ( resource:The_Graduate_School_at_Montana_State_University ) } }
[]
administrative territorial entity
Q569678 Q569678
SYSTEM
Bozeman
Q569678 Q569678
(Q23303133,P276,c(Q56061)) (Q26248553,P276,c(Q56061))
action filter_type
action find
entity prev_answer
relation P276
type Q56061
[ANSWER] and [ANSWER] are the locations of those schools
['Q23303133', 'P276', {'concept': 'Q56061'}] ['Q26248553', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?u property:P276 ?i . ?i rdf:type ontology:Q56061 . VALUES ( ?u ) { ( resource:Q23303133 ) ( resource:Q26248553 ) } }
Bozeman Bozeman
Bozeman and Bozeman are the locations of those schools
Bozeman Bozeman
action filter_type
action find
entity prev_answer
relation location
type administrative territorial entity
['Jake Jabs College of Business and Entrepreneurship', 'location', {'concept': 'administrative territorial entity'}] ['The Graduate School at Montana State University', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?u property:location ?i . ?i rdf:type ontology:administrative_territorial_entity . VALUES ( ?u ) { ( resource:Jake_Jabs_College_of_Business_and_Entrepreneurship ) ( resource:The_Graduate_School_at_Montana_State_University ) } }
[]