Simple Question (Direct)
Simple Question
Q1713123
P102
Q7210356
USER
Which political organization is William Madison Whittington a member of ?
(Q1713123,P102,c(Q7210356))
action filter_type
action find
entity Q1713123
relation P102
type Q7210356
['Q1713123', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { resource:Q1713123 property:P102 ?x . ?x rdf:type ontology:Q7210356 }
William Madison Whittington
action filter_type
action find
entity William Madison Whittington
relation member of political party
type political organization
['William Madison Whittington', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { resource:William_Madison_Whittington property:member_of_political_party ?x . ?x rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q1713123,P102,c(Q7210356))
action filter_type
action find
entity Q1713123
relation P102
type Q7210356
Party [ANSWER] is William Madison Whittington a member of
['Q1713123', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { resource:Q1713123 property:P102 ?x . ?x rdf:type ontology:Q7210356 }
Democratic Party
Party Democratic Party is William Madison Whittington a member of
Democratic Party
action filter_type
action find
entity William Madison Whittington
relation member of political party
type political organization
['William Madison Whittington', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { resource:William_Madison_Whittington property:member_of_political_party ?x . ?x rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1713123
P27
Q15617994
USER
Which administrative territory does William Madison Whittington belong to ?
(Q1713123,P27,c(Q15617994))
action filter_type
action find
entity Q1713123
relation P27
type Q15617994
['Q1713123', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q1713123 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
William Madison Whittington
action filter_type
action find
entity William Madison Whittington
relation country of citizenship
type designation for an administrative territorial entity
['William Madison Whittington', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:William_Madison_Whittington property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1713123,P27,c(Q15617994))
action filter_type
action find
entity Q1713123
relation P27
type Q15617994
William Madison Whittington belongs to [ANSWER]
['Q1713123', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q1713123 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
United States of America
William Madison Whittington belongs to United States of America
United States of America
action filter_type
action find
entity William Madison Whittington
relation country of citizenship
type designation for an administrative territorial entity
['William Madison Whittington', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:William_Madison_Whittington property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P1346
Q15061650
USER
Which golf tournaments were won by that administrative territory ?
(c(Q15061650),P1346,Q30)
action filter_type
action find_reverse
entity Q30
relation P1346
type Q15061650
[{'concept': 'Q15061650'}, 'P1346', 'Q30']
SELECT DISTINCT ?o WHERE { ?o property:P1346 resource:Q30 . ?o rdf:type ontology:Q15061650 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation winner
type golf tournament
[{'concept': 'golf tournament'}, 'winner', 'United States of America']
SELECT DISTINCT ?o WHERE { ?o property:winner resource:United_States_of_America . ?o rdf:type ontology:golf_tournament }
[]
golf tournament
Q4570452 Q3453897 Q600731
SYSTEM
1961 Ryder Cup, 1973 Ryder Cup, 1977 Ryder Cup
Q3453913 Q4571206 Q4570452 Q3453909 Q3453908 Q3453897 Q3943130 Q600731 Q3453900 Q3453902 Q14710308 Q4568450 Q4572000 Q3943117 Q919786 Q4569702 Q3943124 Q3453893 Q3943120 Q3943123 Q3943125 Q3453896 Q3943127 Q3943126 Q3453899 Q3453898
(c(Q15061650),P1346,Q30)
action filter_type
action find_reverse
entity Q30
relation P1346
type Q15061650
[ANSWERS] were won by that administrative territory
[{'concept': 'Q15061650'}, 'P1346', 'Q30']
SELECT DISTINCT ?o WHERE { ?o property:P1346 resource:Q30 . ?o rdf:type ontology:Q15061650 }
1999 Ryder Cup 1963 Ryder Cup 1961 Ryder Cup 1993 Ryder Cup 1991 Ryder Cup 1973 Ryder Cup 1953 Ryder Cup 1977 Ryder Cup 1981 Ryder Cup 1983 Ryder Cup 1967 Ryder Cup 1955 Ryder Cup 1965 Ryder Cup 1927 Ryder Cup 2008 Ryder Cup 1959 Ryder Cup 1937 Ryder Cup 1969 Ryder Cup 1931 Ryder Cup 1935 Ryder Cup 1947 Ryder Cup 1971 Ryder Cup 1951 Ryder Cup 1949 Ryder Cup 1979 Ryder Cup 1975 Ryder Cup
1961 Ryder Cup, 1973 Ryder Cup and 1977 Ryder Cup were won by that administrative territory
1961 Ryder Cup 1973 Ryder Cup 1977 Ryder Cup
action filter_type
action find_reverse
entity United States of America
relation winner
type golf tournament
[{'concept': 'golf tournament'}, 'winner', 'United States of America']
SELECT DISTINCT ?o WHERE { ?o property:winner resource:United_States_of_America . ?o rdf:type ontology:golf_tournament }
[]
Clarification
Simple Question|Single Entity|Indirect
Q600731
P641
Q349
USER
Which sport was that golf tournament a part of ?
(Q600731,P641,c(Q349))
action filter_type
action find
entity Q600731
relation P641
type Q349
['Q600731', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q600731 property:P641 ?z . ?z rdf:type ontology:Q349 }
1977 Ryder Cup
action filter_type
action find
entity 1977 Ryder Cup
relation sport
type sport
['1977 Ryder Cup', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:1977_Ryder_Cup property:sport ?z . ?z rdf:type ontology:sport }
[]
sport
Clarification for simple ques.
Q3453897
SYSTEM
Did you mean 1973 Ryder Cup ?
Q4570452 Q3453897 Q600731
(Q4570452,P641,c(Q349)) (Q3453897,P641,c(Q349)) (Q600731,P641,c(Q349))
[ANSWER]
['Q4570452', 'P641', {'concept': 'Q349'}] ['Q3453897', 'P641', {'concept': 'Q349'}] ['Q600731', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q600731 property:P641 ?z . ?z rdf:type ontology:Q349 }
1961 Ryder Cup 1973 Ryder Cup 1977 Ryder Cup
Did you mean 1973 Ryder Cup ?
1973 Ryder Cup
['1961 Ryder Cup', 'sport', {'concept': 'sport'}] ['1973 Ryder Cup', 'sport', {'concept': 'sport'}] ['1977 Ryder Cup', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:1977_Ryder_Cup property:sport ?z . ?z rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
USER
No, I meant 1977 Ryder Cup. Could you tell me the answer for that?
(Q600731,P641,c(Q349))
Q600731
['Q600731', 'P641', {'concept': 'Q349'}]
['1977 Ryder Cup', 'sport', {'concept': 'sport'}]
[]
Q5377
SYSTEM
golf
Q5377
(Q600731,P641,c(Q349))
action filter_type
action find
entity Q600731
relation P641
type Q349
The [ANSWER] was that [ANSWER] tournament a part of
['Q600731', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q600731 property:P641 ?z . ?z rdf:type ontology:Q349 }
golf
The golf was that golf tournament a part of
golf
action filter_type
action find
entity 1977 Ryder Cup
relation sport
type sport
['1977 Ryder Cup', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:1977_Ryder_Cup property:sport ?z . ?z rdf:type ontology:sport }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories holds diplomatic relationship with min number of administrative territories ?
(c(Q15617994),P530,Q953)
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?g ) WHERE { ?r rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 . ?r property:P530 ?m } GROUP BY ?r } . FILTER ( ?g = ?q ) . { SELECT DISTINCT ( MIN ( ?d ) AS ?q ) { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?d ) WHERE { ?a property:P530 ?s . ?a rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?a } } }
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?g ) WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:diplomatic_relation ?m } GROUP BY ?r } . FILTER ( ?g = ?q ) . { SELECT DISTINCT ( MIN ( ?d ) AS ?q ) { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?d ) WHERE { ?a property:diplomatic_relation ?s . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q929 Q29999 Q232
SYSTEM
Central African Republic, Kingdom of the Netherlands, Kazakhstan
Q702 Q804 Q265 Q712 Q837 Q242 Q811 Q929 Q29999 Q854 Q730 Q232 Q1027 Q1032 Q697 Q695 Q754 Q912 Q683 Q836 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,Q953)
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[ANSWERS] hold diplomatic relationship with min number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?g ) WHERE { ?r rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 . ?r property:P530 ?m } GROUP BY ?r } . FILTER ( ?g = ?q ) . { SELECT DISTINCT ( MIN ( ?d ) AS ?q ) { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?d ) WHERE { ?a property:P530 ?s . ?a rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?a } } }
Federated States of Micronesia Panama Uzbekistan Fiji Nepal Belize Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Suriname Kazakhstan Mauritius Niger Nauru Palau Trinidad and Tobago Mali Samoa Myanmar Kuwait Madagascar Togo Tonga New Caledonia
Central African Republic, Kingdom of the Netherlands and Kazakhstan hold diplomatic relationship with min number of administrative territories
Central African Republic Kingdom of the Netherlands Kazakhstan
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?g ) WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:diplomatic_relation ?m } GROUP BY ?r } . FILTER ( ?g = ?q ) . { SELECT DISTINCT ( MIN ( ?d ) AS ?q ) { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?d ) WHERE { ?a property:diplomatic_relation ?s . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q929 Q29999 Q232
P17
Q14524493
USER
Which terrains are situated in those administrative territories ?
(c(Q14524493),P17,Q929) (c(Q14524493),P17,Q29999) (c(Q14524493),P17,Q232)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q14524493
[{'concept': 'Q14524493'}, 'P17', 'Q929'] [{'concept': 'Q14524493'}, 'P17', 'Q29999'] [{'concept': 'Q14524493'}, 'P17', 'Q232']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q14524493 . ?k property:P17 ?u . VALUES ( ?u ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q265 ) } }
Central African Republic Kingdom of the Netherlands Kazakhstan
action filter_type
action find_reverse
entity prev_answer
relation country
type terrain
[{'concept': 'terrain'}, 'country', 'Central African Republic'] [{'concept': 'terrain'}, 'country', 'Kingdom of the Netherlands'] [{'concept': 'terrain'}, 'country', 'Kazakhstan']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:terrain . ?k property:country ?u . VALUES ( ?u ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Uzbekistan ) } }
[]
terrain
Q2422162 Q8118701 Q5584346
SYSTEM
Mont Ngaoui, Sentry Hill, Gora Alagordy
Q2422162 Q1113780 Q22555266 Q8118701 Q20486118 Q5584346 Q3950946 Q608494 Q1795699 Q2619449 Q2496769 Q913329 Q27353973
(c(Q14524493),P17,Q929) (c(Q14524493),P17,Q29999) (c(Q14524493),P17,Q232)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q14524493
[ANSWERS] are situated in those administrative territories
[{'concept': 'Q14524493'}, 'P17', 'Q929'] [{'concept': 'Q14524493'}, 'P17', 'Q29999'] [{'concept': 'Q14524493'}, 'P17', 'Q232']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q14524493 . ?k property:P17 ?u . VALUES ( ?u ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q265 ) } }
Mont Ngaoui Mont Abourasséin Koulam Sentry Hill Mount Qwşıñ Gora Alagordy Sauyr Zhotasy Pik Talgar Kok Tobe Turgay Plateau Chuya Alps Ustyurt Plateau Gora Ak-Sorly
Mont Ngaoui, Sentry Hill and Gora Alagordy are situated in those administrative territories
Mont Ngaoui Sentry Hill Gora Alagordy
action filter_type
action find_reverse
entity prev_answer
relation country
type terrain
[{'concept': 'terrain'}, 'country', 'Central African Republic'] [{'concept': 'terrain'}, 'country', 'Kingdom of the Netherlands'] [{'concept': 'terrain'}, 'country', 'Kazakhstan']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:terrain . ?k property:country ?u . VALUES ( ?u ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Uzbekistan ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2422162 Q8118701 Q5584346
P17
Q15617994
USER
Which administrative territories are those terrains present in ?
(Q2422162,P17,c(Q15617994)) (Q8118701,P17,c(Q15617994)) (Q5584346,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q2422162', 'P17', {'concept': 'Q15617994'}] ['Q8118701', 'P17', {'concept': 'Q15617994'}] ['Q5584346', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?m property:P17 ?r . ?r rdf:type ontology:Q15617994 . VALUES ( ?m ) { ( resource:Q2422162 ) ( resource:Q1113780 ) ( resource:Q22555266 ) } }
Mont Ngaoui Sentry Hill Gora Alagordy
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Mont Ngaoui', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Sentry Hill', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Gora Alagordy', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?m property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?m ) { ( resource:Mont_Ngaoui ) ( resource:Mont_Abourasséin ) ( resource:Koulam ) } }
[]
designation for an administrative territorial entity
Q148 Q929 Q29999
SYSTEM
People's Republic of China, Central African Republic, Kingdom of the Netherlands
Q929 Q1009 Q29999 Q148 Q232
(Q2422162,P17,c(Q15617994)) (Q8118701,P17,c(Q15617994)) (Q5584346,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those terrains are the [ANSWERS]
['Q2422162', 'P17', {'concept': 'Q15617994'}] ['Q8118701', 'P17', {'concept': 'Q15617994'}] ['Q5584346', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?m property:P17 ?r . ?r rdf:type ontology:Q15617994 . VALUES ( ?m ) { ( resource:Q2422162 ) ( resource:Q1113780 ) ( resource:Q22555266 ) } }
Central African Republic Cameroon Kingdom of the Netherlands People's Republic of China Kazakhstan
Those terrains are the People's Republic of China, Central African Republic and Kingdom of the Netherlands
People's Republic of China Central African Republic Kingdom of the Netherlands
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Mont Ngaoui', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Sentry Hill', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Gora Alagordy', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?m property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?m ) { ( resource:Mont_Ngaoui ) ( resource:Mont_Abourasséin ) ( resource:Koulam ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q232
P30
Q2221906
USER
Which geographic locations are Kazakhstan a part of ?
(Q232,P30,c(Q2221906))
action filter_type
action find
entity Q232
relation P30
type Q2221906
['Q232', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { resource:Q232 property:P30 ?y . ?y rdf:type ontology:Q2221906 }
Kazakhstan
action filter_type
action find
entity Kazakhstan
relation continent
type geographic location
['Kazakhstan', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { resource:Kazakhstan property:continent ?y . ?y rdf:type ontology:geographic_location }
[]
geographic location
Q46 Q48
SYSTEM
Europe, Asia
Q46 Q48
(Q232,P30,c(Q2221906))
action filter_type
action find
entity Q232
relation P30
type Q2221906
[ANSWERS]
['Q232', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { resource:Q232 property:P30 ?y . ?y rdf:type ontology:Q2221906 }
Europe Asia
Which geographic locations are Kazakhstan a part of
Europe Asia
action filter_type
action find
entity Kazakhstan
relation continent
type geographic location
['Kazakhstan', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { resource:Kazakhstan property:continent ?y . ?y rdf:type ontology:geographic_location }
[]