Simple Question (Direct)
Simple Question
Q4911335
P27
Q15617994
USER
Which administrative territory is the native country of Bill Westwater ?
(Q4911335,P27,c(Q15617994))
action filter_type
action find
entity Q4911335
relation P27
type Q15617994
['Q4911335', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q4911335 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Bill Westwater
action filter_type
action find
entity Bill Westwater
relation country of citizenship
type designation for an administrative territorial entity
['Bill Westwater', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Bill_Westwater property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q4911335,P27,c(Q15617994))
action filter_type
action find
entity Q4911335
relation P27
type Q15617994
The [ANSWER] is the native country of Bill Westwater
['Q4911335', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q4911335 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
United Kingdom
The United Kingdom is the native country of Bill Westwater
United Kingdom
action filter_type
action find
entity Bill Westwater
relation country of citizenship
type designation for an administrative territorial entity
['Bill Westwater', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Bill_Westwater property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P610
Q16889133
USER
Which is the highest peak of that administrative territory ?
(Q145,P610,c(Q16889133))
action filter_type
action find
entity Q145
relation P610
type Q16889133
['Q145', 'P610', {'concept': 'Q16889133'}]
SELECT DISTINCT ?e WHERE { resource:Q145 property:P610 ?e . ?e rdf:type ontology:Q16889133 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation highest point
type class
['United Kingdom', 'highest point', {'concept': 'class'}]
SELECT DISTINCT ?e WHERE { resource:United_Kingdom property:highest_point ?e . ?e rdf:type ontology:class }
[]
class
Q104674
SYSTEM
Ben Nevis
Q104674
(Q145,P610,c(Q16889133))
action filter_type
action find
entity Q145
relation P610
type Q16889133
The highest peak of that administrative territory is Mount [ANSWER]
['Q145', 'P610', {'concept': 'Q16889133'}]
SELECT DISTINCT ?e WHERE { resource:Q145 property:P610 ?e . ?e rdf:type ontology:Q16889133 }
Ben Nevis
The highest peak of that administrative territory is Mount Ben Nevis
Ben Nevis
action filter_type
action find
entity United Kingdom
relation highest point
type class
['United Kingdom', 'highest point', {'concept': 'class'}]
SELECT DISTINCT ?e WHERE { resource:United_Kingdom property:highest_point ?e . ?e rdf:type ontology:class }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q22
Q16889133
USER
And how about Scotland?
(Q22,P610,c(Q16889133))
action filter_type
action find
entity Q22
relation P610
type Q16889133
['Q22', 'P610', {'concept': 'Q16889133'}]
SELECT DISTINCT ?h WHERE { resource:Q22 property:P610 ?h . ?h rdf:type ontology:Q16889133 }
Scotland
action filter_type
action find
entity Scotland
relation highest point
type class
['Scotland', 'highest point', {'concept': 'class'}]
SELECT DISTINCT ?h WHERE { resource:Scotland property:highest_point ?h . ?h rdf:type ontology:class }
[]
class
Q104674
SYSTEM
Ben Nevis
Q104674
(Q22,P610,c(Q16889133))
action filter_type
action find
entity Q22
relation P610
type Q16889133
[ANSWER]
['Q22', 'P610', {'concept': 'Q16889133'}]
SELECT DISTINCT ?h WHERE { resource:Q22 property:P610 ?h . ?h rdf:type ontology:Q16889133 }
Ben Nevis
Ben Nevis
action filter_type
action find
entity Scotland
relation highest point
type class
['Scotland', 'highest point', {'concept': 'class'}]
SELECT DISTINCT ?h WHERE { resource:Scotland property:highest_point ?h . ?h rdf:type ontology:class }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q104674 Q7170000
P17
Q15617994
USER
Does Ben Nevis belong to Perrysburg Exempted Village School District ?
(Q104674,P17,Q7170000)
action is_in
entity Q7170000
action find
entity Q104674
relation P17
['Q104674', 'P17', 'Q7170000']
ASK WHERE { resource:Q104674 property:P17 resource:Q7170000 }
Ben Nevis Perrysburg Exempted Village School District
action is_in
entity Perrysburg Exempted Village School District
action find
entity Ben Nevis
relation country
['Ben Nevis', 'country', 'Perrysburg Exempted Village School District']
ASK WHERE { resource:Ben_Nevis property:country resource:Perrysburg_Exempted_Village_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q104674,P17,Q7170000)
action is_in
entity Q7170000
action find
entity Q104674
relation P17
[ANSWER]
['Q104674', 'P17', 'Q7170000']
ASK WHERE { resource:Q104674 property:P17 resource:Q7170000 }
No
action is_in
entity Perrysburg Exempted Village School District
action find
entity Ben Nevis
relation country
['Ben Nevis', 'country', 'Perrysburg Exempted Village School District']
ASK WHERE { resource:Ben_Nevis property:country resource:Perrysburg_Exempted_Village_School_District }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q4911335 Q93715 Q5820251
P20
Q56061
USER
Does Bill Westwater have Treixedo and Deh-e Malek, Yazd as the area of death ?
(Q4911335,P20,Q93715) (Q4911335,P20,Q5820251)
action is_in
entity Q4911335
action intersection
action find_reverse
entity Q93715
relation P20
action find_reverse
entity Q5820251
relation P20
['Q4911335', 'P20', 'Q93715'] ['Q4911335', 'P20', 'Q5820251']
ASK WHERE { resource:Q4911335 property:P20 resource:Q5820251 . resource:Q4911335 property:P20 resource:Q93715 }
Bill Westwater Treixedo Deh-e Malek, Yazd
action is_in
entity Bill Westwater
action intersection
action find_reverse
entity Treixedo
relation place of death
action find_reverse
entity Deh-e Malek, Yazd
relation place of death
['Bill Westwater', 'place of death', 'Treixedo'] ['Bill Westwater', 'place of death', 'Deh-e Malek, Yazd']
ASK WHERE { resource:Bill_Westwater property:place_of_death resource:Deh-e_Malek,_Yazd . resource:Bill_Westwater property:place_of_death resource:Treixedo }
[]
administrative territorial entity
SYSTEM
NO
(Q4911335,P20,Q93715) (Q4911335,P20,Q5820251)
action is_in
entity Q4911335
action intersection
action find_reverse
entity Q93715
relation P20
action find_reverse
entity Q5820251
relation P20
[ANSWER]
['Q4911335', 'P20', 'Q93715'] ['Q4911335', 'P20', 'Q5820251']
ASK WHERE { resource:Q4911335 property:P20 resource:Q5820251 . resource:Q4911335 property:P20 resource:Q93715 }
No
action is_in
entity Bill Westwater
action intersection
action find_reverse
entity Treixedo
relation place of death
action find_reverse
entity Deh-e Malek, Yazd
relation place of death
['Bill Westwater', 'place of death', 'Treixedo'] ['Bill Westwater', 'place of death', 'Deh-e Malek, Yazd']
ASK WHERE { resource:Bill_Westwater property:place_of_death resource:Deh-e_Malek,_Yazd . resource:Bill_Westwater property:place_of_death resource:Treixedo }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4911335
P641
Q349
USER
Which sport was that person a part of ?
action filter_type
action find
entity Q4911335
relation P641
type Q349
SELECT DISTINCT ?k WHERE { resource:Q4911335 property:P641 ?k . ?k rdf:type ontology:Q349 }
Bill Westwater
action filter_type
action find
entity Bill Westwater
relation sport
type sport
SELECT DISTINCT ?k WHERE { resource:Bill_Westwater property:sport ?k . ?k rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
action filter_type
action find
entity Q4911335
relation P641
type Q349
Football [ANSWER] was that person a part of
SELECT DISTINCT ?k WHERE { resource:Q4911335 property:P641 ?k . ?k rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Bill Westwater
relation sport
type sport
SELECT DISTINCT ?k WHERE { resource:Bill_Westwater property:sport ?k . ?k rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories holds diplomatic relationship with atmost 65 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 65
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?n ) WHERE { ?o rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 . ?e property:P530 ?o } GROUP BY ?o } . FILTER ( ?n <= 65 ) }
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 65
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?n ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:diplomatic_relation ?o } GROUP BY ?o } . FILTER ( ?n <= 65 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
165
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 65
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?n ) WHERE { ?o rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 . ?e property:P530 ?o } GROUP BY ?o } . FILTER ( ?n <= 65 ) }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
165
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 65
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?n ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:diplomatic_relation ?o } GROUP BY ?o } . FILTER ( ?n <= 65 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relations with atmost 99 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 99
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?v ) WHERE { ?c property:P530 ?f . ?c rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q15617994 } GROUP BY ?c } . FILTER ( ?v <= 99 ) }
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 99
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?v ) WHERE { ?c property:diplomatic_relation ?f . ?c rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . FILTER ( ?v <= 99 ) }
[]
political territorial entity designation for an administrative territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 99
[ANSWERS] have diplomatic relations with atmost 99 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?v ) WHERE { ?c property:P530 ?f . ?c rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q15617994 } GROUP BY ?c } . FILTER ( ?v <= 99 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have diplomatic relations with atmost 99 administrative territories
Denmark Canada Austria
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 99
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?v ) WHERE { ?c property:diplomatic_relation ?f . ?c rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . FILTER ( ?v <= 99 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16
P6
Q502895
USER
Which people do Canada serve as the head of government for ?
(Q16,P6,c(Q502895))
action filter_type
action find
entity Q16
relation P6
type Q502895
['Q16', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q16 property:P6 ?b . ?b rdf:type ontology:Q502895 }
Canada
action filter_type
action find
entity Canada
relation head of government
type common name
['Canada', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Canada property:head_of_government ?b . ?b rdf:type ontology:common_name }
[]
common name
Q3099714 Q128702 Q206
SYSTEM
Justin Trudeau, John A. Macdonald, Stephen Harper
Q3099714 Q206 Q128708 Q128702
(Q16,P6,c(Q502895))
action filter_type
action find
entity Q16
relation P6
type Q502895
Canada serve as the head of government for [ANSWERS]
['Q16', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q16 property:P6 ?b . ?b rdf:type ontology:Q502895 }
Justin Trudeau Stephen Harper Alexander Mackenzie John A. Macdonald
Canada serve as the head of government for Justin Trudeau, John A. Macdonald and Stephen Harper
Justin Trudeau John A. Macdonald Stephen Harper
action filter_type
action find
entity Canada
relation head of government
type common name
['Canada', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Canada property:head_of_government ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1620185
Q502895
USER
And what about Laxe?
(Q1620185,P6,c(Q502895))
action filter_type
action find
entity Q1620185
relation P6
type Q502895
['Q1620185', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1620185 property:P6 ?c . ?c rdf:type ontology:Q502895 }
Laxe
action filter_type
action find
entity Laxe
relation head of government
type common name
['Laxe', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Laxe property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]
common name
Q12383055
SYSTEM
Antonio Carracedo Sacedón
Q12383055
(Q1620185,P6,c(Q502895))
action filter_type
action find
entity Q1620185
relation P6
type Q502895
[ANSWER]
['Q1620185', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1620185 property:P6 ?c . ?c rdf:type ontology:Q502895 }
Antonio Carracedo Sacedón
Antonio Carracedo Sacedón
action filter_type
action find
entity Laxe
relation head of government
type common name
['Laxe', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Laxe property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]