Simple Question (Direct)
Simple Question
Q4909202
P641
Q349
USER
Which sport did Bill Gray participate in ?
(Q4909202,P641,c(Q349))
action filter_type
action find
entity Q4909202
relation P641
type Q349
['Q4909202', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q4909202 property:P641 ?i . ?i rdf:type ontology:Q349 }
Bill Gray
action filter_type
action find
entity Bill Gray
relation sport
type sport
['Bill Gray', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Bill_Gray property:sport ?i . ?i rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4909202,P641,c(Q349))
action filter_type
action find
entity Q4909202
relation P641
type Q349
Bill Gray participated in [ANSWER]
['Q4909202', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q4909202 property:P641 ?i . ?i rdf:type ontology:Q349 }
association football
Bill Gray participated in association football
association football
action filter_type
action find
entity Bill Gray
relation sport
type sport
['Bill Gray', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Bill_Gray property:sport ?i . ?i rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4909202
P27
Q15617994
USER
Which administrative territory is Bill Gray an inhabitant of ?
(Q4909202,P27,c(Q15617994))
action filter_type
action find
entity Q4909202
relation P27
type Q15617994
['Q4909202', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q4909202 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Bill Gray
action filter_type
action find
entity Bill Gray
relation country of citizenship
type designation for an administrative territorial entity
['Bill Gray', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Bill_Gray property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q4909202,P27,c(Q15617994))
action filter_type
action find
entity Q4909202
relation P27
type Q15617994
The [ANSWER] is Bill Gray an inhabitant of
['Q4909202', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q4909202 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
United Kingdom
The United Kingdom is Bill Gray an inhabitant of
United Kingdom
action filter_type
action find
entity Bill Gray
relation country of citizenship
type designation for an administrative territorial entity
['Bill Gray', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Bill_Gray property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4909202
P607
Q198
USER
Which battle did that person take part in ?
(Q145,P607,c(Q198))
action filter_type
action find
entity Q4909202
relation P607
type Q198
['Q145', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?m WHERE { resource:Q4909202 property:P607 ?m . ?m rdf:type ontology:Q198 }
Bill Gray
action filter_type
action find
entity Bill Gray
relation conflict
type war
['United Kingdom', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?m WHERE { resource:Bill_Gray property:conflict ?m . ?m rdf:type ontology:war }
[]
war
Q361
SYSTEM
World War I
Q361
(Q145,P607,c(Q198))
action filter_type
action find
entity Q4909202
relation P607
type Q198
That person took in part in [ANSWER]
['Q145', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?m WHERE { resource:Q4909202 property:P607 ?m . ?m rdf:type ontology:Q198 }
World War I
That person took in part in World War I
World War I
action filter_type
action find
entity Bill Gray
relation conflict
type war
['United Kingdom', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?m WHERE { resource:Bill_Gray property:conflict ?m . ?m rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4909202
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q361,P19,c(Q56061))
action filter_type
action find
entity Q4909202
relation P19
type Q56061
['Q361', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q4909202 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Bill Gray
action filter_type
action find
entity Bill Gray
relation place of birth
type administrative territorial entity
['World War I', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Bill_Gray property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q160493
SYSTEM
Inverness
Q160493
(Q361,P19,c(Q56061))
action filter_type
action find
entity Q4909202
relation P19
type Q56061
That person was born in [ANSWER]
['Q361', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q4909202 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Inverness
That person was born in Inverness
Inverness
action filter_type
action find
entity Bill Gray
relation place of birth
type administrative territorial entity
['World War I', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Bill_Gray property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4909202
P21
Q290
USER
What is the sex of Bill Gray ?
(Q4909202,P21,c(Q290))
action filter_type
action find
entity Q4909202
relation P21
type Q290
['Q4909202', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q4909202 property:P21 ?z . ?z rdf:type ontology:Q290 }
Bill Gray
action filter_type
action find
entity Bill Gray
relation gender
type sex
['Bill Gray', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Bill_Gray property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4909202,P21,c(Q290))
action filter_type
action find
entity Q4909202
relation P21
type Q290
The sex of Bill Gray is the [ANSWER]
['Q4909202', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q4909202 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
The sex of Bill Gray is the male
male
action filter_type
action find
entity Bill Gray
relation gender
type sex
['Bill Gray', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Bill_Gray property:gender ?z . ?z rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q3510300
P21
Q502895
USER
Is Sébastien Roques a that sex ?
(Q3510300,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q3510300
relation P21
['Q3510300', 'P21', 'Q6581097']
ASK WHERE { resource:Q3510300 property:P21 resource:Q6581097 }
male Sébastien Roques
action is_in
entity male
action find
entity Sébastien Roques
relation gender
['Sébastien Roques', 'gender', 'male']
ASK WHERE { resource:Sébastien_Roques property:gender resource:male }
[]
common name
SYSTEM
YES
(Q3510300,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q3510300
relation P21
[ANSWER]
['Q3510300', 'P21', 'Q6581097']
ASK WHERE { resource:Q3510300 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Sébastien Roques
relation gender
['Sébastien Roques', 'gender', 'male']
ASK WHERE { resource:Sébastien_Roques property:gender resource:male }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6234813 Q4909202
P106
Q12737077
USER
Which occupations have Bill Gray or John Gannon as his/her as a career ?
OR((Q4909202,P106,c(Q12737077)), (Q6234813,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4909202
relation P106
action find
entity Q6234813
relation P106
type Q12737077
{'OR': [['Q4909202', 'P106', {'concept': 'Q12737077'}], ['Q6234813', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q4909202 property:P106 ?m } UNION { resource:Q6234813 property:P106 ?m } } . ?m rdf:type ontology:Q12737077 }
John Gannon Bill Gray
action filter_type
action union
action find
entity Bill Gray
relation occupation
action find
entity John Gannon
relation occupation
type occupation
{'OR': [['Bill Gray', 'occupation', {'concept': 'occupation'}], ['John Gannon', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Bill_Gray property:occupation ?m } UNION { resource:John_Gannon property:occupation ?m } } . ?m rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
OR((Q4909202,P106,c(Q12737077)), (Q6234813,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4909202
relation P106
action find
entity Q6234813
relation P106
type Q12737077
Player [ANSWER] have Bill Gray or John Gannon as his/her as a career
{'OR': [['Q4909202', 'P106', {'concept': 'Q12737077'}], ['Q6234813', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q4909202 property:P106 ?m } UNION { resource:Q6234813 property:P106 ?m } } . ?m rdf:type ontology:Q12737077 }
association football player
Player association football player have Bill Gray or John Gannon as his/her as a career
association football player
action filter_type
action union
action find
entity Bill Gray
relation occupation
action find
entity John Gannon
relation occupation
type occupation
{'OR': [['Bill Gray', 'occupation', {'concept': 'occupation'}], ['John Gannon', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Bill_Gray property:occupation ?m } UNION { resource:John_Gannon property:occupation ?m } } . ?m rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5484646 Q3510300
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Sébastien Roques or Nicolás Biglianti ?
OR((Q3510300,P27,c(Q15617994)), (Q5484646,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3510300
relation P27
action find
entity Q5484646
relation P27
type Q15617994
{'OR': [['Q3510300', 'P27', {'concept': 'Q15617994'}], ['Q5484646', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . { { resource:Q3510300 property:P27 ?e } UNION { resource:Q5484646 property:P27 ?e } } }
Nicolás Biglianti Sébastien Roques
action filter_type
action union
action find
entity Sébastien Roques
relation country of citizenship
action find
entity Nicolás Biglianti
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Sébastien Roques', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Nicolás Biglianti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Sébastien_Roques property:country_of_citizenship ?e } UNION { resource:Nicolás_Biglianti property:country_of_citizenship ?e } } }
[]
designation for an administrative territorial entity
Q142 Q77
SYSTEM
France, Uruguay
Q142 Q77
OR((Q3510300,P27,c(Q15617994)), (Q5484646,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3510300
relation P27
action find
entity Q5484646
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Sébastien Roques or Nicolás Biglianti
{'OR': [['Q3510300', 'P27', {'concept': 'Q15617994'}], ['Q5484646', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . { { resource:Q3510300 property:P27 ?e } UNION { resource:Q5484646 property:P27 ?e } } }
France Uruguay
France and Uruguay are the countries of citizenship of Sébastien Roques or Nicolás Biglianti
France Uruguay
action filter_type
action union
action find
entity Sébastien Roques
relation country of citizenship
action find
entity Nicolás Biglianti
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Sébastien Roques', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Nicolás Biglianti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Sébastien_Roques property:country_of_citizenship ?e } UNION { resource:Nicolás_Biglianti property:country_of_citizenship ?e } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5592130
P530
Q15617994
USER
Are Grady Independent School District known to have diplomatic connections with those ones ?
(Q5592130,P530,Q142) (Q5592130,P530,Q77)
action is_in
entity prev_answer
action find
entity Q5592130
relation P530
['Q5592130', 'P530', 'Q142'] ['Q5592130', 'P530', 'Q77']
ASK WHERE { VALUES ( ?r ) { ( resource:Q142 ) ( resource:Q77 ) } . resource:Q5592130 property:P530 ?r }
Grady Independent School District
action is_in
entity prev_answer
action find
entity Grady Independent School District
relation diplomatic relation
['Grady Independent School District', 'diplomatic relation', 'France'] ['Grady Independent School District', 'diplomatic relation', 'Uruguay']
ASK WHERE { VALUES ( ?r ) { ( resource:France ) ( resource:Uruguay ) } . resource:Grady_Independent_School_District property:diplomatic_relation ?r }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q5592130,P530,Q142) (Q5592130,P530,Q77)
action is_in
entity prev_answer
action find
entity Q5592130
relation P530
[ANSWER]
['Q5592130', 'P530', 'Q142'] ['Q5592130', 'P530', 'Q77']
ASK WHERE { VALUES ( ?r ) { ( resource:Q142 ) ( resource:Q77 ) } . resource:Q5592130 property:P530 ?r }
No
action is_in
entity prev_answer
action find
entity Grady Independent School District
relation diplomatic relation
['Grady Independent School District', 'diplomatic relation', 'France'] ['Grady Independent School District', 'diplomatic relation', 'Uruguay']
ASK WHERE { VALUES ( ?r ) { ( resource:France ) ( resource:Uruguay ) } . resource:Grady_Independent_School_District property:diplomatic_relation ?r }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q958
P530
Q15617994 Q15617994
USER
Which administrative territories have ambassadorial relations with greater number of administrative territories than South Sudan ?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q958
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?k ) WHERE { ?p property:P530 ?g . ?p rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:Q958 property:P530 ?m . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?k > ?j ) }
South Sudan
action greater
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 South Sudan
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 ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?k ) WHERE { ?p property:diplomatic_relation ?g . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:South_Sudan property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k > ?j ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q419 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q717 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q733 Q230 Q27 Q28 Q843 Q184 Q228 Q227 Q225 Q222 Q96 Q347 Q17 Q902 Q298 Q114 Q212 Q213 Q218 Q916 Q79 Q77 Q858 Q948 Q1016 Q1011 Q29 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q958
relation P530
type Q15617994
[ANSWERS] have ambassadorial relations with greater number of administrative territories than South Sudan
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?k ) WHERE { ?p property:P530 ?g . ?p rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:Q958 property:P530 ?m . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?k > ?j ) }
Israel Yemen Peru India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Paraguay Georgia Ireland Hungary Pakistan Belarus Andorra Azerbaijan Bosnia and Herzegovina Albania Mexico Liechtenstein Japan Bangladesh Chile Kenya Ukraine Czech Republic Romania Angola Egypt Uruguay Syria Tunisia Libya Cape Verde Spain Zambia
Italy, Brazil and United States of America have ambassadorial relations with greater number of administrative territories than South Sudan
Italy Brazil United States of America
action greater
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 South Sudan
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 ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?k ) WHERE { ?p property:diplomatic_relation ?g . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:South_Sudan property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k > ?j ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q17
P530
Q15617994 Q15617994
USER
And how about Japan?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q17
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?u ) WHERE { ?f rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 . ?f property:P530 ?m } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { ?q rdf:type ontology:Q15617994 . resource:Q17 property:P530 ?q } } . FILTER ( ?u > ?v ) }
Japan
action greater
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 Japan
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 ( ?m ) AS ?u ) WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:diplomatic_relation ?m } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Japan property:diplomatic_relation ?q } } . FILTER ( ?u > ?v ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q142 Q159 Q155 Q30 Q929 Q38 Q230 Q184 Q114 Q858 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q17
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?u ) WHERE { ?f rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 . ?f property:P530 ?m } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { ?q rdf:type ontology:Q15617994 . resource:Q17 property:P530 ?q } } . FILTER ( ?u > ?v ) }
Israel Yemen France Russia Brazil United States of America Central African Republic Italy Georgia Belarus Kenya Syria Zambia
Italy Brazil United States of America
action greater
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 Japan
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 ( ?m ) AS ?u ) WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:diplomatic_relation ?m } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Japan property:diplomatic_relation ?q } } . FILTER ( ?u > ?v ) }
[]