Simple Question (Direct)
Simple Question
Q121820
P108
Q19335303
USER
Which German business organization is the workplace of Walter Schlesinger ?
(Q121820,P108,c(Q19335303))
action filter_type
action find
entity Q121820
relation P108
type Q19335303
['Q121820', 'P108', {'concept': 'Q19335303'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q19335303 . resource:Q121820 property:P108 ?v }
Walter Schlesinger
action filter_type
action find
entity Walter Schlesinger
relation employer
type type of business entity in Germany
['Walter Schlesinger', 'employer', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:type_of_business_entity_in_Germany . resource:Walter_Schlesinger property:employer ?v }
[]
type of business entity in Germany
Q153006
SYSTEM
Free University of Berlin
Q153006
(Q121820,P108,c(Q19335303))
action filter_type
action find
entity Q121820
relation P108
type Q19335303
[ANSWER] is the workplace of Walter Schlesinger
['Q121820', 'P108', {'concept': 'Q19335303'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q19335303 . resource:Q121820 property:P108 ?v }
Free University of Berlin
Free University of Berlin is the workplace of Walter Schlesinger
Free University of Berlin
action filter_type
action find
entity Walter Schlesinger
relation employer
type type of business entity in Germany
['Walter Schlesinger', 'employer', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:type_of_business_entity_in_Germany . resource:Walter_Schlesinger property:employer ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q153006
P1454
Q1269299
USER
Which business organization is the legal form type of that German business organization ?
(Q153006,P1454,c(Q1269299))
action filter_type
action find
entity Q153006
relation P1454
type Q1269299
['Q153006', 'P1454', {'concept': 'Q1269299'}]
SELECT DISTINCT ?o WHERE { resource:Q153006 property:P1454 ?o . ?o rdf:type ontology:Q1269299 }
Free University of Berlin
action filter_type
action find
entity Free University of Berlin
relation legal form
type type of business entity
['Free University of Berlin', 'legal form', {'concept': 'type of business entity'}]
SELECT DISTINCT ?o WHERE { resource:Free_University_of_Berlin property:legal_form ?o . ?o rdf:type ontology:type_of_business_entity }
[]
type of business entity
Q15734684
SYSTEM
Körperschaft des öffentlichen Rechts
Q15734684
(Q153006,P1454,c(Q1269299))
action filter_type
action find
entity Q153006
relation P1454
type Q1269299
[ANSWER] is the legal form type of that German business organization
['Q153006', 'P1454', {'concept': 'Q1269299'}]
SELECT DISTINCT ?o WHERE { resource:Q153006 property:P1454 ?o . ?o rdf:type ontology:Q1269299 }
Körperschaft des öffentlichen Rechts
Körperschaft des öffentlichen Rechts is the legal form type of that German business organization
Körperschaft des öffentlichen Rechts
action filter_type
action find
entity Free University of Berlin
relation legal form
type type of business entity
['Free University of Berlin', 'legal form', {'concept': 'type of business entity'}]
SELECT DISTINCT ?o WHERE { resource:Free_University_of_Berlin property:legal_form ?o . ?o rdf:type ontology:type_of_business_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15734684
P1001
Q1048835
USER
Which political territory comes under the jurisdiction of that business organization ?
(Q15734684,P1001,c(Q1048835))
action filter_type
action find
entity Q15734684
relation P1001
type Q1048835
['Q15734684', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q15734684 property:P1001 ?c . ?c rdf:type ontology:Q1048835 }
Körperschaft des öffentlichen Rechts
action filter_type
action find
entity Körperschaft des öffentlichen Rechts
relation applies to jurisdiction
type political territorial entity
['Körperschaft des öffentlichen Rechts', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Körperschaft_des_öffentlichen_Rechts property:applies_to_jurisdiction ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q15734684,P1001,c(Q1048835))
action filter_type
action find
entity Q15734684
relation P1001
type Q1048835
[ANSWER] comes under the jurisdiction of that business organization
['Q15734684', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q15734684 property:P1001 ?c . ?c rdf:type ontology:Q1048835 }
Germany
Germany comes under the jurisdiction of that business organization
Germany
action filter_type
action find
entity Körperschaft des öffentlichen Rechts
relation applies to jurisdiction
type political territorial entity
['Körperschaft des öffentlichen Rechts', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Körperschaft_des_öffentlichen_Rechts property:applies_to_jurisdiction ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which administrative territories have ambassadorial relations with atmost 5 political territories ?
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 5
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?b <= 5 ) . { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?b ) WHERE { ?k property:P530 ?n . ?n rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?k } }
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 5
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?b <= 5 ) . { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?b ) WHERE { ?k property:diplomatic_relation ?n . ?n rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } }
[]
political territorial entity designation for an administrative territorial entity
Q155 Q30 Q159
SYSTEM
Brazil, United States of America, Russia
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 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 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 5
[ANSWERS] have ambassadorial relations with atmost 5 political territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?b <= 5 ) . { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?b ) WHERE { ?k property:P530 ?n . ?n rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?k } }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco 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 Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
Brazil, United States of America and Russia have ambassadorial relations with atmost 5 political territories
Brazil United States of America Russia
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 5
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?b <= 5 ) . { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?b ) WHERE { ?k property:diplomatic_relation ?n . ?n rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q30
P1313
Q895526
USER
Which authority organ is fulfilled by that administrative territory ?
(Q30,P1313,c(Q895526))
action filter_type
action find
entity Q30
relation P1313
type Q895526
['Q30', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?t WHERE { resource:Q30 property:P1313 ?t . ?t rdf:type ontology:Q895526 }
United States of America
action filter_type
action find
entity United States of America
relation office held by head of government
type authority organ
['United States of America', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?t WHERE { resource:United_States_of_America property:office_held_by_head_of_government ?t . ?t rdf:type ontology:authority_organ }
[]
authority organ
Clarification for simple ques.
Q155
SYSTEM
Did you mean Brazil ?
Q155 Q30 Q159
(Q155,P1313,c(Q895526)) (Q30,P1313,c(Q895526)) (Q159,P1313,c(Q895526))
[ANSWER]
['Q155', 'P1313', {'concept': 'Q895526'}] ['Q30', 'P1313', {'concept': 'Q895526'}] ['Q159', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?t WHERE { resource:Q30 property:P1313 ?t . ?t rdf:type ontology:Q895526 }
Brazil United States of America Russia
Did you mean Brazil ?
Brazil
['Brazil', 'office held by head of government', {'concept': 'authority organ'}] ['United States of America', 'office held by head of government', {'concept': 'authority organ'}] ['Russia', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?t WHERE { resource:United_States_of_America property:office_held_by_head_of_government ?t . ?t rdf:type ontology:authority_organ }
[]
Simple Question (Coreferenced)
USER
No, I meant United States of America. Could you tell me the answer for that?
(Q30,P1313,c(Q895526))
Q30
['Q30', 'P1313', {'concept': 'Q895526'}]
['United States of America', 'office held by head of government', {'concept': 'authority organ'}]
[]
Q11696
SYSTEM
President of the United States of America
Q11696
(Q30,P1313,c(Q895526))
action filter_type
action find
entity Q30
relation P1313
type Q895526
The [ANSWER] is fulfilled by that administrative territory
['Q30', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?t WHERE { resource:Q30 property:P1313 ?t . ?t rdf:type ontology:Q895526 }
President of the United States of America
The President of the United States of America is fulfilled by that administrative territory
President of the United States of America
action filter_type
action find
entity United States of America
relation office held by head of government
type authority organ
['United States of America', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?t WHERE { resource:United_States_of_America property:office_held_by_head_of_government ?t . ?t rdf:type ontology:authority_organ }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q11696 Q30
P1001
Q15617994
USER
Does United States of America come under the jurisdiction of that authority organ ?
(Q11696,P1001,Q30)
action is_in
entity Q30
action find
entity Q11696
relation P1001
['Q11696', 'P1001', 'Q30']
ASK WHERE { resource:Q11696 property:P1001 resource:Q30 }
President of the United States of America United States of America
action is_in
entity United States of America
action find
entity President of the United States of America
relation applies to jurisdiction
['President of the United States of America', 'applies to jurisdiction', 'United States of America']
ASK WHERE { resource:President_of_the_United_States_of_America property:applies_to_jurisdiction resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q11696,P1001,Q30)
action is_in
entity Q30
action find
entity Q11696
relation P1001
[ANSWER]
['Q11696', 'P1001', 'Q30']
ASK WHERE { resource:Q11696 property:P1001 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity President of the United States of America
relation applies to jurisdiction
['President of the United States of America', 'applies to jurisdiction', 'United States of America']
ASK WHERE { resource:President_of_the_United_States_of_America property:applies_to_jurisdiction resource:United_States_of_America }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P915
Q838948
USER
Which works of art were filmed at United States of America ?
(c(Q838948),P915,Q30)
action filter_type
action find_reverse
entity Q30
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q30']
SELECT DISTINCT ?u WHERE { ?u property:P915 resource:Q30 . ?u rdf:type ontology:Q838948 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'United States of America']
SELECT DISTINCT ?u WHERE { ?u property:filming_location resource:United_States_of_America . ?u rdf:type ontology:work_of_art }
[]
work of art
Q1127828 Q19946486 Q16251439
SYSTEM
Koyaanisqatsi, Til Vesterheimen, A Hologram for the King
Q1127828 Q19946486 Q16251439
(c(Q838948),P915,Q30)
action filter_type
action find_reverse
entity Q30
relation P915
type Q838948
[ANSWERS] were filmed at United States of America
[{'concept': 'Q838948'}, 'P915', 'Q30']
SELECT DISTINCT ?u WHERE { ?u property:P915 resource:Q30 . ?u rdf:type ontology:Q838948 }
Koyaanisqatsi Til Vesterheimen A Hologram for the King
Koyaanisqatsi, Til Vesterheimen and A Hologram for the King were filmed at United States of America
Koyaanisqatsi Til Vesterheimen A Hologram for the King
action filter_type
action find_reverse
entity United States of America
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'United States of America']
SELECT DISTINCT ?u WHERE { ?u property:filming_location resource:United_States_of_America . ?u rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1127828 Q19946486 Q16251439
P495
Q15617994
USER
Where did Koyaanisqatsi, Til Vesterheimen and A Hologram for the King originate ?
(Q1127828,P495,c(Q15617994)) (Q19946486,P495,c(Q15617994)) (Q16251439,P495,c(Q15617994))
action union
action filter_type
action find
entity Q1127828
relation P495
type Q15617994
action filter_type
action find
entity Q19946486
relation P495
type Q15617994
action filter_type
action find
entity Q16251439
relation P495
type Q15617994
['Q1127828', 'P495', {'concept': 'Q15617994'}] ['Q19946486', 'P495', {'concept': 'Q15617994'}] ['Q16251439', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { resource:Q19946486 property:P495 ?w . ?w rdf:type ontology:Q15617994 } UNION { resource:Q1127828 property:P495 ?w . ?w rdf:type ontology:Q15617994 } }
Koyaanisqatsi Til Vesterheimen A Hologram for the King
action union
action filter_type
action find
entity Koyaanisqatsi
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity Til Vesterheimen
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity A Hologram for the King
relation country of origin
type designation for an administrative territorial entity
['Koyaanisqatsi', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Til Vesterheimen', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['A Hologram for the King', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { resource:Til_Vesterheimen property:country_of_origin ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Koyaanisqatsi property:country_of_origin ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q30 Q30 Q96
SYSTEM
Mexico for 3rd, United States of America for 1st, 2nd
Q30 Q20 Q96 Q30
(Q1127828,P495,c(Q15617994)) (Q19946486,P495,c(Q15617994)) (Q16251439,P495,c(Q15617994))
action union
action filter_type
action find
entity Q1127828
relation P495
type Q15617994
action filter_type
action find
entity Q19946486
relation P495
type Q15617994
action filter_type
action find
entity Q16251439
relation P495
type Q15617994
[ANSWERS]
['Q1127828', 'P495', {'concept': 'Q15617994'}] ['Q19946486', 'P495', {'concept': 'Q15617994'}] ['Q16251439', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { resource:Q19946486 property:P495 ?w . ?w rdf:type ontology:Q15617994 } UNION { resource:Q1127828 property:P495 ?w . ?w rdf:type ontology:Q15617994 } }
United States of America Norway Mexico United States of America
Koyaanisqatsi , Til Vesterheimen and A Hologram for the King originated from United States of America, United States of America and Mexico
United States of America United States of America Mexico
action union
action filter_type
action find
entity Koyaanisqatsi
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity Til Vesterheimen
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity A Hologram for the King
relation country of origin
type designation for an administrative territorial entity
['Koyaanisqatsi', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Til Vesterheimen', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['A Hologram for the King', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { resource:Til_Vesterheimen property:country_of_origin ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Koyaanisqatsi property:country_of_origin ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P36
Q56061
USER
Which administrative territories are the capitals of that administrative territory ?
(Q30,P36,c(Q56061)) (Q30,P36,c(Q56061)) (Q96,P36,c(Q56061))
action filter_type
action find
entity Q30
relation P36
type Q56061
['Q30', 'P36', {'concept': 'Q56061'}] ['Q30', 'P36', {'concept': 'Q56061'}] ['Q96', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q30 property:P36 ?l }
United States of America
action filter_type
action find
entity United States of America
relation capital
type administrative territorial entity
['United States of America', 'capital', {'concept': 'administrative territorial entity'}] ['United States of America', 'capital', {'concept': 'administrative territorial entity'}] ['Mexico', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:United_States_of_America property:capital ?l }
[]
administrative territorial entity
Q60 Q61
SYSTEM
New York City, Washington, D.C.
Q60 Q61
(Q30,P36,c(Q56061)) (Q30,P36,c(Q56061)) (Q96,P36,c(Q56061))
action filter_type
action find
entity Q30
relation P36
type Q56061
[ANSWERS]
['Q30', 'P36', {'concept': 'Q56061'}] ['Q30', 'P36', {'concept': 'Q56061'}] ['Q96', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q30 property:P36 ?l }
New York City Washington, D.C.
New York City and Washington, D.C. are the capitals of that administrative territory
New York City Washington, D.C.
action filter_type
action find
entity United States of America
relation capital
type administrative territorial entity
['United States of America', 'capital', {'concept': 'administrative territorial entity'}] ['United States of America', 'capital', {'concept': 'administrative territorial entity'}] ['Mexico', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:United_States_of_America property:capital ?l }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q17779 Q155
P47 P530
Q15617994
USER
Which administrative territories holds diplomatic relationship with Brazil or are bordered by Castellero ?
OR((Q155,P530,c(Q15617994)), (Q17779,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q155
relation P530
action find
entity Q17779
relation P47
type Q15617994
{'OR': [['Q155', 'P530', {'concept': 'Q15617994'}], ['Q17779', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q17779 property:P47 ?r } UNION { resource:Q155 property:P530 ?r } } . ?r rdf:type ontology:Q15617994 }
Castellero Brazil
action filter_type
action union
action find
entity Brazil
relation diplomatic relation
action find
entity Castellero
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Castellero', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Castellero property:shares_border_with ?r } UNION { resource:Brazil property:diplomatic_relation ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q403 Q801 Q29 Q419 Q1011 Q77 Q159 Q79 Q241 Q668
SYSTEM
Some of them are Serbia, Israel, Spain, Peru, Cape Verde, Uruguay, Russia, Egypt, Cuba, India
Q783 Q801 Q800 Q843 Q1029 Q822 Q241 Q419 Q244 Q668 Q794 Q414 Q574 Q142 Q145 Q148 Q96 Q17 Q30 Q36 Q79 Q77 Q38 Q1016 Q739 Q423 Q717 Q983 Q733 Q1011 Q962 Q736 Q298 Q252 Q399 Q403 Q258 Q750 Q212 Q213 Q45 Q159 Q43 Q41 Q734 Q17825 Q790 Q796 Q17750 Q917 Q1033 Q29 Q17883 Q958 Q1049 Q916
OR((Q155,P530,c(Q15617994)), (Q17779,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q155
relation P530
action find
entity Q17779
relation P47
type Q15617994
[ANSWERS] hold diplomatic relationship with Brazil or are bordered by Castellero
{'OR': [['Q155', 'P530', {'concept': 'Q15617994'}], ['Q17779', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q17779 property:P47 ?r } UNION { resource:Q155 property:P530 ?r } } . ?r rdf:type ontology:Q15617994 }
Honduras Israel Costa Rica Pakistan Mozambique Lebanon Cuba Peru Barbados India Iran Argentina East Timor France United Kingdom People's Republic of China Mexico Japan United States of America Poland Egypt Uruguay Italy Libya Colombia North Korea Venezuela Equatorial Guinea Paraguay Cape Verde Benin Ecuador Chile Indonesia Armenia Serbia South Africa Bolivia Ukraine Czech Republic Portugal Russia Turkey Greece Guyana Monale Haiti Iraq Baldichieri d'Asti Bhutan Nigeria Spain Villafranca d'Asti South Sudan Sudan Angola
Serbia, Israel, Spain, Peru, Cape Verde, Uruguay, Russia, Egypt, Cuba and India hold diplomatic relationship with Brazil or are bordered by Castellero
Serbia Israel Spain Peru Cape Verde Uruguay Russia Egypt Cuba India
action filter_type
action union
action find
entity Brazil
relation diplomatic relation
action find
entity Castellero
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Castellero', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Castellero property:shares_border_with ?r } UNION { resource:Brazil property:diplomatic_relation ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1496109
P530
Q15617994
USER
Do Messenhausen have diplomatic associations with those ones ?
(Q1496109,P530,Q403) (Q1496109,P530,Q801) (Q1496109,P530,Q29) (Q1496109,P530,Q419) (Q1496109,P530,Q1011) (Q1496109,P530,Q77) (Q1496109,P530,Q159) (Q1496109,P530,Q79) (Q1496109,P530,Q241) (Q1496109,P530,Q668)
action is_in
entity prev_answer
action find
entity Q1496109
relation P530
['Q1496109', 'P530', 'Q403'] ['Q1496109', 'P530', 'Q801'] ['Q1496109', 'P530', 'Q29'] ['Q1496109', 'P530', 'Q419'] ['Q1496109', 'P530', 'Q1011'] ['Q1496109', 'P530', 'Q77'] ['Q1496109', 'P530', 'Q159'] ['Q1496109', 'P530', 'Q79'] ['Q1496109', 'P530', 'Q241'] ['Q1496109', 'P530', 'Q668']
ASK WHERE { resource:Q1496109 property:P530 ?k . VALUES ( ?k ) { ( resource:Q783 ) ( resource:Q801 ) ( resource:Q800 ) } }
Messenhausen
action is_in
entity prev_answer
action find
entity Messenhausen
relation diplomatic relation
['Messenhausen', 'diplomatic relation', 'Serbia'] ['Messenhausen', 'diplomatic relation', 'Israel'] ['Messenhausen', 'diplomatic relation', 'Spain'] ['Messenhausen', 'diplomatic relation', 'Peru'] ['Messenhausen', 'diplomatic relation', 'Cape Verde'] ['Messenhausen', 'diplomatic relation', 'Uruguay'] ['Messenhausen', 'diplomatic relation', 'Russia'] ['Messenhausen', 'diplomatic relation', 'Egypt'] ['Messenhausen', 'diplomatic relation', 'Cuba'] ['Messenhausen', 'diplomatic relation', 'India']
ASK WHERE { resource:Messenhausen property:diplomatic_relation ?k . VALUES ( ?k ) { ( resource:Honduras ) ( resource:Israel ) ( resource:Costa_Rica ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1496109,P530,Q403) (Q1496109,P530,Q801) (Q1496109,P530,Q29) (Q1496109,P530,Q419) (Q1496109,P530,Q1011) (Q1496109,P530,Q77) (Q1496109,P530,Q159) (Q1496109,P530,Q79) (Q1496109,P530,Q241) (Q1496109,P530,Q668)
action is_in
entity prev_answer
action find
entity Q1496109
relation P530
[ANSWER]
['Q1496109', 'P530', 'Q403'] ['Q1496109', 'P530', 'Q801'] ['Q1496109', 'P530', 'Q29'] ['Q1496109', 'P530', 'Q419'] ['Q1496109', 'P530', 'Q1011'] ['Q1496109', 'P530', 'Q77'] ['Q1496109', 'P530', 'Q159'] ['Q1496109', 'P530', 'Q79'] ['Q1496109', 'P530', 'Q241'] ['Q1496109', 'P530', 'Q668']
ASK WHERE { resource:Q1496109 property:P530 ?k . VALUES ( ?k ) { ( resource:Q783 ) ( resource:Q801 ) ( resource:Q800 ) } }
No
action is_in
entity prev_answer
action find
entity Messenhausen
relation diplomatic relation
['Messenhausen', 'diplomatic relation', 'Serbia'] ['Messenhausen', 'diplomatic relation', 'Israel'] ['Messenhausen', 'diplomatic relation', 'Spain'] ['Messenhausen', 'diplomatic relation', 'Peru'] ['Messenhausen', 'diplomatic relation', 'Cape Verde'] ['Messenhausen', 'diplomatic relation', 'Uruguay'] ['Messenhausen', 'diplomatic relation', 'Russia'] ['Messenhausen', 'diplomatic relation', 'Egypt'] ['Messenhausen', 'diplomatic relation', 'Cuba'] ['Messenhausen', 'diplomatic relation', 'India']
ASK WHERE { resource:Messenhausen property:diplomatic_relation ?k . VALUES ( ?k ) { ( resource:Honduras ) ( resource:Israel ) ( resource:Costa_Rica ) } }
[]