Simple Question (Direct)
Simple Question
Q7349149
P1412
Q34770
USER
Which language does Robert Ramirez speak in ?
(Q7349149,P1412,c(Q34770))
action filter_type
action find
entity Q7349149
relation P1412
type Q34770
['Q7349149', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q7349149 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
Robert Ramirez
action filter_type
action find
entity Robert Ramirez
relation languages spoken, written or signed
type language
['Robert Ramirez', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Robert_Ramirez property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q7349149,P1412,c(Q34770))
action filter_type
action find
entity Q7349149
relation P1412
type Q34770
Robert Ramirez speaks Spanish [ANSWER]
['Q7349149', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q7349149 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
English
Robert Ramirez speaks Spanish English
English
action filter_type
action find
entity Robert Ramirez
relation languages spoken, written or signed
type language
['Robert Ramirez', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Robert_Ramirez property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7349149
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Robert Ramirez ?
(Q7349149,P27,c(Q15617994))
action filter_type
action find
entity Q7349149
relation P27
type Q15617994
['Q7349149', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q7349149 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Robert Ramirez
action filter_type
action find
entity Robert Ramirez
relation country of citizenship
type designation for an administrative territorial entity
['Robert Ramirez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Robert_Ramirez property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q7349149,P27,c(Q15617994))
action filter_type
action find
entity Q7349149
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Robert Ramirez
['Q7349149', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q7349149 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
United States of America
United States of America is the country of citizenship of Robert Ramirez
United States of America
action filter_type
action find
entity Robert Ramirez
relation country of citizenship
type designation for an administrative territorial entity
['Robert Ramirez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Robert_Ramirez property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16146176
Q15617994
USER
And what about Brasil Acosta Peña?
(Q16146176,P27,c(Q15617994))
action filter_type
action find
entity Q16146176
relation P27
type Q15617994
['Q16146176', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q16146176 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Brasil Acosta Peña
action filter_type
action find
entity Brasil Acosta Peña
relation country of citizenship
type designation for an administrative territorial entity
['Brasil Acosta Peña', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Brasil_Acosta_Peña property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96
SYSTEM
Mexico
Q96
(Q16146176,P27,c(Q15617994))
action filter_type
action find
entity Q16146176
relation P27
type Q15617994
[ANSWER]
['Q16146176', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q16146176 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Mexico
Mexico
action filter_type
action find
entity Brasil Acosta Peña
relation country of citizenship
type designation for an administrative territorial entity
['Brasil Acosta Peña', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Brasil_Acosta_Peña property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q96 Q21621850
P27
Q502895
USER
Is Issa Lish a civilian of that administrative territory ?
(Q21621850,P27,Q96)
action is_in
entity Q96
action find
entity Q21621850
relation P27
['Q21621850', 'P27', 'Q96']
ASK WHERE { resource:Q21621850 property:P27 resource:Q96 }
Mexico Issa Lish
action is_in
entity Mexico
action find
entity Issa Lish
relation country of citizenship
['Issa Lish', 'country of citizenship', 'Mexico']
ASK WHERE { resource:Issa_Lish property:country_of_citizenship resource:Mexico }
[]
common name
SYSTEM
YES
(Q21621850,P27,Q96)
action is_in
entity Q96
action find
entity Q21621850
relation P27
[ANSWER]
['Q21621850', 'P27', 'Q96']
ASK WHERE { resource:Q21621850 property:P27 resource:Q96 }
Yes
action is_in
entity Mexico
action find
entity Issa Lish
relation country of citizenship
['Issa Lish', 'country of citizenship', 'Mexico']
ASK WHERE { resource:Issa_Lish property:country_of_citizenship resource:Mexico }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3010502 Q21621850
P27
Q15617994
USER
Which administrative territories are Issa Lish or César Rincón an inhabitant of ?
OR((Q21621850,P27,c(Q15617994)), (Q3010502,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q21621850
relation P27
action find
entity Q3010502
relation P27
type Q15617994
{'OR': [['Q21621850', 'P27', {'concept': 'Q15617994'}], ['Q3010502', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q3010502 property:P27 ?q } UNION { resource:Q21621850 property:P27 ?q } } . ?q rdf:type ontology:Q15617994 }
César Rincón Issa Lish
action filter_type
action union
action find
entity Issa Lish
relation country of citizenship
action find
entity César Rincón
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Issa Lish', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['César Rincón', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:César_Rincón property:country_of_citizenship ?q } UNION { resource:Issa_Lish property:country_of_citizenship ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q739 Q96
SYSTEM
Colombia, Mexico
Q739 Q96
OR((Q21621850,P27,c(Q15617994)), (Q3010502,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q21621850
relation P27
action find
entity Q3010502
relation P27
type Q15617994
[ANSWERS] are Issa Lish or César Rincón an inhabitant of
{'OR': [['Q21621850', 'P27', {'concept': 'Q15617994'}], ['Q3010502', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q3010502 property:P27 ?q } UNION { resource:Q21621850 property:P27 ?q } } . ?q rdf:type ontology:Q15617994 }
Colombia Mexico
Colombia and Mexico are Issa Lish or César Rincón an inhabitant of
Colombia Mexico
action filter_type
action union
action find
entity Issa Lish
relation country of citizenship
action find
entity César Rincón
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Issa Lish', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['César Rincón', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:César_Rincón property:country_of_citizenship ?q } UNION { resource:Issa_Lish property:country_of_citizenship ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3568676 Q30
P47 P27
Q15617994
USER
Which administrative territories are bordered by United States of America or are William Haboush an inhabitant of ?
OR((Q30,P47,c(Q15617994)), (Q3568676,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q30
relation P47
action find
entity Q3568676
relation P27
type Q15617994
{'OR': [['Q30', 'P47', {'concept': 'Q15617994'}], ['Q3568676', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q30 property:P47 ?b } UNION { resource:Q3568676 property:P27 ?b } } . ?b rdf:type ontology:Q15617994 }
William Haboush United States of America
action filter_type
action union
action find
entity United States of America
relation shares border with
action find
entity William Haboush
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['William Haboush', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:United_States_of_America property:shares_border_with ?b } UNION { resource:William_Haboush property:country_of_citizenship ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q790 Q717 Q96 Q241 Q710 Q678 Q786 Q804 Q159 Q702
SYSTEM
Some of them are Haiti, Venezuela, Mexico, Cuba, Kiribati, Tonga, Dominican Republic, Panama, Russia, Federated States of Micronesia
Q702 Q804 Q159 Q96 Q683 Q786 Q241 Q17 Q710 Q678 Q30 Q717 Q790
OR((Q30,P47,c(Q15617994)), (Q3568676,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q30
relation P47
action find
entity Q3568676
relation P27
type Q15617994
[ANSWERS] are bordered by United States of America or are William Haboush an inhabitant of
{'OR': [['Q30', 'P47', {'concept': 'Q15617994'}], ['Q3568676', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q30 property:P47 ?b } UNION { resource:Q3568676 property:P27 ?b } } . ?b rdf:type ontology:Q15617994 }
Federated States of Micronesia Panama Russia Mexico Samoa Dominican Republic Cuba Japan Kiribati Tonga United States of America Venezuela Haiti
Haiti, Venezuela, Mexico, Cuba, Kiribati, Tonga, Dominican Republic, Panama, Russia and Federated States of Micronesia are bordered by United States of America or are William Haboush an inhabitant of
Haiti Venezuela Mexico Cuba Kiribati Tonga Dominican Republic Panama Russia Federated States of Micronesia
action filter_type
action union
action find
entity United States of America
relation shares border with
action find
entity William Haboush
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['William Haboush', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:United_States_of_America property:shares_border_with ?b } UNION { resource:William_Haboush property:country_of_citizenship ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P530
Q15617994
USER
How many administrative territories have diplomatic relationships with that administrative territory ?
(Q241,P530,c(Q15617994))
['Q241', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q241 property:P530 ?z . ?z rdf:type ontology:Q15617994 }
['Cuba', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Cuba property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q717
SYSTEM
Did you mean Venezuela ?
(Q790,P530,c(Q15617994)) (Q717,P530,c(Q15617994)) (Q96,P530,c(Q15617994)) (Q241,P530,c(Q15617994)) (Q710,P530,c(Q15617994)) (Q678,P530,c(Q15617994)) (Q786,P530,c(Q15617994)) (Q804,P530,c(Q15617994)) (Q159,P530,c(Q15617994)) (Q702,P530,c(Q15617994))
[ANSWER]
['Q790', 'P530', {'concept': 'Q15617994'}] ['Q717', 'P530', {'concept': 'Q15617994'}] ['Q96', 'P530', {'concept': 'Q15617994'}] ['Q241', 'P530', {'concept': 'Q15617994'}] ['Q710', 'P530', {'concept': 'Q15617994'}] ['Q678', 'P530', {'concept': 'Q15617994'}] ['Q786', 'P530', {'concept': 'Q15617994'}] ['Q804', 'P530', {'concept': 'Q15617994'}] ['Q159', 'P530', {'concept': 'Q15617994'}] ['Q702', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q241 property:P530 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Venezuela ?
Venezuela
['Haiti', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Venezuela', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Mexico', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Cuba', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Kiribati', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Tonga', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Dominican Republic', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Panama', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Russia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Federated States of Micronesia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Cuba property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Cuba. Could you tell me the answer for that?
(Q241,P530,c(Q15617994))
Q241
['Q241', 'P530', {'concept': 'Q15617994'}]
['Cuba', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
3
Q155 Q159 Q1011
(Q241,P530,c(Q15617994))
[ANSWER]
['Q241', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q241 property:P530 ?z . ?z rdf:type ontology:Q15617994 }
Brazil Russia Cape Verde
3
['Cuba', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Cuba property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q21965763 Q786
P530 P17
Q1048835
USER
Which political territories have diplomatic relationships with Dominican Republic and are not Rocky Hill present in ?
AND((Q786,P530,c(Q1048835)), NOT((Q21965763,P17,c(Q1048835))))
action filter_type
action difference
action find
entity Q786
relation P530
action find
entity Q21965763
relation P17
type Q1048835
{'AND': [['Q786', 'P530', {'concept': 'Q1048835'}], {'NOT': [['Q21965763', 'P17', {'concept': 'Q1048835'}]]}]}
SELECT DISTINCT ?i WHERE { resource:Q786 property:P530 ?i . MINUS { resource:Q21965763 property:P17 ?i } . ?i rdf:type ontology:Q1048835 }
Rocky Hill Dominican Republic
action filter_type
action difference
action find
entity Dominican Republic
relation diplomatic relation
action find
entity Rocky Hill
relation country
type political territorial entity
{'AND': [['Dominican Republic', 'diplomatic relation', {'concept': 'political territorial entity'}], {'NOT': [['Rocky Hill', 'country', {'concept': 'political territorial entity'}]]}]}
SELECT DISTINCT ?i WHERE { resource:Dominican_Republic property:diplomatic_relation ?i . MINUS { resource:Rocky_Hill property:country ?i } . ?i rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q786,P530,c(Q1048835)), NOT((Q21965763,P17,c(Q1048835))))
action filter_type
action difference
action find
entity Q786
relation P530
action find
entity Q21965763
relation P17
type Q1048835
[ANSWER] have diplomatic relationships with Dominican Republic and are not Rocky Hill present in
{'AND': [['Q786', 'P530', {'concept': 'Q1048835'}], {'NOT': [['Q21965763', 'P17', {'concept': 'Q1048835'}]]}]}
SELECT DISTINCT ?i WHERE { resource:Q786 property:P530 ?i . MINUS { resource:Q21965763 property:P17 ?i } . ?i rdf:type ontology:Q1048835 }
Germany
Germany have diplomatic relationships with Dominican Republic and are not Rocky Hill present in
Germany
action filter_type
action difference
action find
entity Dominican Republic
relation diplomatic relation
action find
entity Rocky Hill
relation country
type political territorial entity
{'AND': [['Dominican Republic', 'diplomatic relation', {'concept': 'political territorial entity'}], {'NOT': [['Rocky Hill', 'country', {'concept': 'political territorial entity'}]]}]}
SELECT DISTINCT ?i WHERE { resource:Dominican_Republic property:diplomatic_relation ?i . MINUS { resource:Rocky_Hill property:country ?i } . ?i rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q183 Q26207471
P6
Q502895
USER
Is that political territory the head of goverment of Eliseu Cassamá ?
(Q183,P6,Q26207471)
action is_in
entity Q26207471
action find
entity Q183
relation P6
['Q183', 'P6', 'Q26207471']
ASK WHERE { resource:Q183 property:P6 resource:Q26207471 }
Germany Eliseu Cassamá
action is_in
entity Eliseu Cassamá
action find
entity Germany
relation head of government
['Germany', 'head of government', 'Eliseu Cassamá']
ASK WHERE { resource:Germany property:head_of_government resource:Eliseu_Cassamá }
[]
common name
SYSTEM
NO
(Q183,P6,Q26207471)
action is_in
entity Q26207471
action find
entity Q183
relation P6
[ANSWER]
['Q183', 'P6', 'Q26207471']
ASK WHERE { resource:Q183 property:P6 resource:Q26207471 }
No
action is_in
entity Eliseu Cassamá
action find
entity Germany
relation head of government
['Germany', 'head of government', 'Eliseu Cassamá']
ASK WHERE { resource:Germany property:head_of_government resource:Eliseu_Cassamá }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1860 Q5329170 Q3217376
P361
Q5962346
USER
Is English a part of Anglo-Frisian languages and Western Visayan languages ?
(Q1860,P361,Q5329170) (Q1860,P361,Q3217376)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q5329170
relation P361
action find_reverse
entity Q3217376
relation P361
['Q1860', 'P361', 'Q5329170'] ['Q1860', 'P361', 'Q3217376']
ASK WHERE { resource:Q1860 property:P361 resource:Q5329170 . resource:Q1860 property:P361 resource:Q3217376 }
English Anglo-Frisian languages Western Visayan languages
action is_in
entity English
action intersection
action find_reverse
entity Anglo-Frisian languages
relation part of
action find_reverse
entity Western Visayan languages
relation part of
['English', 'part of', 'Anglo-Frisian languages'] ['English', 'part of', 'Western Visayan languages']
ASK WHERE { resource:English property:part_of resource:Anglo-Frisian_languages . resource:English property:part_of resource:Western_Visayan_languages }
[]
classification scheme
SYSTEM
YES and NO respectively
(Q1860,P361,Q5329170) (Q1860,P361,Q3217376)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q5329170
relation P361
action find_reverse
entity Q3217376
relation P361
[ANSWER]
['Q1860', 'P361', 'Q5329170'] ['Q1860', 'P361', 'Q3217376']
ASK WHERE { resource:Q1860 property:P361 resource:Q5329170 . resource:Q1860 property:P361 resource:Q3217376 }
YES and NO respectively
action is_in
entity English
action intersection
action find_reverse
entity Anglo-Frisian languages
relation part of
action find_reverse
entity Western Visayan languages
relation part of
['English', 'part of', 'Anglo-Frisian languages'] ['English', 'part of', 'Western Visayan languages']
ASK WHERE { resource:English property:part_of resource:Anglo-Frisian_languages . resource:English property:part_of resource:Western_Visayan_languages }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q786 Q183 Q11236
P530
Q1048835
USER
Does Dominican Republic have diplomatic relations with Germany and Biure ?
(Q786,P530,Q183) (Q786,P530,Q11236)
action is_in
entity Q786
action intersection
action find_reverse
entity Q183
relation P530
action find_reverse
entity Q11236
relation P530
['Q786', 'P530', 'Q183'] ['Q786', 'P530', 'Q11236']
ASK WHERE { resource:Q786 property:P530 resource:Q183 . resource:Q786 property:P530 resource:Q11236 }
Dominican Republic Germany Biure
action is_in
entity Dominican Republic
action intersection
action find_reverse
entity Germany
relation diplomatic relation
action find_reverse
entity Biure
relation diplomatic relation
['Dominican Republic', 'diplomatic relation', 'Germany'] ['Dominican Republic', 'diplomatic relation', 'Biure']
ASK WHERE { resource:Dominican_Republic property:diplomatic_relation resource:Germany . resource:Dominican_Republic property:diplomatic_relation resource:Biure }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q786,P530,Q183) (Q786,P530,Q11236)
action is_in
entity Q786
action intersection
action find_reverse
entity Q183
relation P530
action find_reverse
entity Q11236
relation P530
[ANSWER]
['Q786', 'P530', 'Q183'] ['Q786', 'P530', 'Q11236']
ASK WHERE { resource:Q786 property:P530 resource:Q183 . resource:Q786 property:P530 resource:Q11236 }
YES and NO respectively
action is_in
entity Dominican Republic
action intersection
action find_reverse
entity Germany
relation diplomatic relation
action find_reverse
entity Biure
relation diplomatic relation
['Dominican Republic', 'diplomatic relation', 'Germany'] ['Dominican Republic', 'diplomatic relation', 'Biure']
ASK WHERE { resource:Dominican_Republic property:diplomatic_relation resource:Germany . resource:Dominican_Republic property:diplomatic_relation resource:Biure }
[]