Simple Question (Direct)
Simple Question
Q4757218
P241
Q781132
USER
Which military branch was Andrew Halliday a part of ?
(Q4757218,P241,c(Q781132))
action filter_type
action find
entity Q4757218
relation P241
type Q781132
['Q4757218', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?q WHERE { resource:Q4757218 property:P241 ?q . ?q rdf:type ontology:Q781132 }
Andrew Halliday
action filter_type
action find
entity Andrew Halliday
relation military branch
type military branch
['Andrew Halliday', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?q WHERE { resource:Andrew_Halliday property:military_branch ?q . ?q rdf:type ontology:military_branch }
[]
military branch
Q222595
SYSTEM
British Army
Q222595
(Q4757218,P241,c(Q781132))
action filter_type
action find
entity Q4757218
relation P241
type Q781132
The [ANSWER] was Andrew Halliday a part of
['Q4757218', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?q WHERE { resource:Q4757218 property:P241 ?q . ?q rdf:type ontology:Q781132 }
British Army
The British Army was Andrew Halliday a part of
British Army
action filter_type
action find
entity Andrew Halliday
relation military branch
type military branch
['Andrew Halliday', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?q WHERE { resource:Andrew_Halliday property:military_branch ?q . ?q rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4757218
P607
Q1190554
USER
What battle was that person a part of ?
(Q222595,P607,c(Q1190554))
action filter_type
action find
entity Q4757218
relation P607
type Q1190554
['Q222595', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?m WHERE { resource:Q4757218 property:P607 ?m . ?m rdf:type ontology:Q1190554 }
Andrew Halliday
action filter_type
action find
entity Andrew Halliday
relation conflict
type event
['British Army', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?m WHERE { resource:Andrew_Halliday property:conflict ?m . ?m rdf:type ontology:event }
[]
event
Q78994
SYSTEM
Napoleonic Wars
Q78994
(Q222595,P607,c(Q1190554))
action filter_type
action find
entity Q4757218
relation P607
type Q1190554
What battle was that person a part of
['Q222595', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?m WHERE { resource:Q4757218 property:P607 ?m . ?m rdf:type ontology:Q1190554 }
Napoleonic Wars
What battle was that person a part of
Napoleonic Wars
action filter_type
action find
entity Andrew Halliday
relation conflict
type event
['British Army', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?m WHERE { resource:Andrew_Halliday property:conflict ?m . ?m rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q222595
P138
Q502895
USER
Which person is namesake of British Army ?
(Q222595,P138,c(Q502895))
action filter_type
action find
entity Q222595
relation P138
type Q502895
['Q222595', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q222595 property:P138 ?v . ?v rdf:type ontology:Q502895 }
British Army
action filter_type
action find
entity British Army
relation named after
type common name
['British Army', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:British_Army property:named_after ?v . ?v rdf:type ontology:common_name }
[]
common name
Q9682
SYSTEM
Elizabeth II
Q9682
(Q222595,P138,c(Q502895))
action filter_type
action find
entity Q222595
relation P138
type Q502895
Her [ANSWER] is namesake of British Army
['Q222595', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q222595 property:P138 ?v . ?v rdf:type ontology:Q502895 }
Elizabeth II
Her Elizabeth II is namesake of British Army
Elizabeth II
action filter_type
action find
entity British Army
relation named after
type common name
['British Army', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:British_Army property:named_after ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1965766
Q502895
USER
And also tell me about Crommelin?
(Q1965766,P138,c(Q502895))
action filter_type
action find
entity Q1965766
relation P138
type Q502895
['Q1965766', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q1965766 property:P138 ?h . ?h rdf:type ontology:Q502895 }
Crommelin
action filter_type
action find
entity Crommelin
relation named after
type common name
['Crommelin', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Crommelin property:named_after ?h . ?h rdf:type ontology:common_name }
[]
common name
Q504314
SYSTEM
Andrew Claude de la Cherois Crommelin
Q504314
(Q1965766,P138,c(Q502895))
action filter_type
action find
entity Q1965766
relation P138
type Q502895
[ANSWER]
['Q1965766', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q1965766 property:P138 ?h . ?h rdf:type ontology:Q502895 }
Andrew Claude de la Cherois Crommelin
Andrew Claude de la Cherois Crommelin
action filter_type
action find
entity Crommelin
relation named after
type common name
['Crommelin', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Crommelin property:named_after ?h . ?h rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2989143 Q222595
P17
Q15617994
USER
Which administrative territories are British Army or Skrebatno a part of ?
OR((Q222595,P17,c(Q15617994)), (Q2989143,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q222595
relation P17
action find
entity Q2989143
relation P17
type Q15617994
{'OR': [['Q222595', 'P17', {'concept': 'Q15617994'}], ['Q2989143', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q222595 property:P17 ?e } UNION { resource:Q2989143 property:P17 ?e } } . ?e rdf:type ontology:Q15617994 }
Skrebatno British Army
action filter_type
action union
action find
entity British Army
relation country
action find
entity Skrebatno
relation country
type designation for an administrative territorial entity
{'OR': [['British Army', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Skrebatno', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:British_Army property:country ?e } UNION { resource:Skrebatno property:country ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q219 Q145
SYSTEM
Bulgaria, United Kingdom
Q219 Q145
OR((Q222595,P17,c(Q15617994)), (Q2989143,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q222595
relation P17
action find
entity Q2989143
relation P17
type Q15617994
[ANSWERS] are British Army or Skrebatno a part of
{'OR': [['Q222595', 'P17', {'concept': 'Q15617994'}], ['Q2989143', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q222595 property:P17 ?e } UNION { resource:Q2989143 property:P17 ?e } } . ?e rdf:type ontology:Q15617994 }
Bulgaria United Kingdom
Bulgaria and United Kingdom are British Army or Skrebatno a part of
Bulgaria United Kingdom
action filter_type
action union
action find
entity British Army
relation country
action find
entity Skrebatno
relation country
type designation for an administrative territorial entity
{'OR': [['British Army', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Skrebatno', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:British_Army property:country ?e } UNION { resource:Skrebatno property:country ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P610
Q16889133
USER
Which is the highest point of United Kingdom ?
(Q145,P610,c(Q16889133))
action filter_type
action find
entity Q145
relation P610
type Q16889133
['Q145', 'P610', {'concept': 'Q16889133'}]
SELECT DISTINCT ?e WHERE { resource:Q145 property:P610 ?e . ?e rdf:type ontology:Q16889133 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation highest point
type class
['United Kingdom', 'highest point', {'concept': 'class'}]
SELECT DISTINCT ?e WHERE { resource:United_Kingdom property:highest_point ?e . ?e rdf:type ontology:class }
[]
class
Q104674
SYSTEM
Ben Nevis
Q104674
(Q145,P610,c(Q16889133))
action filter_type
action find
entity Q145
relation P610
type Q16889133
The highest point of United Kingdom is Mount [ANSWER]
['Q145', 'P610', {'concept': 'Q16889133'}]
SELECT DISTINCT ?e WHERE { resource:Q145 property:P610 ?e . ?e rdf:type ontology:Q16889133 }
Ben Nevis
The highest point of United Kingdom is Mount Ben Nevis
Ben Nevis
action filter_type
action find
entity United Kingdom
relation highest point
type class
['United Kingdom', 'highest point', {'concept': 'class'}]
SELECT DISTINCT ?e WHERE { resource:United_Kingdom property:highest_point ?e . ?e rdf:type ontology:class }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P272
Q838948
USER
Which work of art was produced by United Kingdom ?
(c(Q838948),P272,Q145)
action filter_type
action find_reverse
entity Q145
relation P272
type Q838948
[{'concept': 'Q838948'}, 'P272', 'Q145']
SELECT DISTINCT ?b WHERE { ?b property:P272 resource:Q145 . ?b rdf:type ontology:Q838948 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'United Kingdom']
SELECT DISTINCT ?b WHERE { ?b property:production_company resource:United_Kingdom . ?b rdf:type ontology:work_of_art }
[]
work of art
Q7774772
SYSTEM
The Widow
Q7774772
(c(Q838948),P272,Q145)
action filter_type
action find_reverse
entity Q145
relation P272
type Q838948
[ANSWER] was produced by United Kingdom
[{'concept': 'Q838948'}, 'P272', 'Q145']
SELECT DISTINCT ?b WHERE { ?b property:P272 resource:Q145 . ?b rdf:type ontology:Q838948 }
The Widow
The Widow was produced by United Kingdom
The Widow
action filter_type
action find_reverse
entity United Kingdom
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'United Kingdom']
SELECT DISTINCT ?b WHERE { ?b property:production_company resource:United_Kingdom . ?b rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P30
Q2221906
USER
Which geographic location is United Kingdom a part of ?
(Q145,P30,c(Q2221906))
action filter_type
action find
entity Q145
relation P30
type Q2221906
['Q145', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q2221906 . resource:Q145 property:P30 ?o }
United Kingdom
action filter_type
action find
entity United Kingdom
relation continent
type geographic location
['United Kingdom', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:geographic_location . resource:United_Kingdom property:continent ?o }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q145,P30,c(Q2221906))
action filter_type
action find
entity Q145
relation P30
type Q2221906
Were [ANSWER] is United Kingdom a part of
['Q145', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q2221906 . resource:Q145 property:P30 ?o }
Europe
Were Europe is United Kingdom a part of
Europe
action filter_type
action find
entity United Kingdom
relation continent
type geographic location
['United Kingdom', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:geographic_location . resource:United_Kingdom property:continent ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P194
Q1752346
USER
Which assembly is the legislative body for that administrative territory ?
(Q46,P194,c(Q1752346))
action filter_type
action find
entity Q145
relation P194
type Q1752346
['Q46', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?p WHERE { resource:Q145 property:P194 ?p . ?p rdf:type ontology:Q1752346 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation legislative body
type assembly
['Europe', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?p WHERE { resource:United_Kingdom property:legislative_body ?p . ?p rdf:type ontology:assembly }
[]
assembly
Q11010
SYSTEM
Parliament of the United Kingdom
Q11010
(Q46,P194,c(Q1752346))
action filter_type
action find
entity Q145
relation P194
type Q1752346
[ANSWER] is the legislative body for that administrative territory
['Q46', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?p WHERE { resource:Q145 property:P194 ?p . ?p rdf:type ontology:Q1752346 }
Parliament of the United Kingdom
Parliament of the United Kingdom is the legislative body for that administrative territory
Parliament of the United Kingdom
action filter_type
action find
entity United Kingdom
relation legislative body
type assembly
['Europe', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?p WHERE { resource:United_Kingdom property:legislative_body ?p . ?p rdf:type ontology:assembly }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q127448
P805
Q15617994 Q1752346
USER
Which administrative territories are less number of assemblies a subject of than municipality of Sweden ?
(c(Q1752346),P805,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P805
type Q15617994
type Q1752346
action count
action filter_type
action find_reverse
entity Q127448
relation P805
type Q1752346
[{'concept': 'Q1752346'}, 'P805', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?l ) WHERE { ?g rdf:type ontology:Q1752346 . ?m rdf:type ontology:Q15617994 . ?g property:P805 ?m } GROUP BY ?m } . FILTER ( ?l < ?b ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { ?s rdf:type ontology:Q1752346 . ?s property:P805 resource:Q127448 } } }
municipality of Sweden
action less
action find_reverse_tuple_counts
relation subject of
type designation for an administrative territorial entity
type assembly
action count
action filter_type
action find_reverse
entity municipality of Sweden
relation subject of
type assembly
[{'concept': 'assembly'}, 'subject of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?l ) WHERE { ?g rdf:type ontology:assembly . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:subject_of ?m } GROUP BY ?m } . FILTER ( ?l < ?b ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { ?s rdf:type ontology:assembly . ?s property:subject_of resource:municipality_of_Sweden } } }
[]
designation for an administrative territorial entity assembly
Q928 Q856076
SYSTEM
Philippines, municipality of Finland
Q928 Q856076
(c(Q1752346),P805,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P805
type Q15617994
type Q1752346
action count
action filter_type
action find_reverse
entity Q127448
relation P805
type Q1752346
[ANSWERS] are less number of assemblies a subject of than municipality of Sweden
[{'concept': 'Q1752346'}, 'P805', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?l ) WHERE { ?g rdf:type ontology:Q1752346 . ?m rdf:type ontology:Q15617994 . ?g property:P805 ?m } GROUP BY ?m } . FILTER ( ?l < ?b ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { ?s rdf:type ontology:Q1752346 . ?s property:P805 resource:Q127448 } } }
Philippines municipality of Finland
Philippines and municipality of Finland are less number of assemblies a subject of than municipality of Sweden
Philippines municipality of Finland
action less
action find_reverse_tuple_counts
relation subject of
type designation for an administrative territorial entity
type assembly
action count
action filter_type
action find_reverse
entity municipality of Sweden
relation subject of
type assembly
[{'concept': 'assembly'}, 'subject of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?l ) WHERE { ?g rdf:type ontology:assembly . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:subject_of ?m } GROUP BY ?m } . FILTER ( ?l < ?b ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { ?s rdf:type ontology:assembly . ?s property:subject_of resource:municipality_of_Sweden } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q46
P361
Q2221906
USER
What is Europe a component of ?
(Q46,P361,c(Q2221906))
action filter_type
action find
entity Q46
relation P361
type Q2221906
['Q46', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q2221906 . resource:Q46 property:P361 ?l }
Europe
action filter_type
action find
entity Europe
relation part of
type geographic location
['Europe', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:geographic_location . resource:Europe property:part_of ?l }
[]
geographic location
Q5401
SYSTEM
Eurasia
Q5401
(Q46,P361,c(Q2221906))
action filter_type
action find
entity Q46
relation P361
type Q2221906
Europe a component is the [ANSWER] of
['Q46', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q2221906 . resource:Q46 property:P361 ?l }
Eurasia
Europe a component is the Eurasia of
Eurasia
action filter_type
action find
entity Europe
relation part of
type geographic location
['Europe', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:geographic_location . resource:Europe property:part_of ?l }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2942523 Q219
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with Bulgaria or do Mâcon Cathedral belong to ?
OR((Q219,P530,c(Q15617994)), (Q2942523,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q219
relation P530
action find
entity Q2942523
relation P17
type Q15617994
{'OR': [['Q219', 'P530', {'concept': 'Q15617994'}], ['Q2942523', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q2942523 property:P17 ?f } UNION { resource:Q219 property:P530 ?f } } . ?f rdf:type ontology:Q15617994 }
Mâcon Cathedral Bulgaria
action filter_type
action union
action find
entity Bulgaria
relation diplomatic relation
action find
entity Mâcon Cathedral
relation country
type designation for an administrative territorial entity
{'OR': [['Bulgaria', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Mâcon Cathedral', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Mâcon_Cathedral property:country ?f } UNION { resource:Bulgaria property:diplomatic_relation ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q38
SYSTEM
France, Italy
Q142 Q38
OR((Q219,P530,c(Q15617994)), (Q2942523,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q219
relation P530
action find
entity Q2942523
relation P17
type Q15617994
[ANSWERS] have diplomatic relationships with Bulgaria or do Mâcon Cathedral belong to
{'OR': [['Q219', 'P530', {'concept': 'Q15617994'}], ['Q2942523', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q2942523 property:P17 ?f } UNION { resource:Q219 property:P530 ?f } } . ?f rdf:type ontology:Q15617994 }
France Italy
France and Italy have diplomatic relationships with Bulgaria or do Mâcon Cathedral belong to
France Italy
action filter_type
action union
action find
entity Bulgaria
relation diplomatic relation
action find
entity Mâcon Cathedral
relation country
type designation for an administrative territorial entity
{'OR': [['Bulgaria', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Mâcon Cathedral', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Mâcon_Cathedral property:country ?f } UNION { resource:Bulgaria property:diplomatic_relation ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories holds diplomatic relationship with approximately 87 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 87
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?t = 87 ) . { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?t ) WHERE { ?x property:P530 ?a . ?x rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q15617994 } GROUP BY ?x } }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 87
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?t = 87 ) . { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?t ) WHERE { ?x property:diplomatic_relation ?a . ?x rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 87
[ANSWERS] hold diplomatic relationship with approximately 87 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?t = 87 ) . { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?t ) WHERE { ?x property:P530 ?a . ?x rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q15617994 } GROUP BY ?x } }
Germany Australia
Germany and Australia hold diplomatic relationship with approximately 87 administrative territories
Germany Australia
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 87
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?t = 87 ) . { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?t ) WHERE { ?x property:diplomatic_relation ?a . ?x rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } }
[]