Simple Question (Direct)
Simple Question
Q2542040
P19
Q56061
USER
Which administrative territory was William Kettner born at ?
(Q2542040,P19,c(Q56061))
action filter_type
action find
entity Q2542040
relation P19
type Q56061
['Q2542040', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q2542040 property:P19 ?k . ?k rdf:type ontology:Q56061 }
William Kettner
action filter_type
action find
entity William Kettner
relation place of birth
type administrative territorial entity
['William Kettner', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:William_Kettner property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q485172
SYSTEM
Ann Arbor
Q485172
(Q2542040,P19,c(Q56061))
action filter_type
action find
entity Q2542040
relation P19
type Q56061
William Kettner was born in [ANSWER]
['Q2542040', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q2542040 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Ann Arbor
William Kettner was born in Ann Arbor
Ann Arbor
action filter_type
action find
entity William Kettner
relation place of birth
type administrative territorial entity
['William Kettner', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:William_Kettner property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2542040
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q485172,P27,c(Q15617994))
action filter_type
action find
entity Q2542040
relation P27
type Q15617994
['Q485172', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q2542040 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
William Kettner
action filter_type
action find
entity William Kettner
relation country of citizenship
type designation for an administrative territorial entity
['Ann Arbor', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:William_Kettner property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q485172,P27,c(Q15617994))
action filter_type
action find
entity Q2542040
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q485172', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q2542040 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
United States of America
The United States of America is that person an inhabitant of
United States of America
action filter_type
action find
entity William Kettner
relation country of citizenship
type designation for an administrative territorial entity
['Ann Arbor', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:William_Kettner property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q30 Q408
P530
Q1048835
USER
Does Australia hold diplomatic relationship with that administrative territory ?
(Q30,P530,Q408)
action is_in
entity Q408
action find
entity Q30
relation P530
['Q30', 'P530', 'Q408']
ASK WHERE { resource:Q30 property:P530 resource:Q408 }
United States of America Australia
action is_in
entity Australia
action find
entity United States of America
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Australia']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Australia }
[]
political territorial entity
SYSTEM
YES
(Q30,P530,Q408)
action is_in
entity Q408
action find
entity Q30
relation P530
[ANSWER]
['Q30', 'P530', 'Q408']
ASK WHERE { resource:Q30 property:P530 resource:Q408 }
Yes
action is_in
entity Australia
action find
entity United States of America
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Australia']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Australia }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q222
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with lesser number of administrative territories than Albania ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q222
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?y ) WHERE { ?h property:P530 ?c . ?h rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { ?f rdf:type ontology:Q15617994 . resource:Q222 property:P530 ?f } } . FILTER ( ?y < ?m ) }
Albania
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Albania
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?y ) WHERE { ?h property:diplomatic_relation ?c . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Albania property:diplomatic_relation ?f } } . FILTER ( ?y < ?m ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q32
SYSTEM
Netherlands, Poland, Luxembourg
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q954 Q889 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q224 Q221 Q96 Q229 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q77 Q878 Q774 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q222
relation P530
type Q15617994
[ANSWERS] have tactful political relations with lesser number of administrative territories than Albania
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?y ) WHERE { ?h property:P530 ?c . ?h rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { ?f rdf:type ontology:Q15617994 . resource:Q222 property:P530 ?f } } . FILTER ( ?y < ?m ) }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad South Africa Portugal Greece El Salvador Haiti Zimbabwe Afghanistan South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Croatia Republic of Macedonia Mexico Cyprus Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia 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 Samoa Niue Vanuatu Myanmar East Timor Uruguay United Arab Emirates Guatemala Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand
Netherlands, Poland and Luxembourg have tactful political relations with lesser number of administrative territories than Albania
Netherlands Poland Luxembourg
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Albania
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?y ) WHERE { ?h property:diplomatic_relation ?c . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Albania property:diplomatic_relation ?f } } . FILTER ( ?y < ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q948
P530
Q15617994 Q15617994
USER
And also tell me about Tunisia?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q948
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?n ) WHERE { ?o rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 . ?g property:P530 ?o } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { resource:Q948 property:P530 ?u . ?u rdf:type ontology:Q15617994 } } . FILTER ( ?n < ?c ) }
Tunisia
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Tunisia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?n ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:diplomatic_relation ?o } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { resource:Tunisia property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n < ?c ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q32
SYSTEM
Netherlands, Poland, Luxembourg
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q954 Q889 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q224 Q221 Q96 Q229 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q77 Q878 Q774 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q948
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?n ) WHERE { ?o rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 . ?g property:P530 ?o } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { resource:Q948 property:P530 ?u . ?u rdf:type ontology:Q15617994 } } . FILTER ( ?n < ?c ) }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad South Africa Portugal Greece El Salvador Haiti Zimbabwe Afghanistan South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Croatia Republic of Macedonia Mexico Cyprus Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia 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 Samoa Niue Vanuatu Myanmar East Timor Uruguay United Arab Emirates Guatemala Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand
Netherlands Poland Luxembourg
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Tunisia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?n ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:diplomatic_relation ?o } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { resource:Tunisia property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n < ?c ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q6264219 Q2542040
P102
Q7210356
USER
Which political organizations are William Kettner and John William Meece affiliated with ?
AND((Q2542040,P102,c(Q7210356)), (Q6264219,P102,c(Q7210356)))
action filter_type
action intersection
action find
entity Q2542040
relation P102
action find
entity Q6264219
relation P102
type Q7210356
{'AND': [['Q2542040', 'P102', {'concept': 'Q7210356'}], ['Q6264219', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?z WHERE { resource:Q2542040 property:P102 ?z . resource:Q6264219 property:P102 ?z . ?z rdf:type ontology:Q7210356 }
John William Meece William Kettner
action filter_type
action intersection
action find
entity William Kettner
relation member of political party
action find
entity John William Meece
relation member of political party
type political organization
{'AND': [['William Kettner', 'member of political party', {'concept': 'political organization'}], ['John William Meece', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?z WHERE { resource:William_Kettner property:member_of_political_party ?z . resource:John_William_Meece property:member_of_political_party ?z . ?z rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
AND((Q2542040,P102,c(Q7210356)), (Q6264219,P102,c(Q7210356)))
action filter_type
action intersection
action find
entity Q2542040
relation P102
action find
entity Q6264219
relation P102
type Q7210356
William Kettner and John William Meece are affiliated with [ANSWER]
{'AND': [['Q2542040', 'P102', {'concept': 'Q7210356'}], ['Q6264219', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?z WHERE { resource:Q2542040 property:P102 ?z . resource:Q6264219 property:P102 ?z . ?z rdf:type ontology:Q7210356 }
Democratic Party
William Kettner and John William Meece are affiliated with Democratic Party
Democratic Party
action filter_type
action intersection
action find
entity William Kettner
relation member of political party
action find
entity John William Meece
relation member of political party
type political organization
{'AND': [['William Kettner', 'member of political party', {'concept': 'political organization'}], ['John William Meece', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?z WHERE { resource:William_Kettner property:member_of_political_party ?z . resource:John_William_Meece property:member_of_political_party ?z . ?z rdf:type ontology:political_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P112
Q502895
USER
How many people are the names of the founders of that political organization ?
(Q29552,P112,c(Q502895))
action count
action filter_type
action find
entity Q29552
relation P112
type Q502895
['Q29552', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Q29552 property:P112 ?k . ?k rdf:type ontology:Q502895 }
action count
action filter_type
action find
entity Democratic Party
relation founder
type common name
['Democratic Party', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Democratic_Party property:founder ?k . ?k rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q11817
(Q29552,P112,c(Q502895))
action count
action filter_type
action find
entity Q29552
relation P112
type Q502895
[ANSWER]
['Q29552', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Q29552 property:P112 ?k . ?k rdf:type ontology:Q502895 }
Andrew Jackson
1
action count
action filter_type
action find
entity Democratic Party
relation founder
type common name
['Democratic Party', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Democratic_Party property:founder ?k . ?k rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q36 Q28513
P206
Q355304
USER
How many watercourses are located in the neighbourhood of Poland and Austria-Hungary ?
(Q36,P206,c(Q355304)) (Q28513,P206,c(Q355304))
action count
action intersection
action filter_type
action find
entity Q36
relation P206
type Q355304
action filter_type
action find
entity Q28513
relation P206
type Q355304
['Q36', 'P206', {'concept': 'Q355304'}] ['Q28513', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { resource:Q36 property:P206 ?m . ?m rdf:type ontology:Q355304 . resource:Q28513 property:P206 ?m . ?m rdf:type ontology:Q355304 }
Poland Austria-Hungary
action count
action intersection
action filter_type
action find
entity Poland
relation located next to body of water
type watercourse
action filter_type
action find
entity Austria-Hungary
relation located next to body of water
type watercourse
['Poland', 'located next to body of water', {'concept': 'watercourse'}] ['Austria-Hungary', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { resource:Poland property:located_next_to_body_of_water ?m . ?m rdf:type ontology:watercourse . resource:Austria-Hungary property:located_next_to_body_of_water ?m . ?m rdf:type ontology:watercourse }
[]
watercourse
SYSTEM
6
Q552 Q548 Q582675 Q1331973 Q156237 Q577026
(Q36,P206,c(Q355304)) (Q28513,P206,c(Q355304))
action count
action intersection
action filter_type
action find
entity Q36
relation P206
type Q355304
action filter_type
action find
entity Q28513
relation P206
type Q355304
[ANSWER]
['Q36', 'P206', {'concept': 'Q355304'}] ['Q28513', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { resource:Q36 property:P206 ?m . ?m rdf:type ontology:Q355304 . resource:Q28513 property:P206 ?m . ?m rdf:type ontology:Q355304 }
Oder Vistula Jizera Olza Western Bug Opava
6
action count
action intersection
action filter_type
action find
entity Poland
relation located next to body of water
type watercourse
action filter_type
action find
entity Austria-Hungary
relation located next to body of water
type watercourse
['Poland', 'located next to body of water', {'concept': 'watercourse'}] ['Austria-Hungary', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { resource:Poland property:located_next_to_body_of_water ?m . ?m rdf:type ontology:watercourse . resource:Austria-Hungary property:located_next_to_body_of_water ?m . ?m rdf:type ontology:watercourse }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q55
P35
Q502895
USER
Which people have the highest formal authority in Netherlands ?
(Q55,P35,c(Q502895))
action filter_type
action find
entity Q55
relation P35
type Q502895
['Q55', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q55 property:P35 ?z . ?z rdf:type ontology:Q502895 }
Netherlands
action filter_type
action find
entity Netherlands
relation head of state
type common name
['Netherlands', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Netherlands property:head_of_state ?z . ?z rdf:type ontology:common_name }
[]
common name
Q154946 Q29574 Q154952
SYSTEM
Juliana of the Netherlands, Beatrix of the Netherlands, Willem-Alexander of the Netherlands
Q154952 Q29574 Q154946 Q150747
(Q55,P35,c(Q502895))
action filter_type
action find
entity Q55
relation P35
type Q502895
[ANSWERS] have the highest formal authority in Netherlands
['Q55', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q55 property:P35 ?z . ?z rdf:type ontology:Q502895 }
Willem-Alexander of the Netherlands Beatrix of the Netherlands Juliana of the Netherlands Wilhelmina of the Netherlands
Juliana of the Netherlands, Beatrix of the Netherlands and Willem-Alexander of the Netherlands have the highest formal authority in Netherlands
Juliana of the Netherlands Beatrix of the Netherlands Willem-Alexander of the Netherlands
action filter_type
action find
entity Netherlands
relation head of state
type common name
['Netherlands', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Netherlands property:head_of_state ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q55 Q220013
P463
Q484652
USER
How many international organizations were Netherlands or Barcelona Zoo a member of ?
(Q55,P463,c(Q484652)) (Q220013,P463,c(Q484652))
action count
action union
action filter_type
action find
entity Q55
relation P463
type Q484652
action filter_type
action find
entity Q220013
relation P463
type Q484652
['Q55', 'P463', {'concept': 'Q484652'}] ['Q220013', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { { resource:Q55 property:P463 ?u . ?u rdf:type ontology:Q484652 } UNION { ?u rdf:type ontology:Q484652 . resource:Q220013 property:P463 ?u } }
Netherlands Barcelona Zoo
action count
action union
action filter_type
action find
entity Netherlands
relation member of
type international organization
action filter_type
action find
entity Barcelona Zoo
relation member of
type international organization
['Netherlands', 'member of', {'concept': 'international organization'}] ['Barcelona Zoo', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { { resource:Netherlands property:member_of ?u . ?u rdf:type ontology:international_organization } UNION { ?u rdf:type ontology:international_organization . resource:Barcelona_Zoo property:member_of ?u } }
[]
international organization
SYSTEM
19
Q81299 Q826700 Q54129 Q188822 Q47488 Q1411881 Q7184 Q42262 Q152299 Q472311 Q8475 Q1480793 Q182000 Q233611 Q201054 Q7804 Q842490 Q1043527 Q1045198
(Q55,P463,c(Q484652)) (Q220013,P463,c(Q484652))
action count
action union
action filter_type
action find
entity Q55
relation P463
type Q484652
action filter_type
action find
entity Q220013
relation P463
type Q484652
[ANSWER]
['Q55', 'P463', {'concept': 'Q484652'}] ['Q220013', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { { resource:Q55 property:P463 ?u . ?u rdf:type ontology:Q484652 } UNION { ?u rdf:type ontology:Q484652 . resource:Q220013 property:P463 ?u } }
Organization for Security and Co-operation in Europe International Energy Agency International Labour Organization Asian Development Bank International Criminal Court Group of Ten North Atlantic Treaty Organisation European Space Agency Dutch Language Union International Organization for Migration Interpol Nuclear Suppliers Group United Nations Conference on Trade and Development International Hydrographic Organization International Maritime Organization International Monetary Fund Organisation for the Prohibition of Chemical Weapons Multilateral Investment Guarantee Agency Permanent Court of Arbitration
19
action count
action union
action filter_type
action find
entity Netherlands
relation member of
type international organization
action filter_type
action find
entity Barcelona Zoo
relation member of
type international organization
['Netherlands', 'member of', {'concept': 'international organization'}] ['Barcelona Zoo', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { { resource:Netherlands property:member_of ?u . ?u rdf:type ontology:international_organization } UNION { ?u rdf:type ontology:international_organization . resource:Barcelona_Zoo property:member_of ?u } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q55
P915
Q838948
USER
Which work of art had that administrative territory as its location of filming ?
action filter_type
action find_reverse
entity Q55
relation P915
type Q838948
SELECT DISTINCT ?c WHERE { ?c property:P915 resource:Q55 . ?c rdf:type ontology:Q838948 }
Netherlands
action filter_type
action find_reverse
entity Netherlands
relation filming location
type work of art
SELECT DISTINCT ?c WHERE { ?c property:filming_location resource:Netherlands . ?c rdf:type ontology:work_of_art }
[]
work of art
Q18655611
SYSTEM
Our Colonial Hangover
Q18655611
action filter_type
action find_reverse
entity Q55
relation P915
type Q838948
[ANSWER] had that administrative territory as its location of filming
SELECT DISTINCT ?c WHERE { ?c property:P915 resource:Q55 . ?c rdf:type ontology:Q838948 }
Our Colonial Hangover
Our Colonial Hangover had that administrative territory as its location of filming
Our Colonial Hangover
action filter_type
action find_reverse
entity Netherlands
relation filming location
type work of art
SELECT DISTINCT ?c WHERE { ?c property:filming_location resource:Netherlands . ?c rdf:type ontology:work_of_art }
[]