Simple Question (Direct)
Simple Question
Q3446584
P27
Q15617994
USER
Which administrative territory does Rubén aguilar belong to ?
(Q3446584,P27,c(Q15617994))
action filter_type
action find
entity Q3446584
relation P27
type Q15617994
['Q3446584', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q3446584 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Rubén aguilar
action filter_type
action find
entity Rubén aguilar
relation country of citizenship
type designation for an administrative territorial entity
['Rubén aguilar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Rubén_aguilar property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96
SYSTEM
Mexico
Q96
(Q3446584,P27,c(Q15617994))
action filter_type
action find
entity Q3446584
relation P27
type Q15617994
Rubén aguilar belongs to [ANSWER]
['Q3446584', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q3446584 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Mexico
Rubén aguilar belongs to Mexico
Mexico
action filter_type
action find
entity Rubén aguilar
relation country of citizenship
type designation for an administrative territorial entity
['Rubén aguilar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Rubén_aguilar property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3446584
P1196
Q1931388
USER
What manner did that person die ?
(Q96,P1196,c(Q1931388))
action filter_type
action find
entity Q3446584
relation P1196
type Q1931388
['Q96', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?y WHERE { resource:Q3446584 property:P1196 ?y . ?y rdf:type ontology:Q1931388 }
Rubén aguilar
action filter_type
action find
entity Rubén aguilar
relation manner of death
type cause of death
['Mexico', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?y WHERE { resource:Rubén_aguilar property:manner_of_death ?y . ?y rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q96,P1196,c(Q1931388))
action filter_type
action find
entity Q3446584
relation P1196
type Q1931388
That person died in [ANSWER]
['Q96', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?y WHERE { resource:Q3446584 property:P1196 ?y . ?y rdf:type ontology:Q1931388 }
natural causes
That person died in natural causes
natural causes
action filter_type
action find
entity Rubén aguilar
relation manner of death
type cause of death
['Mexico', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?y WHERE { resource:Rubén_aguilar property:manner_of_death ?y . ?y rdf:type ontology:cause_of_death }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3446584
P21
Q290
USER
Which sex does that person possess ?
(Q3739104,P21,c(Q290))
action filter_type
action find
entity Q3446584
relation P21
type Q290
['Q3739104', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q3446584 property:P21 ?t . ?t rdf:type ontology:Q290 }
Rubén aguilar
action filter_type
action find
entity Rubén aguilar
relation gender
type sex
['natural causes', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Rubén_aguilar property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3739104,P21,c(Q290))
action filter_type
action find
entity Q3446584
relation P21
type Q290
That person possesses a [ANSWER]
['Q3739104', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q3446584 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Rubén aguilar
relation gender
type sex
['natural causes', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Rubén_aguilar property:gender ?t . ?t rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories holds diplomatic relationship with atmost 53 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 53
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?g <= 53 ) . { SELECT DISTINCT ?b ( COUNT ( ?i ) AS ?g ) WHERE { ?i property:P530 ?b . ?b rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?b } }
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 53
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?g <= 53 ) . { SELECT DISTINCT ?b ( COUNT ( ?i ) AS ?g ) WHERE { ?i property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q30 Q230 Q159
SYSTEM
United States of America, Georgia, Russia
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 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 atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 53
[ANSWERS] hold diplomatic relationship with atmost 53 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?g <= 53 ) . { SELECT DISTINCT ?b ( COUNT ( ?i ) AS ?g ) WHERE { ?i property:P530 ?b . ?b rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?b } }
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 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
United States of America, Georgia and Russia hold diplomatic relationship with atmost 53 administrative territories
United States of America Georgia Russia
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 53
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?g <= 53 ) . { SELECT DISTINCT ?b ( COUNT ( ?i ) AS ?g ) WHERE { ?i property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q96
P530
Q1048835 Q15617994
USER
How many political territories or administrative territories have diplomatic relationships with Mexico ?
(Q96,P530,c(Q1048835)) (Q96,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q96
relation P530
type Q1048835
action filter_type
action find
entity Q96
relation P530
type Q15617994
['Q96', 'P530', {'concept': 'Q1048835'}] ['Q96', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { { resource:Q96 property:P530 ?l . ?l rdf:type ontology:Q1048835 } UNION { ?l rdf:type ontology:Q15617994 . resource:Q96 property:P530 ?l } }
Mexico
action count
action union
action filter_type
action find
entity Mexico
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Mexico
relation diplomatic relation
type designation for an administrative territorial entity
['Mexico', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Mexico', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { { resource:Mexico property:diplomatic_relation ?l . ?l rdf:type ontology:political_territorial_entity } UNION { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mexico property:diplomatic_relation ?l } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
4
Q155 Q408 Q38 Q183
(Q96,P530,c(Q1048835)) (Q96,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q96
relation P530
type Q1048835
action filter_type
action find
entity Q96
relation P530
type Q15617994
[ANSWER]
['Q96', 'P530', {'concept': 'Q1048835'}] ['Q96', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { { resource:Q96 property:P530 ?l . ?l rdf:type ontology:Q1048835 } UNION { ?l rdf:type ontology:Q15617994 . resource:Q96 property:P530 ?l } }
Brazil Australia Italy Germany
4
action count
action union
action filter_type
action find
entity Mexico
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Mexico
relation diplomatic relation
type designation for an administrative territorial entity
['Mexico', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Mexico', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { { resource:Mexico property:diplomatic_relation ?l . ?l rdf:type ontology:political_territorial_entity } UNION { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mexico property:diplomatic_relation ?l } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P1001
Q1292279
USER
Which political borders have jurisdiction over Russia ?
(c(Q1292279),P1001,Q159)
action filter_type
action find_reverse
entity Q159
relation P1001
type Q1292279
[{'concept': 'Q1292279'}, 'P1001', 'Q159']
SELECT DISTINCT ?l WHERE { ?l property:P1001 resource:Q159 . ?l rdf:type ontology:Q1292279 }
Russia
action filter_type
action find_reverse
entity Russia
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', 'Russia']
SELECT DISTINCT ?l WHERE { ?l property:applies_to_jurisdiction resource:Russia . ?l rdf:type ontology:political_border }
[]
political border
Q2629888 Q3081870 Q603662
SYSTEM
China–Russia border, Russia–United States border, Estonia–Russia border
Q3081870 Q603662 Q16025279 Q2576553 Q2630440 Q2629888 Q2629898 Q2661853 Q495735 Q4398223 Q16025263 Q2749127 Q3497695 Q4398224 Q771362 Q3088939 Q2453561 Q2658266 Q782109 Q631348
(c(Q1292279),P1001,Q159)
action filter_type
action find_reverse
entity Q159
relation P1001
type Q1292279
[ANSWERS] have jurisdiction over Russia
[{'concept': 'Q1292279'}, 'P1001', 'Q159']
SELECT DISTINCT ?l WHERE { ?l property:P1001 resource:Q159 . ?l rdf:type ontology:Q1292279 }
Russia–United States border Estonia–Russia border Russia–Turkey border Belarus–Russia border Latvia–Russia border China–Russia border Kazakhstan–Russia border Norway–Russia border Finland–Russia border South Ossetia–Russia border Russia–Sweden border Azerbaijan–Russia border Abkhazia–Russia border Japan–Russia border Mongolia–Russia border Georgia–Russia border Lithuania–Russia border Russia–Ukraine border Poland–Russia border North Korea–Russia border
China–Russia border, Russia–United States border and Estonia–Russia border have jurisdiction over Russia
China–Russia border Russia–United States border Estonia–Russia border
action filter_type
action find_reverse
entity Russia
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', 'Russia']
SELECT DISTINCT ?l WHERE { ?l property:applies_to_jurisdiction resource:Russia . ?l rdf:type ontology:political_border }
[]
Clarification
Simple Question|Single Entity|Indirect
Q603662
P17
Q15617994
USER
Which administrative territories are that political border a part of ?
(Q603662,P17,c(Q15617994))
action filter_type
action find
entity Q603662
relation P17
type Q15617994
['Q603662', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q603662 property:P17 ?x }
Estonia–Russia border
action filter_type
action find
entity Estonia–Russia border
relation country
type designation for an administrative territorial entity
['Estonia–Russia border', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Estonia–Russia_border property:country ?x }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q603662
SYSTEM
Did you mean Estonia–Russia border ?
Q2629888 Q3081870 Q603662
(Q2629888,P17,c(Q15617994)) (Q3081870,P17,c(Q15617994)) (Q603662,P17,c(Q15617994))
[ANSWER]
['Q2629888', 'P17', {'concept': 'Q15617994'}] ['Q3081870', 'P17', {'concept': 'Q15617994'}] ['Q603662', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q603662 property:P17 ?x }
China–Russia border Russia–United States border Estonia–Russia border
Did you mean Estonia–Russia border ?
Estonia–Russia border
['China–Russia border', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Russia–United States border', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Estonia–Russia border', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Estonia–Russia_border property:country ?x }
[]
Simple Question (Coreferenced)
USER
Yes
(Q603662,P17,c(Q15617994))
['Q603662', 'P17', {'concept': 'Q15617994'}]
['Estonia–Russia border', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q191 Q159
SYSTEM
Estonia, Russia
Q191 Q159
(Q603662,P17,c(Q15617994))
action filter_type
action find
entity Q603662
relation P17
type Q15617994
[ANSWERS] are that political border a part of
['Q603662', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q603662 property:P17 ?x }
Estonia Russia
Estonia and Russia are that political border a part of
Estonia Russia
action filter_type
action find
entity Estonia–Russia border
relation country
type designation for an administrative territorial entity
['Estonia–Russia border', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Estonia–Russia_border property:country ?x }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6913258
P530
Q15617994
USER
Do Morongo Unified School District have tactful political relations with those ones ?
(Q6913258,P530,Q191) (Q6913258,P530,Q159)
action is_in
entity prev_answer
action find
entity Q6913258
relation P530
['Q6913258', 'P530', 'Q191'] ['Q6913258', 'P530', 'Q159']
ASK WHERE { VALUES ( ?j ) { ( resource:Q191 ) ( resource:Q159 ) } . resource:Q6913258 property:P530 ?j }
Morongo Unified School District
action is_in
entity prev_answer
action find
entity Morongo Unified School District
relation diplomatic relation
['Morongo Unified School District', 'diplomatic relation', 'Estonia'] ['Morongo Unified School District', 'diplomatic relation', 'Russia']
ASK WHERE { VALUES ( ?j ) { ( resource:Estonia ) ( resource:Russia ) } . resource:Morongo_Unified_School_District property:diplomatic_relation ?j }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q6913258,P530,Q191) (Q6913258,P530,Q159)
action is_in
entity prev_answer
action find
entity Q6913258
relation P530
[ANSWER]
['Q6913258', 'P530', 'Q191'] ['Q6913258', 'P530', 'Q159']
ASK WHERE { VALUES ( ?j ) { ( resource:Q191 ) ( resource:Q159 ) } . resource:Q6913258 property:P530 ?j }
No
action is_in
entity prev_answer
action find
entity Morongo Unified School District
relation diplomatic relation
['Morongo Unified School District', 'diplomatic relation', 'Estonia'] ['Morongo Unified School District', 'diplomatic relation', 'Russia']
ASK WHERE { VALUES ( ?j ) { ( resource:Estonia ) ( resource:Russia ) } . resource:Morongo_Unified_School_District property:diplomatic_relation ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P101
Q502895
USER
Who works in the domain of United States of America ?
(c(Q502895),P101,Q30)
action filter_type
action find_reverse
entity Q30
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q30']
SELECT DISTINCT ?i WHERE { ?i property:P101 resource:Q30 . ?i rdf:type ontology:Q502895 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'United States of America']
SELECT DISTINCT ?i WHERE { ?i property:field_of_work resource:United_States_of_America . ?i rdf:type ontology:common_name }
[]
common name
Q498840
SYSTEM
David Janssen
Q498840
(c(Q502895),P101,Q30)
action filter_type
action find_reverse
entity Q30
relation P101
type Q502895
[ANSWER] works in the domain of United States of America
[{'concept': 'Q502895'}, 'P101', 'Q30']
SELECT DISTINCT ?i WHERE { ?i property:P101 resource:Q30 . ?i rdf:type ontology:Q502895 }
David Janssen
David Janssen works in the domain of United States of America
David Janssen
action filter_type
action find_reverse
entity United States of America
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'United States of America']
SELECT DISTINCT ?i WHERE { ?i property:field_of_work resource:United_States_of_America . ?i rdf:type ontology:common_name }
[]