Simple Question (Direct)
Simple Question
Q63329
P735
Q82799
USER
Which name is Robin van Kampen known by ?
(Q63329,P735,c(Q82799))
action filter_type
action find
entity Q63329
relation P735
type Q82799
['Q63329', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q63329 property:P735 ?q . ?q rdf:type ontology:Q82799 }
Robin van Kampen
action filter_type
action find
entity Robin van Kampen
relation given name
type name
['Robin van Kampen', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:Robin_van_Kampen property:given_name ?q . ?q rdf:type ontology:name }
[]
name
Q1158139
SYSTEM
Robin
Q1158139
(Q63329,P735,c(Q82799))
action filter_type
action find
entity Q63329
relation P735
type Q82799
[ANSWER] van Kampen is known as [ANSWER]
['Q63329', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q63329 property:P735 ?q . ?q rdf:type ontology:Q82799 }
Robin
Robin van Kampen is known as Robin
Robin
action filter_type
action find
entity Robin van Kampen
relation given name
type name
['Robin van Kampen', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:Robin_van_Kampen property:given_name ?q . ?q rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q63329
P27
Q15617994
USER
Which administrative territory does Robin van Kampen belong to ?
(Q63329,P27,c(Q15617994))
action filter_type
action find
entity Q63329
relation P27
type Q15617994
['Q63329', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . resource:Q63329 property:P27 ?a }
Robin van Kampen
action filter_type
action find
entity Robin van Kampen
relation country of citizenship
type designation for an administrative territorial entity
['Robin van Kampen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Robin_van_Kampen property:country_of_citizenship ?a }
[]
designation for an administrative territorial entity
Q29999
SYSTEM
Kingdom of the Netherlands
Q29999
(Q63329,P27,c(Q15617994))
action filter_type
action find
entity Q63329
relation P27
type Q15617994
Robin van Kampen belongs to [ANSWER]
['Q63329', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . resource:Q63329 property:P27 ?a }
Kingdom of the Netherlands
Robin van Kampen belongs to Kingdom of the Netherlands
Kingdom of the Netherlands
action filter_type
action find
entity Robin van Kampen
relation country of citizenship
type designation for an administrative territorial entity
['Robin van Kampen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Robin_van_Kampen property:country_of_citizenship ?a }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q29999 Q13471286
P27
Q502895
USER
Is Hotse Bartlema a citizen of that administrative territory ?
(Q13471286,P27,Q29999)
action is_in
entity Q29999
action find
entity Q13471286
relation P27
['Q13471286', 'P27', 'Q29999']
ASK WHERE { resource:Q13471286 property:P27 resource:Q29999 }
Kingdom of the Netherlands Hotse Bartlema
action is_in
entity Kingdom of the Netherlands
action find
entity Hotse Bartlema
relation country of citizenship
['Hotse Bartlema', 'country of citizenship', 'Kingdom of the Netherlands']
ASK WHERE { resource:Hotse_Bartlema property:country_of_citizenship resource:Kingdom_of_the_Netherlands }
[]
common name
SYSTEM
YES
(Q13471286,P27,Q29999)
action is_in
entity Q29999
action find
entity Q13471286
relation P27
[ANSWER]
['Q13471286', 'P27', 'Q29999']
ASK WHERE { resource:Q13471286 property:P27 resource:Q29999 }
Yes
action is_in
entity Kingdom of the Netherlands
action find
entity Hotse Bartlema
relation country of citizenship
['Hotse Bartlema', 'country of citizenship', 'Kingdom of the Netherlands']
ASK WHERE { resource:Hotse_Bartlema property:country_of_citizenship resource:Kingdom_of_the_Netherlands }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1158139 Q1860 Q783605
P407
Q34770
USER
Is Robin created in language English and Written vernacular Chinese ?
(Q1158139,P407,Q1860) (Q1158139,P407,Q783605)
action is_in
entity Q1158139
action intersection
action find_reverse
entity Q1860
relation P407
action find_reverse
entity Q783605
relation P407
['Q1158139', 'P407', 'Q1860'] ['Q1158139', 'P407', 'Q783605']
ASK WHERE { resource:Q1158139 property:P407 resource:Q1860 . resource:Q1158139 property:P407 resource:Q783605 }
Robin English Written vernacular Chinese
action is_in
entity Robin
action intersection
action find_reverse
entity English
relation language of work or name
action find_reverse
entity Written vernacular Chinese
relation language of work or name
['Robin', 'language of work or name', 'English'] ['Robin', 'language of work or name', 'Written vernacular Chinese']
ASK WHERE { resource:Robin property:language_of_work_or_name resource:English . resource:Robin property:language_of_work_or_name resource:Written_vernacular_Chinese }
[]
language
SYSTEM
YES and NO respectively
(Q1158139,P407,Q1860) (Q1158139,P407,Q783605)
action is_in
entity Q1158139
action intersection
action find_reverse
entity Q1860
relation P407
action find_reverse
entity Q783605
relation P407
[ANSWER]
['Q1158139', 'P407', 'Q1860'] ['Q1158139', 'P407', 'Q783605']
ASK WHERE { resource:Q1158139 property:P407 resource:Q1860 . resource:Q1158139 property:P407 resource:Q783605 }
YES and NO respectively
action is_in
entity Robin
action intersection
action find_reverse
entity English
relation language of work or name
action find_reverse
entity Written vernacular Chinese
relation language of work or name
['Robin', 'language of work or name', 'English'] ['Robin', 'language of work or name', 'Written vernacular Chinese']
ASK WHERE { resource:Robin property:language_of_work_or_name resource:English . resource:Robin property:language_of_work_or_name resource:Written_vernacular_Chinese }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q241
P530
Q15617994 Q15617994
USER
Which administrative territories have ambassadorial relations with lesser number of administrative territories than Cuba ?
(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 Q241
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?b ) WHERE { ?h property:P530 ?n . ?h rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { resource:Q241 property:P530 ?g . ?g rdf:type ontology:Q15617994 } } . FILTER ( ?b < ?q ) }
Cuba
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 Cuba
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 ( ?n ) AS ?b ) WHERE { ?h property:diplomatic_relation ?n . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { resource:Cuba property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b < ?q ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q96
SYSTEM
Netherlands, Poland, Mexico
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q265 Q712 Q717 Q837 Q398 Q657 Q792 Q790 Q954 Q958 Q881 Q986 Q242 Q244 Q811 Q33 Q924 Q36 Q34 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 Q842 Q1029 Q1028 Q786 Q228 Q227 Q224 Q221 Q96 Q229 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q77 Q878 Q774 Q817 Q810 Q1019 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 Q241
relation P530
type Q15617994
[ANSWERS] have ambassadorial relations with lesser number of administrative territories than Cuba
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?b ) WHERE { ?h property:P530 ?n . ?h rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { resource:Q241 property:P530 ?g . ?g rdf:type ontology:Q15617994 } } . FILTER ( ?b < ?q ) }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Uzbekistan Fiji Venezuela Nepal Bahrain Chad El Salvador Haiti Zimbabwe South Sudan Vietnam Eritrea Belize Barbados Nicaragua Finland Tanzania Poland Sweden 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 Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Croatia Republic of Macedonia Mexico Cyprus 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 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 Togo Tonga Spain New Caledonia Thailand
Netherlands, Poland and Mexico have ambassadorial relations with lesser number of administrative territories than Cuba
Netherlands Poland Mexico
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 Cuba
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 ( ?n ) AS ?b ) WHERE { ?h property:diplomatic_relation ?n . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { resource:Cuba property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b < ?q ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q744302
P530
Q1048835
USER
Do Nova Lacerda have tactful political relations with those administrative territories ?
(Q744302,P530,Q55) (Q744302,P530,Q36) (Q744302,P530,Q96)
action is_in
entity prev_answer
action find
entity Q744302
relation P530
['Q744302', 'P530', 'Q55'] ['Q744302', 'P530', 'Q36'] ['Q744302', 'P530', 'Q96']
ASK WHERE { resource:Q744302 property:P530 ?l . VALUES ( ?l ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
Nova Lacerda
action is_in
entity prev_answer
action find
entity Nova Lacerda
relation diplomatic relation
['Nova Lacerda', 'diplomatic relation', 'Netherlands'] ['Nova Lacerda', 'diplomatic relation', 'Poland'] ['Nova Lacerda', 'diplomatic relation', 'Mexico']
ASK WHERE { resource:Nova_Lacerda property:diplomatic_relation ?l . VALUES ( ?l ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
political territorial entity
SYSTEM
NO
(Q744302,P530,Q55) (Q744302,P530,Q36) (Q744302,P530,Q96)
action is_in
entity prev_answer
action find
entity Q744302
relation P530
[ANSWER]
['Q744302', 'P530', 'Q55'] ['Q744302', 'P530', 'Q36'] ['Q744302', 'P530', 'Q96']
ASK WHERE { resource:Q744302 property:P530 ?l . VALUES ( ?l ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
No
action is_in
entity prev_answer
action find
entity Nova Lacerda
relation diplomatic relation
['Nova Lacerda', 'diplomatic relation', 'Netherlands'] ['Nova Lacerda', 'diplomatic relation', 'Poland'] ['Nova Lacerda', 'diplomatic relation', 'Mexico']
ASK WHERE { resource:Nova_Lacerda property:diplomatic_relation ?l . VALUES ( ?l ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q55 Q4972378 Q318320
P6
Q502895
USER
Does Netherlands have a government lead by Willem Maurits van Nassau and Joop den Uyl ?
(Q55,P6,Q4972378) (Q55,P6,Q318320)
action is_in
entity Q55
action intersection
action find_reverse
entity Q4972378
relation P6
action find_reverse
entity Q318320
relation P6
['Q55', 'P6', 'Q4972378'] ['Q55', 'P6', 'Q318320']
ASK WHERE { resource:Q55 property:P6 resource:Q4972378 . resource:Q55 property:P6 resource:Q318320 }
Netherlands Willem Maurits van Nassau Joop den Uyl
action is_in
entity Netherlands
action intersection
action find_reverse
entity Willem Maurits van Nassau
relation head of government
action find_reverse
entity Joop den Uyl
relation head of government
['Netherlands', 'head of government', 'Willem Maurits van Nassau'] ['Netherlands', 'head of government', 'Joop den Uyl']
ASK WHERE { resource:Netherlands property:head_of_government resource:Willem_Maurits_van_Nassau . resource:Netherlands property:head_of_government resource:Joop_den_Uyl }
[]
common name
SYSTEM
NO and YES respectively
(Q55,P6,Q4972378) (Q55,P6,Q318320)
action is_in
entity Q55
action intersection
action find_reverse
entity Q4972378
relation P6
action find_reverse
entity Q318320
relation P6
[ANSWER]
['Q55', 'P6', 'Q4972378'] ['Q55', 'P6', 'Q318320']
ASK WHERE { resource:Q55 property:P6 resource:Q4972378 . resource:Q55 property:P6 resource:Q318320 }
NO and YES respectively
action is_in
entity Netherlands
action intersection
action find_reverse
entity Willem Maurits van Nassau
relation head of government
action find_reverse
entity Joop den Uyl
relation head of government
['Netherlands', 'head of government', 'Willem Maurits van Nassau'] ['Netherlands', 'head of government', 'Joop den Uyl']
ASK WHERE { resource:Netherlands property:head_of_government resource:Willem_Maurits_van_Nassau . resource:Netherlands property:head_of_government resource:Joop_den_Uyl }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q214
P495
Q15617994 Q2088357 Q15416
USER
Which administrative territories are the origin of less number of musical ensembles and television programs than Slovakia ?
(c(Q2088357)|c(Q15416),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q214
relation P495
type Q2088357
type Q15416
[[{'concept': 'Q2088357'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) ?b WHERE { VALUES ( ?l ) { ( ontology:Q2088357 ) ( ontology:Q15416 ) } . ?m rdf:type ?l } GROUP BY ?b } . FILTER ( ?d < ?v ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { ?h property:P495 resource:Q214 . { ?h rdf:type ?w . VALUES ( ?w ) { ( ontology:Q2088357 ) ( ontology:Q15416 ) } } } } }
Slovakia
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Slovakia
relation country of origin
type musical ensemble
type television program
[[{'concept': 'musical ensemble'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) ?b WHERE { VALUES ( ?l ) { ( ontology:musical_ensemble ) ( ontology:television_program ) } . ?m rdf:type ?l } GROUP BY ?b } . FILTER ( ?d < ?v ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { ?h property:country_of_origin resource:Slovakia . { ?h rdf:type ?w . VALUES ( ?w ) { ( ontology:musical_ensemble ) ( ontology:television_program ) } } } } }
[]
designation for an administrative territorial entity musical ensemble television program
Q230 Q953 Q184
SYSTEM
Georgia, Zambia, Belarus
Q805 Q804 Q800 Q1462 Q12536 Q262 Q783 Q265 Q37 Q36678 Q712 Q711 Q837 Q1460 Q399 Q398 Q657 Q792 Q4628 Q796 Q954 Q889 Q958 Q986 Q826 Q241 Q242 Q244 Q811 Q153136 Q32 Q924 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q1045 Q1044 Q1041 Q921 Q1049 Q1025 Q1027 Q1020 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q223 Q222 Q221 Q229 Q347 Q1036 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q962 Q963 Q115 Q114 Q117 Q754 Q217 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q672 Q176 Q863 Q953
(c(Q2088357)|c(Q15416),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q214
relation P495
type Q2088357
type Q15416
[ANSWERS] are the origin of less number of musical ensembles and television programs than Slovakia
[[{'concept': 'Q2088357'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) ?b WHERE { VALUES ( ?l ) { ( ontology:Q2088357 ) ( ontology:Q15416 ) } . ?m rdf:type ?l } GROUP BY ?b } . FILTER ( ?d < ?v ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { ?h property:P495 resource:Q214 . { ?h rdf:type ?w . VALUES ( ?w ) { ( ontology:Q2088357 ) ( ontology:Q15416 ) } } } } }
Yemen Panama Costa Rica Sardinia Abbasid caliphate Algeria Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Nepal Sicily Armenia Bahrain Chad El Salvador Faroe Islands Iraq Zimbabwe Afghanistan South Sudan Eritrea Maldives Cuba Belize Barbados Nicaragua Habsburg Empire Luxembourg Tanzania North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Somalia Sierra Leone Senegal Brunei Sudan Mauritania Mauritius Malawi Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Greenland Albania Republic of Macedonia Cyprus Liechtenstein Uganda Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Benin Botswana Ethiopia Kenya Ghana Trinidad and Tobago Republic of Moldova Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Tuvalu Quebec Tajikistan Zambia
Georgia, Zambia and Belarus are the origin of less number of musical ensembles and television programs than Slovakia
Georgia Zambia Belarus
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Slovakia
relation country of origin
type musical ensemble
type television program
[[{'concept': 'musical ensemble'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) ?b WHERE { VALUES ( ?l ) { ( ontology:musical_ensemble ) ( ontology:television_program ) } . ?m rdf:type ?l } GROUP BY ?b } . FILTER ( ?d < ?v ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { ?h property:country_of_origin resource:Slovakia . { ?h rdf:type ?w . VALUES ( ?w ) { ( ontology:musical_ensemble ) ( ontology:television_program ) } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q881
P495
Q15617994 Q2088357 Q15416
USER
And what about Vietnam?
(c(Q2088357)|c(Q15416),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q881
relation P495
type Q2088357
type Q15416
[[{'concept': 'Q2088357'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?y ) WHERE { { ?v property:P495 ?e . ?e rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q2088357 } UNION { ?e rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15416 . ?v property:P495 ?e } } GROUP BY ?e } . FILTER ( ?y < ?p ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { ?i property:P495 resource:Q881 . { ?i rdf:type ?s . VALUES ( ?s ) { ( ontology:Q2088357 ) ( ontology:Q15416 ) } } } } }
Vietnam
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Vietnam
relation country of origin
type musical ensemble
type television program
[[{'concept': 'musical ensemble'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?y ) WHERE { { ?v property:country_of_origin ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:musical_ensemble } UNION { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:television_program . ?v property:country_of_origin ?e } } GROUP BY ?e } . FILTER ( ?y < ?p ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { ?i property:country_of_origin resource:Vietnam . { ?i rdf:type ?s . VALUES ( ?s ) { ( ontology:musical_ensemble ) ( ontology:television_program ) } } } } }
[]
designation for an administrative territorial entity musical ensemble television program
Q230 Q953 Q184
SYSTEM
Georgia, Zambia, Belarus
Q805 Q804 Q800 Q1462 Q12536 Q262 Q783 Q265 Q37 Q36678 Q712 Q711 Q837 Q1460 Q399 Q398 Q657 Q792 Q790 Q4628 Q796 Q954 Q889 Q958 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q32 Q924 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q1045 Q1044 Q1041 Q921 Q1049 Q1025 Q1027 Q1020 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q223 Q222 Q221 Q229 Q347 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q115 Q114 Q117 Q754 Q750 Q211 Q217 Q214 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q672 Q176 Q863 Q953
(c(Q2088357)|c(Q15416),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q881
relation P495
type Q2088357
type Q15416
[ANSWERS]
[[{'concept': 'Q2088357'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?y ) WHERE { { ?v property:P495 ?e . ?e rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q2088357 } UNION { ?e rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15416 . ?v property:P495 ?e } } GROUP BY ?e } . FILTER ( ?y < ?p ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { ?i property:P495 resource:Q881 . { ?i rdf:type ?s . VALUES ( ?s ) { ( ontology:Q2088357 ) ( ontology:Q15416 ) } } } } }
Yemen Panama Costa Rica Sardinia Abbasid caliphate Algeria Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Nepal Sicily Armenia Bahrain Chad El Salvador Haiti Faroe Islands Iraq Zimbabwe Afghanistan South Sudan Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Luxembourg Tanzania North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Somalia Sierra Leone Senegal Brunei Sudan Mauritania Mauritius Malawi Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Greenland Albania Republic of Macedonia Cyprus Liechtenstein Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Latvia Republic of Moldova Slovakia Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Tuvalu Quebec Tajikistan Zambia
Georgia Zambia Belarus
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Vietnam
relation country of origin
type musical ensemble
type television program
[[{'concept': 'musical ensemble'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?y ) WHERE { { ?v property:country_of_origin ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:musical_ensemble } UNION { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:television_program . ?v property:country_of_origin ?e } } GROUP BY ?e } . FILTER ( ?y < ?p ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { ?i property:country_of_origin resource:Vietnam . { ?i rdf:type ?s . VALUES ( ?s ) { ( ontology:musical_ensemble ) ( ontology:television_program ) } } } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q10682847 Q29999
P17
Q15617994
USER
Which administrative territories are Kingdom of the Netherlands or Stäksön situated in ?
OR((Q29999,P17,c(Q15617994)), (Q10682847,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q29999
relation P17
action find
entity Q10682847
relation P17
type Q15617994
{'OR': [['Q29999', 'P17', {'concept': 'Q15617994'}], ['Q10682847', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q29999 property:P17 ?w } UNION { resource:Q10682847 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
Stäksön Kingdom of the Netherlands
action filter_type
action union
action find
entity Kingdom of the Netherlands
relation country
action find
entity Stäksön
relation country
type designation for an administrative territorial entity
{'OR': [['Kingdom of the Netherlands', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Stäksön', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Kingdom_of_the_Netherlands property:country ?w } UNION { resource:Stäksön property:country ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29999 Q34
SYSTEM
Kingdom of the Netherlands, Sweden
Q29999 Q34
OR((Q29999,P17,c(Q15617994)), (Q10682847,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q29999
relation P17
action find
entity Q10682847
relation P17
type Q15617994
Kingdom of the Netherlands or Stäksön are situated in [ANSWERS]
{'OR': [['Q29999', 'P17', {'concept': 'Q15617994'}], ['Q10682847', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q29999 property:P17 ?w } UNION { resource:Q10682847 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
Kingdom of the Netherlands Sweden
Kingdom of the Netherlands or Stäksön are situated in Kingdom of the Netherlands and Sweden
Kingdom of the Netherlands Sweden
action filter_type
action union
action find
entity Kingdom of the Netherlands
relation country
action find
entity Stäksön
relation country
type designation for an administrative territorial entity
{'OR': [['Kingdom of the Netherlands', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Stäksön', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Kingdom_of_the_Netherlands property:country ?w } UNION { resource:Stäksön property:country ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q318320
P1196
Q1931388
USER
What situation did Joop den Uyl die in ?
(Q318320,P1196,c(Q1931388))
action filter_type
action find
entity Q318320
relation P1196
type Q1931388
['Q318320', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?j WHERE { resource:Q318320 property:P1196 ?j . ?j rdf:type ontology:Q1931388 }
Joop den Uyl
action filter_type
action find
entity Joop den Uyl
relation manner of death
type cause of death
['Joop den Uyl', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?j WHERE { resource:Joop_den_Uyl property:manner_of_death ?j . ?j rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q318320,P1196,c(Q1931388))
action filter_type
action find
entity Q318320
relation P1196
type Q1931388
Joop denned af [ANSWER]
['Q318320', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?j WHERE { resource:Q318320 property:P1196 ?j . ?j rdf:type ontology:Q1931388 }
natural causes
Joop denned af natural causes
natural causes
action filter_type
action find
entity Joop den Uyl
relation manner of death
type cause of death
['Joop den Uyl', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?j WHERE { resource:Joop_den_Uyl property:manner_of_death ?j . ?j rdf:type ontology:cause_of_death }
[]