Simple Question (Direct)
Simple Question
Q6196341
P641
Q349
USER
Which sport did Jim Leavins participate in ?
(Q6196341,P641,c(Q349))
action filter_type
action find
entity Q6196341
relation P641
type Q349
['Q6196341', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q6196341 property:P641 ?q . ?q rdf:type ontology:Q349 }
Jim Leavins
action filter_type
action find
entity Jim Leavins
relation sport
type sport
['Jim Leavins', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Jim_Leavins property:sport ?q . ?q rdf:type ontology:sport }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q6196341,P641,c(Q349))
action filter_type
action find
entity Q6196341
relation P641
type Q349
Jim Leavins participated in [ANSWER]
['Q6196341', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q6196341 property:P641 ?q . ?q rdf:type ontology:Q349 }
ice hockey
Jim Leavins participated in ice hockey
ice hockey
action filter_type
action find
entity Jim Leavins
relation sport
type sport
['Jim Leavins', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Jim_Leavins property:sport ?q . ?q rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6196341
P106
Q12737077
USER
What is the profession of Jim Leavins ?
(Q6196341,P106,c(Q12737077))
action filter_type
action find
entity Q6196341
relation P106
type Q12737077
['Q6196341', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q6196341 property:P106 ?m }
Jim Leavins
action filter_type
action find
entity Jim Leavins
relation occupation
type occupation
['Jim Leavins', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Jim_Leavins property:occupation ?m }
[]
occupation
Q11774891
SYSTEM
ice hockey player
Q11774891
(Q6196341,P106,c(Q12737077))
action filter_type
action find
entity Q6196341
relation P106
type Q12737077
The profession of Jim Leavins is an [ANSWER]
['Q6196341', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q6196341 property:P106 ?m }
ice hockey player
The profession of Jim Leavins is an ice hockey player
ice hockey player
action filter_type
action find
entity Jim Leavins
relation occupation
type occupation
['Jim Leavins', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Jim_Leavins property:occupation ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6196341
P54
Q12973014
USER
Which sports teams are that person a member of ?
(Q11774891,P54,c(Q12973014))
action filter_type
action find
entity Q6196341
relation P54
type Q12973014
['Q11774891', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12973014 . resource:Q6196341 property:P54 ?w }
Jim Leavins
action filter_type
action find
entity Jim Leavins
relation member of sports team
type sports team
['ice hockey player', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sports_team . resource:Jim_Leavins property:member_of_sports_team ?w }
[]
sports team
Q194116 Q188984 Q1438814
SYSTEM
Detroit Red Wings, New York Rangers, Fort Wayne Komets
Q194116 Q188984 Q1438814
(Q11774891,P54,c(Q12973014))
action filter_type
action find
entity Q6196341
relation P54
type Q12973014
[ANSWERS] are that person a member of
['Q11774891', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12973014 . resource:Q6196341 property:P54 ?w }
Detroit Red Wings New York Rangers Fort Wayne Komets
Detroit Red Wings, New York Rangers and Fort Wayne Komets are that person a member of
Detroit Red Wings New York Rangers Fort Wayne Komets
action filter_type
action find
entity Jim Leavins
relation member of sports team
type sports team
['ice hockey player', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sports_team . resource:Jim_Leavins property:member_of_sports_team ?w }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16728409
P54
Q502895
USER
Are Ayisha Davies a member of those sports teams ?
(Q16728409,P54,Q194116) (Q16728409,P54,Q188984) (Q16728409,P54,Q1438814)
action is_in
entity prev_answer
action find
entity Q16728409
relation P54
['Q16728409', 'P54', 'Q194116'] ['Q16728409', 'P54', 'Q188984'] ['Q16728409', 'P54', 'Q1438814']
ASK WHERE { resource:Q16728409 property:P54 ?y . VALUES ( ?y ) { ( resource:Q194116 ) ( resource:Q188984 ) ( resource:Q1438814 ) } }
Ayisha Davies
action is_in
entity prev_answer
action find
entity Ayisha Davies
relation member of sports team
['Ayisha Davies', 'member of sports team', 'Detroit Red Wings'] ['Ayisha Davies', 'member of sports team', 'New York Rangers'] ['Ayisha Davies', 'member of sports team', 'Fort Wayne Komets']
ASK WHERE { resource:Ayisha_Davies property:member_of_sports_team ?y . VALUES ( ?y ) { ( resource:Detroit_Red_Wings ) ( resource:New_York_Rangers ) ( resource:Fort_Wayne_Komets ) } }
[]
common name
SYSTEM
NO
(Q16728409,P54,Q194116) (Q16728409,P54,Q188984) (Q16728409,P54,Q1438814)
action is_in
entity prev_answer
action find
entity Q16728409
relation P54
[ANSWER]
['Q16728409', 'P54', 'Q194116'] ['Q16728409', 'P54', 'Q188984'] ['Q16728409', 'P54', 'Q1438814']
ASK WHERE { resource:Q16728409 property:P54 ?y . VALUES ( ?y ) { ( resource:Q194116 ) ( resource:Q188984 ) ( resource:Q1438814 ) } }
No
action is_in
entity prev_answer
action find
entity Ayisha Davies
relation member of sports team
['Ayisha Davies', 'member of sports team', 'Detroit Red Wings'] ['Ayisha Davies', 'member of sports team', 'New York Rangers'] ['Ayisha Davies', 'member of sports team', 'Fort Wayne Komets']
ASK WHERE { resource:Ayisha_Davies property:member_of_sports_team ?y . VALUES ( ?y ) { ( resource:Detroit_Red_Wings ) ( resource:New_York_Rangers ) ( resource:Fort_Wayne_Komets ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2128311 Q6196341
P27
Q1048835
USER
Which political territories are Jim Leavins or Rainer Neutzling an inhabitant of ?
OR((Q6196341,P27,c(Q1048835)), (Q2128311,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q6196341
relation P27
action find
entity Q2128311
relation P27
type Q1048835
{'OR': [['Q6196341', 'P27', {'concept': 'Q1048835'}], ['Q2128311', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?q ) { ( resource:Q6196341 ) ( resource:Q2128311 ) } . ?q property:P27 ?x } . ?x rdf:type ontology:Q1048835 }
Rainer Neutzling Jim Leavins
action filter_type
action union
action find
entity Jim Leavins
relation country of citizenship
action find
entity Rainer Neutzling
relation country of citizenship
type political territorial entity
{'OR': [['Jim Leavins', 'country of citizenship', {'concept': 'political territorial entity'}], ['Rainer Neutzling', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?q ) { ( resource:Jim_Leavins ) ( resource:Rainer_Neutzling ) } . ?q property:country_of_citizenship ?x } . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q183
SYSTEM
Canada, Germany
Q16 Q183
OR((Q6196341,P27,c(Q1048835)), (Q2128311,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q6196341
relation P27
action find
entity Q2128311
relation P27
type Q1048835
[ANSWERS] are Jim Leavins or Rainer Neutzling an inhabitant of
{'OR': [['Q6196341', 'P27', {'concept': 'Q1048835'}], ['Q2128311', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?q ) { ( resource:Q6196341 ) ( resource:Q2128311 ) } . ?q property:P27 ?x } . ?x rdf:type ontology:Q1048835 }
Canada Germany
Canada and Germany are Jim Leavins or Rainer Neutzling an inhabitant of
Canada Germany
action filter_type
action union
action find
entity Jim Leavins
relation country of citizenship
action find
entity Rainer Neutzling
relation country of citizenship
type political territorial entity
{'OR': [['Jim Leavins', 'country of citizenship', {'concept': 'political territorial entity'}], ['Rainer Neutzling', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?q ) { ( resource:Jim_Leavins ) ( resource:Rainer_Neutzling ) } . ?q property:country_of_citizenship ?x } . ?x rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which administrative territories have diplomatic relations with approximately 4 political territories ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 4
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?n = 4 ) . { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?n ) WHERE { ?y property:P530 ?s . ?s rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 } GROUP BY ?y } }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 4
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?n = 4 ) . { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?n ) WHERE { ?y property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } }
[]
political territorial entity designation for an administrative territorial entity
Q155 Q30 Q159
SYSTEM
Brazil, United States of America, Russia
Q801 Q142 Q145 Q711 Q252 Q403 Q258 Q159 Q43 Q155 Q889 Q884 Q33 Q30 Q36 Q34 Q39 Q739 Q423 Q851 Q20 Q27 Q843 Q1029 Q229 Q1030 Q115 Q114 Q212 Q218 Q833 Q79 Q77 Q878 Q953
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 4
[ANSWERS] have diplomatic relations with approximately 4 political territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?n = 4 ) . { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?n ) WHERE { ?y property:P530 ?s . ?s rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 } GROUP BY ?y } }
Israel France United Kingdom Mongolia Indonesia Serbia South Africa Russia Turkey Brazil Afghanistan South Korea Finland United States of America Poland Sweden Switzerland Colombia North Korea Saudi Arabia Norway Ireland Pakistan Mozambique Cyprus Namibia Ethiopia Kenya Ukraine Romania Malaysia Egypt Uruguay United Arab Emirates Zambia
Brazil, United States of America and Russia have diplomatic relations with approximately 4 political territories
Brazil United States of America Russia
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 4
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?n = 4 ) . { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?n ) WHERE { ?y property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with atmost 65 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 65
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?z ) WHERE { ?j property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?f } . FILTER ( ?z <= 65 ) }
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 ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?z ) WHERE { ?j property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . FILTER ( ?z <= 65 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q155 Q30 Q230
SYSTEM
Brazil, United States of America, Georgia
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 atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 65
[ANSWERS] have diplomatic relationships with atmost 65 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?z ) WHERE { ?j property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?f } . FILTER ( ?z <= 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
Brazil, United States of America and Georgia have diplomatic relationships with atmost 65 administrative territories
Brazil United States of America Georgia
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 ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?z ) WHERE { ?j property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . FILTER ( ?z <= 65 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2128311
P27
Q1048835
USER
How many political territories are the countries of citizenship of Rainer Neutzling ?
(Q2128311,P27,c(Q1048835))
action count
action filter_type
action find
entity Q2128311
relation P27
type Q1048835
['Q2128311', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { resource:Q2128311 property:P27 ?n . ?n rdf:type ontology:Q1048835 }
Rainer Neutzling
action count
action filter_type
action find
entity Rainer Neutzling
relation country of citizenship
type political territorial entity
['Rainer Neutzling', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { resource:Rainer_Neutzling property:country_of_citizenship ?n . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q183
(Q2128311,P27,c(Q1048835))
action count
action filter_type
action find
entity Q2128311
relation P27
type Q1048835
[ANSWER]
['Q2128311', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { resource:Q2128311 property:P27 ?n . ?n rdf:type ontology:Q1048835 }
Germany
1
action count
action filter_type
action find
entity Rainer Neutzling
relation country of citizenship
type political territorial entity
['Rainer Neutzling', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { resource:Rainer_Neutzling property:country_of_citizenship ?n . ?n rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q2107370
P27
Q1048835
USER
And how about Siona Fernandez?
(Q2107370,P27,c(Q1048835))
action count
action filter_type
action find
entity Q2107370
relation P27
type Q1048835
['Q2107370', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { resource:Q2107370 property:P27 ?i . ?i rdf:type ontology:Q1048835 }
Siona Fernandez
action count
action filter_type
action find
entity Siona Fernandez
relation country of citizenship
type political territorial entity
['Siona Fernandez', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { resource:Siona_Fernandez property:country_of_citizenship ?i . ?i rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q664
(Q2107370,P27,c(Q1048835))
action count
action filter_type
action find
entity Q2107370
relation P27
type Q1048835
[ANSWER]
['Q2107370', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { resource:Q2107370 property:P27 ?i . ?i rdf:type ontology:Q1048835 }
New Zealand
1
action count
action filter_type
action find
entity Siona Fernandez
relation country of citizenship
type political territorial entity
['Siona Fernandez', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { resource:Siona_Fernandez property:country_of_citizenship ?i . ?i rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q2513338
Q1048835
USER
And also tell me about Vera Michallek?
(Q2513338,P27,c(Q1048835))
action count
action filter_type
action find
entity Q2513338
relation P27
type Q1048835
['Q2513338', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { resource:Q2513338 property:P27 ?y . ?y rdf:type ontology:Q1048835 }
Vera Michallek
action count
action filter_type
action find
entity Vera Michallek
relation country of citizenship
type political territorial entity
['Vera Michallek', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { resource:Vera_Michallek property:country_of_citizenship ?y . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
(Q2513338,P27,c(Q1048835))
action count
action filter_type
action find
entity Q2513338
relation P27
type Q1048835
[ANSWER]
['Q2513338', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { resource:Q2513338 property:P27 ?y . ?y rdf:type ontology:Q1048835 }
1
action count
action filter_type
action find
entity Vera Michallek
relation country of citizenship
type political territorial entity
['Vera Michallek', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { resource:Vera_Michallek property:country_of_citizenship ?y . ?y rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q15617994 Q13220204 Q192611
USER
Which administrative territories are the origin of exactly 1 administrative country subdivisions or constituencies ?
(c(Q13220204)|c(Q192611),P138,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q13220204
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q192611
value 1
[[{'concept': 'Q13220204'}, {'concept': 'Q192611'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?s ) WHERE { { ?y property:P138 ?c . ?c rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q13220204 } UNION { ?y property:P138 ?c . ?c rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q192611 } } GROUP BY ?c } . FILTER ( ?s = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type constituency
value 1
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'constituency'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?s ) WHERE { { ?y property:named_after ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?y property:named_after ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:constituency } } GROUP BY ?c } . FILTER ( ?s = 1 ) }
[]
designation for an administrative territorial entity second-level administrative country subdivision constituency
Q159856 Q2396564 Q2719360
SYSTEM
Duchy of Brabant, Mallee, Duchy of Luxembourg
Q159856 Q2396564 Q2719360
(c(Q13220204)|c(Q192611),P138,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q13220204
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q192611
value 1
[ANSWERS] are the origin of exactly 1 administrative country subdivisions or constituencies
[[{'concept': 'Q13220204'}, {'concept': 'Q192611'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?s ) WHERE { { ?y property:P138 ?c . ?c rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q13220204 } UNION { ?y property:P138 ?c . ?c rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q192611 } } GROUP BY ?c } . FILTER ( ?s = 1 ) }
Duchy of Brabant Mallee Duchy of Luxembourg
Duchy of Brabant, Mallee and Duchy of Luxembourg are the origin of exactly 1 administrative country subdivisions or constituencies
Duchy of Brabant Mallee Duchy of Luxembourg
action equal
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type constituency
value 1
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'constituency'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?s ) WHERE { { ?y property:named_after ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?y property:named_after ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:constituency } } GROUP BY ?c } . FILTER ( ?s = 1 ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P27
Q502895
USER
How many people are civilians of that administrative territory ?
(c(Q502895),P27,Q159856)
[{'concept': 'Q502895'}, 'P27', 'Q159856']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P27 resource:Q159856 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'country of citizenship', 'Duchy of Brabant']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:country_of_citizenship resource:Duchy_of_Brabant . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q159856
SYSTEM
Did you mean Duchy of Brabant ?
(c(Q502895),P27,Q159856) (c(Q502895),P27,Q2396564) (c(Q502895),P27,Q2719360)
[ANSWER]
[{'concept': 'Q502895'}, 'P27', 'Q159856'] [{'concept': 'Q502895'}, 'P27', 'Q2396564'] [{'concept': 'Q502895'}, 'P27', 'Q2719360']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P27 resource:Q159856 . ?z rdf:type ontology:Q502895 }
Did you mean Duchy of Brabant ?
Duchy of Brabant
[{'concept': 'common name'}, 'country of citizenship', 'Duchy of Brabant'] [{'concept': 'common name'}, 'country of citizenship', 'Mallee'] [{'concept': 'common name'}, 'country of citizenship', 'Duchy of Luxembourg']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:country_of_citizenship resource:Duchy_of_Brabant . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q502895),P27,Q159856)
[{'concept': 'Q502895'}, 'P27', 'Q159856']
[{'concept': 'common name'}, 'country of citizenship', 'Duchy of Brabant']
[]
SYSTEM
5
Q1165940 Q1358136 Q1888797 Q1825652 Q2311911
(c(Q502895),P27,Q159856)
[ANSWER]
[{'concept': 'Q502895'}, 'P27', 'Q159856']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P27 resource:Q159856 . ?z rdf:type ontology:Q502895 }
Adriaen Thomasz Key Thomas Willeboirts Bosschaert Matthijs II Keldermans Jan II Keldermans Jan van Mansdale
5
[{'concept': 'common name'}, 'country of citizenship', 'Duchy of Brabant']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:country_of_citizenship resource:Duchy_of_Brabant . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P47
Q15617994
USER
Which administrative territories are bordered by United States of America ?
(Q30,P47,c(Q15617994))
action filter_type
action find
entity Q30
relation P47
type Q15617994
['Q30', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q30 property:P47 ?b . ?b 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 ?b WHERE { resource:United_States_of_America property:shares_border_with ?b . ?b 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
The [ANSWERS] are bordered by United States of America
['Q30', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q30 property:P47 ?b . ?b rdf:type ontology:Q15617994 }
Federated States of Micronesia Panama Russia Mexico Japan Dominican Republic Cuba Samoa Kiribati Tonga Venezuela Haiti
The Russia, Japan and Mexico are bordered by United States of America
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 ?b WHERE { resource:United_States_of_America property:shares_border_with ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q159 Q17 Q96
P1001
Q12737077
USER
Which occupations preside the jurisdiction over those administrative territories ?
(c(Q12737077),P1001,Q159) (c(Q12737077),P1001,Q17) (c(Q12737077),P1001,Q96)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q159'] [{'concept': 'Q12737077'}, 'P1001', 'Q17'] [{'concept': 'Q12737077'}, 'P1001', 'Q96']
SELECT DISTINCT ?b WHERE { ?b property:P1001 ?s . ?b rdf:type ontology:Q12737077 . VALUES ( ?s ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q159 ) } }
Russia Japan Mexico
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Russia'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Japan'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Mexico']
SELECT DISTINCT ?b WHERE { ?b property:applies_to_jurisdiction ?s . ?b rdf:type ontology:occupation . VALUES ( ?s ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Russia ) } }
[]
occupation
Q842386 Q19399742 Q4376672
SYSTEM
Prime Minister of Russia, member of the Federation Council of Russia, Speaker of the Federation Council of Russia
Q19399742 Q17287317 Q4376672 Q17276321 Q4376663 Q1837906 Q842386 Q20978296 Q1540324 Q14805701 Q841904 Q6500838 Q6500849 Q841962 Q274948 Q1578065 Q17506823 Q20011928 Q842359 Q1767791 Q1355043 Q208233 Q842012 Q14552828 Q8191055 Q1104488 Q11612810 Q628004 Q18534310 Q19971999 Q7444306 Q6936362
(c(Q12737077),P1001,Q159) (c(Q12737077),P1001,Q17) (c(Q12737077),P1001,Q96)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q12737077
The [ANSWERS] preside the jurisdiction over those administrative territories
[{'concept': 'Q12737077'}, 'P1001', 'Q159'] [{'concept': 'Q12737077'}, 'P1001', 'Q17'] [{'concept': 'Q12737077'}, 'P1001', 'Q96']
SELECT DISTINCT ?b WHERE { ?b property:P1001 ?s . ?b rdf:type ontology:Q12737077 . VALUES ( ?s ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q159 ) } }
member of the Federation Council of Russia Minister of Defense Speaker of the Federation Council of Russia member of the State Duma Chairman of the State Duma Mayor of Moscow Prime Minister of Russia Russian Minister of Health Governor (Russia) Deputy Chairman of the Government of the Russian Federation Minister of Justice Minister of Defense of Japan Minister of Finance Minister of Health, Labour and Welfare Prime Minister of Japan Minister of Internal Affairs and Communications member of the House of Representatives of Japan member of the House of Peers Minister of Education, Culture, Sports, Science and Technology of Japan Deputy Prime Minister of Japan Minister for Foreign Affairs Emperor of Japan Minister of Land, Infrastructure, Transport and Tourism member of the House of Councillors Minister of Agriculture, Forestry and Fisheries Minister of the Environment Minister of Home Affairs President of Mexico Member of the Chamber of Deputies of Mexico member of the Senate of Mexico Secretary of Foreign Affairs Municipal president of Monterrey
The Prime Minister of Russia, member of the Federation Council of Russia and Speaker of the Federation Council of Russia preside the jurisdiction over those administrative territories
Prime Minister of Russia member of the Federation Council of Russia Speaker of the Federation Council of Russia
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Russia'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Japan'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Mexico']
SELECT DISTINCT ?b WHERE { ?b property:applies_to_jurisdiction ?s . ?b rdf:type ontology:occupation . VALUES ( ?s ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Russia ) } }
[]