Simple Question (Direct)
Simple Question
Q2352431
P466
Q3914
USER
Who is an occupant of Stowe House ?
(Q2352431,P466,c(Q3914))
action filter_type
action find
entity Q2352431
relation P466
type Q3914
['Q2352431', 'P466', {'concept': 'Q3914'}]
SELECT DISTINCT ?t WHERE { resource:Q2352431 property:P466 ?t . ?t rdf:type ontology:Q3914 }
Stowe House
action filter_type
action find
entity Stowe House
relation occupant
type school
['Stowe House', 'occupant', {'concept': 'school'}]
SELECT DISTINCT ?t WHERE { resource:Stowe_House property:occupant ?t . ?t rdf:type ontology:school }
[]
school
Q7620697
SYSTEM
Stowe School
Q7620697
(Q2352431,P466,c(Q3914))
action filter_type
action find
entity Q2352431
relation P466
type Q3914
An occupant of Stowe House is the [ANSWER]
['Q2352431', 'P466', {'concept': 'Q3914'}]
SELECT DISTINCT ?t WHERE { resource:Q2352431 property:P466 ?t . ?t rdf:type ontology:Q3914 }
Stowe School
An occupant of Stowe House is the Stowe School
Stowe School
action filter_type
action find
entity Stowe House
relation occupant
type school
['Stowe House', 'occupant', {'concept': 'school'}]
SELECT DISTINCT ?t WHERE { resource:Stowe_House property:occupant ?t . ?t rdf:type ontology:school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2352431
P1435
Q41176
USER
Which building heritage status does that house have ?
(Q7620697,P1435,c(Q41176))
action filter_type
action find
entity Q2352431
relation P1435
type Q41176
['Q7620697', 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ?j WHERE { resource:Q2352431 property:P1435 ?j . ?j rdf:type ontology:Q41176 }
Stowe House
action filter_type
action find
entity Stowe House
relation heritage status
type building
['Stowe School', 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ?j WHERE { resource:Stowe_House property:heritage_status ?j . ?j rdf:type ontology:building }
[]
building
Q15700818
SYSTEM
Grade I listed building
Q15700818
(Q7620697,P1435,c(Q41176))
action filter_type
action find
entity Q2352431
relation P1435
type Q41176
That house has a [ANSWER]
['Q7620697', 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ?j WHERE { resource:Q2352431 property:P1435 ?j . ?j rdf:type ontology:Q41176 }
Grade I listed building
That house has a Grade I listed building
Grade I listed building
action filter_type
action find
entity Stowe House
relation heritage status
type building
['Stowe School', 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ?j WHERE { resource:Stowe_House property:heritage_status ?j . ?j rdf:type ontology:building }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2352431
P84
Q502895
USER
How many people designed the architecture of Stowe House ?
(Q2352431,P84,c(Q502895))
action count
action filter_type
action find
entity Q2352431
relation P84
type Q502895
['Q2352431', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { resource:Q2352431 property:P84 ?r . ?r rdf:type ontology:Q502895 }
Stowe House
action count
action filter_type
action find
entity Stowe House
relation architect
type common name
['Stowe House', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { resource:Stowe_House property:architect ?r . ?r rdf:type ontology:common_name }
[]
common name
SYSTEM
4
Q1352355 Q549786 Q333398 Q445433
(Q2352431,P84,c(Q502895))
action count
action filter_type
action find
entity Q2352431
relation P84
type Q502895
[ANSWER]
['Q2352431', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { resource:Q2352431 property:P84 ?r . ?r rdf:type ontology:Q502895 }
James Gibbs John Soane John Vanbrugh William Kent
4
action count
action filter_type
action find
entity Stowe House
relation architect
type common name
['Stowe House', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { resource:Stowe_House property:architect ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15958237
P800
Q502895
USER
Who has Kivijärvi Church as their notable work ?
(c(Q502895),P800,Q15958237)
action filter_type
action find_reverse
entity Q15958237
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q15958237']
SELECT DISTINCT ?z WHERE { ?z property:P800 resource:Q15958237 . ?z rdf:type ontology:Q502895 }
Kivijärvi Church
action filter_type
action find_reverse
entity Kivijärvi Church
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Kivijärvi Church']
SELECT DISTINCT ?z WHERE { ?z property:notable_work resource:Kivijärvi_Church . ?z rdf:type ontology:common_name }
[]
common name
Q3523659
SYSTEM
Theodor Decker
Q3523659
(c(Q502895),P800,Q15958237)
action filter_type
action find_reverse
entity Q15958237
relation P800
type Q502895
[ANSWER] has Kivijärvi Church as their notable work
[{'concept': 'Q502895'}, 'P800', 'Q15958237']
SELECT DISTINCT ?z WHERE { ?z property:P800 resource:Q15958237 . ?z rdf:type ontology:Q502895 }
Theodor Decker
Theodor Decker has Kivijärvi Church as their notable work
Theodor Decker
action filter_type
action find_reverse
entity Kivijärvi Church
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Kivijärvi Church']
SELECT DISTINCT ?z WHERE { ?z property:notable_work resource:Kivijärvi_Church . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3523659
P84
Q44539
USER
What were that person an architect of ?
(c(Q44539),P84,Q3523659)
action filter_type
action find_reverse
entity Q3523659
relation P84
type Q44539
[{'concept': 'Q44539'}, 'P84', 'Q3523659']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q44539 . ?r property:P84 resource:Q3523659 }
Theodor Decker
action filter_type
action find_reverse
entity Theodor Decker
relation architect
type temple
[{'concept': 'temple'}, 'architect', 'Theodor Decker']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:temple . ?r property:architect resource:Theodor_Decker }
[]
temple
Q1569430 Q15958237
SYSTEM
Aleksanterin kirkko, Kivijärvi Church
Q1569430 Q15958237
(c(Q44539),P84,Q3523659)
action filter_type
action find_reverse
entity Q3523659
relation P84
type Q44539
That person an architect of were the [ANSWERS]
[{'concept': 'Q44539'}, 'P84', 'Q3523659']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q44539 . ?r property:P84 resource:Q3523659 }
Aleksanterin kirkko Kivijärvi Church
That person an architect of were the Aleksanterin kirkko and Kivijärvi Church
Aleksanterin kirkko Kivijärvi Church
action filter_type
action find_reverse
entity Theodor Decker
relation architect
type temple
[{'concept': 'temple'}, 'architect', 'Theodor Decker']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:temple . ?r property:architect resource:Theodor_Decker }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1569430
P17
Q15617994
USER
Which administrative territory is that temple a part of ?
(Q1569430,P17,c(Q15617994))
action filter_type
action find
entity Q1569430
relation P17
type Q15617994
['Q1569430', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q1569430 property:P17 ?r }
Aleksanterin kirkko
action filter_type
action find
entity Aleksanterin kirkko
relation country
type designation for an administrative territorial entity
['Aleksanterin kirkko', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Aleksanterin_kirkko property:country ?r }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q15958237
SYSTEM
Did you mean Kivijärvi Church ?
Q1569430 Q15958237
(Q1569430,P17,c(Q15617994)) (Q15958237,P17,c(Q15617994))
[ANSWER]
['Q1569430', 'P17', {'concept': 'Q15617994'}] ['Q15958237', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q1569430 property:P17 ?r }
Aleksanterin kirkko Kivijärvi Church
Did you mean Kivijärvi Church ?
Kivijärvi Church
['Aleksanterin kirkko', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Kivijärvi Church', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Aleksanterin_kirkko property:country ?r }
[]
Simple Question (Coreferenced)
USER
No, I meant Aleksanterin kirkko. Could you tell me the answer for that?
(Q1569430,P17,c(Q15617994))
Q1569430
['Q1569430', 'P17', {'concept': 'Q15617994'}]
['Aleksanterin kirkko', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q33
SYSTEM
Finland
Q33
(Q1569430,P17,c(Q15617994))
action filter_type
action find
entity Q1569430
relation P17
type Q15617994
[ANSWER] is that temple a part of
['Q1569430', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q1569430 property:P17 ?r }
Finland
Finland is that temple a part of
Finland
action filter_type
action find
entity Aleksanterin kirkko
relation country
type designation for an administrative territorial entity
['Aleksanterin kirkko', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Aleksanterin_kirkko property:country ?r }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q38
P530
Q15617994 Q15617994
USER
Which administrative territories are known to have diplomatic connections with lesser number of administrative territories than Italy ?
(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 Q38
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?e ) WHERE { ?f property:P530 ?u . ?f rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c rdf:type ontology:Q15617994 . resource:Q38 property:P530 ?c } } . FILTER ( ?e < ?g ) }
Italy
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 Italy
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 ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?e ) WHERE { ?f property:diplomatic_relation ?u . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Italy property:diplomatic_relation ?c } } . FILTER ( ?e < ?g ) }
[]
designation for an administrative 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(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q38
relation P530
type Q15617994
[ANSWERS] are known to have diplomatic connections with lesser number of administrative territories than Italy
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?e ) WHERE { ?f property:P530 ?u . ?f rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c rdf:type ontology:Q15617994 . resource:Q38 property:P530 ?c } } . FILTER ( ?e < ?g ) }
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 are known to have diplomatic connections with lesser number of administrative territories than Italy
Brazil United States of America Russia
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 Italy
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 ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?e ) WHERE { ?f property:diplomatic_relation ?u . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Italy property:diplomatic_relation ?c } } . FILTER ( ?e < ?g ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q155 Q159
P27
Q502895
USER
Which people are a citizen of Russia and Brazil ?
AND((c(Q502895),P27,Q159), (c(Q502895),P27,Q155))
action filter_type
action intersection
action find_reverse
entity Q159
relation P27
action find_reverse
entity Q155
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q159'], [{'concept': 'Q502895'}, 'P27', 'Q155']]}
SELECT DISTINCT ?c WHERE { ?c property:P27 resource:Q155 . ?c property:P27 resource:Q159 . ?c rdf:type ontology:Q502895 }
Brazil Russia
action filter_type
action intersection
action find_reverse
entity Russia
relation country of citizenship
action find_reverse
entity Brazil
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Russia'], [{'concept': 'common name'}, 'country of citizenship', 'Brazil']]}
SELECT DISTINCT ?c WHERE { ?c property:country_of_citizenship resource:Brazil . ?c property:country_of_citizenship resource:Russia . ?c rdf:type ontology:common_name }
[]
common name
Q4321820 Q4395146 Q4347936 Q4529859 Q2039818 Q4523297 Q3962034 Q4152875
SYSTEM
Romulo, Robinho, Odair Pedro da Silva Junior, Eder Lima, Vágner Kaetano Pereira, Ivan Pavlovich Shestakov, Cirilo, Gustavo Lobo Paradeda
Q4321820 Q4395146 Q4347936 Q4529859 Q2039818 Q4523297 Q3962034 Q4152875
AND((c(Q502895),P27,Q159), (c(Q502895),P27,Q155))
action filter_type
action intersection
action find_reverse
entity Q159
relation P27
action find_reverse
entity Q155
relation P27
type Q502895
[ANSWERS] are a citizen of Russia and Brazil
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q159'], [{'concept': 'Q502895'}, 'P27', 'Q155']]}
SELECT DISTINCT ?c WHERE { ?c property:P27 resource:Q155 . ?c property:P27 resource:Q159 . ?c rdf:type ontology:Q502895 }
Romulo Robinho Odair Pedro da Silva Junior Eder Lima Vágner Kaetano Pereira Ivan Pavlovich Shestakov Cirilo Gustavo Lobo Paradeda
Romulo, Robinho, Odair Pedro da Silva Junior, Eder Lima, Vágner Kaetano Pereira, Ivan Pavlovich Shestakov, Cirilo and Gustavo Lobo Paradeda are a citizen of Russia and Brazil
Romulo Robinho Odair Pedro da Silva Junior Eder Lima Vágner Kaetano Pereira Ivan Pavlovich Shestakov Cirilo Gustavo Lobo Paradeda
action filter_type
action intersection
action find_reverse
entity Russia
relation country of citizenship
action find_reverse
entity Brazil
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Russia'], [{'concept': 'common name'}, 'country of citizenship', 'Brazil']]}
SELECT DISTINCT ?c WHERE { ?c property:country_of_citizenship resource:Brazil . ?c property:country_of_citizenship resource:Russia . ?c rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q33 Q183
P530
Q15617994
USER
How many administrative territories have tactful political relations with Finland and Germany ?
(c(Q15617994),P530,Q33) (c(Q15617994),P530,Q183)
action count
action intersection
action filter_type
action find_reverse
entity Q33
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q183
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q33'] [{'concept': 'Q15617994'}, 'P530', 'Q183']
SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:P530 resource:Q183 . ?l rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 . ?l property:P530 resource:Q33 }
Finland Germany
action count
action intersection
action filter_type
action find_reverse
entity Finland
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Finland'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Germany']
SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:diplomatic_relation resource:Germany . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation resource:Finland }
[]
designation for an administrative territorial entity
SYSTEM
2
Q184 Q38
(c(Q15617994),P530,Q33) (c(Q15617994),P530,Q183)
action count
action intersection
action filter_type
action find_reverse
entity Q33
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q183
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q33'] [{'concept': 'Q15617994'}, 'P530', 'Q183']
SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:P530 resource:Q183 . ?l rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 . ?l property:P530 resource:Q33 }
Belarus Italy
2
action count
action intersection
action filter_type
action find_reverse
entity Finland
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Finland'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Germany']
SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:diplomatic_relation resource:Germany . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation resource:Finland }
[]