Simple Question (Direct)
Simple Question
Q213613
P20
Q56061
USER
Where did Paul Dessau expire ?
(Q213613,P20,c(Q56061))
action filter_type
action find
entity Q213613
relation P20
type Q56061
['Q213613', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . resource:Q213613 property:P20 ?u }
Paul Dessau
action filter_type
action find
entity Paul Dessau
relation place of death
type administrative territorial entity
['Paul Dessau', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . resource:Paul_Dessau property:place_of_death ?u }
[]
administrative territorial entity
Q16013
SYSTEM
Königs Wusterhausen
Q16013
(Q213613,P20,c(Q56061))
action filter_type
action find
entity Q213613
relation P20
type Q56061
Paul Dessau expired [ANSWER]
['Q213613', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . resource:Q213613 property:P20 ?u }
Königs Wusterhausen
Paul Dessau expired Königs Wusterhausen
Königs Wusterhausen
action filter_type
action find
entity Paul Dessau
relation place of death
type administrative territorial entity
['Paul Dessau', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . resource:Paul_Dessau property:place_of_death ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16013
P190
Q15617994
USER
Which administrative territories are sister towns of that administrative territory ?
(Q16013,P190,c(Q15617994))
action filter_type
action find
entity Q16013
relation P190
type Q15617994
['Q16013', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q16013 property:P190 ?l . ?l rdf:type ontology:Q15617994 }
Königs Wusterhausen
action filter_type
action find
entity Königs Wusterhausen
relation sister city
type designation for an administrative territorial entity
['Königs Wusterhausen', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Königs_Wusterhausen property:sister_city ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q11038 Q505594 Q158064
SYSTEM
Hückeswagen, Schiffdorf, Steglitz-Zehlendorf
Q11038 Q505594 Q158064
(Q16013,P190,c(Q15617994))
action filter_type
action find
entity Q16013
relation P190
type Q15617994
[ANSWERS] are sister towns of that administrative territory
['Q16013', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q16013 property:P190 ?l . ?l rdf:type ontology:Q15617994 }
Hückeswagen Schiffdorf Steglitz-Zehlendorf
Hückeswagen, Schiffdorf and Steglitz-Zehlendorf are sister towns of that administrative territory
Hückeswagen Schiffdorf Steglitz-Zehlendorf
action filter_type
action find
entity Königs Wusterhausen
relation sister city
type designation for an administrative territorial entity
['Königs Wusterhausen', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Königs_Wusterhausen property:sister_city ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q989165
P190
Q56061
USER
Are Kandilli twin town of those administrative territories ?
(Q989165,P190,Q11038) (Q989165,P190,Q505594) (Q989165,P190,Q158064)
action is_in
entity prev_answer
action find
entity Q989165
relation P190
['Q989165', 'P190', 'Q11038'] ['Q989165', 'P190', 'Q505594'] ['Q989165', 'P190', 'Q158064']
ASK WHERE { VALUES ( ?d ) { ( resource:Q11038 ) ( resource:Q505594 ) ( resource:Q158064 ) } . resource:Q989165 property:P190 ?d }
Kandilli
action is_in
entity prev_answer
action find
entity Kandilli
relation sister city
['Kandilli', 'sister city', 'Hückeswagen'] ['Kandilli', 'sister city', 'Schiffdorf'] ['Kandilli', 'sister city', 'Steglitz-Zehlendorf']
ASK WHERE { VALUES ( ?d ) { ( resource:Hückeswagen ) ( resource:Schiffdorf ) ( resource:Steglitz-Zehlendorf ) } . resource:Kandilli property:sister_city ?d }
[]
administrative territorial entity
SYSTEM
NO
(Q989165,P190,Q11038) (Q989165,P190,Q505594) (Q989165,P190,Q158064)
action is_in
entity prev_answer
action find
entity Q989165
relation P190
[ANSWER]
['Q989165', 'P190', 'Q11038'] ['Q989165', 'P190', 'Q505594'] ['Q989165', 'P190', 'Q158064']
ASK WHERE { VALUES ( ?d ) { ( resource:Q11038 ) ( resource:Q505594 ) ( resource:Q158064 ) } . resource:Q989165 property:P190 ?d }
No
action is_in
entity prev_answer
action find
entity Kandilli
relation sister city
['Kandilli', 'sister city', 'Hückeswagen'] ['Kandilli', 'sister city', 'Schiffdorf'] ['Kandilli', 'sister city', 'Steglitz-Zehlendorf']
ASK WHERE { VALUES ( ?d ) { ( resource:Hückeswagen ) ( resource:Schiffdorf ) ( resource:Steglitz-Zehlendorf ) } . resource:Kandilli property:sister_city ?d }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1027
P530
Q15617994 Q1048835 Q15617994
USER
How many administrative territories have diplomatic relationships with approximately the same number of political territories or administrative territories as Mauritius ?
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q1027
relation P530
type Q1048835
type Q15617994
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { FILTER ( ?x = ?q ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:P530 resource:Q1027 . { VALUES ( ?s ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?v rdf:type ?s } } } . { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?x ) WHERE { { ?z property:P530 ?c . ?c rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1048835 } UNION { ?z property:P530 ?c . ?c rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } } GROUP BY ?c } }
Mauritius
action count
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Mauritius
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { FILTER ( ?x = ?q ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:diplomatic_relation resource:Mauritius . { VALUES ( ?s ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?v rdf:type ?s } } } . { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?x ) WHERE { { ?z property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:political_territorial_entity } UNION { ?z property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?c } }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
SYSTEM
150
Q702 Q804 Q800 Q419 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 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 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 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q1027
relation P530
type Q1048835
type Q15617994
[ANSWER]
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { FILTER ( ?x = ?q ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:P530 resource:Q1027 . { VALUES ( ?s ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?v rdf:type ?s } } } . { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?x ) WHERE { { ?z property:P530 ?c . ?c rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1048835 } UNION { ?z property:P530 ?c . ?c rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } } GROUP BY ?c } }
Federated States of Micronesia Panama Costa Rica Peru Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium 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 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 Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand
150
action count
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Mauritius
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { FILTER ( ?x = ?q ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:diplomatic_relation resource:Mauritius . { VALUES ( ?s ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?v rdf:type ?s } } } . { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?x ) WHERE { { ?z property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:political_territorial_entity } UNION { ?z property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?c } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q889
P530
Q15617994 Q1048835 Q15617994
USER
And what about Afghanistan?
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q889
relation P530
type Q1048835
type Q15617994
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?b ) WHERE { { ?i property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q1048835 } UNION { ?i property:P530 ?e . ?i rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:P530 resource:Q889 . { { ?a rdf:type ontology:Q1048835 } UNION { ?a rdf:type ontology:Q15617994 } } } } . FILTER ( ?b = ?c ) }
Afghanistan
action count
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Afghanistan
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?b ) WHERE { { ?i property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:political_territorial_entity } UNION { ?i property:diplomatic_relation ?e . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:diplomatic_relation resource:Afghanistan . { { ?a rdf:type ontology:political_territorial_entity } UNION { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?b = ?c ) }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
SYSTEM
158
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 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(Q1048835)|c(Q15617994),P530,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q889
relation P530
type Q1048835
type Q15617994
[ANSWER]
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?b ) WHERE { { ?i property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q1048835 } UNION { ?i property:P530 ?e . ?i rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:P530 resource:Q889 . { { ?a rdf:type ontology:Q1048835 } UNION { ?a rdf:type ontology:Q15617994 } } } } . FILTER ( ?b = ?c ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium 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
158
action count
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Afghanistan
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?b ) WHERE { { ?i property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:political_territorial_entity } UNION { ?i property:diplomatic_relation ?e . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:diplomatic_relation resource:Afghanistan . { { ?a rdf:type ontology:political_territorial_entity } UNION { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?b = ?c ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2150597 Q1027
P530 P27
Q1048835
USER
Which political territories have diplomatic relationships with Mauritius or are the countries of citizenship of Richard Siebke ?
OR((Q1027,P530,c(Q1048835)), (Q2150597,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1027
relation P530
action find
entity Q2150597
relation P27
type Q1048835
{'OR': [['Q1027', 'P530', {'concept': 'Q1048835'}], ['Q2150597', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q1027 property:P530 ?n } UNION { resource:Q2150597 property:P27 ?n } } . ?n rdf:type ontology:Q1048835 }
Richard Siebke Mauritius
action filter_type
action union
action find
entity Mauritius
relation diplomatic relation
action find
entity Richard Siebke
relation country of citizenship
type political territorial entity
{'OR': [['Mauritius', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Richard Siebke', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Mauritius property:diplomatic_relation ?n } UNION { resource:Richard_Siebke property:country_of_citizenship ?n } } . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q183
SYSTEM
Australia, Germany
Q408 Q183
OR((Q1027,P530,c(Q1048835)), (Q2150597,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1027
relation P530
action find
entity Q2150597
relation P27
type Q1048835
[ANSWERS] have diplomatic relationships with Mauritius or are the countries of citizenship of Richard Siebke
{'OR': [['Q1027', 'P530', {'concept': 'Q1048835'}], ['Q2150597', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q1027 property:P530 ?n } UNION { resource:Q2150597 property:P27 ?n } } . ?n rdf:type ontology:Q1048835 }
Australia Germany
Australia and Germany have diplomatic relationships with Mauritius or are the countries of citizenship of Richard Siebke
Australia Germany
action filter_type
action union
action find
entity Mauritius
relation diplomatic relation
action find
entity Richard Siebke
relation country of citizenship
type political territorial entity
{'OR': [['Mauritius', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Richard Siebke', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Mauritius property:diplomatic_relation ?n } UNION { resource:Richard_Siebke property:country_of_citizenship ?n } } . ?n rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q408 Q183
P1313
Q12737077
USER
Which occupations serve as the political office that are fulfilled by the head of the government of those political territories ?
(Q408,P1313,c(Q12737077)) (Q183,P1313,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P1313
type Q12737077
['Q408', 'P1313', {'concept': 'Q12737077'}] ['Q183', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . VALUES ( ?w ) { ( resource:Q408 ) ( resource:Q183 ) } . ?w property:P1313 ?t }
Australia Germany
action filter_type
action find
entity prev_answer
relation office held by head of government
type occupation
['Australia', 'office held by head of government', {'concept': 'occupation'}] ['Germany', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . VALUES ( ?w ) { ( resource:Australia ) ( resource:Germany ) } . ?w property:office_held_by_head_of_government ?t }
[]
occupation
Q319145 Q4970706
SYSTEM
Prime Minister of Australia, Federal Chancellor of Germany
Q319145 Q4970706
(Q408,P1313,c(Q12737077)) (Q183,P1313,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P1313
type Q12737077
[ANSWERS] serve as the political office that are fulfilled by the head of the government of those political territories
['Q408', 'P1313', {'concept': 'Q12737077'}] ['Q183', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . VALUES ( ?w ) { ( resource:Q408 ) ( resource:Q183 ) } . ?w property:P1313 ?t }
Prime Minister of Australia Federal Chancellor of Germany
Prime Minister of Australia and Federal Chancellor of Germany serve as the political office that are fulfilled by the head of the government of those political territories
Prime Minister of Australia Federal Chancellor of Germany
action filter_type
action find
entity prev_answer
relation office held by head of government
type occupation
['Australia', 'office held by head of government', {'concept': 'occupation'}] ['Germany', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . VALUES ( ?w ) { ( resource:Australia ) ( resource:Germany ) } . ?w property:office_held_by_head_of_government ?t }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q319145 Q4970706
P1001
Q1048835
USER
Which political territories are judicially linked to Prime Minister of Australia and Federal Chancellor of Germany ?
(Q319145,P1001,c(Q1048835)) (Q4970706,P1001,c(Q1048835))
action union
action filter_type
action find
entity Q319145
relation P1001
type Q1048835
action filter_type
action find
entity Q4970706
relation P1001
type Q1048835
['Q319145', 'P1001', {'concept': 'Q1048835'}] ['Q4970706', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { ?r property:P1001 ?a . VALUES ( ?r ) { ( resource:Q319145 ) ( resource:Q4970706 ) } }
Prime Minister of Australia Federal Chancellor of Germany
action union
action filter_type
action find
entity Prime Minister of Australia
relation applies to jurisdiction
type political territorial entity
action filter_type
action find
entity Federal Chancellor of Germany
relation applies to jurisdiction
type political territorial entity
['Prime Minister of Australia', 'applies to jurisdiction', {'concept': 'political territorial entity'}] ['Federal Chancellor of Germany', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { ?r property:applies_to_jurisdiction ?a . VALUES ( ?r ) { ( resource:Prime_Minister_of_Australia ) ( resource:Federal_Chancellor_of_Germany ) } }
[]
political territorial entity
Q408 Q183
SYSTEM
Australia, Germany
Q408 Q183
(Q319145,P1001,c(Q1048835)) (Q4970706,P1001,c(Q1048835))
action union
action filter_type
action find
entity Q319145
relation P1001
type Q1048835
action filter_type
action find
entity Q4970706
relation P1001
type Q1048835
[ANSWERS] are judicially linked to Prime Minister of Australia and Federal Chancellor of Germany
['Q319145', 'P1001', {'concept': 'Q1048835'}] ['Q4970706', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { ?r property:P1001 ?a . VALUES ( ?r ) { ( resource:Q319145 ) ( resource:Q4970706 ) } }
Australia Germany
Australia and Germany are judicially linked to Prime Minister of Australia and Federal Chancellor of Germany
Australia Germany
action union
action filter_type
action find
entity Prime Minister of Australia
relation applies to jurisdiction
type political territorial entity
action filter_type
action find
entity Federal Chancellor of Germany
relation applies to jurisdiction
type political territorial entity
['Prime Minister of Australia', 'applies to jurisdiction', {'concept': 'political territorial entity'}] ['Federal Chancellor of Germany', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { ?r property:applies_to_jurisdiction ?a . VALUES ( ?r ) { ( resource:Prime_Minister_of_Australia ) ( resource:Federal_Chancellor_of_Germany ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q408 Q183
P1001
Q1292279
USER
Which political borders have jurisdiction over those political territories ?
(c(Q1292279),P1001,Q408) (c(Q1292279),P1001,Q183)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q1292279
[{'concept': 'Q1292279'}, 'P1001', 'Q408'] [{'concept': 'Q1292279'}, 'P1001', 'Q183']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1292279 . VALUES ( ?l ) { ( resource:Q408 ) ( resource:Q183 ) } . ?d property:P1001 ?l }
Australia Germany
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', 'Australia'] [{'concept': 'political border'}, 'applies to jurisdiction', 'Germany']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:political_border . VALUES ( ?l ) { ( resource:Australia ) ( resource:Germany ) } . ?d property:applies_to_jurisdiction ?l }
[]
political border
Q3088733 Q1991225 Q3088698
SYSTEM
Australia–France border, France–Germany border, Belgium–Germany border
Q17351710 Q17351708 Q17351709 Q16024884 Q3088733 Q17351707 Q3088708 Q1991225 Q2422197 Q15214996 Q1991986 Q2457112 Q1991810 Q16025205 Q16025247 Q3088698
(c(Q1292279),P1001,Q408) (c(Q1292279),P1001,Q183)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q1292279
[ANSWERS] have jurisdiction over those political territories
[{'concept': 'Q1292279'}, 'P1001', 'Q408'] [{'concept': 'Q1292279'}, 'P1001', 'Q183']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1292279 . VALUES ( ?l ) { ( resource:Q408 ) ( resource:Q183 ) } . ?d property:P1001 ?l }
Australia–Solomon Islands border Australia–Indonesia border Australia–New Zealand border Australia–Papua New Guinea border Australia–France border Australia–East Timor border Germany–Luxembourg border France–Germany border Denmark–Germany border Germany–Poland border Austria–Germany border Czech Republic–Germany border Germany–Switzerland border Germany–United Kingdom border Germany–Sweden border Belgium–Germany border
Australia–France border, France–Germany border and Belgium–Germany border have jurisdiction over those political territories
Australia–France border France–Germany border Belgium–Germany border
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', 'Australia'] [{'concept': 'political border'}, 'applies to jurisdiction', 'Germany']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:political_border . VALUES ( ?l ) { ( resource:Australia ) ( resource:Germany ) } . ?d property:applies_to_jurisdiction ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q319145
P39
Q502895
USER
Who held the position of Prime Minister of Australia ?
(c(Q502895),P39,Q319145)
action filter_type
action find_reverse
entity Q319145
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q319145']
SELECT DISTINCT ?a WHERE { ?a property:P39 resource:Q319145 . ?a rdf:type ontology:Q502895 }
Prime Minister of Australia
action filter_type
action find_reverse
entity Prime Minister of Australia
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Prime Minister of Australia']
SELECT DISTINCT ?a WHERE { ?a property:position_held resource:Prime_Minister_of_Australia . ?a rdf:type ontology:common_name }
[]
common name
Q214438 Q23358 Q348577
SYSTEM
Robert Menzies, Stanley Bruce, Tony Abbott
Q51330 Q23386 Q152666 Q314016 Q23352 Q927550 Q23379 Q23375 Q23358 Q43135 Q23333 Q315979 Q41563 Q348577 Q356411 Q356230 Q370926 Q269372 Q313805 Q370966 Q312722 Q23369 Q23342 Q23347 Q23362 Q214438 Q356261 Q242654 Q459146
(c(Q502895),P39,Q319145)
action filter_type
action find_reverse
entity Q319145
relation P39
type Q502895
[ANSWERS] held the position of Prime Minister of Australia
[{'concept': 'Q502895'}, 'P39', 'Q319145']
SELECT DISTINCT ?a WHERE { ?a property:P39 resource:Q319145 . ?a rdf:type ontology:Q502895 }
John Howard John McEwen Billy Hughes Andrew Fisher George Houstoun Reid Malcolm Turnbull Ben Chifley John Curtin Stanley Bruce Kevin Rudd Gough Whitlam Malcolm Fraser Julia Gillard Tony Abbott John Gorton Joseph Cook Earle Page Bob Hawke Alfred Deakin Joseph Lyons Harold Holt Arthur Fadden Edmund Barton Chris Watson James Scullin Robert Menzies William McMahon Paul Keating Frank Forde
Robert Menzies, Stanley Bruce and Tony Abbott held the position of Prime Minister of Australia
Robert Menzies Stanley Bruce Tony Abbott
action filter_type
action find_reverse
entity Prime Minister of Australia
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Prime Minister of Australia']
SELECT DISTINCT ?a WHERE { ?a property:position_held resource:Prime_Minister_of_Australia . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q214438 Q23358 Q348577
P734
Q82799
USER
Who have the surname Robert Menzies, Stanley Bruce and Tony Abbott ?
(Q214438,P734,c(Q82799)) (Q23358,P734,c(Q82799)) (Q348577,P734,c(Q82799))
action union
action filter_type
action find
entity Q214438
relation P734
type Q82799
action filter_type
action find
entity Q23358
relation P734
type Q82799
action filter_type
action find
entity Q348577
relation P734
type Q82799
['Q214438', 'P734', {'concept': 'Q82799'}] ['Q23358', 'P734', {'concept': 'Q82799'}] ['Q348577', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?w ) { ( resource:Q214438 ) ( resource:Q23358 ) } . ?w property:P734 ?q }
Robert Menzies Stanley Bruce Tony Abbott
action union
action filter_type
action find
entity Robert Menzies
relation family name
type name
action filter_type
action find
entity Stanley Bruce
relation family name
type name
action filter_type
action find
entity Tony Abbott
relation family name
type name
['Robert Menzies', 'family name', {'concept': 'name'}] ['Stanley Bruce', 'family name', {'concept': 'name'}] ['Tony Abbott', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?w ) { ( resource:Robert_Menzies ) ( resource:Stanley_Bruce ) } . ?w property:family_name ?q }
[]
name
Q21258201 Q16860571 Q306749
SYSTEM
Menzies, Bruce, Abbott
Q21258201 Q16860571 Q306749
(Q214438,P734,c(Q82799)) (Q23358,P734,c(Q82799)) (Q348577,P734,c(Q82799))
action union
action filter_type
action find
entity Q214438
relation P734
type Q82799
action filter_type
action find
entity Q23358
relation P734
type Q82799
action filter_type
action find
entity Q348577
relation P734
type Q82799
S [ANSWERS] have the surname Robert Menzies, Stanley Bruce and Tony Abbott
['Q214438', 'P734', {'concept': 'Q82799'}] ['Q23358', 'P734', {'concept': 'Q82799'}] ['Q348577', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?w ) { ( resource:Q214438 ) ( resource:Q23358 ) } . ?w property:P734 ?q }
Menzies Bruce Abbott
S Menzies, Bruce and Abbott have the surname Robert Menzies, Stanley Bruce and Tony Abbott
Menzies Bruce Abbott
action union
action filter_type
action find
entity Robert Menzies
relation family name
type name
action filter_type
action find
entity Stanley Bruce
relation family name
type name
action filter_type
action find
entity Tony Abbott
relation family name
type name
['Robert Menzies', 'family name', {'concept': 'name'}] ['Stanley Bruce', 'family name', {'concept': 'name'}] ['Tony Abbott', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?w ) { ( resource:Robert_Menzies ) ( resource:Stanley_Bruce ) } . ?w property:family_name ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q214438
P1412
Q34770
USER
Which language does Robert Menzies speak in ?
(Q214438,P1412,c(Q34770))
action filter_type
action find
entity Q214438
relation P1412
type Q34770
['Q214438', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q214438 property:P1412 ?o . ?o rdf:type ontology:Q34770 }
Robert Menzies
action filter_type
action find
entity Robert Menzies
relation languages spoken, written or signed
type language
['Robert Menzies', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:Robert_Menzies property:languages_spoken,_written_or_signed ?o . ?o rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q214438,P1412,c(Q34770))
action filter_type
action find
entity Q214438
relation P1412
type Q34770
Robert Menzies speaks the [ANSWER]
['Q214438', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q214438 property:P1412 ?o . ?o rdf:type ontology:Q34770 }
English
Robert Menzies speaks the English
English
action filter_type
action find
entity Robert Menzies
relation languages spoken, written or signed
type language
['Robert Menzies', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:Robert_Menzies property:languages_spoken,_written_or_signed ?o . ?o rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26699758 Q319145
P1313
Q1048835
USER
Which political territories have Prime Minister of Australia or mayor of Urdúliz as position of head of government ?
OR((c(Q1048835),P1313,Q319145), (c(Q1048835),P1313,Q26699758))
action filter_type
action union
action find_reverse
entity Q319145
relation P1313
action find_reverse
entity Q26699758
relation P1313
type Q1048835
{'OR': [[{'concept': 'Q1048835'}, 'P1313', 'Q319145'], [{'concept': 'Q1048835'}, 'P1313', 'Q26699758']]}
SELECT DISTINCT ?w WHERE { { { ?w property:P1313 resource:Q319145 } UNION { ?w property:P1313 resource:Q26699758 } } . ?w rdf:type ontology:Q1048835 }
mayor of Urdúliz Prime Minister of Australia
action filter_type
action union
action find_reverse
entity Prime Minister of Australia
relation office held by head of government
action find_reverse
entity mayor of Urdúliz
relation office held by head of government
type political territorial entity
{'OR': [[{'concept': 'political territorial entity'}, 'office held by head of government', 'Prime Minister of Australia'], [{'concept': 'political territorial entity'}, 'office held by head of government', 'mayor of Urdúliz']]}
SELECT DISTINCT ?w WHERE { { { ?w property:office_held_by_head_of_government resource:Prime_Minister_of_Australia } UNION { ?w property:office_held_by_head_of_government resource:mayor_of_Urdúliz } } . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q734099
SYSTEM
Australia, Urduliz
Q408 Q734099
OR((c(Q1048835),P1313,Q319145), (c(Q1048835),P1313,Q26699758))
action filter_type
action union
action find_reverse
entity Q319145
relation P1313
action find_reverse
entity Q26699758
relation P1313
type Q1048835
[ANSWERS] have Prime Minister of Australia or mayor of Urdúliz as position of head of government
{'OR': [[{'concept': 'Q1048835'}, 'P1313', 'Q319145'], [{'concept': 'Q1048835'}, 'P1313', 'Q26699758']]}
SELECT DISTINCT ?w WHERE { { { ?w property:P1313 resource:Q319145 } UNION { ?w property:P1313 resource:Q26699758 } } . ?w rdf:type ontology:Q1048835 }
Australia Urduliz
Australia and Urduliz have Prime Minister of Australia or mayor of Urdúliz as position of head of government
Australia Urduliz
action filter_type
action union
action find_reverse
entity Prime Minister of Australia
relation office held by head of government
action find_reverse
entity mayor of Urdúliz
relation office held by head of government
type political territorial entity
{'OR': [[{'concept': 'political territorial entity'}, 'office held by head of government', 'Prime Minister of Australia'], [{'concept': 'political territorial entity'}, 'office held by head of government', 'mayor of Urdúliz']]}
SELECT DISTINCT ?w WHERE { { { ?w property:office_held_by_head_of_government resource:Prime_Minister_of_Australia } UNION { ?w property:office_held_by_head_of_government resource:mayor_of_Urdúliz } } . ?w rdf:type ontology:political_territorial_entity }
[]